Installing new u-boot for NSA310S April 02, 2017 09:19AM |
Registered: 7 years ago Posts: 21 |
NSA3x0S> reset resetting ... U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:55:45 -0700) ZyXEL NSA310S/320S 1/2-Bay Power Media Server SoC: Kirkwood 88F6702_A1 DRAM: 256 MiB WARNING: Caches not enabled NAND: 128 MiB In: serial Out: serial Err: serial Net: egiga0 MV88E1318 PHY initialized on egiga0 Hit any key to stop autoboot: 0 starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 3 USB Device(s) found scanning usb for storage devices... Use USB retry period from the environment: 15 second(s) 1 Storage Device(s) found Reset IDE: Bus 0: OK Bus 1: not available Device 0: Model: WDC WD5000AAKX-001CA0 Firm: 15.01H15 Ser#: WD-WMAYU0489005 Type: Hard Disk Supports 48-bit addressing Capacity: 476940.0 MB = 465.7 GB (976773168 x 512) Unknown command 'mmc' - try 'help' Partition Map for USB device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 15630336 00b8b120-01 0b loading envs from usb 0 ... reading /boot/uEnv.txt ** Unable to read file /boot/uEnv.txt ** Partition Map for IDE device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 1951744 11c04297-01 83 Boot 2 974819328 1951744 11c04297-02 82 3 1953792 972865536 11c04297-03 83 loading envs from ide 0 ... ** File not found /boot/uEnv.txt ** Unknown command 'mmc' - try 'help' running scan_disk ... Scan device usb device usb 0:1 reading /boot/uImage ** Unable to read file /boot/uImage ** 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: WDC WD5000AAKX-001CA0 Firm: 15.01H15 Ser#: WD-WMAYU0489005 Type: Hard Disk Supports 48-bit addressing Capacity: 476940.0 MB = 465.7 GB (976773168 x 512) device ide 0:1 ** File not found /boot/uImage ** device ide 1:1 ** Bad device ide 1 ** device ide 2:1 ** Bad device ide 2 ** device ide 3:1 ** Bad device ide 3 ** Scan device mmc Unknown command 'mmc' - try 'help' device mmc 0:1 ** Bad device mmc 0 ** device mmc 1:1 ** Bad device mmc 1 ** device mmc 2:1 ** Bad device mmc 2 ** device mmc 3:1 ** Bad device mmc 3 ** loading uImage ... reading /boot/uImage ** Unable to read file /boot/uImage ** loading uInitrd ... reading /boot/uInitrd ** Unable to read file /boot/uInitrd ** loading DTB /boot/dts/kirkwood-pogo_e02.dtb ... reading /boot/dts/kirkwood-pogo_e02.dtb ** Unable to read file /boot/dts/kirkwood-pogo_e02.dtb ** Wrong Image Format for bootm command Error occured, error code = 112 ERROR: can't get kernel image! NSA3x0S> printenv arcNumber=4931 bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi bootdelay=10 bootdev=usb device=0:1 devices=usb ide mmc disks=0 1 2 3 dtb_file=/boot/dts/kirkwood-pogo_e02.dtb ethact=egiga0 ethaddr=52:3b:20:9c:11:51 if_netconsole=ping $serverip init_ide=ide reset init_mmc=mmc rescan init_usb=usb start ipaddr=192.168.0.231 led_error=orange blinking led_exit=green off led_init=green blinking load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file load_dtb_addr=0x1c00000 load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd load_initrd_addr=0x1100000 load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage load_uimage_addr=0x800000 mainlineLinux=yes mtdids=nand0=orion_nand mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) partition=nand0,2 preboot_nc=run if_netconsole start_netconsole scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start"; setenv scan_ide "ide reset"; setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done scan_ide=ide reset scan_mmc=mmc rescan scan_usb=usb start serverip=192.168.0.220 set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params 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_addr=0x810000 uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize 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_loaded=0 uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 $uenv_addr /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 usb_ready_retry=15 Environment size: 3114/131068 bytes NSA3x0S>
Re: Linux Kernel 4.10.0 Kirkwood package and Debian rootfs April 02, 2017 12:58PM |
Registered: 10 years ago Posts: 66 |
Re: Linux Kernel 4.10.0 Kirkwood package and Debian rootfs April 02, 2017 04:16PM |
Registered: 7 years ago Posts: 21 |
Re: Installing new u-boot for NSA310S April 02, 2017 04:30PM |
Admin Registered: 13 years ago Posts: 18,997 |
Quote
> ** Unable to read file /boot/uImage **
> device ide 0:1
> ** File not found /boot/uImage **
> device ide 1:1
> loading uInitrd ...
> reading /boot/uInitrd
> ** Unable to read file /boot/uInitrd **
> loading DTB /boot/dts/kirkwood-pogo_e02.dtb ...
> reading /boot/dts/kirkwood-pogo_e02.dtb
> ** Unable to read file /boot/dts/kirkwood-pogo_e02
> .dtb **
> Wrong Image Format for bootm command
> Error occured, error code = 112
> ERROR: can't get kernel image!
dtb_file=/boot/dts/kirkwood-nsa310s.dtb
/boot/uInitrd /boot/uImage /boot/dts/kirkwood-nsa310s.dtb
Re: Linux Kernel 4.10.0 Kirkwood package and Debian rootfs April 02, 2017 04:31PM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: Linux Kernel 4.10.0 Kirkwood package and Debian rootfs April 02, 2017 04:41PM |
Registered: 7 years ago Posts: 21 |
Re: Linux Kernel 4.10.0 Kirkwood package and Debian rootfs April 03, 2017 01:18AM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: Installing new u-boot for NSA310S April 03, 2017 09:45AM |
Registered: 7 years ago Posts: 21 |
NSA3x0S> fatload usb 0 0x800000 boot.uImage-nsa310s reading boot.uImage-nsa310s 3231728 bytes read in 139 ms (22.2 MiB/s) NSA3x0S> fatload usb 0 0xb00000 initrd reading initrd 9437184 bytes read in 339 ms (26.5 MiB/s) NSA3x0S> setenv bootargs 'console=ttyS0,115200 root=/dev/ram initrd=0xb00000,0x9 00000 ramdisk=32768' NSA3x0S> bootm 0x800000 ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux Kernel for NSA310S Created: 2017-04-03 14:16:03 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3231664 Bytes = 3.1 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... Bad Data CRC Error occured, error code = 3 ERROR: can't get kernel image!
Re: Installing new u-boot for NSA310S April 03, 2017 01:47PM |
Admin Registered: 13 years ago Posts: 18,997 |
load_dtb_addr=0x1c00000 load_initrd_addr=0x1100000 load_uimage_addr=0x800000
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params