Lennong
NSA310 with uboot.2015.10-tld-1 HD detection May 03, 2016 05:26AM |
arcNumber=4022 baudrate=115200 bootcmd=run bootcmd_uenv; run bootcmd_usb; usb stop; run bootcmd_sata; reset bootcmd_sata=run sata_init; run set_bootargs_sata; run sata_boot bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi bootcmd_usb=run usb_init; run set_bootargs_usb; run usb_boot bootdelay=10 console=ttyS0,115200 device=0:1 ethact=egiga0 ethaddr=b6:d0:5e:0f:a1:17 led_error=orange blinking led_exit=green off led_init=green blinking machid=118f mainlineLinux=yes mtdids=nand0=orion_nand mtdparts=mtdparts=orion_nand:0x100000(uboot),0x80000(stock_uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2) partition=nand0,2 rootdelay=10 rootfstype=ext2 sata_boot=mw 0x800000 0 1; run sata_load_uimage; if run sata_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi sata_init=ide reset sata_load_uimage=ext2load ide $device 0x800000 /boot/uImage sata_load_uinitrd=ext2load ide $device 0x1100000 /boot/uInitrd sata_root=/dev/sda3 set_bootargs_sata=setenv bootargs console=$console root=$sata_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts stderr=serial stdin=serial stdout=serial uenv_import=echo importing envs ...; env import -t 0x810000 uenv_load=usb start; setenv uenv_loaded 0; for devtype in usb; 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 0x810000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi uenv_read_disk=if $devtype part $disknum; then run uenv_read; fi usb_boot=mw 0x800000 0 1; run usb_load_uimage; if run usb_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi usb_init=usb start usb_load_uimage=ext2load usb $device 0x800000 /boot/uImage usb_load_uinitrd=ext2load usb $device 0x1100000 /boot/uInitrd usb_root=/dev/sda1
U-Boot 2015.10-tld-1 (Nov 06 2015 - 16:19:43 -0800) ZyXEL NSA310 1-Bay Power Media Server SoC: Kirkwood 88F6281_A1 DRAM: 256 MiB (ECC not enabled) WARNING: Caches not enabled NAND: 128 MiB In: serial Out: serial Err: serial Net: egiga0 PHY reset timed out MV88E1318 PHY initialized on egiga0 Hit any key to stop autoboot: 0 starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found no USB devices available ** Bad device usb 0 ** ** Bad device usb 0 ** Wrong Image Format for bootm command Error occured, error code = 112 ERROR: can't get kernel image! stopping USB.. Reset IDE: Bus 0: OK Bus 1: not available Device 0: Model: ?▒?▒?▒?▒?▒?▒?▒?▒?▒?▒?▒?▒?▒?▒?▒?▒?▒?▒?▒?▒ Firm: ?▒?▒?▒?▒ Ser#: ?▒?▒?▒?▒?▒?▒?▒?▒?▒?▒ Type: Hard Disk Supports 48-bit addressing Capacity: 427923841.5 MB = 417894.3 GB (4611474908973580287 x 512) IDE read: device 0 not ready IDE read: device 0 not ready ** No partition table - ide 0 ** ** No partition table - ide 0 ** Wrong Image Format for bootm command Error occured, error code = 112 ERROR: can't get kernel image! resetting ...
Re: NSA310 with uboot.2015.10-tld-1 HD detection May 03, 2016 01:12PM |
Admin Registered: 13 years ago Posts: 18,555 |
Lennong
Re: NSA310 with uboot.2015.10-tld-1 HD detection May 03, 2016 10:18PM |
Re: NSA310 with uboot.2015.10-tld-1 HD detection May 04, 2016 12:25AM |
Admin Registered: 13 years ago Posts: 18,555 |
Lennong
Re: NSA310 with uboot.2015.10-tld-1 HD detection May 04, 2016 04:57PM |
Re: NSA310 with uboot.2015.10-tld-1 HD detection May 11, 2016 04:14AM |
Admin Registered: 13 years ago Posts: 18,555 |
Lennong
Re: NSA310 with uboot.2015.10-tld-1 HD detection May 13, 2016 03:36PM |
Lennong
Re: NSA310 with uboot.2015.10-tld-1 HD detection June 12, 2016 06:20AM |
Reset IDE: Bus 0: OK Bus 1: not available Device 0: Model: WDC WD5000LPVT-75G33T0 Firm: 01.01A01 Ser#: WX51C32F8400 Type: Hard Disk Supports 48-bit addressing Capacity: 476940.0 MB = 465.7 GB (976773168 x 512) 3154896 bytes read in 945 ms (3.2 MiB/s) 7179935 bytes read in 1896 ms (3.6 MiB/s) ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-4.4.0-kirkwood-tld-1 Created: 2016-02-19 5:55:25 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3154832 Bytes = 3 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-4.4.0-kirkwood-tld-1 Created: 2016-02-19 7:33:04 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 7179871 Bytes = 6.8 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Loading Kernel Image ... OK Using machid 0x118f from environment Starting kernel ... Uncompressing Linux... done, booting the kernel. Error: unrecognized/unsupported machine ID (r1 = 0x0000118f). Available machine support: ID (hex) NAME ffffffff Generic DT based system ffffffff Marvell Kirkwood (Flattened Device Tree) Please check your kernel config and/or bootloader.
arcNumber=4022 baudrate=115200 bootcmd=run bootcmd_uenv; run bootcmd_usb; usb stop; run bootcmd_sata; reset bootcmd_sata=run sata_init; run set_bootargs_sata; run sata_boot bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi bootcmd_usb=run usb_init; run set_bootargs_usb; run usb_boot bootdelay=10 console=ttyS0,115200 device=0:1 ethact=egiga0 ethaddr=b6:d0:5e:0f:a1:17 led_error=orange blinking led_exit=green off led_init=green blinking machid=118f mainlineLinux=yes mtdids=nand0=orion_nand mtdparts=mtdparts=orion_nand:0x100000(uboot),0x80000(stock_uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2) partition=nand0,2 rootdelay=10 rootfstype=ext2 sata_boot=mw 0x800000 0 1; run sata_load_uimage; if run sata_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi sata_init=ide reset sata_load_uimage=ext2load ide $device 0x800000 /boot/uImage sata_load_uinitrd=ext2load ide $device 0x1100000 /boot/uInitrd sata_root=/dev/sda1 set_bootargs_sata=setenv bootargs console=$console root=$sata_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts stderr=serial stdin=serial stdout=serial uenv_import=echo importing envs ...; env import -t 0x810000 uenv_load=usb start; setenv uenv_loaded 0; for devtype in usb; 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 0x810000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi uenv_read_disk=if $devtype part $disknum; then run uenv_read; fi usb_boot=mw 0x800000 0 1; run usb_load_uimage; if run usb_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi usb_init=usb start usb_load_uimage=ext2load usb $device 0x800000 /boot/uImage usb_load_uinitrd=ext2load usb $device 0x1100000 /boot/uInitrd usb_root=/dev/sda1
Re: NSA310 with uboot.2015.10-tld-1 HD detection June 12, 2016 03:49PM |
Admin Registered: 13 years ago Posts: 18,555 |
Quote
8. Flashing default u-boot envs image:
............
. A special section (B. Flashing default u-boot envs image) about flashing default u-boot envs is included at the end of this installation procedure. Please follow the instruction in this section B to perform this step before continuing with step 9.
Quote
a. Download the default u-boot envs at Dropbox:
uboot.2014.07-tld-3.environment.bodhi.tar
md5
8d53c30918510e0f1ea89d889a3f6f8e
This tarball includes 2 files:
uboot.2014.07-tld-3.environment.img (the default envs image to be flashed)
uboot.2014.07-tld-3.environment (the content of the default envs in text format)
cd /boot cp -a uboot.2014.07-tld-3.environment uEnv.txt
Quote
dtb_file='/boot/dts/kirkwood-nsa310.dtb'
Lennong
Re: NSA310 with uboot.2015.10-tld-1 HD detection June 13, 2016 02:35AM |
Re: NSA310 with uboot.2015.10-tld-1 HD detection June 13, 2016 02:59AM |
Admin Registered: 13 years ago Posts: 18,555 |
Lennong
Re: NSA310 with uboot.2015.10-tld-1 HD detection June 13, 2016 03:10AM |
U-Boot 2015.10-tld-1 (Nov 06 2015 - 16:19:43 -0800) ZyXEL NSA310 1-Bay Power Media Server SoC: Kirkwood 88F6281_A1 DRAM: 256 MiB (ECC not enabled) WARNING: Caches not enabled NAND: 128 MiB In: serial Out: serial Err: serial Net: egiga0 PHY reset timed out MV88E1318 PHY initialized on egiga0 Hit any key to stop autoboot: 0 starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found no USB devices available ** Bad device usb 0 ** ** Bad device usb 0 ** Wrong Image Format for bootm command Error occured, error code = 112 ERROR: can't get kernel image! stopping USB.. Reset IDE: Bus 0: OK Bus 1: not available Device 0: Model: WDC WD5000LPVT-75G33T0 Firm: 01.01A01 Ser#: WX51C32F8400 Type: Hard Disk Supports 48-bit addressing Capacity: 476940.0 MB = 465.7 GB (976773168 x 512) 3154896 bytes read in 946 ms (3.2 MiB/s) 7179935 bytes read in 1886 ms (3.6 MiB/s) ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-4.4.0-kirkwood-tld-1 Created: 2016-02-19 5:55:25 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3154832 Bytes = 3 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-4.4.0-kirkwood-tld-1 Created: 2016-02-19 7:33:04 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 7179871 Bytes = 6.8 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Loading Kernel Image ... OK Using machid 0x118f from environment Starting kernel ... Uncompressing Linux... done, booting the kernel. Error: unrecognized/unsupported machine ID (r1 = 0x0000118f). Available machine support: ID (hex) NAME ffffffff Generic DT based system ffffffff Marvell Kirkwood (Flattened Device Tree) Please check your kernel config and/or bootloader.
Re: NSA310 with uboot.2015.10-tld-1 HD detection June 13, 2016 01:16PM |
Admin Registered: 13 years ago Posts: 18,555 |
setenv uenv_load 'ide reset; setenv uenv_loaded 0; for devtype in ide; do for disknum in 0; do run uenv_read_disk; done; done'
boot
Lennong
Re: NSA310 with uboot.2015.10-tld-1 HD detection June 13, 2016 01:41PM |
U-Boot 2015.10-tld-1 (Nov 06 2015 - 16:19:43 -0800) ZyXEL NSA310 1-Bay Power Media Server SoC: Kirkwood 88F6281_A1 DRAM: 256 MiB (ECC not enabled) WARNING: Caches not enabled NAND: 128 MiB In: serial Out: serial Err: serial Net: egiga0 PHY reset timed out MV88E1318 PHY initialized on egiga0 Hit any key to stop autoboot: 0 NSA310> setenv uenv_load 'ide reset start; setenv uenv_loaded 0; for devtype in ide; do for disknum in 0; do run uenv_read_disk; done; done' NSA310> boot 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' IDE device 0 not available starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found ** Bad device usb 0 ** ** Bad device usb 0 ** Wrong Image Format for bootm command Error occured, error code = 112 ERROR: can't get kernel image! stopping USB.. Reset IDE: Bus 0: OK Bus 1: not available Device 0: Model: WDC WD5000LPVT-75G33T0 Firm: 01.01A01 Ser#: WX51C32F8400 Type: Hard Disk Supports 48-bit addressing Capacity: 476940.0 MB = 465.7 GB (976773168 x 512) 3154896 bytes read in 946 ms (3.2 MiB/s) 7179935 bytes read in 1885 ms (3.6 MiB/s) ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-4.4.0-kirkwood-tld-1 Created: 2016-02-19 5:55:25 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3154832 Bytes = 3 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-4.4.0-kirkwood-tld-1 Created: 2016-02-19 7:33:04 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 7179871 Bytes = 6.8 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Loading Kernel Image ... OK Using machid 0x118f from environment Starting kernel ... Uncompressing Linux... done, booting the kernel. Error: unrecognized/unsupported machine ID (r1 = 0x0000118f). Available machine support: ID (hex) NAME ffffffff Generic DT based system ffffffff Marvell Kirkwood (Flattened Device Tree) Please check your kernel config and/or bootloader.
Re: NSA310 with uboot.2015.10-tld-1 HD detection June 13, 2016 05:13PM |
Admin Registered: 13 years ago Posts: 18,555 |
> U-Boot 2015.10-tld-1 (Nov 06 2015 - 16:19:43 > -0800) > ZyXEL NSA310 1-Bay Power Media Server > > > SoC: Kirkwood 88F6281_A1 > DRAM: 256 MiB (ECC not enabled) > WARNING: Caches not enabled > NAND: 128 MiB > In: serial > Out: serial > Err: serial > Net: egiga0 > PHY reset timed out > MV88E1318 PHY initialized on egiga0 > Hit any key to stop autoboot: 0 > NSA310> setenv uenv_load 'ide reset start; setenv > uenv_loaded 0; for devtype in ide; do for disknum > in 0; do run uenv_read_disk; done; done' > NSA310> boot > 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' > > IDE device 0 not available > starting USB... > USB0: USB EHCI 1.00 > scanning bus 0 for devices... 2 USB Device(s) > found > scanning usb for storage devices... 0 > Storage Device(s) found > ** Bad device usb 0 ** > ** Bad device usb 0 ** > Wrong Image Format for bootm command > Error occured, error code = 112 > ERROR: can't get kernel image! > stopping USB.. > > Reset IDE: Bus 0: OK Bus 1: not available > Device 0: Model: WDC WD5000LPVT-75G33T0 Firm: > 01.01A01 Ser#: WX51C32F8400 > Type: Hard Disk > Supports 48-bit addressing > Capacity: 476940.0 MB = 465.7 GB > (976773168 x 512) > 3154896 bytes read in 946 ms (3.2 MiB/s) > 7179935 bytes read in 1885 ms (3.6 MiB/s) > ## Booting kernel from Legacy Image at 00800000 > ... > Image Name: Linux-4.4.0-kirkwood-tld-1 > Created: 2016-02-19 5:55:25 UTC > Image Type: ARM Linux Kernel Image > (uncompressed) > Data Size: 3154832 Bytes = 3 MiB > Load Address: 00008000 > Entry Point: 00008000 > Verifying Checksum ... OK > ## Loading init Ramdisk from Legacy Image at > 01100000 ... > Image Name: initramfs-4.4.0-kirkwood-tld-1 > Created: 2016-02-19 7:33:04 UTC > Image Type: ARM Linux RAMDisk Image (gzip > compressed) > Data Size: 7179871 Bytes = 6.8 MiB > Load Address: 00000000 > Entry Point: 00000000 > Verifying Checksum ... OK > Loading Kernel Image ... OK > Using machid 0x118f from environment > > Starting kernel ... > > Uncompressing Linux... done, booting the kernel. > > Error: unrecognized/unsupported machine ID (r1 = > 0x0000118f). > > Available machine support: > > ID (hex) NAME > ffffffff Generic DT based system > ffffffff Marvell Kirkwood (Flattened Device > Tree) > > Please check your kernel config and/or > bootloader. >>
Lennong
Re: NSA310 with uboot.2015.10-tld-1 HD detection June 13, 2016 06:05PM |
U-Boot 2015.10-tld-1 (Nov 06 2015 - 16:19:43 -0800) ZyXEL NSA310 1-Bay Power Media Server SoC: Kirkwood 88F6281_A1 DRAM: 256 MiB (ECC not enabled) WARNING: Caches not enabled NAND: 128 MiB In: serial Out: serial Err: serial Net: egiga0 PHY reset timed out MV88E1318 PHY initialized on egiga0 Hit any key to stop autoboot: 0 NSA310> setenv uenv_load 'ide reset; setenv uenv_loaded 0; for devtype in ide; do for disknum in 0; do run uenv_read_disk; done; done' NSA310> boot Reset IDE: Bus 0: OK Bus 1: not available Device 0: Model: WDC WD5000LPVT-75G33T0 Firm: 01.01A01 Ser#: WX51C32F8400 Type: Hard Disk Supports 48-bit addressing Capacity: 476940.0 MB = 465.7 GB (976773168 x 512) Partition Map for IDE device 0 -- Partition Type: EFI Part Start LBA End LBA Name Attributes Type GUID Partition GUID 1 0x00000800 0x3a38600e "Linux filesystem" attrs: 0x0000000000000000 type: 0fc63daf-8483-4772-8e79-3d69d8477de4 guid: 420d5e9b-c104-4f2b-a662-42bb7cb402ef loading envs from ide 0 ... 2601 bytes read in 54 ms (46.9 KiB/s) importing envs ... ## Info: input data size = 18571 = 0x488B starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found ** Bad device usb 0 ** ** Bad device usb 0 ** Wrong Image Format for bootm command Error occured, error code = 112 ERROR: can't get kernel image! stopping USB.. Reset IDE: Bus 0: OK Bus 1: not available Device 0: Model: WDC WD5000LPVT-75G33T0 Firm: 01.01A01 Ser#: WX51C32F8400 Type: Hard Disk Supports 48-bit addressing Capacity: 476940.0 MB = 465.7 GB (976773168 x 512) 3154896 bytes read in 945 ms (3.2 MiB/s) 7179935 bytes read in 1886 ms (3.6 MiB/s) ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-4.4.0-kirkwood-tld-1 Created: 2016-02-19 5:55:25 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3154832 Bytes = 3 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-4.4.0-kirkwood-tld-1 Created: 2016-02-19 7:33:04 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 7179871 Bytes = 6.8 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Loading Kernel Image ... OK Using machid 0x831 from environment Starting kernel ... Uncompressing Linux... done, booting the kernel. Error: unrecognized/unsupported machine ID (r1 = 0x00000831). Available machine support: ID (hex) NAME ffffffff Generic DT based system ffffffff Marvell Kirkwood (Flattened Device Tree) Please check your kernel config and/or bootloader.
Lennong
Re: NSA310 with uboot.2015.10-tld-1 HD detection June 13, 2016 06:18PM |
Lennong
Re: NSA310 with uboot.2015.10-tld-1 HD detection June 13, 2016 06:39PM |
U-Boot 2015.10-tld-1 (Nov 06 2015 - 16:19:43 -0800) ZyXEL NSA310 1-Bay Power Media Server SoC: Kirkwood 88F6281_A1 DRAM: 256 MiB (ECC not enabled) WARNING: Caches not enabled NAND: 128 MiB In: serial Out: serial Err: serial Net: egiga0 PHY reset timed out MV88E1318 PHY initialized on egiga0 Hit any key to stop autoboot: 0 NSA310> setenv uenv_load 'ide reset; setenv uenv_loaded 0; for devtype in ide; do for disknum in 0; do run uenv_read_disk; done; done' NSA310> boot Reset IDE: Bus 0: OK Bus 1: not available Device 0: Model: WDC WD5000LPVT-75G33T0 Firm: 01.01A01 Ser#: WX51C32F8400 Type: Hard Disk Supports 48-bit addressing Capacity: 476940.0 MB = 465.7 GB (976773168 x 512) Partition Map for IDE device 0 -- Partition Type: EFI Part Start LBA End LBA Name Attributes Type GUID Partition GUID 1 0x00000800 0x3a38600e "rootfs" attrs: 0x0000000000000000 type: 0fc63daf-8483-4772-8e79-3d69d8477de4 guid: 420d5e9b-c104-4f2b-a662-42bb7cb402ef loading envs from ide 0 ... 2601 bytes read in 62 ms (40 KiB/s) importing envs ... ## Info: input data size = 3477 = 0xD95 starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found ** Bad device usb 0 ** ** Bad device usb 0 ** Wrong Image Format for bootm command Error occured, error code = 112 ERROR: can't get kernel image! stopping USB.. Reset IDE: Bus 0: OK Bus 1: not available Device 0: Model: WDC WD5000LPVT-75G33T0 Firm: 01.01A01 Ser#: WX51C32F8400 Type: Hard Disk Supports 48-bit addressing Capacity: 476940.0 MB = 465.7 GB (976773168 x 512) 3154896 bytes read in 795 ms (3.8 MiB/s) 7179935 bytes read in 1351 ms (5.1 MiB/s) ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-4.4.0-kirkwood-tld-1 Created: 2016-02-19 5:55:25 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3154832 Bytes = 3 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-4.4.0-kirkwood-tld-1 Created: 2016-02-19 7:33:04 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 7179871 Bytes = 6.8 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Loading Kernel Image ... OK Using machid 0x831 from environment Starting kernel ... Uncompressing Linux... done, booting the kernel. Error: unrecognized/unsupported machine ID (r1 = 0x00000831). Available machine support: ID (hex) NAME ffffffff Generic DT based system ffffffff Marvell Kirkwood (Flattened Device Tree) Please check your kernel config and/or bootloader.
Re: NSA310 with uboot.2015.10-tld-1 HD detection June 14, 2016 12:18AM |
Admin Registered: 13 years ago Posts: 18,555 |
setenv uenv_load 'ide reset; setenv uenv_loaded 0; for devtype in ide; do for disknum in 0; do run uenv_read_disk; done; done' printenv run scan_disk run set_bootargs run bootcmd_exec
Re: NSA310 with uboot.2015.10-tld-1 HD detection June 14, 2016 02:05AM |
Admin Registered: 13 years ago Posts: 18,555 |
Lennong
Re: NSA310 with uboot.2015.10-tld-1 HD detection June 14, 2016 03:37AM |
U-Boot 2015.10-tld-1 (Nov 06 2015 - 16:19:43 -0800) ZyXEL NSA310 1-Bay Power Media Server SoC: Kirkwood 88F6281_A1 DRAM: 256 MiB (ECC not enabled) WARNING: Caches not enabled NAND: 128 MiB In: serial Out: serial Err: serial Net: egiga0 PHY reset timed out MV88E1318 PHY initialized on egiga0 Hit any key to stop autoboot: 0 NSA310> setenv uenv_load 'ide reset; setenv uenv_loaded 0; for devtype in ide; do for disknum in 0; do run uenv_read_disk; done; done' NSA310> printenv arcNumber=4022 baudrate=115200 bootcmd=run bootcmd_uenv; run bootcmd_usb; usb stop; run bootcmd_sata; reset bootcmd_sata=run sata_init; run set_bootargs_sata; run sata_boot bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi; sleep 3 bootcmd_usb=run usb_init; run set_bootargs_usb; run usb_boot bootdelay=10 console=ttyS0,115200 device=0:1 ethact=egiga0 ethaddr=b6:d0:5e:0f:a1:17 led_error=orange blinking led_exit=green off led_init=green blinking machid=118f mainlineLinux=yes mtdids=nand0=orion_nand mtdparts=mtdparts=orion_nand:0x100000(uboot),0x80000(stock_uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2) partition=nand0,2 rootdelay=10 rootfstype=ext2 sata_boot=mw 0x800000 0 1; run sata_load_uimage; if run sata_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi sata_init=ide reset sata_load_uimage=ext2load ide $device 0x800000 /boot/uImage sata_load_uinitrd=ext2load ide $device 0x1100000 /boot/uInitrd sata_root=/dev/sda1 set_bootargs_sata=setenv bootargs console=$console root=$sata_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts stderr=serial stdin=serial stdout=serial uenv_import=echo importing envs ...; env import -t 0x810000 uenv_load=ide reset; setenv uenv_loaded 0; for devtype in ide; 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 0x810000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi uenv_read_disk=if $devtype part $disknum; then run uenv_read; fi usb_boot=mw 0x800000 0 1; run usb_load_uimage; if run usb_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi usb_init=usb start usb_load_uimage=ext2load usb $device 0x800000 /boot/uImage usb_load_uinitrd=ext2load usb $device 0x1100000 /boot/uInitrd usb_root=/dev/sda1 Environment size: 2095/131068 bytes NSA310> run scan_disk ## Error: "scan_disk" not defined NSA310> run set_bootargs ## Error: "set_bootargs" not defined NSA310> run bootcmd_exec ## Error: "bootcmd_exec" not defined NSA310> boot Reset IDE: Bus 0: OK Bus 1: not available Device 0: Model: WDC WD5000LPVT-75G33T0 Firm: 01.01A01 Ser#: WX51C32F8400 Type: Hard Disk Supports 48-bit addressing Capacity: 476940.0 MB = 465.7 GB (976773168 x 512) Partition Map for IDE device 0 -- Partition Type: EFI Part Start LBA End LBA Name Attributes Type GUID Partition GUID 1 0x00000800 0x3a38600e "rootfs" attrs: 0x0000000000000000 type: 0fc63daf-8483-4772-8e79-3d69d8477de4 guid: 420d5e9b-c104-4f2b-a662-42bb7cb402ef loading envs from ide 0 ... 2601 bytes read in 63 ms (40 KiB/s) importing envs ... ## Info: input data size = 17507 = 0x4463 starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found ** Bad device usb 0 ** ** Bad device usb 0 ** Wrong Image Format for bootm command Error occured, error code = 112 ERROR: can't get kernel image! stopping USB.. Reset IDE: Bus 0: OK Bus 1: not available Device 0: Model: WDC WD5000LPVT-75G33T0 Firm: 01.01A01 Ser#: WX51C32F8400 Type: Hard Disk Supports 48-bit addressing Capacity: 476940.0 MB = 465.7 GB (976773168 x 512) 3154896 bytes read in 795 ms (3.8 MiB/s) 7179935 bytes read in 1350 ms (5.1 MiB/s) ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-4.4.0-kirkwood-tld-1 Created: 2016-02-19 5:55:25 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3154832 Bytes = 3 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-4.4.0-kirkwood-tld-1 Created: 2016-02-19 7:33:04 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 7179871 Bytes = 6.8 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Loading Kernel Image ... OK Using machid 0x831 from environment Starting kernel ... Uncompressing Linux... done, booting the kernel. Error: unrecognized/unsupported machine ID (r1 = 0x00000831). Available machine support: ID (hex) NAME ffffffff Generic DT based system ffffffff Marvell Kirkwood (Flattened Device Tree) Please check your kernel config and/or bootloader.
Re: NSA310 with uboot.2015.10-tld-1 HD detection June 14, 2016 01:46PM |
Admin Registered: 13 years ago Posts: 18,555 |
setenv uenv_load 'ide reset; setenv uenv_loaded 0; for devtype in ide; do for disknum in 0; do run uenv_read_disk; done; done' run bootcmd_uenv printenv run scan_disk run set_bootargs run bootcmd_exec
Lennong
Re: NSA310 with uboot.2015.10-tld-1 HD detection June 14, 2016 03:09PM |
U-Boot 2015.10-tld-1 (Nov 06 2015 - 16:19:43 -0800) ZyXEL NSA310 1-Bay Power Media Server SoC: Kirkwood 88F6281_A1 DRAM: 256 MiB (ECC not enabled) WARNING: Caches not enabled NAND: 128 MiB In: serial Out: serial Err: serial Net: egiga0 PHY reset timed out MV88E1318 PHY initialized on egiga0 Hit any key to stop autoboot: 0 NSA310> setenv uenv_load 'ide reset; setenv uenv_loaded 0; for devtype in ide; do for disknum in 0; do run uenv_read_disk; done; done' NSA310> run bootcmd_uenv Reset IDE: Bus 0: OK Bus 1: not available Device 0: Model: WDC WD5000LPVT-75G33T0 Firm: 01.01A01 Ser#: WX51C32F8400 Type: Hard Disk Supports 48-bit addressing Capacity: 476940.0 MB = 465.7 GB (976773168 x 512) Partition Map for IDE device 0 -- Partition Type: EFI Part Start LBA End LBA Name Attributes Type GUID Partition GUID 1 0x00000800 0x3a38600e "rootfs" attrs: 0x0000000000000000 type: 0fc63daf-8483-4772-8e79-3d69d8477de4 guid: 420d5e9b-c104-4f2b-a662-42bb7cb402ef loading envs from ide 0 ... 2601 bytes read in 62 ms (40 KiB/s) importing envs ... ## Warning: Input data exceeds 1048576 bytes - truncated ## Info: input data size = 1048578 = 0x100002 NSA310> printenv arcNumber=4022 baudrate=115200 bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec bootcmd_exec=mw 0x800000 0 1; run load_uimage; if run load_initrd; then if run load_dtb; then bootm 0x800000 0x1100000 0x1c00000; else bootm 0x800000 0x1100000; fi; else if run load_dtb; then bootm 0x800000 - 0x1c00000; else bootm 0x800000; fi; fi bootcmd_sata=run sata_init; run set_bootargs_sata; run sata_boot bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi bootcmd_usb=run usb_init; run set_bootargs_usb; run usb_boot bootdelay=10 bootdev=usb console=ttyS0,115200 device=0:1 devices=usb ide mmc disks=0 1 2 3 dtb_file=/boot/dts/kirkwood-nsa310.dtb ethact=egiga0 ethaddr=52:3b:20:9c:11:51 filesize=a29 if_netconsole=ping $serverip ipaddr=192.168.0.231 led_error=orange blinking led_exit=green off led_init=green blinking load_dtb=echo loading DTB $dtb_file ...; ext2load $bootdev $device 0x1c00000 $dtb_file load_initrd=echo loading uInitrd ...; ext2load $bootdev $device 0x1100000 /boot/uInitrd load_uimage=echo loading uImage ...; ext2load $bootdev $device 0x800000 /boot/uImage machid=0x831 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 rootdelay=10 rootfstype=ext2 sata_boot=mw 0x800000 0 1; run sata_load_uimage; if run sata_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi sata_init=ide reset sata_load_uimage=ext2load ide $device 0x800000 /boot/uImage sata_load_uinitrd=ext2load ide $device 0x1100000 /boot/uInitrd sata_root=/dev/sda1 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 ext2load $dev $disknum:1 0x800000 /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 serverip=192.168.0.220 set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params set_bootargs_sata=setenv bootargs console=$console root=$sata_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts 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 0x810000 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=1 uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 0x810000 /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_boot=mw 0x800000 0 1; run usb_load_uimage; if run usb_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi usb_init=usb start usb_load_uimage=ext2load usb $device 0x800000 /boot/uImage usb_load_uinitrd=ext2load usb $device 0x1100000 /boot/uInitrd usb_ready_retry=15 usb_root=/dev/sda1 Environment size: 3758/131068 bytes NSA310> run scan_disk running scan_disk ... Scan device usb starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found 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: WDC WD5000LPVT-75G33T0 Firm: 01.01A01 Ser#: WX51C32F8400 Type: Hard Disk Supports 48-bit addressing Capacity: 476940.0 MB = 465.7 GB (976773168 x 512) device ide 0:1 1 bytes read in 68 ms (0 Bytes/s) Found bootable drive on ide 0 NSA310> run set_bootargs NSA310> run bootcmd_exec loading uImage ... 3154896 bytes read in 1055 ms (2.9 MiB/s) loading uInitrd ... 7179935 bytes read in 1359 ms (5 MiB/s) loading DTB /boot/dts/kirkwood-nsa310.dtb ... 13066 bytes read in 21 ms (607.4 KiB/s) ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-4.4.0-kirkwood-tld-1 Created: 2016-02-19 5:55:25 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3154832 Bytes = 3 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-4.4.0-kirkwood-tld-1 Created: 2016-02-19 7:33:04 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 7179871 Bytes = 6.8 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 01c00000 Booting using the fdt blob at 0x1c00000 Loading Kernel Image ... OK Loading Ramdisk to 0f43e000, end 0fb16e5f ... OK Loading Device Tree to 0f437000, end 0f43d309 ... OK Using machid 0x831 from environment Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 4.4.0-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Mon Jan 25 20:35:24 PST 2016 [ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] Machine model: ZyXEL NSA310 [ 0.000000] Memory policy: Data cache writeback [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024 [ 0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Memory: 243560K/262144K available (6007K kernel code, 573K rwdata, 1992K rodata, 296K init, 312K bss, 18584K reserved, 0K cma-reserved) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xd0800000 - 0xff800000 ( 752 MB) [ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .text : 0xc0008000 - 0xc07d7ef4 (8000 kB) [ 0.000000] .init : 0xc07d8000 - 0xc0822000 ( 296 kB) [ 0.000000] .data : 0xc0822000 - 0xc08b169c ( 574 kB) [ 0.000000] .bss : 0xc08b169c - 0xc08ff9d0 ( 313 kB) [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 32. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns [ 0.000008] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns [ 0.000306] Console: colour dummy device 80x30 [ 0.000336] Calibrating delay loop... 1495.85 BogoMIPS (lpj=7479296) [ 0.090091] pid_max: default: 32768 minimum: 301 [ 0.090197] Security Framework initialized [ 0.090268] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.090288] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.091026] Initializing cgroup subsys io [ 0.091059] Initializing cgroup subsys devices [ 0.091084] Initializing cgroup subsys freezer [ 0.091118] Initializing cgroup subsys net_cls [ 0.091201] CPU: Testing write buffer coherency: ok [ 0.091656] Setting up static identity map for 0x8200 - 0x8258 [ 0.091962] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3 [ 0.095445] devtmpfs: initialized [ 0.100581] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.101040] prandom: seed boundary self test passed [ 0.104036] prandom: 100 self tests passed [ 0.104061] pinctrl core: initialized pinctrl subsystem [ 0.105372] NET: Registered protocol family 16 [ 0.105783] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.130104] cpuidle: using governor ladder [ 0.160104] cpuidle: using governor menu [ 0.160500] Feroceon L2: Enabling L2 [ 0.160542] Feroceon L2: Cache support initialised. [ 0.165324] No ATAGs? [ 0.201409] vgaarb: loaded [ 0.201734] usbcore: registered new interface driver usbfs [ 0.201804] usbcore: registered new interface driver hub [ 0.201859] usbcore: registered new device driver usb [ 0.202818] clocksource: Switched to clocksource orion_clocksource [ 0.249374] NET: Registered protocol family 2 [ 0.250095] TCP established hash table entries: 2048 (order: 1, 8192 bytes) [ 0.250128] TCP bind hash table entries: 2048 (order: 1, 8192 bytes) [ 0.250157] TCP: Hash tables configured (established 2048 bind 2048) [ 0.250222] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.250243] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.250415] NET: Registered protocol family 1 [ 0.250781] RPC: Registered named UNIX socket transport module. [ 0.250791] RPC: Registered udp transport module. [ 0.250797] RPC: Registered tcp transport module. [ 0.250803] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.251056] Unpacking initramfs... [ 0.777418] Freeing initrd memory: 7012K (cf43e000 - cfb17000) [ 0.777533] NetWinder Floating Point Emulator V0.97 (double precision) [ 0.778540] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.778605] audit: initializing netlink subsys (disabled) [ 0.778661] audit: type=2000 audit(0.770:1): initialized [ 0.778974] Initialise system trusted keyring [ 0.779334] zbud: loaded [ 0.779594] VFS: Disk quotas dquot_6.6.0 [ 0.779646] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.780128] NFS: Registering the id_resolver key type [ 0.780174] Key type id_resolver registered [ 0.780182] Key type id_legacy registered [ 0.780206] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.780218] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 0.780411] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 0.780860] Key type big_key registered [ 0.798193] Key type asymmetric registered [ 0.798214] Asymmetric key parser 'x509' registered [ 0.798307] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) [ 0.798325] io scheduler noop registered [ 0.798338] io scheduler deadline registered [ 0.798397] io scheduler cfq registered (default) [ 0.799621] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver [ 0.800210] irq: Cannot allocate irq_descs @ IRQ33, assuming pre-allocated [ 0.800574] irq: Cannot allocate irq_descs @ IRQ65, assuming pre-allocated [ 0.801300] mvebu-pcie mbus:pcie-controller: PCI host bridge to bus 0000:00 [ 0.801318] pci_bus 0000:00: root bus resource [io 0x1000-0xfffff] [ 0.801329] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff] [ 0.801341] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.801696] PCI: bus0: Fast back to back transfers disabled [ 0.801718] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 0.812950] PCI: bus1: Fast back to back transfers disabled [ 0.813111] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff] [ 0.813125] pci 0000:00:01.0: BAR 13: assigned [io 0x10000-0x10fff] [ 0.813141] pci 0000:01:00.0: BAR 6: assigned [mem 0xe0000000-0xe000ffff pref] [ 0.813155] pci 0000:01:00.0: BAR 4: assigned [mem 0xe0010000-0xe0013fff 64bit pref] [ 0.813176] pci 0000:01:00.0: BAR 2: assigned [mem 0xe0014000-0xe0014fff 64bit pref] [ 0.813195] pci 0000:01:00.0: BAR 0: assigned [io 0x10000-0x100ff] [ 0.813208] pci 0000:00:01.0: PCI bridge to [bus 01] [ 0.813219] pci 0000:00:01.0: bridge window [io 0x10000-0x10fff] [ 0.813230] pci 0000:00:01.0: bridge window [mem 0xe0000000-0xe00fffff] [ 0.813309] pcieport 0000:00:01.0: enabling device (0140 -> 0143) [ 0.813564] mv_xor f1060800.xor: Marvell shared XOR driver [ 0.853405] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 0.853607] mv_xor f1060900.xor: Marvell shared XOR driver [ 0.893391] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 0.893831] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 0.895062] console [ttyS0] disabled [ 0.895123] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A [ 1.594930] console [ttyS0] enabled [ 1.599573] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1 [ 1.605988] nand: Samsung NAND 128MiB 3,3V 8-bit [ 1.610629] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 1.618255] Scanning device for bad blocks [ 1.638995] Bad eraseblock 173 at 0x0000015a0000 [ 1.649721] Bad eraseblock 237 at 0x000001da0000 [ 1.654516] Bad eraseblock 239 at 0x000001de0000 [ 1.691189] Bad eraseblock 574 at 0x0000047c0000 [ 1.738836] 4 cmdlinepart partitions found on MTD device orion_nand [ 1.745141] Creating 4 MTD partitions on "orion_nand": [ 1.750301] 0x000000000000-0x000000100000 : "u-boot" [ 1.756454] 0x000000100000-0x000000500000 : "uImage" [ 1.762502] 0x000000500000-0x000002500000 : "rootfs" [ 1.768641] 0x000002500000-0x000008000000 : "data" [ 1.775581] libphy: Fixed MDIO Bus: probed [ 1.780019] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.786652] ehci-pci: EHCI PCI platform driver [ 1.791179] ehci-orion: EHCI orion driver [ 1.795399] orion-ehci f1050000.ehci: EHCI Host Controller [ 1.800931] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1 [ 1.808791] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000 [ 1.832848] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00 [ 1.839085] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.845928] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.853200] usb usb1: Product: EHCI Host Controller [ 1.858103] usb usb1: Manufacturer: Linux 4.4.0-kirkwood-tld-1 ehci_hcd [ 1.864762] usb usb1: SerialNumber: f1050000.ehci [ 1.870149] hub 1-0:1.0: USB hub found [ 1.873993] hub 1-0:1.0: 1 port detected [ 1.878776] mousedev: PS/2 mouse device common for all mice [ 1.884701] rtc-mv f1010300.rtc: invalid RTC date, resetting to January 1st, 2013 [ 1.892510] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0 [ 1.899618] i2c /dev entries driver [ 1.905863] hidraw: raw HID events driver (C) Jiri Kosina [ 1.911631] drop_monitor: Initializing network drop monitor service [ 1.918195] NET: Registered protocol family 17 [ 1.922923] Key type dns_resolver registered [ 1.927956] registered taskstats version 1 [ 1.932110] Loading compiled-in X.509 certificates [ 1.937008] zswap: loaded using pool lzo/zbud [ 1.949246] Key type encrypted registered [ 1.953990] rtc-mv f1010300.rtc: setting system clock to 2013-01-01 11:48:16 UTC (1357040896) [ 1.964735] Freeing unused kernel memory: 296K (c07d8000 - c0822000) Loading, please wait... [ 2.032530] systemd-udevd[81]: starting version 215 [ 2.044861] random: systemd-udevd urandom read with 3 bits of entropy available [ 2.163800] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded [ 2.169463] r8169 0000:01:00.0: enabling device (0140 -> 0143) [ 2.192915] usb 1-1: new high-speed USB device number 2 using orion-ehci [ 2.219303] SCSI subsystem initialized [ 2.229405] r8169 0000:01:00.0 eth0: RTL8168d/8111d at 0xd0a0e000, 00:00:00:00:00:30, XID 083000c0 IRQ 83 [ 2.279676] r8169 0000:01:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko] [ 2.303962] sata_mv f1080000.sata: slots 32 ports 2 [ 2.343061] scsi host0: sata_mv [ 2.354810] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608 [ 2.361566] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 2.372581] scsi host1: sata_mv [ 2.381401] usb 1-1: Product: USB2.0 Hub [ 2.388750] ata1: SATA max UDMA/133 irq 32 [ 2.393916] hub 1-1:1.0: USB hub found [ 2.399906] hub 1-1:1.0: 4 ports detected [ 2.417867] ata2: SATA max UDMA/133 irq 32 [ 2.922859] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300) [ 3.042880] ata1.00: ATA-8: WDC WD5000LPVT-75G33T0, 01.01A01, max UDMA/133 [ 3.049788] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32) [ 3.112887] ata1.00: configured for UDMA/133 [ 3.133285] scsi 0:0:0:0: Direct-Access ATA WDC WD5000LPVT-7 1A01 PQ: 0 ANSI: 5 [ 3.492850] ata2: SATA link down (SStatus 0 SControl F300) [ 3.523826] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB) [ 3.531353] sd 0:0:0:0: [sda] 4096-byte physical blocks [ 3.539137] sd 0:0:0:0: [sda] Write Protect is off [ 3.544232] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 3.653198] sda: sda1 [ 3.657256] sd 0:0:0:0: [sda] Attached SCSI disk [ 3.665651] sd 0:0:0:0: Attached scsi generic sg0 type 0 Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... done. Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. done. Gave up waiting for root device. Common problems: - Boot args (cat /proc/cmdline) - Check rootdelay= (did the system wait long enough?) - Check root= (did the system wait for the right device?) - Missing modules (cat /proc/modules; ls /dev) ALERT! /dev/disk/by-label/rootfs does not exist. Dropping to a shell! modprobe: module i8042 not found in modules.dep [ 44.016044] uhci_hcd: USB Universal Host Controller Interface driver [ 44.031756] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 44.048152] usbcore: registered new interface driver usbhid [ 44.053928] usbhid: USB HID core driver BusyBox v1.22.1 (Debian 1:1.22.0-9+deb8u1) built-in shell (ash) Enter 'help' for a list of built-in commands. /bin/sh: can't access tty; job control turned off (initramfs)
Re: NSA310 with uboot.2015.10-tld-1 HD detection June 14, 2016 07:54PM |
Admin Registered: 13 years ago Posts: 18,555 |
setenv uenv_load 'ide reset; setenv uenv_loaded 0; for devtype in ide; do for disknum in 0; do run uenv_read_disk; done; done' run bootcmd_uenv setenv set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=usb_rootfs rootdelay=10 $mtdparts $custom_params' printenv run scan_disk run set_bootargs run bootcmd_exec
Lennong
Re: NSA310 with uboot.2015.10-tld-1 HD detection June 17, 2016 02:39AM |
U-Boot 2015.10-tld-1 (Nov 06 2015 - 16:19:43 -0800) ZyXEL NSA310 1-Bay Power Media Server SoC: Kirkwood 88F6281_A1 DRAM: 256 MiB (ECC not enabled) WARNING: Caches not enabled NAND: 128 MiB In: serial Out: serial Err: serial Net: egiga0 PHY reset timed out MV88E1318 PHY initialized on egiga0 Hit any key to stop autoboot: 0 starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 2 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: WDC WD5000LPVT-75G33T0 Firm: 01.01A01 Ser#: WX51C32F8400 Type: Hard Disk Supports 48-bit addressing Capacity: 476940.0 MB = 465.7 GB (976773168 x 512) Unknown command 'mmc' - try 'help' no USB devices available Partition Map for IDE device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 976771120 00000000-01 83 loading envs from ide 0 ... 2601 bytes read in 59 ms (43 KiB/s) Unknown command 'mmc' - try 'help' importing envs ... ## Info: input data size = 2602 = 0xA2A 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: WDC WD5000LPVT-75G33T0 Firm: 01.01A01 Ser#: WX51C32F8400 Type: Hard Disk Supports 48-bit addressing Capacity: 476940.0 MB = 465.7 GB (976773168 x 512) device ide 0:1 1 bytes read in 37 ms (0 Bytes/s) Found bootable drive on ide 0 loading uImage ... 3154896 bytes read in 1047 ms (2.9 MiB/s) loading uInitrd ... 7179935 bytes read in 1789 ms (3.8 MiB/s) loading DTB /boot/dts/kirkwood-nsa310.dtb ... 13066 bytes read in 96 ms (132.8 KiB/s) ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-4.4.0-kirkwood-tld-1 Created: 2016-02-19 5:55:25 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3154832 Bytes = 3 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-4.4.0-kirkwood-tld-1 Created: 2016-02-19 7:33:04 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 7179871 Bytes = 6.8 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 01c00000 Booting using the fdt blob at 0x1c00000 Loading Kernel Image ... OK Loading Ramdisk to 0f43e000, end 0fb16e5f ... OK Loading Device Tree to 0f437000, end 0f43d309 ... OK Using machid 0x831 from environment Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 4.4.0-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Mon Jan 25 20:35:24 PST 2016 [ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] Machine model: ZyXEL NSA310 [ 0.000000] Memory policy: Data cache writeback [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024 [ 0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Memory: 243560K/262144K available (6007K kernel code, 573K rwdata, 1992K rodata, 296K init, 312K bss, 18584K reserved, 0K cma-reserved) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xd0800000 - 0xff800000 ( 752 MB) [ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .text : 0xc0008000 - 0xc07d7ef4 (8000 kB) [ 0.000000] .init : 0xc07d8000 - 0xc0822000 ( 296 kB) [ 0.000000] .data : 0xc0822000 - 0xc08b169c ( 574 kB) [ 0.000000] .bss : 0xc08b169c - 0xc08ff9d0 ( 313 kB) [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 32. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns [ 0.000008] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns [ 0.000306] Console: colour dummy device 80x30 [ 0.000336] Calibrating delay loop... 1495.85 BogoMIPS (lpj=7479296) [ 0.090090] pid_max: default: 32768 minimum: 301 [ 0.090197] Security Framework initialized [ 0.090271] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.090290] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.091026] Initializing cgroup subsys io [ 0.091060] Initializing cgroup subsys devices [ 0.091084] Initializing cgroup subsys freezer [ 0.091116] Initializing cgroup subsys net_cls [ 0.091198] CPU: Testing write buffer coherency: ok [ 0.091653] Setting up static identity map for 0x8200 - 0x8258 [ 0.091960] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3 [ 0.095442] devtmpfs: initialized [ 0.100574] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.101031] prandom: seed boundary self test passed [ 0.104026] prandom: 100 self tests passed [ 0.104052] pinctrl core: initialized pinctrl subsystem [ 0.105362] NET: Registered protocol family 16 [ 0.105774] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.130108] cpuidle: using governor ladder [ 0.160105] cpuidle: using governor menu [ 0.160500] Feroceon L2: Enabling L2 [ 0.160543] Feroceon L2: Cache support initialised. [ 0.165325] No ATAGs? [ 0.201410] vgaarb: loaded [ 0.201736] usbcore: registered new interface driver usbfs [ 0.201806] usbcore: registered new interface driver hub [ 0.201862] usbcore: registered new device driver usb [ 0.202818] clocksource: Switched to clocksource orion_clocksource [ 0.249383] NET: Registered protocol family 2 [ 0.250106] TCP established hash table entries: 2048 (order: 1, 8192 bytes) [ 0.250140] TCP bind hash table entries: 2048 (order: 1, 8192 bytes) [ 0.250169] TCP: Hash tables configured (established 2048 bind 2048) [ 0.250233] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.250255] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.250429] NET: Registered protocol family 1 [ 0.250797] RPC: Registered named UNIX socket transport module. [ 0.250807] RPC: Registered udp transport module. [ 0.250814] RPC: Registered tcp transport module. [ 0.250820] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.251072] Unpacking initramfs... [ 0.777460] Freeing initrd memory: 7012K (cf43e000 - cfb17000) [ 0.777574] NetWinder Floating Point Emulator V0.97 (double precision) [ 0.778583] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.778648] audit: initializing netlink subsys (disabled) [ 0.778703] audit: type=2000 audit(0.770:1): initialized [ 0.779016] Initialise system trusted keyring [ 0.779375] zbud: loaded [ 0.779633] VFS: Disk quotas dquot_6.6.0 [ 0.779686] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.780171] NFS: Registering the id_resolver key type [ 0.780209] Key type id_resolver registered [ 0.780217] Key type id_legacy registered [ 0.780239] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.780252] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 0.780445] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 0.780894] Key type big_key registered [ 0.798233] Key type asymmetric registered [ 0.798254] Asymmetric key parser 'x509' registered [ 0.798347] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) [ 0.798365] io scheduler noop registered [ 0.798378] io scheduler deadline registered [ 0.798437] io scheduler cfq registered (default) [ 0.799665] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver [ 0.800253] irq: Cannot allocate irq_descs @ IRQ33, assuming pre-allocated [ 0.800618] irq: Cannot allocate irq_descs @ IRQ65, assuming pre-allocated [ 0.801344] mvebu-pcie mbus:pcie-controller: PCI host bridge to bus 0000:00 [ 0.801362] pci_bus 0000:00: root bus resource [io 0x1000-0xfffff] [ 0.801373] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff] [ 0.801385] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.801741] PCI: bus0: Fast back to back transfers disabled [ 0.801763] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 0.812945] PCI: bus1: Fast back to back transfers disabled [ 0.813106] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff] [ 0.813120] pci 0000:00:01.0: BAR 13: assigned [io 0x10000-0x10fff] [ 0.813136] pci 0000:01:00.0: BAR 6: assigned [mem 0xe0000000-0xe000ffff pref] [ 0.813150] pci 0000:01:00.0: BAR 4: assigned [mem 0xe0010000-0xe0013fff 64bit pref] [ 0.813171] pci 0000:01:00.0: BAR 2: assigned [mem 0xe0014000-0xe0014fff 64bit pref] [ 0.813189] pci 0000:01:00.0: BAR 0: assigned [io 0x10000-0x100ff] [ 0.813202] pci 0000:00:01.0: PCI bridge to [bus 01] [ 0.813213] pci 0000:00:01.0: bridge window [io 0x10000-0x10fff] [ 0.813225] pci 0000:00:01.0: bridge window [mem 0xe0000000-0xe00fffff] [ 0.813303] pcieport 0000:00:01.0: enabling device (0140 -> 0143) [ 0.813564] mv_xor f1060800.xor: Marvell shared XOR driver [ 0.853400] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 0.853604] mv_xor f1060900.xor: Marvell shared XOR driver [ 0.893390] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 0.893831] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 0.895064] console [ttyS0] disabled [ 0.895124] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A [ 1.594938] console [ttyS0] enabled [ 1.599580] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1 [ 1.605996] nand: Samsung NAND 128MiB 3,3V 8-bit [ 1.610637] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 1.618264] Scanning device for bad blocks [ 1.639007] Bad eraseblock 173 at 0x0000015a0000 [ 1.649729] Bad eraseblock 237 at 0x000001da0000 [ 1.654526] Bad eraseblock 239 at 0x000001de0000 [ 1.691195] Bad eraseblock 574 at 0x0000047c0000 [ 1.738863] 4 cmdlinepart partitions found on MTD device orion_nand [ 1.745176] Creating 4 MTD partitions on "orion_nand": [ 1.750345] 0x000000000000-0x000000100000 : "u-boot" [ 1.756489] 0x000000100000-0x000000500000 : "uImage" [ 1.762540] 0x000000500000-0x000002500000 : "rootfs" [ 1.768673] 0x000002500000-0x000008000000 : "data" [ 1.775604] libphy: Fixed MDIO Bus: probed [ 1.780036] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.786661] ehci-pci: EHCI PCI platform driver [ 1.791189] ehci-orion: EHCI orion driver [ 1.795409] orion-ehci f1050000.ehci: EHCI Host Controller [ 1.800940] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1 [ 1.808798] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000 [ 1.832849] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00 [ 1.839085] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.845928] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.853200] usb usb1: Product: EHCI Host Controller [ 1.858103] usb usb1: Manufacturer: Linux 4.4.0-kirkwood-tld-1 ehci_hcd [ 1.864762] usb usb1: SerialNumber: f1050000.ehci [ 1.870151] hub 1-0:1.0: USB hub found [ 1.874002] hub 1-0:1.0: 1 port detected [ 1.878782] mousedev: PS/2 mouse device common for all mice [ 1.885001] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0 [ 1.892051] i2c /dev entries driver [ 1.898311] hidraw: raw HID events driver (C) Jiri Kosina [ 1.904141] drop_monitor: Initializing network drop monitor service [ 1.910664] NET: Registered protocol family 17 [ 1.915403] Key type dns_resolver registered [ 1.920427] registered taskstats version 1 [ 1.924610] Loading compiled-in X.509 certificates [ 1.929476] zswap: loaded using pool lzo/zbud [ 1.941607] Key type encrypted registered [ 1.946346] rtc-mv f1010300.rtc: setting system clock to 2015-06-15 00:15:02 UTC (1434327302) [ 1.957071] Freeing unused kernel memory: 296K (c07d8000 - c0822000) Loading, please wait... [ 2.025001] systemd-udevd[81]: starting version 215 [ 2.031649] random: systemd-udevd urandom read with 3 bits of entropy available [ 2.149198] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded [ 2.180872] r8169 0000:01:00.0: enabling device (0140 -> 0143) [ 2.192891] usb 1-1: new high-speed USB device number 2 using orion-ehci [ 2.209570] SCSI subsystem initialized [ 2.221567] r8169 0000:01:00.0 eth0: RTL8168d/8111d at 0xd0a0e000, 00:00:00:00:00:30, XID 083000c0 IRQ 83 [ 2.271632] r8169 0000:01:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko] [ 2.295941] sata_mv f1080000.sata: slots 32 ports 2 [ 2.334554] scsi host0: sata_mv [ 2.351044] scsi host1: sata_mv [ 2.360858] ata1: SATA max UDMA/133 irq 32 [ 2.366947] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608 [ 2.379158] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 2.392887] usb 1-1: Product: USB2.0 Hub [ 2.398479] ata2: SATA max UDMA/133 irq 32 [ 2.403557] hub 1-1:1.0: USB hub found [ 2.410767] hub 1-1:1.0: 4 ports detected [ 2.902859] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300) [ 2.942886] ata1.00: ATA-8: WDC WD5000LPVT-75G33T0, 01.01A01, max UDMA/133 [ 2.949796] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32) [ 2.992885] ata1.00: configured for UDMA/133 [ 3.013283] scsi 0:0:0:0: Direct-Access ATA WDC WD5000LPVT-7 1A01 PQ: 0 ANSI: 5 [ 3.372850] ata2: SATA link down (SStatus 0 SControl F300) [ 3.403843] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB) [ 3.411366] sd 0:0:0:0: [sda] 4096-byte physical blocks [ 3.419145] sd 0:0:0:0: [sda] Write Protect is off [ 3.424233] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 3.496478] sda: sda1 [ 3.500442] sd 0:0:0:0: [sda] Attached SCSI disk [ 3.508617] sd 0:0:0:0: Attached scsi generic sg0 type 0 Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... done. modprobe: module ext3 not found in modules.dep Begin: Checking root file system ... fsck from util-linux 2.25.2 fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sda1 fsck exited with status code 8 done. Warning: File system check failed but did not detect errors [ 18.801414] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem [ 19.207797] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null) done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. INIT: version 2.88 booting [info] Using makefile-style concurrent boot in runlevel S. [ 21.160234] random: nonblocking pool is initialized [....] Starting the hotplug events dispatcher: udevd[ 22.033580] systemd-udevd[293]: starting version 215 . ok [ ok ] Synthesizing the initial hotplug events...done. [ ok ] Waiting for /dev to be fully populated...done. [ 22.638934] input: gpio_keys as /devices/platform/gpio_keys/input/input0 [ 22.960956] hwmon_vid: Unknown VRM version of your CPU [ 23.013320] orion_wdt: Initial timeout 21 sec [ 23.023759] adt7475 0-002e: ADT7476 device, revision 1 [ 23.028934] adt7475 0-002e: Optional features: in0 in4 fan4 pwm2 vid [ 23.238078] marvell-cesa: probe of f1030000.crypto failed with error -524 [ ok ] Activating swap...done. [ 23.870524] EXT4-fs (sda1): re-mounted. Opts: (null) [....] Checking root file system...fsck from util-linux 2.25.2 rootfs: clean, 14595/30531584 files, 2110510/122096390 blocks done. [ 24.543427] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro [ ok ] Activating lvm and md swap...done. [....] Checking file systems...fsck from util-linux 2.25.2 done. [ ok ] Loading kernel modules...done. [ ok ] Cleaning up temporary files... /tmp. [ ok ] Mounting local filesystems...done. [ ok ] Activating swapfile swap...done. [ ok ] Cleaning up temporary files.... [ ok ] Setting kernel variables ...done. [ 27.385960] NET: Registered protocol family 10 [ 27.560630] r8169 0000:01:00.0: Direct firmware load for rtl_nic/rtl8168d-2.fw failed with error -2 [ 27.569853] r8169 0000:01:00.0 eth0: unable to load firmware patch rtl_nic/rtl8168d-2.fw (-2) [ 27.604202] r8169 0000:01:00.0 eth0: link down [ 27.608686] r8169 0000:01:00.0 eth0: link down [ 27.613248] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 29.735828] r8169 0000:01:00.0 eth0: link up [ 29.740138] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.1 Copyright 2004-2014 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/eth0/00:00:00:00:00:30 Sending on LPF/eth0/00:00:00:00:00:30 Sending on Socket/fallback DHCPREQUEST on eth0 to 255.255.255.255 port 67 DHCPREQUEST on eth0 to 255.255.255.255 port 67 DHCPACK from 10.1.10.1 bound to 10.1.10.101 -- renewal in 2761 seconds. done. [ ok ] Starting rpcbind daemon.... [ ok ] Starting NFS common utilities: statd idmapd. [ ok ] Cleaning up temporary files.... INIT: Entering runlevel: 2 [info] Using makefile-style concurrent boot in runlevel 2. [....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd... 1242 (syslogd) . ok [ ok ] Starting NFS common utilities: statd idmapd. [ ok ] Starting system message bus: dbus. [warn] Not starting NFS kernel daemon: no exports. ... (warning). [ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon. [....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd... 1240 (klogd) . ok [ ok ] Starting NTP server: ntpd. [ ok ] Starting OpenBSD Secure Shell server: sshd. Debian GNU/Linux 8 debian ttyS0 debian login:
Re: NSA310 with uboot.2015.10-tld-1 HD detection June 17, 2016 03:34AM |
Admin Registered: 13 years ago Posts: 18,555 |
Lennong
Re: NSA310 with uboot.2015.10-tld-1 HD detection June 17, 2016 04:09AM |
Re: NSA310 with uboot.2015.10-tld-1 HD detection July 16, 2017 10:33AM |
Registered: 9 years ago Posts: 51 |
arcNumber=4495 baudrate=115200 boot_from_hdd=ide reset; if run hdd_load_uImage && run hdd_load_uInitrd; then run hdd_setbootargs; bootm ${loadaddr} ${uInitrdAddr}; fi boot_from_usb=usb reset; if run usb_load_uImage && run usb_load_uInitrd; then run usb_setbootargs; bootm ${loadaddr} ${uInitrdAddr}; fi bootcmd=run boot_from_usb || run boot_from_hdd bootdelay=3 ethact=egiga0 ethaddr=10:7B:EF:88:11:1E ethmtu=1500 ethprime=egiga0 hdd_load_uImage=ext4load ide 0:1 ${loadaddr} /boot/uImage || ext4load ide 1:1 ${loadaddr} /boot/uImage hdd_load_uInitrd=ext4load ide 0:1 ${uInitrdAddr} /boot/uInitrd || ext4load ide 1:1 ${uInitrdAddr} /boot/uInitrd hdd_setbootargs=setenv bootargs console=ttyS0,115200 rootfstype=ext4 root=LABEL=hdd-root rootdelay=25 ${bootargs_end} loadaddr=0x02000000 mainlineLinux=yes mtdids=nand0=kw_nand stderr=serial stdin=serial stdout=serial uInitrdAddr=0x01100000 usb_load_uImage=fatload usb 0:1 ${loadaddr} /boot/uImage || ext2load usb 0:1 ${loadaddr} /boot/uImage usb_load_uInitrd=fatload usb 0:1 ${uInitrdAddr} /boot/uInitrd || ext2load usb 0:1 ${uInitrdAddr} /boot/uInitrd usb_setbootargs=setenv bootargs console=ttyS0,115200 rootfstype=ext4 root=LABEL=rootfs usb-storage.delay_use=0 rootdelay=15 ${bootargs_end}
> cd /boot > cp -a uboot.2014.07-tld-3.environment uEnv.txt >>
Quote
dtb_file='/boot/dts/kirkwood-nsa310.dtb'[/q
> uote]
>
> Also adjust other envs if you like to do so now. B
> ut just the DTB and the rootfs label env in this d
> efault image, will get it boot into Debian.
>
> 5. Then sync and reboot
>
> This uEnv.txt will be in effect during boot only.
> So after booting into Debian, flash the default en
> v image using the instruction in section B.
Re: NSA310 with uboot.2015.10-tld-1 HD detection July 16, 2017 03:52PM |
Admin Registered: 13 years ago Posts: 18,555 |
sync