Uboot 2017 - Goflex home won't boot September 27, 2018 09:55PM |
Registered: 5 years ago Posts: 10 |
Quote
cd /media/sdb1/boot
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-linux.img-2018-04-arch -d initramfs-linux.img uInitrd
sync
https://forum.doozan.com/read.php?3,56939,58944
Quote
U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:21:31 -0700)
Seagate GoFlex Home
gcc (Debian 6.3.0-18) 6.3.0 20170516
GNU ld (GNU Binutils for Debian) 2.28
Hit any key to stop autoboot: 0
starting USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Reset IDE: Bus 0: OK Bus 1: not available
Device 0: Model: Colorful SL300 128GB Firm: R0522A0 Ser#: AA000000000000000467
Type: Hard Disk
Supports 48-bit addressing
Capacity: 122104.3 MB = 119.2 GB (250069680 x 512)
Unknown command 'mmc' - try 'help'
## Unknown partition table type 0
## Unknown partition table type 0
## Unknown partition table type 0
## Unknown partition table type 0
## Unknown partition table type 0
## Unknown partition table type 0
## Unknown partition table type 0
loading envs from usb 0 ...
** Bad device usb 0 **
Partition Map for IDE device 0 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
1 2048 43511808 2014e27a-01 83
Unknown command 'mmc' - try 'help'
running scan_disk ...
Scan device usb
device usb 0:1
** Bad device usb 0 **
device usb 1:1
** Bad device usb 1 **
device usb 2:1
** Bad device usb 2 **
device usb 3:1
** Bad device usb 3 **
Scan device ide
Reset IDE: Bus 0: OK Bus 1: not available
Device 0: Model: Colorful SL300 128GB Firm: R0522A0 Ser#: AA000000000000000467
Type: Hard Disk
Supports 48-bit addressing
Capacity: 122104.3 MB = 119.2 GB (250069680 x 512)
device ide 0:1
1 bytes read in 6 ms (0 Bytes/s)
Found bootable drive on ide 0
loading uImage ...
4600064 bytes read in 699 ms (6.3 MiB/s)
loading uInitrd ...
5290107 bytes read in 804 ms (6.3 MiB/s)
loading DTB /boot/dtbs/kirkwood-goflexnet.dtb ...
** File not found /boot/dtbs/kirkwood-goflexnet.dtb **
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-4.4.97-1-ARCH
Created: 2017-11-11 4:51:55 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4600000 Bytes = 4.4 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
Image Name: initramfs-linux.img-2018-04-arch
Created: 2018-09-28 1:54:49 UTC
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 5290043 Bytes = 5 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Starting kernel ...
Quote
gcc (Debian 6.3.0-18) 6.3.0 20170516
U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:21:31 -0700)
Seagate GoFlex Home
GNU ld (GNU Binutils for Debian) 2.28
Hit any key to stop autoboot: 0
starting USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Reset IDE: Bus 0: OK Bus 1: not available
Device 0: Model: Colorful SL300 128GB Firm: R0522A0 Ser#: AA000000000000000467
Type: Hard Disk
Supports 48-bit addressing
Capacity: 122104.3 MB = 119.2 GB (250069680 x 512)
Unknown command 'mmc' - try 'help'
## Unknown partition table type 0
## Unknown partition table type 0
## Unknown partition table type 0
## Unknown partition table type 0
## Unknown partition table type 0
## Unknown partition table type 0
## Unknown partition table type 0
loading envs from usb 0 ...
** Bad device usb 0 **
Partition Map for IDE device 0 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
1 2048 43511808 2014e27a-01 83
Unknown command 'mmc' - try 'help'
running scan_disk ...
Scan device usb
device usb 0:1
** Bad device usb 0 **
device usb 1:1
** Bad device usb 1 **
device usb 2:1
** Bad device usb 2 **
device usb 3:1
** Bad device usb 3 **
Scan device ide
Reset IDE: Bus 0: OK Bus 1: not available
Device 0: Model: Colorful SL300 128GB Firm: R0522A0 Ser#: AA000000000000000467
Type: Hard Disk
Supports 48-bit addressing
Capacity: 122104.3 MB = 119.2 GB (250069680 x 512)
device ide 0:1
1 bytes read in 11 ms (0 Bytes/s)
Found bootable drive on ide 0
loading uImage ...
3821592 bytes read in 585 ms (6.2 MiB/s)
loading uInitrd ...
7245696 bytes read in 1098 ms (6.3 MiB/s)
loading DTB /boot/dtbs/kirkwood-goflexnet.dtb ...
** File not found /boot/dtbs/kirkwood-goflexnet.dtb **
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-4.12.1-kirkwood-tld-1
Created: 2017-07-20 8:11:24 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3821528 Bytes = 3.6 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
Image Name: initramfs-4.12.1-kirkwood-tld-1
Created: 2017-07-24 0:18:23 UTC
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 7245632 Bytes = 6.9 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Starting kernel ...
Re: Uboot 2017 - Goflex home won't boot September 27, 2018 11:24PM |
Admin Registered: 13 years ago Posts: 18,570 |
Quote
dtb_file=/boot/dtbs/kirkwood-goflexnet.dtb
> Hit any key to stop autoboot: 0
setenv dtb_file '/boot/dts/kirkwood-goflexhome.dtb'And then boot
boot
Re: Uboot 2017 - Goflex home won't boot September 28, 2018 01:23AM |
Registered: 5 years ago Posts: 10 |
Anyway to tell u-boot to load .uEnv.txt from ide as well if usb is not plugged in?Quote
loading envs from usb 0 ...
** Bad device usb 0 **
Re: Uboot 2017 - Goflex home won't boot September 28, 2018 01:41AM |
Admin Registered: 13 years ago Posts: 18,570 |
Re: Uboot 2017 - Goflex home won't boot September 28, 2018 02:39AM |
Registered: 5 years ago Posts: 10 |
Re: Uboot 2017 - Goflex home won't boot September 28, 2018 03:39AM |
Admin Registered: 13 years ago Posts: 18,570 |
Re: Uboot 2017 - Goflex home won't boot September 28, 2018 04:18AM |
Registered: 5 years ago Posts: 10 |
Re: Uboot 2017 - Goflex home won't boot September 28, 2018 04:22AM |
Admin Registered: 13 years ago Posts: 18,570 |
Re: Uboot 2017 - Goflex home won't boot September 28, 2018 10:29AM |
Registered: 5 years ago Posts: 10 |
Re: Uboot 2017 - Goflex home won't boot September 28, 2018 02:39PM |
Admin Registered: 13 years ago Posts: 18,570 |
dmesg mount
Re: Uboot 2017 - Goflex home won't boot September 28, 2018 08:38PM |
Registered: 5 years ago Posts: 10 |
dmesgQuote
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=54488k,nr_inodes=13622,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=11756k,mode=755)
/dev/sda1 on / type ext3 (rw,noatime,errors=remount-ro,data=ordered)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=23500k)
tmpfs on /tmp type tmpfs (rw,relatime)
rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
Quote
[ 7.748571] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 7.964675] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[ 7.986915] ata1.00: ATA-9: Colorful SL300 128GB, R0522A0, max UDMA/133
[ 7.993568] ata1.00: 250069680 sectors, multi 1: LBA48 NCQ (depth 31/32)
[ 8.046976] ata1.00: configured for UDMA/133
[ 8.065011] scsi 0:0:0:0: Direct-Access ATA Colorful SL300 1 2A0 PQ: 0 ANSI: 5
[ 8.085937] sd 0:0:0:0: [sda] 250069680 512-byte logical blocks: (128 GB/119 GiB)
[ 8.093877] sd 0:0:0:0: [sda] Write Protect is off
[ 8.104689] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 8.104828] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 8.126316] sda: sda1
[ 8.135471] sd 0:0:0:0: [sda] Attached SCSI disk
[ 8.918734] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:10:75:2e:42:9c
[ 8.927645] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 8.934218] ehci-pci: EHCI PCI platform driver
[ 8.938773] ehci-orion: EHCI orion driver
[ 8.943003] orion-ehci f1050000.ehci: EHCI Host Controller
[ 8.948578] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[ 8.956456] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[ 8.984682] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[ 8.990957] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 8.997812] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 9.005094] usb usb1: Product: EHCI Host Controller
[ 9.009996] usb usb1: Manufacturer: Linux 4.12.1-kirkwood-tld-1 ehci_hcd
[ 9.016748] usb usb1: SerialNumber: f1050000.ehci
[ 9.022186] hub 1-0:1.0: USB hub found
[ 9.026047] hub 1-0:1.0: 1 port detected
[ 9.030578] usbcore: registered new interface driver usb-storage
[ 9.036995] mousedev: PS/2 mouse device common for all mice
[ 9.043158] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[ 9.050257] i2c /dev entries driver
Re: Uboot 2017 - Goflex home won't boot September 28, 2018 09:16PM |
Admin Registered: 13 years ago Posts: 18,570 |
[ 8.077630] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300) [ 8.099876] ata1.00: ATA-8: ST2000DL003-9VT166, CC98, max UDMA/133 [ 8.106088] ata1.00: 3907029168 sectors, multi 0: LBA48
Re: Uboot 2017 - Goflex home won't boot October 03, 2018 09:17AM |
Registered: 5 years ago Posts: 10 |
Re: Uboot 2017 - Goflex home won't boot October 03, 2018 02:45PM |
Admin Registered: 13 years ago Posts: 18,570 |
Re: Uboot 2017 - Goflex home won't boot October 03, 2018 10:49PM |
Registered: 5 years ago Posts: 10 |
seem ALARM kernel doesn't understand root LABEL, and we must set it using device eg: /dev/sda1Quote
root=/dev/sd${letter}1 rw rootwait ${mtdparts}
Re: Uboot 2017 - Goflex home won't boot October 03, 2018 11:14PM |
Admin Registered: 13 years ago Posts: 18,570 |
> seem ALARM kernel doesn't understand root LABEL,Quote
root=/dev/sd${letter}1 rw rootwait
> ${mtdparts}