|
Re: U-Boot 2015.10 for Iomega HMNHDCE July 22, 2019 09:52AM |
Registered: 4 years ago Posts: 10 |
total 8.3M -rwxr-xr-x 1 root root 16K Dec 31 1969 u-boot.env drwxr-xr-x 2 root root 4.0K Aug 3 2014 dts -rwxr-xr-x 1 root root 32K Aug 3 2014 u-boot-spl.bin -rw-r--r-- 1 root root 514K Aug 3 2014 u-boot.img -rw-r--r-- 1 root root 2.2M Aug 3 2014 uImage_2.6.31.14_OX820_1.2_shv.Pro -rw-r--r-- 1 root root 3.6M Aug 3 2014 uImage -rw-r--r-- 1 root root 2.1M Aug 3 2014 uInitrd drwxr-xr-x 3 root root 4.0K Aug 3 2014 . drwxr-xr-x 23 root root 4.0K Jul 22 10:17 ..
U-Boot SPL 2013.10-g3a0f380-dirty (Jul 26 2014 - 14:31:34)
Boot device: SATA
Attempting to set PLLA to 850 MHz ...
plla_ctrl0 : 0000020a
plla_ctrl1 : 00330000
plla_ctrl2 : 0065008b
plla_ctrl3 : 000000f1
PLLA Set
Bus 0: OK
Device 0:
** File not found /boot/bootargs.bin **
U-Boot 2013.10-g3a0f380-dirty (Jul 26 2014 - 10:18:57) for OXNAS
DRAM: 128 MiB
IDE: Bus 0: OK
Device 0: Model: WDC WD800JD-75MSA3 Firm: 10.01E04 Ser#: WD-WMAM9AR84678
Type: Hard Disk
Supports 48-bit addressing
Capacity: 76293.9 MB = 74.5 GB (156250000 x 512)
NAND: 16 MiB
In: serial
Out: serial
Err: serial
Net:
Led: GREEN
mii0
Main Loop
Hit any key to stop autoboot: 3 ^H^H^H 0
OX820 # setenv uinitrd_addr '0x60e00000'
OX820 # setenv uimage_addr '0x60500000'
OX820 # setenv dtb_addr '0x62c00000'
OX820 # setenv ide_set_bootargs 'setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10'
OX820 # setenv dt_bootm 'bootm $uimage_addr $uinitrd_addr $dtb_addr'
OX820 # setenv dt_load_dtb 'ext2load ide 0:1 $dtb_addr /boot/dts/ox820-pogoplug-pro.dtb'
OX820 # setenv dt_load_initrd 'ext2load ide 0:1 $uinitrd_addr /boot/uInitrd'
OX820 # setenv dt_load_uimage 'ext2load ide 0:1 $uimage_addr /boot/uImage'
OX820 # setenv dt_ide_boot 'run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm'
OX820 # setenv dt_ide_bootcmd 'run ide_set_bootargs; run dt_ide_boot'
OX820 # setenv dt_bootcmd_ide 'ide reset; run dt_ide_bootcmd; reset'
OX820 # setenv bootcmd 'run dt_bootcmd_ide'
OX820 # boot
Reset IDE: Bus 0: OK
Device 0: Model: WDC WD800JD-75MSA3 Firm: 10.01E04 Ser#: WD-WMAM9AR84678
Type: Hard Disk
Supports 48-bit addressing
Capacity: 76293.9 MB = 74.5 GB (156250000 x 512)
3676848 bytes read in 830 ms (4.2 MiB/s)
2103272 bytes read in 463 ms (4.3 MiB/s)
7029 bytes read in 28 ms (245.1 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
Image Name: Linux-3.12.13-oxnas-tld-5
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3676784 Bytes = 3.5 MiB
Load Address: 60008000
Entry Point: 60008000
Verifying Checksum ... Bad Data CRC
Led: ORANGE (Failed)
U-Boot SPL 2013.10-g3a0f380-dirty (Jul 26 2014 - 14:31:34)
Boot device: SATA
Attempting to set PLLA to 850 MHz ...
plla_ctrl0 : 0000020a
plla_ctrl1 : 00330000
plla_ctrl2 : 0065008b
plla_ctrl3 : 000000f1
PLLA Set
Bus 0: OK
Device 0:
** File not found /boot/bootargs.bin **
U-Boot 2013.10-g3a0f380-dirty (Jul 26 2014 - 10:18:57) for OXNAS
DRAM: 128 MiB
IDE: Bus 0: OK
Device 0: Model: WDC WD800JD-75MSA3 Firm: 10.01E04 Ser#: WD-WMAM9AR84678
Type: Hard Disk
Supports 48-bit addressing
Capacity: 76293.9 MB = 74.5 GB (156250000 x 512)
NAND: 16 MiB
In: serial
Out: serial
Err: serial
Net:
Led: GREEN
mii0
Main Loop
Hit any key to stop autoboot: 0
ide - IDE sub-system
Usage:
ide reset - reset IDE controller
ide info - show available IDE devices
ide device [dev] - show or set current device
ide part [dev] - print partition table of one or all IDE devices
ide read addr blk# cnt
ide write addr blk# cnt - read/write `cnt' blocks starting at block `blk#'
to/from memory address `addr'
2212156 bytes read in 500 ms (4.2 MiB/s)
## Booting kernel from Legacy Image at 60500000 ...
Image Name: Linux-2.6.31.14_OX820_1.2_shv
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2212092 Bytes = 2.1 MiB
Load Address: 60008000
Entry Point: 60008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
Led: GREEN
Starting kernel ...
Uncompressing Linux.......................................................................................................................................
crc error
-- System halted
Do you think I should try spl fo pogoplug classic? If so could you please give me a link (I can't find it anywhere in the forum).
|
Re: U-Boot 2015.10 for Iomega HMNHDCE July 23, 2019 05:19AM |
Admin Registered: 13 years ago Posts: 18,584 |
-rw-r--r-- 1 root root 3.6M Aug 3 2014 uImage
## Booting kernel from Legacy Image at 60500000 ... Image Name: Linux-3.12.13-oxnas-tld-5 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3676784 Bytes = 3.5 MiB Load Address: 60008000
OX820 # setenv uinitrd_addr '0x60e00000' OX820 # setenv uimage_addr '0x60500000' OX820 # setenv dtb_addr '0x62c00000' OX820 # setenv ide_set_bootargs 'setenv bootargs console=ttyS0,115200 root=/dev/sda2 rootdelay=10' OX820 # setenv dt_bootm 'bootm $uimage_addr $uinitrd_addr $dtb_addr' OX820 # setenv dt_load_dtb 'ext2load ide 0:2 $dtb_addr /boot/dts/ox820-pogoplug-pro.dtb' OX820 # setenv dt_load_initrd 'ext2load ide 0:2 $uinitrd_addr /boot/uInitrd' OX820 # setenv dt_load_uimage 'ext2load ide 0:2 $uimage_addr /boot/uImage' OX820 # setenv dt_ide_boot 'run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm' OX820 # setenv dt_ide_bootcmd 'run ide_set_bootargs; run dt_ide_boot' OX820 # setenv dt_bootcmd_ide 'ide reset; run dt_ide_bootcmd; reset' OX820 # setenv bootcmd 'run dt_bootcmd_ide'
|
Re: U-Boot 2015.10 for Iomega HMNHDCE July 23, 2019 04:30PM |
Registered: 4 years ago Posts: 10 |
U-Boot SPL 2013.10-g3a0f380-dirty (Jul 26 2014 - 14:31:34)
Boot device: SATA
Attempting to set PLLA to 850 MHz ...
plla_ctrl0 : 0000020a
plla_ctrl1 : 00330000
plla_ctrl2 : 0065008b
plla_ctrl3 : 000000f1
PLLA Set
Bus 0: OK
Device 0:
** File not found /boot/bootargs.bin **
U-Boot 2013.10-g3a0f380-dirty (Jul 26 2014 - 10:18:57) for OXNAS
DRAM: 128 MiB
IDE: Bus 0: OK
Device 0: Model: WDC WD800JD-75MSA3 Firm: 10.01E04 Ser#: WD-WMAM9AR84678
Type: Hard Disk
Supports 48-bit addressing
Capacity: 76293.9 MB = 74.5 GB (156250000 x 512)
NAND: 16 MiB
In: serial
Out: serial
Err: serial
Net:
Led: GREEN
mii0
Main Loop
Hit any key to stop autoboot: 0
OX820 # setenv uinitrd_addr '0x60e00000'
OX820 # setenv uimage_addr '0x60500000'
OX820 # setenv dtb_addr '0x62c00000'
OX820 # setenv ide_set_bootargs 'setenv bootargs console=ttyS0,115200 root=/dev/sda2 rootdelay=10'
OX820 # setenv dt_bootm 'bootm $uimage_addr $uinitrd_addr $dtb_addr'
OX820 # setenv dt_load_dtb 'ext2load ide 0:2 $dtb_addr /boot/dts/ox820-pogoplug-pro.dtb'
OX820 # setenv dt_load_initrd 'ext2load ide 0:2 $uinitrd_addr /boot/uInitrd'
OX820 # setenv dt_load_uimage 'ext2load ide 0:2 $uimage_addr /boot/uImage'
OX820 # setenv dt_ide_boot 'run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm'
OX820 # setenv dt_ide_bootcmd 'run ide_set_bootargs; run dt_ide_boot'
OX820 # setenv dt_bootcmd_ide 'ide reset; run dt_ide_bootcmd; reset'
OX820 # setenv bootcmd 'run dt_bootcmd_ide'
OX820 # boot
Reset IDE: Bus 0: OK
Device 0: Model: WDC WD800JD-75MSA3 Firm: 10.01E04 Ser#: WD-WMAM9AR84678
Type: Hard Disk
Supports 48-bit addressing
Capacity: 76293.9 MB = 74.5 GB (156250000 x 512)
4621824 bytes read in 1025 ms (4.3 MiB/s)
4594376 bytes read in 1025 ms (4.3 MiB/s)
7067 bytes read in 35 ms (196.3 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
Image Name: Linux-4.4.54-oxnas-tld-1
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4621760 Bytes = 4.4 MiB
Load Address: 60008000
Entry Point: 60008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 60e00000 ...
Image Name: initramfs-4.4.54-oxnas-tld-1
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 4594312 Bytes = 4.4 MiB
Load Address: 60000000
Entry Point: 60000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 62c00000
Booting using the fdt blob at 0x62c00000
Loading Kernel Image ... OK
Loading Ramdisk to 679c6000, end 67e27a88 ... OK
Loading Device Tree to 679c1000, end 679c5b9a ... OK
Led: GREEN
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Error: unrecognized/unsupported processor variant (0x410fb025).
U-Boot SPL 2013.10-g3a0f380-dirty (Jul 26 2014 - 14:31:34) Boot device: SATA Attempting to set PLLA to 850 MHz ... plla_ctrl0 : 0000020a plla_ctrl1 : 00330000 plla_ctrl2 : 0065008b plla_ctrl3 : 000000f1 PLLA Set Bus 0: OK Device 0: GPT: last_usable_lba incorrect: 15D50A38E > 5D50A3B0 get_partition_info_efi: *** ERROR: Invalid GPT *** ** Partition 1 not valid on device 0 ** ### ERROR ### Please RESET the board ###
|
Re: U-Boot 2015.10 for Iomega HMNHDCE July 24, 2019 11:38PM |
Admin Registered: 13 years ago Posts: 18,584 |
OX820 # setenv dt_load_dtb 'ext2load ide 0:2 $dtb_addr /boot/dts/ox820-pogoplug-pro.dtb'
|
Re: U-Boot 2015.10 for Iomega HMNHDCE July 24, 2019 11:40PM |
Registered: 4 years ago Posts: 10 |
so conclusion is pogoplug pro has oxnas7821 cpu and iomega HMNHDCE, pogoplug v3 and ZyXEL NSA-212 / MitraStra STG-212 are oxnas7820 cpu. I have to try pogoplug-classicQuote
Openwrt
no PCIe on OX820/NAS7820, 1x PCIe on OX821/NAS7821, 2x PCIe on NAS7825
|
Re: U-Boot 2015.10 for Iomega HMNHDCE July 25, 2019 03:25AM |
Admin Registered: 13 years ago Posts: 18,584 |
|
Re: U-Boot 2015.10 for Iomega HMNHDCE July 25, 2019 04:23AM |
Admin Registered: 13 years ago Posts: 18,584 |
setenv dt_load_dtb 'ext2load ide 0:2 $dtb_addr /boot/dts/ox820-pogoplug-classic.dtb'
|
Re: U-Boot 2015.10 for Iomega HMNHDCE July 26, 2019 11:10AM |
Registered: 4 years ago Posts: 10 |
setenv uinitrd_addr '0x60e00000' setenv uimage_addr '0x60500000' setenv dtb_addr '0x62c00000' setenv ide_set_bootargs 'setenv bootargs console=ttyS0,115200 root=/dev/sda2 rootdelay=10' setenv dt_bootm 'bootm $uimage_addr $uinitrd_addr $dtb_addr' setenv dt_load_dtb 'ext2load ide 0:2 $dtb_addr /boot/dts/ox820-pogoplug-classic.dtb' setenv dt_load_initrd 'ext2load ide 0:2 $uinitrd_addr /boot/uInitrd' setenv dt_load_uimage 'ext2load ide 0:2 $uimage_addr /boot/uImage' setenv dt_ide_boot 'run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm' setenv dt_ide_bootcmd 'run ide_set_bootargs; run dt_ide_boot' setenv dt_bootcmd_ide 'ide reset; run dt_ide_bootcmd; reset' setenv bootcmd 'run dt_bootcmd_ide'
setenv ide_set_bootargs 'setenv bootargs console=ttyS0,115200 root=/dev/sda2 rootdelay=10' setenv dt_load_dtb 'ext2load ide 0:2 $dtb_addr /boot/dts/ox820-pogoplug-classic.dtb' setenv dt_load_initrd 'ext2load ide 0:2 $uinitrd_addr /boot/uInitrd' setenv dt_load_uimage 'ext2load ide 0:2 $uimage_addr /boot/uImage' setenv dt_ide_boot 'run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm' setenv dt_ide_bootcmd 'run ide_set_bootargs; run dt_ide_boot' setenv dt_bootcmd_ide 'ide reset; run dt_ide_bootcmd; reset' setenv bootcmd 'run dt_bootcmd_ide'checksum verification is Ok. I think different memory chip configuration and different gpio connection on processor makes u-boot addressation confused. What makes me think that I definitely need spl from openwrt guys specific to iomega HMNHDCE board.
|
Re: U-Boot 2015.10 for Iomega HMNHDCE July 26, 2019 11:50AM |
Admin Registered: 13 years ago Posts: 18,584 |
|
Re: U-Boot 2015.10 for Iomega HMNHDCE April 06, 2021 05:23AM |
Registered: 3 years ago Posts: 13 |
> > start/sector size content > > 0 512 Legacy MBR > > 1 1536 GPT Partition table > > 34 8736 Stage-1 Bootloader > > 154 103552 U-Boot > > 558 At least 608 U-Boot environment > > 1290 2189216 uImage kernel > > 16674 2787216 uImage initrd > > 57080 5 0x69 0xD3 0xAB 0x52 0x31 > > unknown - not Serial number, not the MAC > > address, same on all devices > > 57088 4640 Stage-1 Bootloader (2nd copy) > > 57208 103568 U-Boot (2nd copy) > > 58344 2189216 uImage kernel (2nd copy) > > > >> >
> > dd if=bootrom.wrapped of=$1 bs=512 > > dd if=stage1.wrapped of=$1 seek=34 > > dd if=u-boot.sd.wrapped of=$1 seek=154 > > dd if=u-boot.sd.env of=$1 seek=558 > > dd if=uImage.wrapped of=$1 seek=1290 > > dd if=initrd.wrapped of=$1 seek=16674 > > dd if=serial.warpped of=$1 seek=57080 > > dd if=stage1.wrapped of=$1 seek=57088 > > dd if=u-boot.sd.wrapped of=$1 seek=57208 > > dd if=uImage.wrapped of=$1 seek=58344 > >> >
> 34 8736 Stage-1 Bootloader > 154 103552 U-Boot > 558 At least 608 U-Boot environment >>
|
Re: U-Boot 2015.10 for Iomega HMNHDCE April 06, 2021 09:11PM |
Admin Registered: 13 years ago Posts: 18,584 |
|
Re: U-Boot 2015.10 for Iomega HMNHDCE April 10, 2021 05:31AM |
Registered: 3 years ago Posts: 13 |
start/sector size content 0 512 Legacy MBR 1 1536 GPT Partition table 34 8736 Stage-1 Bootloader 154 103552 U-Boot 558 At least 608 U-Boot environment 1290 2189216 uImage kernel 16674 2787216 uImage initrd 57080 5 0x69 0xD3 0xAB 0x52 0x31 unknown - not Serial number, not the MAC address, same on all devices 57088 4640 Stage-1 Bootloader (2nd copy) 57208 103568 U-Boot (2nd copy) 58344 2189216 uImage kernel (2nd copy)
|
Re: U-Boot 2015.10 for Iomega HMNHDCE April 10, 2021 12:37PM |
Registered: 3 years ago Posts: 13 |
Quote
bodhi
Warning: This kernel has grown too big, so it will not work for stock u-boot or its Arch u-boot variant. Stock u-boot has a limitation of 4M uImage, so it will not boot. Please stay with kernel 3.18.5 if you're still booting with stock u-boot. The new u-boot works without limitation.
PLX>>run select0 load1 load_rd boot
IDE device 0: Model: Hitachi HDT721032SLA380 Firm: ST2OA39D Ser#: STA207MC2K012B
Type: Hard Disk
Capacity: 131071.9 MB = 127.9 GB (268435455 x 512)
... is now current device
IDE read: device 0 block # 1290, count 5700 ... 5700 blocks read: OK
IDE read: device 0 block # 16674, count 5700 ... 5700 blocks read: OK
## Booting image at 60500000 ...
Image Name: Linux-3.18
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4177029 Bytes = 4 MB
Load Address: 60500000
Entry Point: 60500000
Verifying Checksum ... Bad Data CRC
bootcmd=run select0 load1 load_rd boot || run lightled select0 load2 load_rd extinguishled boot || lightled bootdelay=3 baudrate=115200 ethaddr=00:30:e0:00:00:01 ipaddr=172.31.0.128 serverip=172.31.0.100 autoload=n netmask=255.255.0.0 bootfile="uImage" select0=ide dev 0 load1=ide read 0x60500000 50a 1644 load2=ide read 0x60500000 e3e8 1644 load_rd=ide read 0x60800000 4122 1644 lightled=ledfail 1 extinguishled=ledfail 0 boot=bootm 60500000 60800000 stdin=serial stdout=serial stderr=serial bootargs=root=/dev/sda1 console=ttyS0,115200 elevator=cfq mem=256M poweroutage=yes mac_adr=0x00,0xd0,0xb8,0x19,0x81,0x0e Environment size: 614/8188 bytes
|
Re: U-Boot 2015.10 for Iomega HMNHDCE April 10, 2021 03:45PM |
Admin Registered: 13 years ago Posts: 18,584 |
Quote
I'm afraid that stock u-boot will be booting again he uImage in sector 1290, ignoring your updated kernel first HDD partition (but I could be wrong). Is there a way to configure stock u-boot to look for first HDD partition instead of sector 1290 for uImage kernel?
start/sector size content 0 512 Legacy MBR 1 1536 GPT Partition table 34 8736 Stage-1 Bootloader 154 103552 U-Boot 558 At least 608 U-Boot environment 1290 2189216 uImage kernel 16674 2787216 uImage initrd 57080 5 0x69 0xD3 0xAB 0x52 0x31 unknown - not Serial number, not the MAC address, same on all devices 57088 4640 Stage-1 Bootloader (2nd copy) 57208 103568 U-Boot (2nd copy) 58344 2189216 uImage kernel (2nd copy)
|
Re: U-Boot 2015.10 for Iomega HMNHDCE April 11, 2021 12:14PM |
Registered: 3 years ago Posts: 13 |
IDE device 0: Model: Hitachi HDT721032SLA380 Firm: ST2OA39D Ser#: STA207MC2K012B
Type: Hard Disk
Capacity: 131071.9 MB = 127.9 GB (268435455 x 512)
... is now current device
IDE read: device 0 block # 1290, count 8159 ... 8159 blocks read: OK
IDE read: device 0 block # 16674, count 5700 ... 5700 blocks read: OK
## Booting image at 60500000 ...
Image Name: Linux-3.18.5-oxnas-tld-1
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4177029 Bytes = 4 MB
Load Address: 60008000
Entry Point: 60008000
Verifying Checksum ... Bad Data CRC
|
Re: U-Boot 2015.10 for Iomega HMNHDCE April 11, 2021 05:24PM |
Admin Registered: 13 years ago Posts: 18,584 |
printenvand then
bootPlease post the entire serial boot log, from the u-boot banner.
|
Re: U-Boot 2015.10 for Iomega HMNHDCE April 12, 2021 07:52AM |
Registered: 3 years ago Posts: 13 |
> printenv >> and then
> boot >> Please post the entire serial boot log, from the
OX820 # printenv dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr autoload=no baudrate=115200 bootargs=console=ttyS0,115200n8 bootcmd=run dt_bootcmd_ide bootdelay=3 console=console=ttyS0,115200n8 dt_bootcmd_ide=ide start; run dt_ide_bootcmd; ide stop; reset dt_bootcmd_usb=usb start; run dt_usb_bootcmd; usb stop; reset dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr dt_ide_boot=run dt_ide_load_uimage; run dt_ide_load_initrd; run dt_ide_load_dtb; run dt_bootm dt_ide_bootcmd=run ide_set_bootargs; run dt_sata_boot dt_ide_load_dtb=ext2load ide 0:1 $dtb_addr /boot/dts/ox820-pogoplug-pro.dtb dt_ide_load_initrd=ext2load ide 0:1 $uinitrd_addr /boot/uInitrd dt_ide_load_uimage=ext2load ide 0:1 $uimage_addr /boot/uImage dt_load_dtb=ext2load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-pro.dtb dt_load_initrd=ext2load usb 0:1 $uinitrd_addr /boot/uInitrd dt_load_uimage=ext2load usb 0:1 $uimage_addr /boot/uImage dt_sata_boot=ext2load ide 0:1 $uimage_addr /boot/uImage_2.6.31.14_OX820_1.2_shv.Pro; bootm $uimage_addr dt_usb_boot=run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm dt_usb_bootcmd=run usb_set_bootargs; run dt_usb_boot dtb_addr=0x62c00000 ethact=mii0 ethaddr=00:25:31:01:C6:76 ide_set_bootargs=setenv bootargs root=/dev/sda2 rootfstype=ext3 console=ttyS0,115200 mem=128M if_netconsole=ping $serverip ipaddr=192.168.0.100 mtdids=nand0=41000000.nand mtdparts=mtdparts=41000000.nand:14m(boot),-(data) preboot_nc=run if_netconsole start_netconsole sata_bootcmd=run usb_set_bootargs; run sata_boot start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version stderr=serial stdin=serial stdout=serial uimage_addr=0x60500000 uinitrd_addr=0x60e00000 usb_device=0:1 usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10 Environment size: 1898/16380 bytes
U-Boot SPL 2013.10-ga72eb8f (Apr 12 2021 - 03:23:10)
Boot device: SATA
Attempting to set PLLA to 800 MHz ...
plla_ctrl0 : 0000030a
plla_ctrl1 : 00400000
plla_ctrl2 : 007f0068
plla_ctrl3 : 00000193
PLLA Set
Bus 0: OK
Device 0:
reading bootargs.bin
reading u-boot.img
reading u-boot.img
U-Boot 2013.10-ga72eb8f (Apr 12 2021 - 03:23:10) for OXNAS
DRAM: 128 MiB
IDE: Bus 0: OK
Device 0: Model: Hitachi HDT721032SLA380 Firm: ST2OA39D Ser#: STA207MC2K012B
Type: Hard Disk
Supports 48-bit addressing
Capacity: 305245.3 MB = 298.0 GB (625142448 x 512)
NAND: 0 MiB
reading u-boot.env
In: serial
Out: serial
Err: serial
Net: mii0
Hit any key to stop autoboot: 0
OX820 # setenv bootargs root=/dev/sda2 rootfstype=ext3 console=ttyS0,115200
OX820 # ext4load ide 0:2 $uimage_addr /boot/uImage
4600448 bytes read in 749 ms (5.9 MiB/s)
OX820 # ext4load ide 0:2 $uinitrd_addr /boot/uInitrd
6464907 bytes read in 985 ms (6.3 MiB/s)
OX820 # ext4load ide 0:2 $dtb_addr /boot/dts/ox820-pogoplug-classic.dtb
8892 bytes read in 5 ms (1.7 MiB/s)
OX820 # bootm $uimage_addr $uinitrd_addr $dtb_addr
## Booting kernel from Legacy Image at 60500000 ...
Image Name: Linux-4.14.180-oxnas-tld-1
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4600384 Bytes = 4.4 MiB
Load Address: 60008000
Entry Point: 60008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 60e00000 ...
Image Name: initramfs-4.14.180-oxnas-tld-1
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 6464843 Bytes = 6.2 MiB
Load Address: 60000000
Entry Point: 60000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 62c00000
Booting using the fdt blob at 0x62c00000
Loading Kernel Image ... OK
Loading Ramdisk to 677fe000, end 67e2854b ... OK
Loading Device Tree to 677f8000, end 677fd2bb ... OK
Starting kernel ...
Uncompressing Linux...
uncompression error
-- System halted
## Booting kernel from Legacy Image at 60500000 ... Image Name: Linux-3.11.1+ Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2293896 Bytes = 2.2 MiB Load Address: 60008000 Entry Point: 60008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 60e00000 ... Image Name: initramfs-4.14.180-oxnas-tld-1 Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 6464843 Bytes = 6.2 MiB Load Address: 60000000 Entry Point: 60000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 62c00000 Booting using the fdt blob at 0x62c00000 Loading Kernel Image ... OK Loading Ramdisk to 677fe000, end 67e2854b ... OK Loading Device Tree to 677f8000, end 677fd347 ... OK Starting kernel ...
|
Re: U-Boot 2015.10 for Iomega HMNHDCE April 12, 2021 10:13AM |
Registered: 3 years ago Posts: 13 |
make ox820_defconfig
make[1]: *** No rule to make target `checkarmreloc', needed by `all'. Stop. make: *** [spl/u-boot-spl] Error 2But I can still use kref's SPL for stage1 and then boot with your u-boot, so I think it's not a problem for now.
U-Boot SPL 2013.10-ga72eb8f (Apr 12 2021 - 03:23:10)
Boot device: SATA
Attempting to set PLLA to 800 MHz ...
plla_ctrl0 : 0000030a
plla_ctrl1 : 00400000
plla_ctrl2 : 007f0068
plla_ctrl3 : 00000193
PLLA Set
Bus 0: OK
Device 0:
reading bootargs.bin
reading u-boot.img
reading u-boot.img
U-Boot 2015.10-g5d26bd2 (Apr 12 2021 - 22:17:38 +0800)
OXNAS OX820
DRAM: 128 MiB
NAND: 0 MiB
*** Warning - readenv() failed, using default environment
In: serial
Out: serial
Err: serial
Net: Phy 0 not found
PHY reset timed out
dwmac.40400000
Hit any key to stop autoboot:
starting USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... EHCI timed out on TD - token=0x80008c80
unable to get device descriptor (error=-1)
5 USB Device(s) found
scanning usb for storage devices... EHCI timed out on TD - token=0x80008c80
1 Storage Device(s) found
Reset IDE: Bus 0: OK
Device 0: Model: Hitachi HDT721032SLA380 Firm: ST2OA39D Ser#: STA207MC2K012B
Type: Hard Disk
Supports 48-bit addressing
Capacity: 305245.3 MB = 298.0 GB (625142448 x 512)
Partition Map for USB device 0 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
1 2 15155158 3d18797c-01 83
loading envs from usb 0 ...
** File not found /boot/uEnv.txt **
Partition Map for IDE device 0 -- Partition Type: EFI
Part Start LBA End LBA Name
Attributes
Type GUID
Partition GUID
1 0x00010000 0x0001ffff "boot"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 8ced04b1-0d4b-4a89-83e5-69686b6ecb4e
2 0x00020000 0x013a7fff "rootfs"
attrs: 0x0000000000000000
type: 0fc63daf-8483-4772-8e79-3d69d8477de4
guid: 6ea13106-b5b6-459e-b41c-fac88944652c
loading envs from ide 0 ...
reading /boot/uEnv.txt
** Unable to read file /boot/uEnv.txt **
4621824 bytes read in 335 ms (13.2 MiB/s)
4594376 bytes read in 318 ms (13.8 MiB/s)
7067 bytes read in 183 ms (37.1 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
Image Name: Linux-4.4.54-oxnas-tld-1
Created: 2017-08-01 4:45:36 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4621760 Bytes = 4.4 MiB
Load Address: 60008000
Entry Point: 60008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 60e00000 ...
Image Name: initramfs-4.4.54-oxnas-tld-1
Created: 2017-08-01 7:51:04 UTC
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 4594312 Bytes = 4.4 MiB
Load Address: 60000000
Entry Point: 60000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 62c00000
Booting using the fdt blob at 0x62c00000
Loading Kernel Image ... OK
Loading Ramdisk to 679c4000, end 67e25a88 ... OK
Loading Device Tree to 679bf000, end 679c3b9a ... OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
autoload=no baudrate=115200 bootargs=console=ttyS0,115200n8 bootcmd=run bootcmd_uenv; run dt_bootcmd_usb; reset bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi bootdelay=10 console=console=ttyS0,115200n8 devices=usb ide dt_bootcmd_usb=usb start; run dt_usb_bootcmd; usb stop; reset dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr dt_load_dtb=ext2load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-pro.dtb dt_load_initrd=ext2load usb 0:1 $uinitrd_addr /boot/uInitrd dt_load_uimage=ext2load usb 0:1 $uimage_addr /boot/uImage dt_usb_boot=run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm dt_usb_bootcmd=run usb_set_bootargs; run dt_usb_boot dtb_addr=0x62c00000 ethact=dwmac.40400000 ethaddr=5e:2b:15:71:ec:b6 if_netconsole=ping $serverip ipaddr=192.168.0.222 mtdids=nand0=41000000.nand mtdparts=mtdparts=41000000.nand:14m(boot),-(data) preboot_nc=run if_netconsole start_netconsole serverip=192.168.0.220 start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version stderr=serial stdin=serial stdout=serial uenv_import=echo importing envs ...; env import -t 0x60500000 uenv_init_devices=setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done; uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in 0; do run uenv_read_disk; done; done; uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 0x60500000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi uimage_addr=0x60500000 uinitrd_addr=0x60e00000 usb_device=0:1 usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10 Environment size: 1988/33685500 bytes
|
Re: U-Boot 2015.10 for Iomega HMNHDCE April 12, 2021 04:51PM |
Admin Registered: 13 years ago Posts: 18,584 |
|
Re: U-Boot 2015.10 for Iomega HMNHDCE April 12, 2021 05:06PM |
Admin Registered: 13 years ago Posts: 18,584 |
*** Warning - readenv() failed, using default environment
|
Re: U-Boot 2015.10 for Iomega HMNHDCE April 13, 2021 11:51AM |
Registered: 3 years ago Posts: 13 |
|
Re: U-Boot 2015.10 for Iomega HMNHDCE April 13, 2021 04:48PM |
Admin Registered: 13 years ago Posts: 18,584 |
Quote
dt_load_dtb=ext2load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-pro.dtb
dt_load_initrd=ext2load usb 0:1 $uinitrd_addr /boot/uInitrd
dt_load_uimage=ext2load usb 0:1 $uimage_addr /boot/uImage
usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10
dt_bootcmd_usb=usb start; run dt_usb_bootcmd; usb stop; reset
dt_usb_bootcmd=run usb_set_bootargs; run dt_usb_boot
dt_usb_boot=run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm
dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr
setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial' setenv dt_load_dtb 'ext2load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-classic.dtb
|
Re: U-Boot 2015.10 for Iomega HMNHDCE April 14, 2021 04:23AM |
Registered: 3 years ago Posts: 13 |
U-Boot SPL 2013.10-ga72eb8f (Apr 12 2021 - 03:23:10)
Boot device: SATA
Attempting to set PLLA to 800 MHz ...
plla_ctrl0 : 0000030a
plla_ctrl1 : 00400000
plla_ctrl2 : 007f0068
plla_ctrl3 : 00000193
PLLA Set
Bus 0: OK
Device 0:
reading bootargs.bin
reading u-boot.img
reading u-boot.img
U-Boot 2015.10-g5d26bd2 (Apr 12 2021 - 22:17:38 +0800)
OXNAS OX820
DRAM: 128 MiB
NAND: 0 MiB
*** Warning - readenv() failed, using default environment
In: serial
Out: serial
Err: serial
Net: Phy 0 not found
PHY reset timed out
dwmac.40400000
Hit any key to stop autoboot: 10 0
OX820> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial'
OX820> setenv dt_load_dtb 'ext2load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-classic.dtb'
OX820> boot
starting USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
Reset IDE: Bus 0: OK
Device 0: Model: Hitachi HDT721032SLA380 Firm: ST2OA39D Ser#: STA207MC2K012B
Type: Hard Disk
Supports 48-bit addressing
Capacity: 305245.3 MB = 298.0 GB (625142448 x 512)
Partition Map for USB device 0 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
1 2048 15153152 80750a54-01 83
loading envs from usb 0 ...
2641 bytes read in 204 ms (11.7 KiB/s)
Partition Map for IDE device 0 -- Partition Type: EFI
Part Start LBA End LBA Name
Attributes
Type GUID
Partition GUID
1 0x00010000 0x0001ffff "boot"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 8ced04b1-0d4b-4a89-83e5-69686b6ecb4e
loading envs from ide 0 ...
reading /boot/uEnv.txt
** Unable to read file /boot/uEnv.txt **
importing envs ...
## Warning: Input data exceeds 1048576 bytes - truncated
## Info: input data size = 1048578 = 0x100002
ERROR: Environment import failed: errno = 12
at common/cmd_nvedit.c:1082/do_env_import()
4621824 bytes read in 335 ms (13.2 MiB/s)
4594376 bytes read in 308 ms (14.2 MiB/s)
7075 bytes read in 173 ms (39.1 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
Image Name: Linux-4.4.54-oxnas-tld-1
Created: 2017-08-01 4:45:36 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4621760 Bytes = 4.4 MiB
Load Address: 60008000
Entry Point: 60008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 60e00000 ...
Image Name: initramfs-4.4.54-oxnas-tld-1
Created: 2017-08-01 7:51:04 UTC
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 4594312 Bytes = 4.4 MiB
Load Address: 60000000
Entry Point: 60000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 62c00000
Booting using the fdt blob at 0x62c00000
Loading Kernel Image ... OK
Loading Ramdisk to 679c6000, end 67e27a88 ... OK
Loading Device Tree to 679c1000, end 679c5ba2 ... OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
U-Boot SPL 2013.10-ga72eb8f (Apr 12 2021 - 03:23:10)
Boot device: SATA
Attempting to set PLLA to 800 MHz ...
plla_ctrl0 : 0000030a
plla_ctrl1 : 00400000
plla_ctrl2 : 007f0068
plla_ctrl3 : 00000193
PLLA Set
Bus 0: OK
Device 0:
reading bootargs.bin
reading u-boot.img
reading u-boot.img
U-Boot 2015.10-g5d26bd2 (Apr 12 2021 - 22:17:38 +0800)
OXNAS OX820
DRAM: 128 MiB
NAND: 0 MiB
*** Warning - readenv() failed, using default environment
In: serial
Out: serial
Err: serial
Net: Phy 0 not found
PHY reset timed out
dwmac.40400000
Hit any key to stop autoboot: 10 0
OX820> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial'
OX820> setenv dt_load_dtb 'ext2load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-classic.dtb'
OX820> boot
starting USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... EHCI timed out on TD - token=0x80008c80
unable to get device descriptor (error=-1)
5 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
Reset IDE: Bus 0: OK
Device 0: Model: Hitachi HDT721032SLA380 Firm: ST2OA39D Ser#: STA207MC2K012B
Type: Hard Disk
Supports 48-bit addressing
Capacity: 305245.3 MB = 298.0 GB (625142448 x 512)
Partition Map for USB device 0 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
1 2048 3913728 fb6487b1-01 83
loading envs from usb 0 ...
** File not found /boot/uEnv.txt **
Partition Map for IDE device 0 -- Partition Type: EFI
Part Start LBA End LBA Name
Attributes
Type GUID
Partition GUID
1 0x00010000 0x0001ffff "boot"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 8ced04b1-0d4b-4a89-83e5-69686b6ecb4e
loading envs from ide 0 ...
reading /boot/uEnv.txt
** Unable to read file /boot/uEnv.txt **
4621824 bytes read in 545 ms (8.1 MiB/s)
4594376 bytes read in 514 ms (8.5 MiB/s)
7075 bytes read in 183 ms (37.1 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
Image Name: Linux-4.4.54-oxnas-tld-1
Created: 2017-08-01 4:45:36 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4621760 Bytes = 4.4 MiB
Load Address: 60008000
Entry Point: 60008000
Verifying Checksum ... Bad Data CRC
|
Re: U-Boot 2015.10 for Iomega HMNHDCE April 14, 2021 04:42PM |
Admin Registered: 13 years ago Posts: 18,584 |
setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial' setenv dt_load_dtb 'echo Loading DTB from USB; ext2load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-classic.dtb' setenv dt_load_initrd 'echo Loading uInitrd from USB; ext2load usb 0:1 $uinitrd_addr /boot/uInitrd' setenv dt_load_uimage ''echo Loading uImage from USB; ext2load usb 0:1 $uimage_addr /boot/uImage' setenv dt_bootm 'echo Booting Debian; bootm $uimage_addr $uinitrd_addr $dtb_addr'
printenv boot
|
Re: U-Boot 2015.10 for Iomega HMNHDCE April 15, 2021 02:33PM |
Registered: 3 years ago Posts: 13 |
U-Boot SPL 2013.10-ga72eb8f (Apr 12 2021 - 03:23:10)
Boot device: SATA
Attempting to set PLLA to 800 MHz ...
plla_ctrl0 : 0000030a
plla_ctrl1 : 00400000
plla_ctrl2 : 007f0068
plla_ctrl3 : 00000193
PLLA Set
Bus 0: OK
Device 0:
reading bootargs.bin
reading u-boot.img
reading u-boot.img
U-Boot 2015.10-g5d26bd2 (Apr 12 2021 - 22:17:38 +0800)
OXNAS OX820
DRAM: 128 MiB
NAND: 0 MiB
*** Warning - readenv() failed, using default environment
In: serial
Out: serial
Err: serial
Net: Phy 0 not found
PHY reset timed out
dwmac.40400000
Hit any key to stop autoboot: 10 0
OX820> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial'
OX820> setenv dt_load_dtb 'echo Loading DTB from USB; ext2load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-classic.dtb'
OX820> setenv dt_load_initrd 'echo Loading uInitrd from USB; ext2load usb 0:1 $uinitrd_addr /boot/uInitrd'
OX820> setenv dt_load_uimage 'echo Loading uImage from USB; ext2load usb 0:1 $uimage_addr /boot/uImage'
OX820> setenv dt_bootm 'echo Booting Debian; bootm $uimage_addr $uinitrd_addr $dtb_addr'
OX820> printenv
autoload=no
baudrate=115200
bootargs=console=ttyS0,115200n8
bootcmd=run bootcmd_uenv; run dt_bootcmd_usb; reset
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=10
console=console=ttyS0,115200n8
devices=usb ide
dt_bootcmd_usb=usb start; run dt_usb_bootcmd; usb stop; reset
dt_bootm=echo Booting Debian; bootm $uimage_addr $uinitrd_addr $dtb_addr
dt_load_dtb=echo Loading DTB from USB; ext2load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-classic.dtb
dt_load_initrd=echo Loading uInitrd from USB; ext2load usb 0:1 $uinitrd_addr /boot/uInitrd
dt_load_uimage=echo Loading uImage from USB; ext2load usb 0:1 $uimage_addr /boot/uImage
dt_usb_boot=run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm
dt_usb_bootcmd=run usb_set_bootargs; run dt_usb_boot
dtb_addr=0x62c00000
ethact=dwmac.40400000
ethaddr=5e:2b:15:71:ec:b6
if_netconsole=ping $serverip
ipaddr=192.168.0.222
mtdids=nand0=41000000.nand
mtdparts=mtdparts=41000000.nand:14m(boot),-(data)
preboot_nc=run if_netconsole start_netconsole
serverip=192.168.0.220
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version
stderr=serial
stdin=serial
stdout=serial
uenv_import=echo importing envs ...; env import -t 0x60500000
uenv_init_devices=setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in 0; do run uenv_read_disk; done; done;
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 0x60500000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi
uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi
uimage_addr=0x60500000
uinitrd_addr=0x60e00000
usb_device=0:1
usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
Environment size: 2124/33685500 bytes
OX820> boot
starting USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... EHCI timed out on TD - token=0x80008c80
EHCI timed out on TD - token=0x80008c80
EHCI timed out on TD - token=0x80008c80
unable to get device descriptor (error=-1)
5 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
Reset IDE: Bus 0: OK
Device 0: Model: Hitachi HDT721032SLA380 Firm: ST2OA39D Ser#: STA207MC2K012B
Type: Hard Disk
Supports 48-bit addressing
Capacity: 305245.3 MB = 298.0 GB (625142448 x 512)
Partition Map for USB device 0 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
1 2048 15153152 80750a54-01 83
loading envs from usb±ùg 0 ...
** File not found /boot/uEnv.txt **
Partition Map for IDE device 0 -- Partition Type: EFI
Part Start LBA End LBA Name
Attributes
Type GUID
Partition GUID
1 0x00010000 0x0001ffff "boot"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 8ced04b1-0d4b-4a89-83e5-69686b6ecb4e
loading envs from ide 0 ...
reading /boot/uEnv.txt
** Unable to read file /boot/uEnv.txt **
Loading uImage from USB
4621824 bytes read in 335 ms (13.2 MiB/s)
Loading uInitrd from USB
4594376 bytes read in 307 ms (14.3 MiB/s)
Loading DTB from USB
7075 bytes read in 173 ms (39.1 KiB/s)
Booting Debian
## Booting kernel from Legacy Image at 60500000 ...
Image Name: Linux-4.4.54-oxnas-tld-1
Created: 2017-08-01 4:45:36 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4621760 Bytes = 4.4 MiB
Load Address: 60008000
Entry Point: 60008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 60e00000 ...
Image Name: initramfs-4.4.54-oxnas-tld-1
Created: 2017-08-01 7:51:04 UTC
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 4594312 Bytes = 4.4 MiB
Load Address: 60000000
Entry Point: 60000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 62c00000
Booting using the fdt blob at 0x62c00000
Loading Kernel Image ... OK
Loading Ramdisk to 679c6000, end 67e27a88 ... OK
Loading Device Tree to 679c1000, end 679c5ba2 ... OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
|
Re: U-Boot 2015.10 for Iomega HMNHDCE April 15, 2021 07:02PM |
Admin Registered: 13 years ago Posts: 18,584 |
setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial' setenv dt_load_dtb 'echo Loading DTB from USB; ext2load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-classic.dtb' setenv dt_load_initrd 'echo Not loading uInitrd' setenv dt_load_uimage ''echo Loading uImage from USB; ext2load usb 0:1 $uimage_addr /boot/uImage' setenv dt_bootm 'echo Booting Debian; bootm $uimage_addr - $dtb_addr' printenv boot
|
Roland8
Re: U-Boot 2015.10 for Iomega HMNHDCE April 15, 2021 11:17PM |
|
Re: U-Boot 2015.10 for Iomega HMNHDCE April 16, 2021 01:50AM |
Registered: 3 years ago Posts: 13 |
|
Re: U-Boot 2015.10 for Iomega HMNHDCE April 16, 2021 02:00AM |
Registered: 3 years ago Posts: 13 |
U-Boot SPL 2013.10-ga72eb8f (Apr 12 2021 - 03:23:10)
Boot device: SATA
Attempting to set PLLA to 800 MHz ...
plla_ctrl0 : 0000030a
plla_ctrl1 : 00400000
plla_ctrl2 : 007f0068
plla_ctrl3 : 00000193
PLLA Set
Bus 0: OK
Device 0:
reading bootargs.bin
reading u-boot.img
reading u-boot.img
U-Boot 2015.10-g5d26bd2 (Apr 12 2021 - 22:17:38 +0800)
OXNAS OX820
DRAM: 128 MiB
NAND: 0 MiB
*** Warning - readenv() failed, using default environment
In: serial
Out: serial
Err: serial
Net: Phy 0 not found
PHY reset timed out
dwmac.40400000
Hit any key to stop autoboot: 10 0
OX820>
OX820>
OX820> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial'
OX820> setenv dt_load_dtb 'echo Loading DTB from USB; ext2load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-classic.dtb'
OX820> setenv dt_load_initrd 'echo Not loading uInitrd'
OX820> setenv dt_load_uimage 'echo Loading uImage from USB; ext2load usb 0:1 $uimage_addr /boot/uImage'
OX820> setenv dt_bootm 'echo Booting Debian; bootm $uimage_addr - $dtb_addr'
OX820> printenv
autoload=no
baudrate=115200
bootargs=console=ttyS0,115200n8
bootcmd=run bootcmd_uenv; run dt_bootcmd_usb; reset
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=10
console=console=ttyS0,115200n8
devices=usb ide
dt_bootcmd_usb=usb start; run dt_usb_bootcmd; usb stop; reset
dt_bootm=echo Booting Debian; bootm $uimage_addr - $dtb_addr
dt_load_dtb=echo Loading DTB from USB; ext2load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-classic.dtb
dt_load_initrd=echo Not loading uInitrd
dt_load_uimage=echo Loading uImage from USB; ext2load usb 0:1 $uimage_addr /boot/uImage
dt_usb_boot=run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm
dt_usb_bootcmd=run usb_set_bootargs; run dt_usb_boot
dtb_addr=0x62c00000
ethact=dwmac.40400000
ethaddr=5e:2b:15:71:ec:b6
if_netconsole=ping $serverip
ipaddr=192.168.0.222
mtdids=nand0=41000000.nand
mtdparts=mtdparts=41000000.nand:14m(boot),-(data)
preboot_nc=run if_netconsole start_netconsole
serverip=192.168.0.220
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version
stderr=serial
stdin=serial
stdout=serial
uenv_import=echo importing envs ...; env import -t 0x60500000
uenv_init_devices=setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in 0; do run uenv_read_disk; done; done;
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 0x60500000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi
uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi
uimage_addr=0x60500000
uinitrd_addr=0x60e00000
usb_device=0:1
usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
Environment size: 2060/33685500 bytes
OX820> boot
starting USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... EHCI timed out on TD - token=0x80008c80
unable to get device descriptor (error=-1)
EHCI timed out on TD - token=0x80008c80
EHCI timed out on TD - token=0x80008c80
EHCI timed out on TD - token=0x80008c80
EHCI timed out on TD - token=0x80008c80
5 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
Reset IDE: Bus 0: OK
Device 0: Model: Hitachi HDT721032SLA380 Firm: ST2OA39D Ser#: STA207MC2K012B
Type: Hard Disk
Supports 48-bit addressing
Capacity: 305245.3 MB = 298.0 GB (625142448 x 512)
Partition Map for USB device 0 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
1 2048 15153152 80750a54-01 83
loading envs from usb±ùg 0 ...
** File not found /boot/uEnv.txt **
Partition Map for IDE device 0 -- Partition Type: EFI
Part Start LBA End LBA Name
Attributes
Type GUID
Partition GUID
1 0x00010000 0x0001ffff "boot"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 8ced04b1-0d4b-4a89-83e5-69686b6ecb4e
loading envs from ide 0 ...
reading /boot/uEnv.txt
** Unable to read file /boot/uEnv.txt **
Loading uImage from USB
4621824 bytes read in 335 ms (13.2 MiB/s)
Not loading uInitrd
Loading DTB from USB
7075 bytes read in 172 ms (40 KiB/s)
Booting Debian
## Booting kernel from Legacy Image at 60500000 ...
Image Name: Linux-4.4.54-oxnas-tld-1
Created: 2017-08-01 4:45:36 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4621760 Bytes = 4.4 MiB
Load Address: 60008000
Entry Point: 60008000
Verifying Checksum ... OK
## Flattened Device Tree blob at 62c00000
Booting using the fdt blob at 0x62c00000
Loading Kernel Image ... OK
Loading Device Tree to 67e23000, end 67e27ba2 ... OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
|
Re: U-Boot 2015.10 for Iomega HMNHDCE April 16, 2021 04:29PM |
Admin Registered: 13 years ago Posts: 18,584 |
setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial' setenv dt_load_dtb 'echo Not loading uInitrd" setenv dt_load_initrd 'echo Not loading uInitrd' setenv dt_load_uimage ''echo Loading uImage from USB; ext2load usb 0:1 $uimage_addr /boot/uImage' setenv dt_bootm 'echo Booting Debian; bootm $uimage_addrr' boot
cd /media/sdb1/boot mv uImage uImage.orig cp -a zImage-5.4.101-oxnas-tld-1 zImage.fdt cat dts/ox820-pogoplug-classic.dtb >> zImage.fdt mkimage -A arm -O linux -T kernel -C none -a 0x60008000 -e 0x60008000 -n Linux-5.4.101-oxnas-tld-1 -d zImage.fdt uImage sync