NSA325 v2 want to network boot only? April 06, 2019 02:15PM |
Registered: 5 years ago Posts: 4 |
# MTD device name Device offset Env. size Flash sector size Number of sectors # NAND example /dev/mtd1 0x0000 0x20000 0x20000 4
# MTD device name Device offset Env. size Flash sector size Number of sectors # NAND example /dev/mtd0 0x0000 0x20000 0x20000
U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:42:03 -0700) ZyXEL NSA325 2-Bay Power Media Server SoC: Kirkwood 88F6282_A1 DRAM: 512 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: 10 <0x08><0x08><0x08> 9 <0x08><0x08><0x08> 8 <0x08><0x08><0x08> 7 <0x08><0x08><0x08> 6 <0x08><0x08><0x08> 5 <0x08><0x08><0x08> 4 <0x08><0x08><0x08> 3 <0x08><0x08><0x08> 2 .OK Bus 1: OK Device 0: Model: WDC WD15EADS-00S2B0 Firm: 01.00A01 Ser#: WD-WCAVY1285088 Type: Hard Disk Supports 48-bit addressing Capacity: 1430799.3 MB = 1397.2 GB (2930277168 x 512) Device 1: Model: SAMSUNG HD154UI Firm: 1AG01118 Ser#: S1XWJ9BZ901735 Type: Hard Disk Supports 48-bit addressing Capacity: 1430799.3 MB = 1397.2 GB (2930277168 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 15972352 bc4cdd48-01 83 ## Unknown partition table type 0 ## Unknown partition table type 0 ## Unknown partition table type 0 ## Unknown partition table type 0 ## Unknown partition table type 0 ## Unknown partition table type 0 loading envs from usb 0 ... ** File not found /boot/uEnv.txt ** Partition Map for IDE device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 63 1028097 a24d7392-01 08 2 1028160 2929243905 a24d7392-02 20 Partition Map for IDE device 1 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 63 1028097 98428f89-01 83 2 1028160 2929243905 98428f89-02 20 Unknown command 'mmc' - try 'help' running scan_disk ... Scan device usb device usb 0:1 1 bytes read in 538 ms (0 Bytes/s) Found bootable drive on usb 0 3821592 bytes read in 802 ms (4.5 MiB/s) 7245696 bytes read in 837 ms (8.3 MiB/s) 14548 bytes read in 1384 ms (9.8 KiB/s) ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-4.12.1-kirkwood-tld-1 Created: 2017-07-20 8:11:24 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3821528 Bytes = 3.6 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-4.12.1-kirkwood-tld-1 Created: 2017-07-24 0:18:23 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 7245632 Bytes = 6.9 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 01c00000 Booting using the fdt blob at 0x1c00000 Loading Kernel Image ... OK Loading Ramdisk to 1f424000, end 1fb0cf40 ... OK Loading Device Tree to 1f41d000, end 1f4238d3 ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.12.1-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Sat Jul 15 21:40:50 PDT 2017 [ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] OF: fdt: Machine model: ZyXEL NSA325 [ 0.000000] Memory policy: Data cache writeback [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048 [ 0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 nand_mtd:0x100000(uboot),0x80000(uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2) root=/dev/nfs rw init=/init [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 499256K/524288K available (8192K kernel code, 716K rwdata, 1972K rodata, 1024K init, 288K bss, 25032K 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 : 0xe0800000 - 0xff800000 ( 496 MB) [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .text : 0xc0008000 - 0xc0900000 (9184 kB) [ 0.000000] .init : 0xc0c00000 - 0xc0d00000 (1024 kB) [ 0.000000] .data : 0xc0d00000 - 0xc0db3274 ( 717 kB) [ 0.000000] .bss : 0xc0db9b9c - 0xc0e01e60 ( 289 kB) [ 0.000000] Preemptible hierarchical RCU implementation. [ 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.000006] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns [ 0.000036] Switching to timer-based delay loop, resolution 5ns [ 0.000419] Console: colour dummy device 80x30 [ 0.000448] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000) [ 0.000466] pid_max: default: 32768 minimum: 301 [ 0.000628] Security Framework initialized [ 0.000726] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000742] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.001450] CPU: Testing write buffer coherency: ok [ 0.002324] Setting up static identity map for 0x100000 - 0x100058 [ 0.002559] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1 [ 0.005197] devtmpfs: initialized [ 0.009665] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.009687] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.010006] prandom: seed boundary self test passed [ 0.012863] prandom: 100 self tests passed [ 0.012878] pinctrl core: initialized pinctrl subsystem [ 0.013851] NET: Registered protocol family 16 [ 0.014359] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.015725] cpuidle: using governor ladder [ 0.015785] cpuidle: using governor menu [ 0.016298] Feroceon L2: Enabling L2 [ 0.016336] Feroceon L2: Cache support initialised. [ 0.016636] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set [ 0.020868] No ATAGs? [ 0.028248] vgaarb: loaded [ 0.028502] SCSI subsystem initialized [ 0.028886] usbcore: registered new interface driver usbfs [ 0.028936] usbcore: registered new interface driver hub [ 0.028977] usbcore: registered new device driver usb [ 0.029899] clocksource: Switched to clocksource orion_clocksource [ 0.098964] VFS: Disk quotas dquot_6.6.0 [ 0.099039] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.107242] NET: Registered protocol family 2 [ 0.107848] TCP established hash table entries: 4096 (order: 2, 16384 bytes) [ 0.107903] TCP bind hash table entries: 4096 (order: 2, 16384 bytes) [ 0.107955] TCP: Hash tables configured (established 4096 bind 4096) [ 0.108022] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.108044] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.108189] NET: Registered protocol family 1 [ 0.108535] RPC: Registered named UNIX socket transport module. [ 0.108545] RPC: Registered udp transport module. [ 0.108551] RPC: Registered tcp transport module. [ 0.108556] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.108748] Unpacking initramfs... [ 0.609491] Freeing initrd memory: 7076K [ 0.609756] NetWinder Floating Point Emulator V0.97 (double precision) [ 0.610521] audit: initializing netlink subsys (disabled) [ 0.610884] Initialise system trusted keyrings [ 0.610931] Key type blacklist registered [ 0.611007] audit: type=2000 audit(0.600:1): state=initialized audit_enabled=0 res=1 [ 0.611086] workingset: timestamp_bits=30 max_order=17 bucket_order=0 [ 0.611142] zbud: loaded [ 0.611902] NFS: Registering the id_resolver key type [ 0.611923] Key type id_resolver registered [ 0.611929] Key type id_legacy registered [ 0.611948] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.611957] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 0.612119] jffs2: version 2.2. (NAND) (SUMMARY) <0xc2><0xa9> 2001-2006 Red Hat, Inc. [ 0.612270] fuse init (API version 7.26) [ 0.612541] orangefs_debugfs_init: called with debug mask: :none: :0: [ 0.612707] orangefs_init: module version upstream loaded [ 0.612716] SGI XFS with ACLs, security attributes, realtime, no debug enabled [ 2.559903] random: fast init done [ 4.971264] Key type asymmetric registered [ 4.971278] Asymmetric key parser 'x509' registered [ 4.971334] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249) [ 4.971343] io scheduler noop registered [ 4.971349] io scheduler deadline registered [ 4.971420] io scheduler cfq registered (default) [ 4.972420] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver [ 4.973902] mvebu-pcie mbus@f1000000:pcie-controller@82000000: PCI host bridge to bus 0000:00 [ 4.973919] pci_bus 0000:00: root bus resource [io 0x1000-0xfffff] [ 4.973930] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff] [ 4.973940] pci_bus 0000:00: root bus resource [bus 00-ff] [ 4.974197] PCI: bus0: Fast back to back transfers disabled [ 4.974216] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 4.999995] PCI: bus1: Fast back to back transfers disabled [ 5.000166] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff] [ 5.000182] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe0001fff 64bit] [ 5.000202] pci 0000:00:01.0: PCI bridge to [bus 01] [ 5.000215] pci 0000:00:01.0: bridge window [mem 0xe0000000-0xe00fffff] [ 5.000291] pcieport 0000:00:01.0: enabling device (0140 -> 0142) [ 5.000368] pci 0000:01:00.0: enabling device (0140 -> 0142) [ 5.000798] mv_xor f1060800.xor: Marvell shared XOR driver [ 5.060467] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr ) [ 5.060655] mv_xor f1060900.xor: Marvell shared XOR driver [ 5.120467] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr ) [ 5.120849] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 5.121944] console [ttyS0] disabled [ 5.122002] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A [ 5.816924] console [ttyS0] enabled [ 5.826892] loop: module loaded [ 5.830604] sata_mv f1080000.sata: slots 32 ports 2 [ 5.837622] scsi host0: sata_mv [ 5.841181] scsi host1: sata_mv [ 5.844534] ata1: SATA max UDMA/133 irq 32 [ 5.848645] ata2: SATA max UDMA/133 irq 32 [ 5.853432] nand: device found, Manufacturer ID: 0x92, Chip ID: 0xf1 [ 5.859882] nand: Eon NAND 128MiB 3,3V 8-bit [ 5.864200] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 5.871825] Scanning device for bad blocks [ 5.880779] Bad eraseblock 100 at 0x000000c80000 [ 5.890203] Bad eraseblock 200 at 0x000001900000 [ 5.934173] 9 ofpart partitions found on MTD device orion_nand [ 5.940045] Creating 9 MTD partitions on "orion_nand": [ 5.945213] 0x000000000000-0x000000100000 : "uboot" [ 5.951188] 0x000000100000-0x000000180000 : "uboot_env" [ 5.957469] 0x000000180000-0x000000200000 : "key_store" [ 5.963708] 0x000000200000-0x000000280000 : "info" [ 5.969364] 0x000000280000-0x000000c80000 : "etc" [ 5.975060] 0x000000c80000-0x000001680000 : "kernel_1" [ 5.981212] 0x000001680000-0x000004640000 : "rootfs1" [ 5.987466] 0x000004640000-0x000005040000 : "kernel_2" [ 5.993695] 0x000005040000-0x000008000000 : "rootfs2" [ 6.000929] libphy: Fixed MDIO Bus: probed [ 6.005633] libphy: orion_mdio_bus: probed [ 6.013751] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4 [ 6.120354] mv643xx_eth: Set the PHY to fix link down [ 6.120977] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:50:43:00:02:02 [ 6.134935] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 6.141540] ehci-pci: EHCI PCI platform driver [ 6.146050] ehci-orion: EHCI orion driver [ 6.150281] orion-ehci f1050000.ehci: EHCI Host Controller [ 6.155839] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1 [ 6.163693] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000 [ 6.189918] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00 [ 6.196139] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 6.202979] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 6.210244] usb usb1: Product: EHCI Host Controller [ 6.215137] usb usb1: Manufacturer: Linux 4.12.1-kirkwood-tld-1 ehci_hcd [ 6.221883] usb usb1: SerialNumber: f1050000.ehci [ 6.227115] hub 1-0:1.0: USB hub found [ 6.230961] hub 1-0:1.0: 1 port detected [ 6.235373] xhci_hcd 0000:01:00.0: xHCI Host Controller [ 6.240685] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2 [ 6.248429] xhci_hcd 0000:01:00.0: hcc params 0x014042cb hci version 0x96 quirks 0x00000004 [ 6.257054] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 [ 6.263896] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 6.271161] usb usb2: Product: xHCI Host Controller [ 6.276055] usb usb2: Manufacturer: Linux 4.12.1-kirkwood-tld-1 xhci-hcd [ 6.282801] usb usb2: SerialNumber: 0000:01:00.0 [ 6.287938] hub 2-0:1.0: USB hub found [ 6.291779] hub 2-0:1.0: 2 ports detected [ 6.296206] xhci_hcd 0000:01:00.0: xHCI Host Controller [ 6.301509] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 3 [ 6.309016] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM. [ 6.317285] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003 [ 6.324122] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 6.331390] usb usb3: Product: xHCI Host Controller [ 6.336284] usb usb3: Manufacturer: Linux 4.12.1-kirkwood-tld-1 xhci-hcd [ 6.343103] usb usb3: SerialNumber: 0000:01:00.0 [ 6.348249] hub 3-0:1.0: USB hub found [ 6.352070] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300) [ 6.358766] hub 3-0:1.0: 2 ports detected [ 6.363548] usbcore: registered new interface driver usb-storage [ 6.369866] mousedev: PS/2 mouse device common for all mice [ 6.375772] i2c /dev entries driver [ 6.385698] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0 [ 6.392530] ata1.00: ATA-8: WDC WD15EADS-00S2B0, 01.00A01, max UDMA/133 [ 6.392536] ata1.00: 2930277168 sectors, multi 0: LBA48 NCQ (depth 31/32) [ 6.399669] ata1.00: configured for UDMA/133 [ 6.407077] scsi 0:0:0:0: Direct-Access ATA WDC WD15EADS-00S 0A01 PQ: 0 ANSI: 5 [ 6.408223] sd 0:0:0:0: [sda] 2930277168 512-byte logical blocks: (1.50 TB/1.36 TiB) [ 6.408282] sd 0:0:0:0: [sda] Write Protect is off [ 6.408387] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 6.422274] sda: sda1 sda2 [ 6.423686] sd 0:0:0:0: [sda] Attached SCSI disk [ 6.455628] hidraw: raw HID events driver (C) Jiri Kosina [ 6.461399] drop_monitor: Initializing network drop monitor service [ 6.467878] NET: Registered protocol family 17 [ 6.472527] Key type dns_resolver registered [ 6.477790] registered taskstats version 1 [ 6.481938] Loading compiled-in X.509 certificates [ 6.486794] zswap: loaded using pool lzo/zbud [ 6.499032] Key type big_key registered [ 6.510542] Key type encrypted registered [ 6.516926] rtc-pcf8563 0-0051: setting system clock to 2019-04-04 21:35:10 UTC (1554413710) [ 6.589925] usb 1-1: new high-speed USB device number 2 using orion-ehci [ 6.781574] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608 [ 6.788315] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 6.795511] usb 1-1: Product: USB2.0 Hub [ 6.800238] hub 1-1:1.0: USB hub found [ 6.804326] hub 1-1:1.0: 4 ports detected [ 6.909934] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl F300) [ 6.940140] ata2.00: ATA-7: SAMSUNG HD154UI, 1AG01118, max UDMA7 [ 6.946180] ata2.00: 2930277168 sectors, multi 0: LBA48 NCQ (depth 31/32) [ 6.980124] ata2.00: configured for UDMA/133 [ 6.994908] scsi 1:0:0:0: Direct-Access ATA SAMSUNG HD154UI 1118 PQ: 0 ANSI: 5 [ 7.003959] sd 1:0:0:0: [sdb] 2930277168 512-byte logical blocks: (1.50 TB/1.36 TiB) [ 7.012097] sd 1:0:0:0: [sdb] Write Protect is off [ 7.016998] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 7.036244] sdb: sdb1 sdb2 [ 7.040436] sd 1:0:0:0: [sdb] Attached SCSI disk [ 7.048105] Freeing unused kernel memory: 1024K Loading, please wait... starting version 232 [ 7.130007] usb 1-1.2: new high-speed USB device number 3 using orion-ehci [ 7.302086] usb 1-1.2: New USB device found, idVendor=090c, idProduct=1000 [ 7.309021] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 7.342731] usb 1-1.2: Product: Flash Disk [ 7.346854] usb 1-1.2: Manufacturer: USB [ 7.360819] usb-storage 1-1.2:1.0: USB Mass Storage device detected [ 7.375990] scsi host2: usb-storage 1-1.2:1.0 [ 7.857135] usbcore: registered new interface driver uas Begin: Loading essential drivers ... done. [ 8.672533] scsi 2:0:0:0: Direct-Access USB Flash Disk 1100 PQ: 0 ANSI: 4 [ 8.687131] sd 2:0:0:0: [sdc] 15974400 512-byte logical blocks: (8.18 GB/7.62 GiB) [ 8.701268] sd 2:0:0:0: [sdc] Write Protect is off [ 8.710086] sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 8.735062] sdc: sdc1 [ 8.746375] sd 2:0:0:0: [sdc] Attached SCSI removable disk Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/nfs-top ... done. Begin: Running /scripts/nfs-premount ... done. IP-Config: eth0 hardware address 00:50:43:00:02:02 mtu 1500 DHCP RARP IP-Config: no response after 2 secs - giving up IP-Config: eth0 hardware address 00:50:43:00:02:02 mtu 1500 DHCP RARP [ 18.131824] mv643xx_eth: Set the PHY back to auto-negotiation mode [ 20.549246] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled IP-Config: eth0 complete (dhcp from 192.168.0.1): address: 192.168.0.195 broadcast: 192.168.0.255 netmask: 255.255.255.0 gateway: 192.168.0.1 dns0 : 8.8.8.8 dns1 : 8.8.4.4 rootserver: 192.168.0.1 rootpath: filename : nfsmount: need a path Begin: Retrying nfs mount ... nfsmount: need a path done. Begin: Retrying nfs mount ... nfsmount: need a path done. Begin: Retrying nfs mount ... nfsmount: need a path done. Begin: Retrying nfs mount ... nfsmount: need a path done. Begin: Retrying nfs mount ... nfsmount: need a path done. Begin: Retrying nfs mount ... nfsmount: need a path done. Begin: Retrying nfs mount ... nfsmount: need a path done. Begin: Retrying nfs mount ... nfsmount: need a path done. Begin: Retrying nfs mount ... nfsmount: need a path done. Begin: Retrying nfs mount ... nfsmount: need a path done. done. Begin: Running /scripts/nfs-bottom ... done. Begin: Running /scripts/init-bottom ... mount: mounting /dev on /root/dev failed: No such file or directory mount: mounting /dev on /root/dev failed: No such file or directory done. mount: mounting /run on /root/run failed: No such file or directory run-init: current directory on the same filesystem as the root: error 0 Target filesystem doesn't have requested /init. run-init: current directory on the same filesystem as the root: error 0 run-init: current directory on the same filesystem as the root: error 0 run-init: current directory on the same filesystem as the root: error 0 run-init: current directory on the same filesystem as the root: error 0 run-init: current directory on the same filesystem as the root: error 0 No init found. Try passing init= bootarg. BusyBox v1.22.1 (Debian 1:1.22.0-19+b3) built-in shell (ash) Enter 'help' for a list of built-in commands.
NSA325> printenv arcNumber=4495 baudrate=115200 bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 nand_mtd:0x100000(uboot),0x80000(uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2) root=/dev/nfs rw init=/init 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 console=console=ttyS0,115200 device=0:1 devices=usb ide mmc disks=0 1 2 3 dtb_file=/boot/dts/kirkwood-nsa325.dtb ethact=egiga0 ethaddr=00:50:43:00:02:02 if_netconsole=ping $serverip init_ide=ide reset init_mmc=mmc rescan init_usb=usb start ipaddr=192.168.0.200 led_error=orange blinking led_exit=green off led_init=green blinking load_dtb=ext2load usb 0:1 0x1c00000 /boot/dts/kirkwood-nsa325.dtb load_dtb_addr=0x1c00000 load_initrd=ext2load usb 0:1 0x1100000 /boot/uInitrd load_initrd_addr=0x1100000 load_uimage=ext2load usb 0:1 0x800000 /boot/uImage load_uimage_addr=0x800000 mainlineLinux=yes mtdids=nand0=orion_nand mtdparts=nand_mtd:0x100000(uboot),0x80000(uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2) root=/dev/nfs rw init=/init 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.11 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_boot=run load_dtb; run load_uimage; if run load_initrd; then bootm 0x800000 0x1100000 0x1c00000; else bootm 0x800000 - 0x1c00000; fi usb_ready_retry=15 Environment size: 3465/131068 bytes
Re: NSA325 v2 want to network boot only? April 06, 2019 04:16PM |
Registered: 6 years ago Posts: 125 |
Re: NSA325 v2 want to network boot only? April 06, 2019 05:37PM |
Admin Registered: 13 years ago Posts: 19,092 |
Quote
4. Create uImage with embedded DTB for booting with older u-boots (2012 or earlier). Skip this step if you have installed the latest U-Boot for Kirkwood (or are installing this u-boot at the same time).
Please replace kirkwood-goflexnet.dtb below with the correct DTB name for your box (see the folder /media/sdb1/boot/dts for the exact spelling of your Kirkwood box name).
Generate the uImage with DTB embedded inside:
cd /media/sdb1/boot
cp -a zImage-4.12.1-kirkwood-tld-1 zImage.fdt
cat dts/kirkwood-goflexnet.dtb >> zImage.fdt
mv uImage uImage.orig
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-4.12.1-kirkwood-tld-1 -d zImage.fdt uImage
sync
cd /media/sdb1/boot cp -a uImage uImage.nsa325 cp -a uImage.orig uImage sync
Re: NSA325 v2 want to network boot only? April 06, 2019 05:42PM |
Admin Registered: 13 years ago Posts: 19,092 |
setenv mtdparts 'mtdparts=orion_nand:0x100000(uboot),0x80000(uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2)'
boot
# MTD device name Device offset Env. size Flash sector size Number of sectors # NAND example /dev/mtd1 0x0000 0x20000 0x20000 4
fw_setenv mtdparts 'mtdparts=orion_nand:0x100000(uboot),0x80000(uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2)'
Re: NSA325 v2 want to network boot only? April 06, 2019 06:40PM |
Registered: 5 years ago Posts: 4 |
Re: NSA325 v2 want to network boot only? April 06, 2019 07:05PM |
Admin Registered: 13 years ago Posts: 19,092 |
Backup and Cloning rootfs CrashPlan 4.3.0 Backup/Restore rootfs using tar command Adjust udev rules after cloning rootfs Stock Pogoplug rootfs How to clone a rootfs from one Kirkwood box to another: Step 1 and Step 2 How to clone SATA rootfs to USB rootfs