Netgear Stora -loading rootfs Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 February 25, 2020 12:09PM |
Registered: 4 years ago Posts: 39 |
root@cergei-MS-N031:/home/cergei# cd /media/cergei/rootfs/boot root@cergei-MS-N031:/media/cergei/rootfs/boot# cp -a zImage-5.2.9-kirkwood-tld-1 zImage.fdt root@cergei-MS-N031:/media/cergei/rootfs/boot# cat dts/kirkwood-netgear_stora_ms2000.dtb >> zImage.fdt root@cergei-MS-N031:/media/cergei/rootfs/boot# mv uImage uImage.orig root@cergei-MS-N031:/media/cergei/rootfs/boot# mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-5.2.9-kirkwood-tld-1 -d zImage.fdt uImage Image Name: Linux-5.2.9-kirkwood-tld-1 Created: Tue Feb 25 21:35:15 2020 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4975115 Bytes = 4858.51 KiB = 4.74 MiB Load Address: 00008000 Entry Point: 00008000 root@cergei-MS-N031:/media/cergei/rootfs/boot# sync root@cergei-MS-N031:/media/cergei/rootfs/boot#
Re: Netgear Stora -loading rootfs Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 February 25, 2020 03:46PM |
Admin Registered: 13 years ago Posts: 18,575 |
Re: Netgear Stora -loading rootfs Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 February 25, 2020 10:23PM |
Registered: 4 years ago Posts: 39 |
__ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** MARVELL BOARD: RD-88F6281A LE U-Boot 1.1.4 (Sep 4 2009 - 09:36:11) Marvell version: 3.4.14 U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CEE60 Soc: MV88F6281 Rev 3 (DDR2) CPU running @ 1000Mhz L2 running @ 333Mhz SysClock = 333Mhz , TClock = 200Mhz DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6 DRAM CS[0] base 0x00000000 size 64MB DRAM CS[1] base 0x04000000 size 64MB DRAM Total size 128MB 16bit width Flash: 0 kB Addresses 8M - 0M are saved for the U-Boot usage. Mem malloc Initialization (8M - 7M): Done NAND:256 MB CRC in Flash: 4b565fb7, Calculated CRC: 4b565fb7 CPU : Marvell Feroceon (Rev 1) Streaming disabled Write allocate disabled Module 0 is RGMII Module 1 is TDM USB 0: host mode PEX 0: interface detected no Link. Net: egiga0, egiga1 [PRIME] Hit any key to stop autoboot: 0 (Re)start USB... USB: scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found .... . ...... ............ ......................... ................................................... ................................................................................ ...................... ................................................................................ ................................................................................ ............................................ .... ....................................................................... 4975179 bytes read .... . ...... ............ ......................... ................................................... ................................................................................ ...................... ................................................................................ ................................................................................ ............................................ .... ................................................................................ ................................................................................ ................................................................................ ................................................................................ ................................................................................ ......... ................................................................................ ............................................ 9713936 bytes read ## Booting image at 00800000 ... Image Name: Linux-5.2.9-kirkwood-tld-1 Created: 2020-02-25 17:35:15 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4975115 Bytes = 4.7 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK ## Loading Ramdisk Image at 01100000 ... Image Name: initramfs-5.2.9-kirkwood-tld-1 Created: 2019-08-25 2:22:50 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 9713872 Bytes = 9.3 MB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel.More than half an hour has passed, and the download does not continue. So the blue LED flashes. What am I supposed to do now? Thank you for your help!
Re: Netgear Stora -loading rootfs Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 February 26, 2020 12:40AM |
Admin Registered: 13 years ago Posts: 18,575 |
setenv bootcmd_usb 'usb start; ext2load usb 0:1 0x800000 /boot/uImage; ext2load usb 0:1 0x2100000 /boot/uInitrd' setenv bootcmd 'setenv bootargs $(console) root=LABEL=rootfs rootdelay=10 earlyprintk=serial; run bootcmd_usb; bootm 0x800000 0x2100000; reset' setenv console 'console=ttyS0,115200 mtdparts=orion_nand:0x100000@0(uboot),0xff00000@0x100000(root)'
boot
setenv bootcmd_usb 'usb start; ext2load usb 0:1 0x800000 /boot/uImage; ext2load usb 0:1 0x2100000 /boot/uInitrd' setenv bootcmd 'setenv bootargs $(console) root=LABEL=rootfs rootdelay=10 earlyprintk=serial; run bootcmd_usb; bootm 0x800000 0x2100000; reset' setenv console 'console=ttyS0,115200 mtdparts=orion_nand:0x100000@0(uboot),0xff00000@0x100000(root)' saveenv
Re: Netgear Stora -loading rootfs Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 February 26, 2020 02:30AM |
Registered: 4 years ago Posts: 39 |
Cool!!! I see it all worked out. And then "After logging into this rootf for the first time, remember to generate a new SSH key to make it your own unique rootfs. And also update your rootfs to get the latest Debian package security updates: "Did it __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** MARVELL BOARD: RD-88F6281A LE U-Boot 1.1.4 (Sep 4 2009 - 09:36:11) Marvell version: 3.4.14 U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CEE60 Soc: MV88F6281 Rev 3 (DDR2) CPU running @ 1000Mhz L2 running @ 333Mhz SysClock = 333Mhz , TClock = 200Mhz DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6 DRAM CS[0] base 0x00000000 size 64MB DRAM CS[1] base 0x04000000 size 64MB DRAM Total size 128MB 16bit width Flash: 0 kB Addresses 8M - 0M are saved for the U-Boot usage. Mem malloc Initialization (8M - 7M): Done NAND:256 MB CRC in Flash: 4b565fb7, Calculated CRC: 4b565fb7 CPU : Marvell Feroceon (Rev 1) Streaming disabled Write allocate disabled Module 0 is RGMII Module 1 is TDM USB 0: host mode PEX 0: interface detected no Link. Net: egiga0, egiga1 [PRIME] Hit any key to stop autoboot: 0 Marvell>> setenv bootcmd_usb 'usb start; ext2load usb 0:1 0x800000 /boot/uImage; ext2load usb 0:1 0x2100000 /boot/uInitrd' Marvell>> setenv bootcmd 'setenv bootargs $(console) root=LABEL=rootfs rootdelay =10 earlyprintk=serial; run bootcmd_usb; bootm 0x800000 0x2100000; reset' Marvell>> setenv console 'console=ttyS0,115200 mtdparts=orion_nand:0x100000@0(ub oot),0xff00000@0x100000(root)' Marvell>> saveenv Saving Environment to NAND... Erasing Nand...Writing to Nand... done Marvell>> boot (Re)start USB... USB: scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found .... . ...... ............ ......................... ................................................... ................................................................................ ...................... ................................................................................ ................................................................................ ............................................ .... ....................................................................... 4975179 bytes read .... . ...... ............ ......................... ................................................... ................................................................................ ...................... ................................................................................ ................................................................................ ............................................ .... ................................................................................ ................................................................................ ................................................................................ ................................................................................ ................................................................................ ......... ................................................................................ ............................................ 9713936 bytes read ## Booting image at 00800000 ... Image Name: Linux-5.2.9-kirkwood-tld-1 Created: 2020-02-25 17:35:15 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4975115 Bytes = 4.7 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK ## Loading Ramdisk Image at 02100000 ... Image Name: initramfs-5.2.9-kirkwood-tld-1 Created: 2019-08-25 2:22:50 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 9713872 Bytes = 9.3 MB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000][ T0] Booting Linux on physical CPU 0x0 [ 0.000000][ T0] Linux version 5.2.9-kirkwood-tld-1 (root@tldDebian) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 PREEMPT Sat Aug 17 15:00:56 PDT 2019 [ 0.000000][ T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f [ 0.000000][ T0] CPU: VIVT data cache, VIVT instruction cache [ 0.000000][ T0] OF: fdt: Machine model: NETGEAR MS2000 / MS2110 aka Stora [ 0.000000][ T0] printk: bootconsole [earlycon0] enabled [ 0.000000][ T0] Memory policy: Data cache writeback [ 0.000000][ T0] Built 1 zonelists, mobility grouping on. Total pages: 32512 [ 0.000000][ T0] Kernel command line: console=ttyS0,115200 mtdparts=orion_nand:0x100000@0(uboot),0xff00000@0x100000(root) root=LABEL=rootfs rootdelay=10 earlyprintk=serial [ 0.000000][ T0] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000][ T0] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000][ T0] Memory: 104832K/131072K available (9216K kernel code, 868K rwdata, 3400K rodata, 1024K init, 301K bss, 26240K reserved, 0K cma-reserved) [ 0.000000][ T0] random: get_random_u32 called from cache_alloc_refill+0x38c/0x928 with crng_init=0 [ 0.000000][ T0] rcu: Preemptible hierarchical RCU implementation. [ 0.000000][ T0] Tasks RCU enabled. [ 0.000000][ T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000][ T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000][ T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns [ 0.000011][ T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns [ 0.008526][ T0] Switching to timer-based delay loop, resolution 5ns [ 0.015990][ T0] Console: colour dummy device 80x30 [ 0.021209][ T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000) [ 0.032441][ T0] pid_max: default: 32768 minimum: 301 [ 0.038168][ T0] LSM: Security Framework initializing [ 0.043730][ T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.051081][ T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.059844][ T0] *** VALIDATE proc *** [ 0.064129][ T0] *** VALIDATE cgroup1 *** [ 0.068395][ T0] *** VALIDATE cgroup2 *** [ 0.072805][ T0] CPU: Testing write buffer coherency: ok [ 0.080396][ T1] Setting up static identity map for 0x100000 - 0x100058 [ 0.087579][ T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3 [ 0.093780][ T1] rcu: Hierarchical SRCU implementation. [ 0.103154][ T1] devtmpfs: initialized [ 0.113997][ T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.124584][ T1] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.131733][ T1] xor: measuring software checksum speed [ 0.228560][ T1] arm4regs : 902.800 MB/sec [ 0.328562][ T1] 8regs : 542.000 MB/sec [ 0.428553][ T1] 32regs : 787.600 MB/sec [ 0.433425][ T1] xor: using function: arm4regs (902.800 MB/sec) [ 0.439629][ T1] prandom: seed boundary self test passed [ 0.450251][ T1] prandom: 100 self tests passed [ 0.455031][ T1] pinctrl core: initialized pinctrl subsystem [ 0.462698][ T1] NET: Registered protocol family 16 [ 0.468516][ T1] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.477083][ T1] audit: initializing netlink subsys (disabled) [ 0.484642][ T14] audit: type=2000 audit(0.470:1): state=initialized audit_enabled=0 res=1 [ 0.493218][ T1] cpuidle: using governor ladder [ 0.498088][ T1] cpuidle: using governor menu [ 0.503420][ T1] Feroceon L2: Enabling L2 [ 0.507715][ T1] Feroceon L2: Cache support initialised. [ 0.520481][ T1] No ATAGs? [ 2.568534][ C0] random: fast init done [ 7.679142][ T71] alg: No test for lzo-rle (lzo-rle-generic) [ 7.685371][ T73] alg: No test for lzo-rle (lzo-rle-scomp) [ 7.869304][ T1] raid6: int32x8 gen() 106 MB/s [ 8.038940][ T1] raid6: int32x8 xor() 72 MB/s [ 8.208631][ T1] raid6: int32x4 gen() 107 MB/s [ 8.378723][ T1] raid6: int32x4 xor() 69 MB/s [ 8.548807][ T1] raid6: int32x2 gen() 110 MB/s [ 8.718622][ T1] raid6: int32x2 xor() 78 MB/s [ 8.889009][ T1] raid6: int32x1 gen() 83 MB/s [ 9.058679][ T1] raid6: int32x1 xor() 57 MB/s [ 9.063621][ T1] raid6: using algorithm int32x2 gen() 110 MB/s [ 9.069705][ T1] raid6: .... xor() 78 MB/s, rmw enabled [ 9.075163][ T1] raid6: using intx1 recovery algorithm [ 9.080849][ T1] vgaarb: loaded [ 9.084840][ T1] SCSI subsystem initialized [ 9.089906][ T1] usbcore: registered new interface driver usbfs [ 9.096125][ T1] usbcore: registered new interface driver hub [ 9.102262][ T1] usbcore: registered new device driver usb [ 9.108192][ T1] pps_core: LinuxPPS API ver. 1 registered [ 9.113856][ T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 9.123679][ T1] PTP clock support registered [ 9.129913][ T1] clocksource: Switched to clocksource orion_clocksource [ 10.381941][ T1] VFS: Disk quotas dquot_6.6.0 [ 10.386635][ T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 10.406146][ T1] NET: Registered protocol family 2 [ 10.412209][ T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes) [ 10.420637][ T1] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 10.428274][ T1] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 10.435368][ T1] TCP: Hash tables configured (established 1024 bind 1024) [ 10.442549][ T1] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 10.449064][ T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 10.456303][ T1] NET: Registered protocol family 1 [ 10.462126][ T1] RPC: Registered named UNIX socket transport module. [ 10.468719][ T1] RPC: Registered udp transport module. [ 10.474188][ T1] RPC: Registered tcp transport module. [ 10.479570][ T1] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 10.486707][ T1] PCI: CLS 0 bytes, default 32 [ 10.491609][ T1] Trying to unpack rootfs image as initramfs... [ 11.503656][ T1] Freeing initrd memory: 9488K [ 11.508513][ T1] NetWinder Floating Point Emulator V0.97 (double precision) [ 11.517248][ T1] Initialise system trusted keyrings [ 11.522466][ T1] Key type blacklist registered [ 11.527411][ T1] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 11.534723][ T1] zbud: loaded [ 11.539258][ T1] NFS: Registering the id_resolver key type [ 11.545111][ T1] Key type id_resolver registered [ 11.550030][ T1] Key type id_legacy registered [ 11.554732][ T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 11.562129][ T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 11.569490][ T1] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 11.577513][ T1] fuse: init (API version 7.31) [ 11.582694][ T1] orangefs_debugfs_init: called with debug mask: :none: :0: [ 11.590059][ T1] orangefs_init: module version upstream loaded [ 11.596127][ T1] SGI XFS with ACLs, security attributes, realtime, scrub, no debug enabled [ 11.625243][ T1] async_tx: api initialized (async) [ 11.630425][ T1] Key type asymmetric registered [ 11.635197][ T1] Asymmetric key parser 'x509' registered [ 11.640896][ T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246) [ 11.650810][ T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver [ 11.661216][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00 [ 11.669456][ T1] pci_bus 0000:00: root bus resource [bus 00-ff] [ 11.675706][ T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff] [ 11.683305][ T1] pci_bus 0000:00: root bus resource [io 0x1000-0xeffff] [ 11.690387][ T1] pci 0000:00:01.0: [11ab:6281] type 01 class 0x060400 [ 11.697092][ T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref] [ 11.706104][ T1] PCI: bus0: Fast back to back transfers disabled [ 11.712402][ T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 11.722615][ T1] PCI: bus1: Fast back to back transfers enabled [ 11.728787][ T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 11.736328][ T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0000000-0xe00007ff pref] [ 11.744246][ T1] pci 0000:00:01.0: PCI bridge to [bus 01] [ 11.750639][ T1] mv_xor f1060800.xor: Marvell shared XOR driver [ 11.810914][ T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 11.821350][ T1] mv_xor f1060900.xor: Marvell shared XOR driver [ 11.890911][ T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 11.901665][ T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 11.910288][ T1] printk: console [ttyS0] disabled [ 11.915305][ T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A [ 11.925041][ T1] printk: console [ttyS0] enabled [ 11.925041][ T1] printk: console [ttyS0] enabled [ 11.934900][ T1] printk: bootconsole [earlycon0] disabled [ 11.934900][ T1] printk: bootconsole [earlycon0] disabled [ 11.955604][ T1] loop: module loaded [ 11.960220][ T1] sata_mv f1080000.sata: slots 32 ports 2 [ 11.969193][ T1] scsi host0: sata_mv [ 11.973845][ T1] scsi host1: sata_mv [ 11.978065][ T1] ata1: SATA max UDMA/133 irq 33 [ 11.982954][ T1] ata2: SATA max UDMA/133 irq 33 [ 11.988920][ T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xda [ 11.996170][ T1] nand: Samsung NAND 256MiB 3,3V 8-bit [ 12.001542][ T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 12.009860][ T1] Scanning device for bad blocks [ 12.071077][ T1] Bad eraseblock 526 at 0x0000041c0000 [ 12.076577][ T1] Bad eraseblock 528 at 0x000004200000 [ 12.081997][ T1] Bad eraseblock 529 at 0x000004220000 [ 12.087387][ T1] Bad eraseblock 530 at 0x000004240000 [ 12.137121][ T1] Bad eraseblock 945 at 0x000007620000 [ 12.142539][ T1] Bad eraseblock 946 at 0x000007640000 [ 12.147931][ T1] Bad eraseblock 947 at 0x000007660000 [ 12.256843][ T1] Bad eraseblock 1912 at 0x00000ef00000 [ 12.276824][ T1] 2 cmdlinepart partitions found on MTD device orion_nand [ 12.283870][ T1] Creating 2 MTD partitions on "orion_nand": [ 12.289770][ T1] 0x000000000000-0x000000100000 : "uboot" [ 12.297025][ T1] 0x000000100000-0x000010000000 : "root" [ 12.306654][ T1] libphy: Fixed MDIO Bus: probed [ 12.311563][ T112] ata1: SATA link down (SStatus 0 SControl F300) [ 12.318773][ T1] libphy: orion_mdio_bus: probed [ 12.323687][ T1] [Firmware Warn]: /ocp@f1000000/mdio-bus@72004/ethernet-phy@8: Whitelisted compatible string. Please remove [ 12.352155][ T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4 [ 12.360360][ T1] mv643xx_eth_port mv643xx_eth_port.0: DMA mask not set [ 12.661599][ T114] ata2: SATA link down (SStatus 0 SControl F300) [ 13.080685][ T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address c4:3d:c7:4f:6c:92 [ 13.090340][ T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 13.097627][ T1] ehci-pci: EHCI PCI platform driver [ 13.102894][ T1] ehci-orion: EHCI orion driver [ 13.107855][ T1] orion-ehci f1050000.ehci: EHCI Host Controller [ 13.114134][ T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1 [ 13.122808][ T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000 [ 13.150096][ T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00 [ 13.157164][ T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02 [ 13.166215][ T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 13.174195][ T1] usb usb1: Product: EHCI Host Controller [ 13.179796][ T1] usb usb1: Manufacturer: Linux 5.2.9-kirkwood-tld-1 ehci_hcd [ 13.187171][ T1] usb usb1: SerialNumber: f1050000.ehci [ 13.193346][ T1] hub 1-0:1.0: USB hub found [ 13.197875][ T1] hub 1-0:1.0: 1 port detected [ 13.203421][ T1] usbcore: registered new interface driver usb-storage [ 13.210677][ T1] mousedev: PS/2 mouse device common for all mice [ 13.569959][ T15] usb 1-1: new high-speed USB device number 2 using orion-ehci [ 13.848063][ T15] usb 1-1: New USB device found, idVendor=8564, idProduct=1000, bcdDevice= 1.00 [ 13.857017][ T15] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 13.864932][ T15] usb 1-1: Product: Mass Storage Device [ 13.870382][ T15] usb 1-1: Manufacturer: JetFlash [ 13.875284][ T15] usb 1-1: SerialNumber: I3H99W8L [ 13.881148][ T15] usb-storage 1-1:1.0: USB Mass Storage device detected [ 13.888510][ T15] scsi host2: usb-storage 1-1:1.0 [ 14.249959][ T1] rtc-mv f1010300.rtc: internal RTC not ticking [ 14.256284][ T1] i2c /dev entries driver [ 14.267664][ T1] rtc-pcf8563 0-0051: registered as rtc0 [ 14.275061][ T1] device-mapper: uevent: version 1.0.3 [ 14.280787][ T1] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com [ 14.290519][ T1] device-mapper: multipath round-robin: version 1.2.0 loaded [ 14.297784][ T1] device-mapper: multipath queue-length: version 0.2.0 loaded [ 14.305213][ T1] device-mapper: multipath service-time: version 0.3.0 loaded [ 14.312701][ T1] device-mapper: dm-log-userspace: version 1.3.0 loaded [ 14.319525][ T1] device-mapper: raid: Loading target version 1.14.0 [ 14.328180][ T1] hidraw: raw HID events driver (C) Jiri Kosina [ 14.334758][ T1] drop_monitor: Initializing network drop monitor service [ 14.342171][ T1] NET: Registered protocol family 17 [ 14.347625][ T1] Key type dns_resolver registered [ 14.353723][ T1] registered taskstats version 1 [ 14.358544][ T1] Loading compiled-in X.509 certificates [ 14.364186][ T1] zswap: loaded using pool lzo/zbud [ 14.480034][ T1] Key type big_key registered [ 14.534966][ T1] Key type encrypted registered [ 14.543633][ T1] rtc-pcf8563 0-0051: setting system clock to 2020-02-26T11:50:52 UTC (1582717852) [ 14.557310][ T1] Freeing unused kernel memory: 1024K [ 14.590607][ T1] Checked W+X mappings: passed, no W+X pages found [ 14.597001][ T1] Run /init as init process Loading, please wait... Starting version 241 [ 14.972454][ T23] scsi 2:0:0:0: Direct-Access JetFlash Transcend 2GB 8.07 PQ: 0 ANSI: 2 [ 14.991258][ T7] sd 2:0:0:0: [sda] 3948544 512-byte logical blocks: (2.02 GB/1.88 GiB) [ 15.020099][ T7] sd 2:0:0:0: [sda] Write Protect is off [ 15.031550][ T7] sd 2:0:0:0: [sda] No Caching mode page found [ 15.037653][ T7] sd 2:0:0:0: [sda] Assuming drive cache: write through [ 15.434680][ T7] sda: sda1 [ 15.444256][ T7] sd 2:0:0:0: [sda] Attached SCSI removable disk [ 16.364268][ T172] usbcore: registered new interface driver uas 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: Will now check root file system ... fsck from util-linux 2.33.1 [/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1 rootfs: clean, 15077/123392 files, 151845/493056 blocks done. [ 26.845508][ T191] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem [ 26.896746][ T191] 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.93 booting [info] Using makefile-style concurrent boot in runlevel S. [ ok ] Starting hotplug events dispatcher: systemd-udevd. [ ok ] Synthesizing the initial hotplug events (subsystems)...done. [ ok ] Synthesizing the initial hotplug events (devices)...done. [ 30.387087][ T373] input: gpio-keys as /devices/platform/gpio-keys/input/input0 [....] Waiting for /dev to be fully populated...[ 30.476231][ T370] systemd-udevd[370]: Using default interface naming scheme 'v240'. [ 30.584077][ T370] systemd-udevd[370]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable. [ 30.733434][ T374] lm75 0-0048: hwmon0: sensor 'lm75' [ 30.799586][ T390] watchdog: f1020300.watchdog-timer: driver supplied timeout (4294967295) out of range [ 30.910300][ T390] watchdog: f1020300.watchdog-timer: falling back to default timeout (21) [ 30.919064][ C0] random: crng init done [ 31.085180][ T390] orion_wdt: Initial timeout 21 sec [ 31.301339][ T374] sd 2:0:0:0: Attached scsi generic sg0 type 0 [ 31.317089][ T373] marvell-cesa f1030000.crypto: CESA device successfully registered [ 31.509606][ T373] systemd-udevd[373]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable. done. [ ok ] Setting hostname to 'debian'...done. [ ok ] Activating swap:. [ 32.994510][ T588] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro [info] Will now check all file systems. fsck from util-linux 2.33.1 Checking all file systems. LABEL=rootfs is mounted [ ok ] Done checking file systems. A log is being saved in /var/log/fsck/checkfs if that location is writable.. [ ok ] Cleaning up temporary files...[....] Cleaning /tmp...done. [ ok . [ ok ] Will now mount local filesystems:. [ ok ] Will now activate swapfile swap:done. [ ok ] Checking minimum space in /tmp...done. [ ok ] Cleaning up temporary files.... [ ok ] Starting Setting kernel variables: sysctl. [ ok ] Initializing random number generator...done. [....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.1 Copyright 2004-2018 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/eth0/c4:3d:c7:4f:6c:92 Sending on LPF/eth0/c4:3d:c7:4f:6c:92 Sending on Socket/fallback DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 20 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5 No DHCPOFFERS received. No working leases in persistent database - sleeping. done. [....] Starting RPC port mapper daemon: rpcbind[ 100.339257][ T1194] NET: Registered protocol family 10 [ 100.346618][ T1194] Segment Routing with IPv6 . ok [ 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... 1330 (syslogd) . ok [....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd... 1357 (klogd) . ok [ ok ] Starting system message bus: dbus. [ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon. [ ok ] Starting NFS common utilities: statd idmapd. [warn] Not starting NFS kernel daemon: no exports. ... (warning). [ ok ] Starting NTP server: ntpd. [ ok ] Starting OpenBSD Secure Shell server: sshd. [ ok ] Running local boot scripts (/etc/rc.local). Debian GNU/Linux 10 debian ttyS0 debian login: root Password: Last login: Wed Feb 26 03:35:16 PST 2020 on ttyS0 Linux debian 5.2.9-kirkwood-tld-1 #1 PREEMPT Sat Aug 17 15:00:56 PDT 2019 armv5tel The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. root@debian:~#Following question? How do I install your boot loader? Do I not understand to install it need to re-create a bootable usb flash drive from a downloaded file from DROPBOX or already from Debian SSH install? Please take me the right way.
Re: Netgear Stora -loading rootfs Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 February 26, 2020 03:24AM |
Admin Registered: 13 years ago Posts: 18,575 |
root@debian:~#
Re: Netgear Stora -loading rootfs Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 February 26, 2020 09:32PM |
Registered: 4 years ago Posts: 39 |
__ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** MARVELL BOARD: RD-88F6281A LE U-Boot 1.1.4 (Sep 4 2009 - 09:36:11) Marvell version: 3.4.14 U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CEE60 Soc: MV88F6281 Rev 3 (DDR2) CPU running @ 1000Mhz L2 running @ 333Mhz SysClock = 333Mhz , TClock = 200Mhz DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6 DRAM CS[0] base 0x00000000 size 64MB DRAM CS[1] base 0x04000000 size 64MB DRAM Total size 128MB 16bit width Flash: 0 kB Addresses 8M - 0M are saved for the U-Boot usage. Mem malloc Initialization (8M - 7M): Done NAND:256 MB CRC in Flash: c9d2c91b, Calculated CRC: c9d2c91b CPU : Marvell Feroceon (Rev 1) Streaming disabled Write allocate disabled Module 0 is RGMII Module 1 is TDM USB 0: host mode PEX 0: interface detected no Link. Net: egiga0, egiga1 [PRIME] Hit any key to stop autoboot: 0 (Re)start USB... USB: scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found .... . ...... ............ ......................... ................................................... ...................................................................................................... ............................................................................................................................................................................................................ .... ....................................................................... 4975179 bytes read .... . ...... ............ ......................... ................................................... ...................................................................................................... ............................................................................................................................................................................................................ .... ......................................................................................................................................................................................................................................................................................................................................................................................................................... ............................................................................................................................ 9713936 bytes read ## Booting image at 00800000 ... Image Name: Linux-5.2.9-kirkwood-tld-1 Created: 2020-02-25 17:35:15 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4975115 Bytes = 4.7 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK ## Loading Ramdisk Image at 02100000 ... Image Name: initramfs-5.2.9-kirkwood-tld-1 Created: 2019-08-25 2:22:50 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 9713872 Bytes = 9.3 MB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000][ T0] Booting Linux on physical CPU 0x0 [ 0.000000][ T0] Linux version 5.2.9-kirkwood-tld-1 (root@tldDebian) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 PREEMPT Sat Aug 17 15:00:56 PDT 2019 [ 0.000000][ T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f [ 0.000000][ T0] CPU: VIVT data cache, VIVT instruction cache [ 0.000000][ T0] OF: fdt: Machine model: NETGEAR MS2000 / MS2110 aka Stora [ 0.000000][ T0] printk: bootconsole [earlycon0] enabled [ 0.000000][ T0] Memory policy: Data cache writeback [ 0.000000][ T0] Built 1 zonelists, mobility grouping on. Total pages: 32512 [ 0.000000][ T0] Kernel command line: console=ttyS0,115200 mtdparts=orion_nand:0x100000@0(uboot),0xff00000@0x100000(root) root=LABEL=rootfs rootdelay=10 earlyprintk=serial [ 0.000000][ T0] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000][ T0] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000][ T0] Memory: 104832K/131072K available (9216K kernel code, 868K rwdata, 3400K rodata, 1024K init, 301K bss, 26240K reserved, 0K cma-reserved) [ 0.000000][ T0] random: get_random_u32 called from cache_alloc_refill+0x38c/0x928 with crng_init=0 [ 0.000000][ T0] rcu: Preemptible hierarchical RCU implementation. [ 0.000000][ T0] Tasks RCU enabled. [ 0.000000][ T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000][ T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000][ T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns [ 0.000010][ T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns [ 0.008527][ T0] Switching to timer-based delay loop, resolution 5ns [ 0.015990][ T0] Console: colour dummy device 80x30 [ 0.021211][ T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000) [ 0.032442][ T0] pid_max: default: 32768 minimum: 301 [ 0.038167][ T0] LSM: Security Framework initializing [ 0.043729][ T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.051079][ T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.059843][ T0] *** VALIDATE proc *** [ 0.064133][ T0] *** VALIDATE cgroup1 *** [ 0.068405][ T0] *** VALIDATE cgroup2 *** [ 0.072810][ T0] CPU: Testing write buffer coherency: ok [ 0.080387][ T1] Setting up static identity map for 0x100000 - 0x100058 [ 0.087571][ T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3 [ 0.093771][ T1] rcu: Hierarchical SRCU implementation. [ 0.103159][ T1] devtmpfs: initialized [ 0.114018][ T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.124605][ T1] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.131755][ T1] xor: measuring software checksum speed [ 0.228557][ T1] arm4regs : 902.400 MB/sec [ 0.328560][ T1] 8regs : 542.000 MB/sec [ 0.428552][ T1] 32regs : 787.600 MB/sec [ 0.433416][ T1] xor: using function: arm4regs (902.400 MB/sec) [ 0.439621][ T1] prandom: seed boundary self test passed [ 0.450242][ T1] prandom: 100 self tests passed [ 0.455024][ T1] pinctrl core: initialized pinctrl subsystem [ 0.462679][ T1] NET: Registered protocol family 16 [ 0.468502][ T1] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.477077][ T1] audit: initializing netlink subsys (disabled) [ 0.484645][ T14] audit: type=2000 audit(0.470:1): state=initialized audit_enabled=0 res=1 [ 0.493220][ T1] cpuidle: using governor ladder [ 0.498088][ T1] cpuidle: using governor menu [ 0.503423][ T1] Feroceon L2: Enabling L2 [ 0.507724][ T1] Feroceon L2: Cache support initialised. [ 0.520488][ T1] No ATAGs? [ 2.568534][ C0] random: fast init done [ 7.679399][ T71] alg: No test for lzo-rle (lzo-rle-generic) [ 7.685621][ T73] alg: No test for lzo-rle (lzo-rle-scomp) [ 7.869293][ T1] raid6: int32x8 gen() 106 MB/s [ 8.038947][ T1] raid6: int32x8 xor() 72 MB/s [ 8.208661][ T1] raid6: int32x4 gen() 107 MB/s [ 8.378723][ T1] raid6: int32x4 xor() 69 MB/s [ 8.548851][ T1] raid6: int32x2 gen() 110 MB/s [ 8.718622][ T1] raid6: int32x2 xor() 78 MB/s [ 8.889008][ T1] raid6: int32x1 gen() 83 MB/s [ 9.058679][ T1] raid6: int32x1 xor() 57 MB/s [ 9.063621][ T1] raid6: using algorithm int32x2 gen() 110 MB/s [ 9.069705][ T1] raid6: .... xor() 78 MB/s, rmw enabled [ 9.075164][ T1] raid6: using intx1 recovery algorithm [ 9.080851][ T1] vgaarb: loaded [ 9.084850][ T1] SCSI subsystem initialized [ 9.089916][ T1] usbcore: registered new interface driver usbfs [ 9.096135][ T1] usbcore: registered new interface driver hub [ 9.102272][ T1] usbcore: registered new device driver usb [ 9.108203][ T1] pps_core: LinuxPPS API ver. 1 registered [ 9.113865][ T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 9.123687][ T1] PTP clock support registered [ 9.129928][ T1] clocksource: Switched to clocksource orion_clocksource [ 10.381981][ T1] VFS: Disk quotas dquot_6.6.0 [ 10.386676][ T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 10.406182][ T1] NET: Registered protocol family 2 [ 10.412250][ T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes) [ 10.420678][ T1] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 10.428318][ T1] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 10.435411][ T1] TCP: Hash tables configured (established 1024 bind 1024) [ 10.442588][ T1] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 10.449108][ T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 10.456347][ T1] NET: Registered protocol family 1 [ 10.462176][ T1] RPC: Registered named UNIX socket transport module. [ 10.468762][ T1] RPC: Registered udp transport module. [ 10.474230][ T1] RPC: Registered tcp transport module. [ 10.479605][ T1] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 10.486740][ T1] PCI: CLS 0 bytes, default 32 [ 10.491643][ T1] Trying to unpack rootfs image as initramfs... [ 11.503706][ T1] Freeing initrd memory: 9488K [ 11.508564][ T1] NetWinder Floating Point Emulator V0.97 (double precision) [ 11.517298][ T1] Initialise system trusted keyrings [ 11.522513][ T1] Key type blacklist registered [ 11.527446][ T1] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 11.534764][ T1] zbud: loaded [ 11.539295][ T1] NFS: Registering the id_resolver key type [ 11.545154][ T1] Key type id_resolver registered [ 11.550073][ T1] Key type id_legacy registered [ 11.554775][ T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 11.562172][ T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 11.569533][ T1] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 11.577558][ T1] fuse: init (API version 7.31) [ 11.582737][ T1] orangefs_debugfs_init: called with debug mask: :none: :0: [ 11.590100][ T1] orangefs_init: module version upstream loaded [ 11.596170][ T1] SGI XFS with ACLs, security attributes, realtime, scrub, no debug enabled [ 11.625291][ T1] async_tx: api initialized (async) [ 11.630479][ T1] Key type asymmetric registered [ 11.635249][ T1] Asymmetric key parser 'x509' registered [ 11.640949][ T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246) [ 11.650867][ T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver [ 11.661260][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00 [ 11.669500][ T1] pci_bus 0000:00: root bus resource [bus 00-ff] [ 11.675750][ T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff] [ 11.683351][ T1] pci_bus 0000:00: root bus resource [io 0x1000-0xeffff] [ 11.690437][ T1] pci 0000:00:01.0: [11ab:6281] type 01 class 0x060400 [ 11.697144][ T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref] [ 11.706152][ T1] PCI: bus0: Fast back to back transfers disabled [ 11.712452][ T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 11.722666][ T1] PCI: bus1: Fast back to back transfers enabled [ 11.728838][ T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 11.736379][ T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0000000-0xe00007ff pref] [ 11.744299][ T1] pci 0000:00:01.0: PCI bridge to [bus 01] [ 11.750690][ T1] mv_xor f1060800.xor: Marvell shared XOR driver [ 11.810926][ T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 11.821344][ T1] mv_xor f1060900.xor: Marvell shared XOR driver [ 11.890923][ T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 11.901678][ T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 11.910298][ T1] printk: console [ttyS0] disabled [ 11.915315][ T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A [ 11.925048][ T1] printk: console [ttyS0] enabled [ 11.925048][ T1] printk: console [ttyS0] enabled [ 11.934908][ T1] printk: bootconsole [earlycon0] disabled [ 11.934908][ T1] printk: bootconsole [earlycon0] disabled [ 11.955613][ T1] loop: module loaded [ 11.960226][ T1] sata_mv f1080000.sata: slots 32 ports 2 [ 11.969195][ T1] scsi host0: sata_mv [ 11.973852][ T1] scsi host1: sata_mv [ 11.978071][ T1] ata1: SATA max UDMA/133 irq 33 [ 11.982965][ T1] ata2: SATA max UDMA/133 irq 33 [ 11.988938][ T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xda [ 11.996187][ T1] nand: Samsung NAND 256MiB 3,3V 8-bit [ 12.001560][ T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 12.009877][ T1] Scanning device for bad blocks [ 12.071098][ T1] Bad eraseblock 526 at 0x0000041c0000 [ 12.076604][ T1] Bad eraseblock 528 at 0x000004200000 [ 12.082023][ T1] Bad eraseblock 529 at 0x000004220000 [ 12.087413][ T1] Bad eraseblock 530 at 0x000004240000 [ 12.137136][ T1] Bad eraseblock 945 at 0x000007620000 [ 12.142556][ T1] Bad eraseblock 946 at 0x000007640000 [ 12.147947][ T1] Bad eraseblock 947 at 0x000007660000 [ 12.256853][ T1] Bad eraseblock 1912 at 0x00000ef00000 [ 12.276833][ T1] 2 cmdlinepart partitions found on MTD device orion_nand [ 12.283880][ T1] Creating 2 MTD partitions on "orion_nand": [ 12.289779][ T1] 0x000000000000-0x000000100000 : "uboot" [ 12.297043][ T1] 0x000000100000-0x000010000000 : "root" [ 12.306658][ T1] libphy: Fixed MDIO Bus: probed [ 12.311573][ T112] ata1: SATA link down (SStatus 0 SControl F300) [ 12.318787][ T1] libphy: orion_mdio_bus: probed [ 12.323704][ T1] [Firmware Warn]: /ocp@f1000000/mdio-bus@72004/ethernet-phy@8: Whitelisted compatible string. Please remove [ 12.352400][ T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4 [ 12.360588][ T1] mv643xx_eth_port mv643xx_eth_port.0: DMA mask not set [ 12.661616][ T114] ata2: SATA link down (SStatus 0 SControl F300) [ 13.080715][ T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address c4:3d:c7:4f:6c:92 [ 13.090366][ T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 13.097653][ T1] ehci-pci: EHCI PCI platform driver [ 13.102920][ T1] ehci-orion: EHCI orion driver [ 13.107880][ T1] orion-ehci f1050000.ehci: EHCI Host Controller [ 13.114161][ T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1 [ 13.122779][ T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000 [ 13.150114][ T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00 [ 13.157183][ T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02 [ 13.166232][ T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 13.174213][ T1] usb usb1: Product: EHCI Host Controller [ 13.179821][ T1] usb usb1: Manufacturer: Linux 5.2.9-kirkwood-tld-1 ehci_hcd [ 13.187196][ T1] usb usb1: SerialNumber: f1050000.ehci [ 13.193379][ T1] hub 1-0:1.0: USB hub found [ 13.197909][ T1] hub 1-0:1.0: 1 port detected [ 13.203457][ T1] usbcore: registered new interface driver usb-storage [ 13.210725][ T1] mousedev: PS/2 mouse device common for all mice [ 13.569974][ T15] usb 1-1: new high-speed USB device number 2 using orion-ehci [ 13.848033][ T15] usb 1-1: New USB device found, idVendor=8564, idProduct=1000, bcdDevice= 1.00 [ 13.856991][ T15] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 13.864907][ T15] usb 1-1: Product: Mass Storage Device [ 13.870364][ T15] usb 1-1: Manufacturer: JetFlash [ 13.875267][ T15] usb 1-1: SerialNumber: I3H99W8L [ 13.881121][ T15] usb-storage 1-1:1.0: USB Mass Storage device detected [ 13.888469][ T15] scsi host2: usb-storage 1-1:1.0 [ 14.249972][ T1] rtc-mv f1010300.rtc: internal RTC not ticking [ 14.256300][ T1] i2c /dev entries driver [ 14.267673][ T1] rtc-pcf8563 0-0051: registered as rtc0 [ 14.275075][ T1] device-mapper: uevent: version 1.0.3 [ 14.280810][ T1] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com [ 14.290531][ T1] device-mapper: multipath round-robin: version 1.2.0 loaded [ 14.297792][ T1] device-mapper: multipath queue-length: version 0.2.0 loaded [ 14.305219][ T1] device-mapper: multipath service-time: version 0.3.0 loaded [ 14.312699][ T1] device-mapper: dm-log-userspace: version 1.3.0 loaded [ 14.319525][ T1] device-mapper: raid: Loading target version 1.14.0 [ 14.328165][ T1] hidraw: raw HID events driver (C) Jiri Kosina [ 14.334743][ T1] drop_monitor: Initializing network drop monitor service [ 14.342153][ T1] NET: Registered protocol family 17 [ 14.347608][ T1] Key type dns_resolver registered [ 14.353701][ T1] registered taskstats version 1 [ 14.358517][ T1] Loading compiled-in X.509 certificates [ 14.364159][ T1] zswap: loaded using pool lzo/zbud [ 14.479660][ T1] Key type big_key registered [ 14.534591][ T1] Key type encrypted registered [ 14.543260][ T1] rtc-pcf8563 0-0051: setting system clock to 2020-02-27T03:17:13 UTC (1582773433) [ 14.556930][ T1] Freeing unused kernel memory: 1024K [ 14.590623][ T1] Checked W+X mappings: passed, no W+X pages found [ 14.597019][ T1] Run /init as init process Loading, please wait... Starting version 241 [ 14.972424][ T23] scsi 2:0:0:0: Direct-Access JetFlash Transcend 2GB 8.07 PQ: 0 ANSI: 2 [ 14.996856][ T7] sd 2:0:0:0: [sda] 3948544 512-byte logical blocks: (2.02 GB/1.88 GiB) [ 15.021605][ T7] sd 2:0:0:0: [sda] Write Protect is off [ 15.042991][ T7] sd 2:0:0:0: [sda] No Caching mode page found [ 15.049045][ T7] sd 2:0:0:0: [sda] Assuming drive cache: write through [ 15.529034][ T7] sda: sda1 [ 15.544720][ T7] sd 2:0:0:0: [sda] Attached SCSI removable disk [ 15.766892][ T164] usbcore: registered new interface driver uas 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: Will now check root file system ... fsck from util-linux 2.33.1 [/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1 rootfs: clean, 15090/123392 files, 166605/493056 blocks done. [ 27.083729][ T188] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem [ 27.134212][ T188] 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.93 booting [info] Using makefile-style concurrent boot in runlevel S. [ ok ] Starting hotplug events dispatcher: systemd-udevd. [ ok ] Synthesizing the initial hotplug events (subsystems)...done. [ ok ] Synthesizing the initial hotplug events (devices)...done. [....] Waiting for /dev to be fully populated...[ 30.690448][ T368] input: gpio-keys as /devices/platform/gpio-keys/input/input0 [ 30.729725][ T371] systemd-udevd[371]: Using default interface naming scheme 'v240'. [ 30.862705][ T371] systemd-udevd[371]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable. [ 31.104795][ T389] watchdog: f1020300.watchdog-timer: driver supplied timeout (4294967295) out of range [ 31.145710][ T368] lm75 0-0048: hwmon0: sensor 'lm75' [ 31.284795][ T389] watchdog: f1020300.watchdog-timer: falling back to default timeout (21) [ 31.340259][ C0] random: crng init done [ 31.432850][ T389] orion_wdt: Initial timeout 21 sec [ 31.550302][ T391] sd 2:0:0:0: Attached scsi generic sg0 type 0 [ 31.556984][ T370] marvell-cesa f1030000.crypto: CESA device successfully registered [ 31.723500][ T388] systemd-udevd[388]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable. done. [ ok ] Setting hostname to 'debian'...done. [ ok ] Activating swap:. [ 33.171232][ T585] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro [info] Will now check all file systems. fsck from util-linux 2.33.1 Checking all file systems. LABEL=rootfs is mounted [....] Done checking file systems. A log is being saved in /var/log/fsck/checkfs[ ok hat location is writable.. [ ok ] Cleaning up temporary files...[....] Cleaning /tmp...done. [ ok . [ ok ] Will now mount local filesystems:. [ ok ] Will now activate swapfile swap:done. [ ok ] Checking minimum space in /tmp...done. [ ok ] Cleaning up temporary files.... [ ok ] Starting Setting kernel variables: sysctl. [ ok ] Initializing random number generator...done. [....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.1 Copyright 2004-2018 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/eth0/c4:3d:c7:4f:6c:92 Sending on LPF/eth0/c4:3d:c7:4f:6c:92 Sending on Socket/fallback DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6 [ 39.406077][ C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11 DHCPOFFER of 192.168.1.67 from 192.168.1.1 DHCPREQUEST for 192.168.1.67 on eth0 to 255.255.255.255 port 67 DHCPACK of 192.168.1.67 from 192.168.1.1 bound to 192.168.1.67 -- renewal in 12209 seconds. [ 45.916251][ T1138] NET: Registered protocol family 10 [ 45.923775][ T1138] Segment Routing with IPv6 done. [ ok ] Starting RPC port mapper daemon: rpcbind. [ 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... 1349 (syslogd) . ok [....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd... 1376 (klogd) . ok [ ok ] Starting system message bus: dbus. [ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon. [ ok ] Starting NFS common utilities: statd idmapd. [warn] Not starting NFS kernel daemon: no exports. ... (warning). [ ok ] Starting NTP server: ntpd. [ ok ] Starting OpenBSD Secure Shell server: sshd. [ ok ] Running local boot scripts (/etc/rc.local). Debian GNU/Linux 10 debian ttyS0 debian login: root Password: Last login: Wed Feb 26 07:57:19 PST 2020 on ttyS0 Linux debian 5.2.9-kirkwood-tld-1 #1 PREEMPT Sat Aug 17 15:00:56 PDT 2019 armv5tel The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. root@debian:~# root@debian:~# root@debian:~# cat /etc/fw_env.config # MTD device name Device offset Env. size Flash sector size Number of sectors /dev/mtd0 0xc0000 0x20000 0x20000 root@debian:~# cat /proc/mtd dev: size erasesize name mtd0: 00100000 00020000 "uboot" mtd1: 0ff00000 00020000 "root" root@debian:~#
Re: Netgear Stora -loading rootfs Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 February 26, 2020 09:55PM |
Registered: 4 years ago Posts: 39 |
__ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** MARVELL BOARD: RD-88F6281A LE U-Boot 1.1.4 (Sep 4 2009 - 09:36:11) Marvell version: 3.4.14 U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CEE60 Soc: MV88F6281 Rev 3 (DDR2) CPU running @ 1000Mhz L2 running @ 333Mhz SysClock = 333Mhz , TClock = 200Mhz DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6 DRAM CS[0] base 0x00000000 size 64MB DRAM CS[1] base 0x04000000 size 64MB DRAM Total size 128MB 16bit width Flash: 0 kB Addresses 8M - 0M are saved for the U-Boot usage. Mem malloc Initialization (8M - 7M): Done NAND:256 MB CRC in Flash: c9d2c91b, Calculated CRC: c9d2c91b CPU : Marvell Feroceon (Rev 1) Streaming disabled Write allocate disabled Module 0 is RGMII Module 1 is TDM USB 0: host mode PEX 0: interface detected no Link. Net: egiga0, egiga1 [PRIME] Hit any key to stop autoboot: 0 (Re)start USB... USB: scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found .... . ...... ............ ......................... ................................................... ...................................................................................................... ............................................................................................................................................................................................................ .... ....................................................................... 4975179 bytes read .... . ...... ............ ......................... ................................................... ...................................................................................................... ............................................................................................................................................................................................................ .... ......................................................................................................................................................................................................................................................................................................................................................................................................................... ............................................................................................................................ 9713936 bytes read ## Booting image at 00800000 ... Image Name: Linux-5.2.9-kirkwood-tld-1 Created: 2020-02-25 17:35:15 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4975115 Bytes = 4.7 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK ## Loading Ramdisk Image at 02100000 ... Image Name: initramfs-5.2.9-kirkwood-tld-1 Created: 2019-08-25 2:22:50 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 9713872 Bytes = 9.3 MB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000][ T0] Booting Linux on physical CPU 0x0 [ 0.000000][ T0] Linux version 5.2.9-kirkwood-tld-1 (root@tldDebian) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 PREEMPT Sat Aug 17 15:00:56 PDT 2019 [ 0.000000][ T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f [ 0.000000][ T0] CPU: VIVT data cache, VIVT instruction cache [ 0.000000][ T0] OF: fdt: Machine model: NETGEAR MS2000 / MS2110 aka Stora [ 0.000000][ T0] printk: bootconsole [earlycon0] enabled [ 0.000000][ T0] Memory policy: Data cache writeback [ 0.000000][ T0] Built 1 zonelists, mobility grouping on. Total pages: 32512 [ 0.000000][ T0] Kernel command line: console=ttyS0,115200 mtdparts=orion_nand:0x100000@0(uboot),0xff00000@0x100000(root) root=LABEL=rootfs rootdelay=10 earlyprintk=serial [ 0.000000][ T0] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000][ T0] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000][ T0] Memory: 104832K/131072K available (9216K kernel code, 868K rwdata, 3400K rodata, 1024K init, 301K bss, 26240K reserved, 0K cma-reserved) [ 0.000000][ T0] random: get_random_u32 called from cache_alloc_refill+0x38c/0x928 with crng_init=0 [ 0.000000][ T0] rcu: Preemptible hierarchical RCU implementation. [ 0.000000][ T0] Tasks RCU enabled. [ 0.000000][ T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000][ T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000][ T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns [ 0.000010][ T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns [ 0.008527][ T0] Switching to timer-based delay loop, resolution 5ns [ 0.015990][ T0] Console: colour dummy device 80x30 [ 0.021211][ T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000) [ 0.032442][ T0] pid_max: default: 32768 minimum: 301 [ 0.038167][ T0] LSM: Security Framework initializing [ 0.043729][ T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.051079][ T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.059843][ T0] *** VALIDATE proc *** [ 0.064133][ T0] *** VALIDATE cgroup1 *** [ 0.068405][ T0] *** VALIDATE cgroup2 *** [ 0.072810][ T0] CPU: Testing write buffer coherency: ok [ 0.080387][ T1] Setting up static identity map for 0x100000 - 0x100058 [ 0.087571][ T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3 [ 0.093771][ T1] rcu: Hierarchical SRCU implementation. [ 0.103159][ T1] devtmpfs: initialized [ 0.114018][ T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.124605][ T1] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.131755][ T1] xor: measuring software checksum speed [ 0.228557][ T1] arm4regs : 902.400 MB/sec [ 0.328560][ T1] 8regs : 542.000 MB/sec [ 0.428552][ T1] 32regs : 787.600 MB/sec [ 0.433416][ T1] xor: using function: arm4regs (902.400 MB/sec) [ 0.439621][ T1] prandom: seed boundary self test passed [ 0.450242][ T1] prandom: 100 self tests passed [ 0.455024][ T1] pinctrl core: initialized pinctrl subsystem [ 0.462679][ T1] NET: Registered protocol family 16 [ 0.468502][ T1] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.477077][ T1] audit: initializing netlink subsys (disabled) [ 0.484645][ T14] audit: type=2000 audit(0.470:1): state=initialized audit_enabled=0 res=1 [ 0.493220][ T1] cpuidle: using governor ladder [ 0.498088][ T1] cpuidle: using governor menu [ 0.503423][ T1] Feroceon L2: Enabling L2 [ 0.507724][ T1] Feroceon L2: Cache support initialised. [ 0.520488][ T1] No ATAGs? [ 2.568534][ C0] random: fast init done [ 7.679399][ T71] alg: No test for lzo-rle (lzo-rle-generic) [ 7.685621][ T73] alg: No test for lzo-rle (lzo-rle-scomp) [ 7.869293][ T1] raid6: int32x8 gen() 106 MB/s [ 8.038947][ T1] raid6: int32x8 xor() 72 MB/s [ 8.208661][ T1] raid6: int32x4 gen() 107 MB/s [ 8.378723][ T1] raid6: int32x4 xor() 69 MB/s [ 8.548851][ T1] raid6: int32x2 gen() 110 MB/s [ 8.718622][ T1] raid6: int32x2 xor() 78 MB/s [ 8.889008][ T1] raid6: int32x1 gen() 83 MB/s [ 9.058679][ T1] raid6: int32x1 xor() 57 MB/s [ 9.063621][ T1] raid6: using algorithm int32x2 gen() 110 MB/s [ 9.069705][ T1] raid6: .... xor() 78 MB/s, rmw enabled [ 9.075164][ T1] raid6: using intx1 recovery algorithm [ 9.080851][ T1] vgaarb: loaded [ 9.084850][ T1] SCSI subsystem initialized [ 9.089916][ T1] usbcore: registered new interface driver usbfs [ 9.096135][ T1] usbcore: registered new interface driver hub [ 9.102272][ T1] usbcore: registered new device driver usb [ 9.108203][ T1] pps_core: LinuxPPS API ver. 1 registered [ 9.113865][ T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 9.123687][ T1] PTP clock support registered [ 9.129928][ T1] clocksource: Switched to clocksource orion_clocksource [ 10.381981][ T1] VFS: Disk quotas dquot_6.6.0 [ 10.386676][ T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 10.406182][ T1] NET: Registered protocol family 2 [ 10.412250][ T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes) [ 10.420678][ T1] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 10.428318][ T1] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 10.435411][ T1] TCP: Hash tables configured (established 1024 bind 1024) [ 10.442588][ T1] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 10.449108][ T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 10.456347][ T1] NET: Registered protocol family 1 [ 10.462176][ T1] RPC: Registered named UNIX socket transport module. [ 10.468762][ T1] RPC: Registered udp transport module. [ 10.474230][ T1] RPC: Registered tcp transport module. [ 10.479605][ T1] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 10.486740][ T1] PCI: CLS 0 bytes, default 32 [ 10.491643][ T1] Trying to unpack rootfs image as initramfs... [ 11.503706][ T1] Freeing initrd memory: 9488K [ 11.508564][ T1] NetWinder Floating Point Emulator V0.97 (double precision) [ 11.517298][ T1] Initialise system trusted keyrings [ 11.522513][ T1] Key type blacklist registered [ 11.527446][ T1] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 11.534764][ T1] zbud: loaded [ 11.539295][ T1] NFS: Registering the id_resolver key type [ 11.545154][ T1] Key type id_resolver registered [ 11.550073][ T1] Key type id_legacy registered [ 11.554775][ T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 11.562172][ T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 11.569533][ T1] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 11.577558][ T1] fuse: init (API version 7.31) [ 11.582737][ T1] orangefs_debugfs_init: called with debug mask: :none: :0: [ 11.590100][ T1] orangefs_init: module version upstream loaded [ 11.596170][ T1] SGI XFS with ACLs, security attributes, realtime, scrub, no debug enabled [ 11.625291][ T1] async_tx: api initialized (async) [ 11.630479][ T1] Key type asymmetric registered [ 11.635249][ T1] Asymmetric key parser 'x509' registered [ 11.640949][ T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246) [ 11.650867][ T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver [ 11.661260][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00 [ 11.669500][ T1] pci_bus 0000:00: root bus resource [bus 00-ff] [ 11.675750][ T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff] [ 11.683351][ T1] pci_bus 0000:00: root bus resource [io 0x1000-0xeffff] [ 11.690437][ T1] pci 0000:00:01.0: [11ab:6281] type 01 class 0x060400 [ 11.697144][ T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref] [ 11.706152][ T1] PCI: bus0: Fast back to back transfers disabled [ 11.712452][ T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 11.722666][ T1] PCI: bus1: Fast back to back transfers enabled [ 11.728838][ T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 11.736379][ T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0000000-0xe00007ff pref] [ 11.744299][ T1] pci 0000:00:01.0: PCI bridge to [bus 01] [ 11.750690][ T1] mv_xor f1060800.xor: Marvell shared XOR driver [ 11.810926][ T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 11.821344][ T1] mv_xor f1060900.xor: Marvell shared XOR driver [ 11.890923][ T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 11.901678][ T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 11.910298][ T1] printk: console [ttyS0] disabled [ 11.915315][ T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A [ 11.925048][ T1] printk: console [ttyS0] enabled [ 11.925048][ T1] printk: console [ttyS0] enabled [ 11.934908][ T1] printk: bootconsole [earlycon0] disabled [ 11.934908][ T1] printk: bootconsole [earlycon0] disabled [ 11.955613][ T1] loop: module loaded [ 11.960226][ T1] sata_mv f1080000.sata: slots 32 ports 2 [ 11.969195][ T1] scsi host0: sata_mv [ 11.973852][ T1] scsi host1: sata_mv [ 11.978071][ T1] ata1: SATA max UDMA/133 irq 33 [ 11.982965][ T1] ata2: SATA max UDMA/133 irq 33 [ 11.988938][ T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xda [ 11.996187][ T1] nand: Samsung NAND 256MiB 3,3V 8-bit [ 12.001560][ T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 12.009877][ T1] Scanning device for bad blocks [ 12.071098][ T1] Bad eraseblock 526 at 0x0000041c0000 [ 12.076604][ T1] Bad eraseblock 528 at 0x000004200000 [ 12.082023][ T1] Bad eraseblock 529 at 0x000004220000 [ 12.087413][ T1] Bad eraseblock 530 at 0x000004240000 [ 12.137136][ T1] Bad eraseblock 945 at 0x000007620000 [ 12.142556][ T1] Bad eraseblock 946 at 0x000007640000 [ 12.147947][ T1] Bad eraseblock 947 at 0x000007660000 [ 12.256853][ T1] Bad eraseblock 1912 at 0x00000ef00000 [ 12.276833][ T1] 2 cmdlinepart partitions found on MTD device orion_nand [ 12.283880][ T1] Creating 2 MTD partitions on "orion_nand": [ 12.289779][ T1] 0x000000000000-0x000000100000 : "uboot" [ 12.297043][ T1] 0x000000100000-0x000010000000 : "root" [ 12.306658][ T1] libphy: Fixed MDIO Bus: probed [ 12.311573][ T112] ata1: SATA link down (SStatus 0 SControl F300) [ 12.318787][ T1] libphy: orion_mdio_bus: probed [ 12.323704][ T1] [Firmware Warn]: /ocp@f1000000/mdio-bus@72004/ethernet-phy@8: Whitelisted compatible string. Please remove [ 12.352400][ T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4 [ 12.360588][ T1] mv643xx_eth_port mv643xx_eth_port.0: DMA mask not set [ 12.661616][ T114] ata2: SATA link down (SStatus 0 SControl F300) [ 13.080715][ T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address c4:3d:c7:4f:6c:92 [ 13.090366][ T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 13.097653][ T1] ehci-pci: EHCI PCI platform driver [ 13.102920][ T1] ehci-orion: EHCI orion driver [ 13.107880][ T1] orion-ehci f1050000.ehci: EHCI Host Controller [ 13.114161][ T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1 [ 13.122779][ T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000 [ 13.150114][ T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00 [ 13.157183][ T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02 [ 13.166232][ T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 13.174213][ T1] usb usb1: Product: EHCI Host Controller [ 13.179821][ T1] usb usb1: Manufacturer: Linux 5.2.9-kirkwood-tld-1 ehci_hcd [ 13.187196][ T1] usb usb1: SerialNumber: f1050000.ehci [ 13.193379][ T1] hub 1-0:1.0: USB hub found [ 13.197909][ T1] hub 1-0:1.0: 1 port detected [ 13.203457][ T1] usbcore: registered new interface driver usb-storage [ 13.210725][ T1] mousedev: PS/2 mouse device common for all mice [ 13.569974][ T15] usb 1-1: new high-speed USB device number 2 using orion-ehci [ 13.848033][ T15] usb 1-1: New USB device found, idVendor=8564, idProduct=1000, bcdDevice= 1.00 [ 13.856991][ T15] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 13.864907][ T15] usb 1-1: Product: Mass Storage Device [ 13.870364][ T15] usb 1-1: Manufacturer: JetFlash [ 13.875267][ T15] usb 1-1: SerialNumber: I3H99W8L [ 13.881121][ T15] usb-storage 1-1:1.0: USB Mass Storage device detected [ 13.888469][ T15] scsi host2: usb-storage 1-1:1.0 [ 14.249972][ T1] rtc-mv f1010300.rtc: internal RTC not ticking [ 14.256300][ T1] i2c /dev entries driver [ 14.267673][ T1] rtc-pcf8563 0-0051: registered as rtc0 [ 14.275075][ T1] device-mapper: uevent: version 1.0.3 [ 14.280810][ T1] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com [ 14.290531][ T1] device-mapper: multipath round-robin: version 1.2.0 loaded [ 14.297792][ T1] device-mapper: multipath queue-length: version 0.2.0 loaded [ 14.305219][ T1] device-mapper: multipath service-time: version 0.3.0 loaded [ 14.312699][ T1] device-mapper: dm-log-userspace: version 1.3.0 loaded [ 14.319525][ T1] device-mapper: raid: Loading target version 1.14.0 [ 14.328165][ T1] hidraw: raw HID events driver (C) Jiri Kosina [ 14.334743][ T1] drop_monitor: Initializing network drop monitor service [ 14.342153][ T1] NET: Registered protocol family 17 [ 14.347608][ T1] Key type dns_resolver registered [ 14.353701][ T1] registered taskstats version 1 [ 14.358517][ T1] Loading compiled-in X.509 certificates [ 14.364159][ T1] zswap: loaded using pool lzo/zbud [ 14.479660][ T1] Key type big_key registered [ 14.534591][ T1] Key type encrypted registered [ 14.543260][ T1] rtc-pcf8563 0-0051: setting system clock to 2020-02-27T03:17:13 UTC (1582773433) [ 14.556930][ T1] Freeing unused kernel memory: 1024K [ 14.590623][ T1] Checked W+X mappings: passed, no W+X pages found [ 14.597019][ T1] Run /init as init process Loading, please wait... Starting version 241 [ 14.972424][ T23] scsi 2:0:0:0: Direct-Access JetFlash Transcend 2GB 8.07 PQ: 0 ANSI: 2 [ 14.996856][ T7] sd 2:0:0:0: [sda] 3948544 512-byte logical blocks: (2.02 GB/1.88 GiB) [ 15.021605][ T7] sd 2:0:0:0: [sda] Write Protect is off [ 15.042991][ T7] sd 2:0:0:0: [sda] No Caching mode page found [ 15.049045][ T7] sd 2:0:0:0: [sda] Assuming drive cache: write through [ 15.529034][ T7] sda: sda1 [ 15.544720][ T7] sd 2:0:0:0: [sda] Attached SCSI removable disk [ 15.766892][ T164] usbcore: registered new interface driver uas 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: Will now check root file system ... fsck from util-linux 2.33.1 [/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1 rootfs: clean, 15090/123392 files, 166605/493056 blocks done. [ 27.083729][ T188] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem [ 27.134212][ T188] 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.93 booting [info] Using makefile-style concurrent boot in runlevel S. [ ok ] Starting hotplug events dispatcher: systemd-udevd. [ ok ] Synthesizing the initial hotplug events (subsystems)...done. [ ok ] Synthesizing the initial hotplug events (devices)...done. [....] Waiting for /dev to be fully populated...[ 30.690448][ T368] input: gpio-keys as /devices/platform/gpio-keys/input/input0 [ 30.729725][ T371] systemd-udevd[371]: Using default interface naming scheme 'v240'. [ 30.862705][ T371] systemd-udevd[371]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable. [ 31.104795][ T389] watchdog: f1020300.watchdog-timer: driver supplied timeout (4294967295) out of range [ 31.145710][ T368] lm75 0-0048: hwmon0: sensor 'lm75' [ 31.284795][ T389] watchdog: f1020300.watchdog-timer: falling back to default timeout (21) [ 31.340259][ C0] random: crng init done [ 31.432850][ T389] orion_wdt: Initial timeout 21 sec [ 31.550302][ T391] sd 2:0:0:0: Attached scsi generic sg0 type 0 [ 31.556984][ T370] marvell-cesa f1030000.crypto: CESA device successfully registered [ 31.723500][ T388] systemd-udevd[388]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable. done. [ ok ] Setting hostname to 'debian'...done. [ ok ] Activating swap:. [ 33.171232][ T585] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro [info] Will now check all file systems. fsck from util-linux 2.33.1 Checking all file systems. LABEL=rootfs is mounted [....] Done checking file systems. A log is being saved in /var/log/fsck/checkfs[ ok hat location is writable.. [ ok ] Cleaning up temporary files...[....] Cleaning /tmp...done. [ ok . [ ok ] Will now mount local filesystems:. [ ok ] Will now activate swapfile swap:done. [ ok ] Checking minimum space in /tmp...done. [ ok ] Cleaning up temporary files.... [ ok ] Starting Setting kernel variables: sysctl. [ ok ] Initializing random number generator...done. [....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.1 Copyright 2004-2018 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/eth0/c4:3d:c7:4f:6c:92 Sending on LPF/eth0/c4:3d:c7:4f:6c:92 Sending on Socket/fallback DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6 [ 39.406077][ C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11 DHCPOFFER of 192.168.1.67 from 192.168.1.1 DHCPREQUEST for 192.168.1.67 on eth0 to 255.255.255.255 port 67 DHCPACK of 192.168.1.67 from 192.168.1.1 bound to 192.168.1.67 -- renewal in 12209 seconds. [ 45.916251][ T1138] NET: Registered protocol family 10 [ 45.923775][ T1138] Segment Routing with IPv6 done. [ ok ] Starting RPC port mapper daemon: rpcbind. [ 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... 1349 (syslogd) . ok [....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd... 1376 (klogd) . ok [ ok ] Starting system message bus: dbus. [ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon. [ ok ] Starting NFS common utilities: statd idmapd. [warn] Not starting NFS kernel daemon: no exports. ... (warning). [ ok ] Starting NTP server: ntpd. [ ok ] Starting OpenBSD Secure Shell server: sshd. [ ok ] Running local boot scripts (/etc/rc.local). Debian GNU/Linux 10 debian ttyS0 debian login: root Password: Last login: Wed Feb 26 07:57:19 PST 2020 on ttyS0 Linux debian 5.2.9-kirkwood-tld-1 #1 PREEMPT Sat Aug 17 15:00:56 PDT 2019 armv5tel The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. root@debian:~# root@debian:~# root@debian:~# cat /etc/fw_env.config # MTD device name Device offset Env. size Flash sector size Number of sectors /dev/mtd0 0xc0000 0x20000 0x20000 root@debian:~# cat /proc/mtd dev: size erasesize name mtd0: 00100000 00020000 "uboot" mtd1: 0ff00000 00020000 "root" root@debian:~# fw_printenv ethaddr Warning: Bad CRC, using default environment ethaddr=00:00:11:22:33:44 root@debian:~# nanddump --noecc --omitoob -l 0x80000 -f mtd0 /dev/mtd0 Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x00080000... root@debian:~# fw_printenv > current_envs.txt Warning: Bad CRC, using default environment root@debian:~# dmesg | grep -i 'bad' [ 12.009877] Scanning device for bad blocks [ 12.071098] Bad eraseblock 526 at 0x0000041c0000 [ 12.076604] Bad eraseblock 528 at 0x000004200000 [ 12.082023] Bad eraseblock 529 at 0x000004220000 [ 12.087413] Bad eraseblock 530 at 0x000004240000 [ 12.137136] Bad eraseblock 945 at 0x000007620000 [ 12.142556] Bad eraseblock 946 at 0x000007640000 [ 12.147947] Bad eraseblock 947 at 0x000007660000 [ 12.256853] Bad eraseblock 1912 at 0x00000ef00000 root@debian:~#
Re: Netgear Stora -loading rootfs Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 February 26, 2020 10:21PM |
Registered: 4 years ago Posts: 39 |
Re: Netgear Stora -loading rootfs Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 February 27, 2020 12:22AM |
Admin Registered: 13 years ago Posts: 18,575 |
printenv ethaddr
Re: Netgear Stora -loading rootfs Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 February 27, 2020 12:23AM |
Admin Registered: 13 years ago Posts: 18,575 |
Re: Netgear Stora -loading rootfs Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 February 27, 2020 03:45AM |
Registered: 4 years ago Posts: 39 |
root@debian:~# cd /boot root@debian:/boot# ls . .. System.map-5.2.9-kirkwood-tld-1 config-5.2.9-kirkwood-tld-1 dts initrd.img-5.2.9-kirkwood-tld-1 linux-headers-5.2.9-kirkwood-tld-1_1.0_armel.deb uImage uImage.orig uInitrd uboot.2017.07-tld-1.netgear_ms2110.bodhi.tar vmlinuz-5.2.9-kirkwood-tld-1 zImage-5.2.9-kirkwood-tld-1 zImage.fd zImage.fdt root@debian:/boot# tar -xf uboot.2017.07-tld-1.netgear_ms2110.bodhi.tar root@debian:/boot# flash_erase /dev/mtd0 0 4 Erasing 128 Kibyte @ 60000 -- 100 % complete root@debian:/boot# nandwrite /dev/mtd0 uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb Writing data to block 0 at offset 0x0 Writing data to block 1 at offset 0x20000 Writing data to block 2 at offset 0x40000 Writing data to block 3 at offset 0x60000 root@debian:/boot#Please note the results in paragraph 6 of the instruction they differ from the reference. Paragraph 7 was all in line with the standard. While I wait for your opinion
Re: Netgear Stora -loading rootfs Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 February 27, 2020 04:05AM |
Admin Registered: 13 years ago Posts: 18,575 |
Re: Netgear Stora -loading rootfs Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 February 27, 2020 04:59AM |
Registered: 4 years ago Posts: 39 |
root@debian:~# free total used free shared buff/cache available Mem: 115344 14472 56452 280 44420 95440 Swap: 0 0 0 root@debian:~# cd /boot root@debian:/boot# tar -xf uboot.2016.05-tld-1.environment.bodhi.tar -C /tmp root@debian:/boot# cd root@debian:~# cd /tmp root@debian:/tmp# ls . uboot.2016.05-tld-1.environment.64K.img .. uboot.2016.05-tld-1.environment.img uboot.2016.05-tld-1.environment root@debian:/tmp# cd root@debian:~# fw_printenv > current_envs.txt Warning: Bad CRC, using default environment root@debian:~# fw_printenv > current_envs.txt Warning: Bad CRC, using default environment root@debian:~# /usr/sbin/flash_erase /dev/mtd0 0xc0000 1 Erasing 128 Kibyte @ c0000 -- 100 % complete root@debian:~# /usr/sbin/nandwrite -s 786432 /dev/mtd0 uboot.2016.05-tld-1.environment.img uboot.2016.05-tld-1.environment.img: No such file or directory nandwrite: error!: Data was only partially written due to error error 9 (Bad file descriptor) root@debian:~# fw_setenv arcNumber 2743 Warning: Bad CRC, using default environment root@debian:~# fw_setenv machid root@debian:~# cat current_envs.txt bootcmd=run distro_bootcmd bootdelay=2 baudrate=115200 stdin=serial,cros-ec-keyb,usbkbd stdout=serial,vidconsole stderr=serial,vidconsole ethaddr=00:00:11:22:33:44 eth1addr=00:00:11:22:33:45 eth3addr=00:00:11:22:33:46 eth5addr=00:00:11:22:33:47 ipaddr=1.2.3.4 host_boot=if host dev ${devnum}; then setenv devtype host; run scan_dev_for_boot_part; fi sata_boot=if sata dev ${devnum}; then setenv devtype sata; run scan_dev_for_boot_part; fi scsi_init=if ${scsi_need_init}; then setenv scsi_need_init false; scsi scan; fi scsi_boot=run scsi_init; if scsi dev ${devnum}; then setenv devtype scsi; run scan_dev_for_boot_part; fi virtio_boot=if virtio dev ${devnum}; then setenv devtype virtio; run scan_dev_for_boot_part; fi boot_prefixes=/ /boot/ boot_scripts=boot.scr.uimg boot.scr boot_script_dhcp=boot.scr.uimg boot_targets=host1 host0 boot_syslinux_conf=extlinux/extlinux.conf boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}${boot_syslinux_conf} scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${boot_syslinux_conf}; then echo Found ${prefix}${boot_syslinux_conf}; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr} scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done; scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done bootcmd_host1=setenv devnum 1; run host_boot bootcmd_host0=setenv devnum 0; run host_boot distro_bootcmd=setenv scsi_need_init; for target in ${boot_targets}; do run bootcmd_${target}; done bootm_size=0x10000000 kernel_addr_r=0x1000000 fdt_addr_r=0xc00000 ramdisk_addr_r=0x2000000 scriptaddr=0x1000 pxefile_addr_r=0x2000 root@debian:~#
Starting from here, I can 't do anything. In the fileQuote
c. Save current envs with fw_printenv, or just copy/paste the listing into a text file.
fw_printenv > current_envs.txt
Quote
current_envs.txt
I will not find a valueI will have to insert this value further. How to pass it?Quote
fw_setenv mtdparts 'xxxxxxxxx'
Re: Netgear Stora -loading rootfs Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 February 27, 2020 06:02AM |
Registered: 4 years ago Posts: 39 |
Re: Netgear Stora -loading rootfs Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 February 27, 2020 05:42PM |
Admin Registered: 13 years ago Posts: 18,575 |
Quote
> root@debian:/boot# tar -xf uboot.2016.05-tld-1.environment.bodhi.tar -C /tmp
cd /boot tar -xf uboot.2016.05-tld-1.environment.bodhi.tar
Quote
> root@debian:~# fw_printenv > current_envs.txt
> Warning: Bad CRC, using default environment
Quote
> root@debian:~# /usr/sbin/flash_erase /dev/mtd0
> 0xc0000 1
> Erasing 128 Kibyte @ c0000 -- 100 % complete
cd /boot /usr/sbin/nandwrite -s 786432 /dev/mtd0 uboot.2016.05-tld-1.environment.img
fw_setenv mtdparts 'mtdparts=orion_nand:0x100000@0(uboot),0xff00000@0x100000(root)'
Re: Netgear Stora -loading rootfs Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 February 27, 2020 11:12PM |
Registered: 4 years ago Posts: 39 |
U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:38:05 -0700) Netgear Stora MS2110 SoC: Kirkwood 88F6281_A1 DRAM: 128 MiB WARNING: Caches not enabled NAND: 256 MiB In: serial Out: serial Err: serial Net: egiga0 PHY reset timed out 88E1116 Initialized on egiga0 Hit any key to stop autoboot: 0 Unknown command 'host' - try 'help' Unknown command 'host' - try 'help' Netgear Stora> help Unknown command 'е' - try 'help' Netgear Stora> try 'help' Unknown command 'try' - try 'help' Netgear Stora> boot Unknown command 'host' - try 'help' Unknown command 'host' - try 'help' Netgear Stora> reboot Unknown command 'reboot' - try 'help' Netgear Stora> help ? - alias for 'help' base - print or set address offset bdinfo - print Board Info structure boot - boot default, i.e., run 'bootcmd' bootd - boot default, i.e., run 'bootcmd' bootefi - Boots an EFI payload from memory bootelf - Boot from an ELF image in memory bootm - boot application image from memory bootp - boot image via network using BOOTP/TFTP protocol bootvx - Boot vxWorks from an ELF image bootz - boot Linux zImage image from memory chpart - change active partition cmp - memory compare coninfo - print console devices and information cp - memory copy crc32 - checksum calculation date - get/set/reset date & time dhcp - boot image via network using DHCP/TFTP protocol diskboot- boot from IDE device dns - lookup the IP of a hostname echo - echo args to console editenv - edit environment variable env - environment handling commands exit - exit script ext2load- load binary file from a Ext2 filesystem ext2ls - list files in a directory (default /) ext4load- load binary file from a Ext4 filesystem ext4ls - list files in a directory (default /) ext4size- determine a file's size false - do nothing, unsuccessfully fatinfo - print information about filesystem fatload - load binary file from a dos filesystem fatls - list files in a directory (default /) fatsize - determine a file's size fdt - flattened device tree utility commands fsinfo - print information about jffs filesystems fsload - load binary file from a jffs filesystem image fsls - list jffs files in a directory (default /) fstype - Look up a filesystem type go - start application at address 'addr' gpio - query and control gpio pins gpt - GUID Partition Table help - print command description/usage ide - IDE sub-system iminfo - print header information for application image imxtract- extract a part of a multi-image itest - return true/false on integer compare load - load binary file from a filesystem loadb - load binary file over serial line (kermit mode) loads - load S-Record file over serial line loadx - load binary file over serial line (xmodem mode) loady - load binary file over serial line (ymodem mode) loop - infinite loop on address range ls - list files in a directory (default /) md - memory display mii - MII utility commands mm - memory modify (auto-incrementing address) mtdparts- define flash/nand partitions mw - memory write (fill) nand - NAND sub-system nboot - boot from NAND device nfs - boot image via network using NFS protocol nm - memory modify (constant address) ping - send ICMP ECHO_REQUEST to network host printenv- print environment variables reset - Perform RESET of the CPU run - run commands in an environment variable save - save file to a filesystem saveenv - save environment variables to persistent storage setenv - set environment variables setexpr - set environment variable as the result of eval expression showvar - print local hushshell variables size - determine a file's size sleep - delay execution for some time sntp - synchronize RTC via network source - run script from memory test - minimal test like /bin/sh tftpboot- boot image via network using TFTP protocol true - do nothing, successfully ubi - ubi commands ubifsload- load file from an UBIFS filesystem ubifsls - list files in a directory ubifsmount- mount UBIFS volume ubifsumount- unmount UBIFS volume usb - USB sub-system usbboot - boot from USB device version - print monitor, compiler and linker version Netgear Stora> boot from USB device boot - boot default, i.e., run 'bootcmd' Usage: boot Netgear Stora> bootm Wrong Image Format for bootm command ERROR: can't get kernel image! Netgear Stora> bootelf ## No elf image at address 0x00800000 Netgear Stora> bootefi bootefi - Boots an EFI payload from memory Usage: bootefi <image address> [fdt address] - boot EFI payload stored at address <image address>. If specified, the device tree located at <fdt address> gets exposed as EFI configuration table. Netgear Stora> bootz Bad Linux ARM zImage magic! Netgear Stora>Hello. Here happened a bad moment for me. Stora doesn 't boot at all. Tried a few spopobs at random the result is negative. I wait for the hint.[quote
Executed on another linux computer. It doesn 't load anyway.Quote
Don't extract to temp, extract to /boot
cd /boot
tar -xf uboot.2016.05-tld-1.environment.bodhi.tar
Re: Netgear Stora -loading rootfs Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 February 28, 2020 12:17AM |
Admin Registered: 13 years ago Posts: 18,575 |
printenvAnd then go ahead and boot
boot
Re: Netgear Stora -loading rootfs Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 February 28, 2020 02:18AM |
Registered: 4 years ago Posts: 39 |
Re: Netgear Stora -loading rootfs Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 February 28, 2020 05:39PM |
Admin Registered: 13 years ago Posts: 18,575 |
printenv
Re: Netgear Stora -loading rootfs Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 February 28, 2020 10:36PM |
Registered: 4 years ago Posts: 39 |
That 's more detailed, I don 't know how to understand that? Connecting the serial console is clear. Nothing is empty on the screen at this time. Well I count up to 10 starting one two three, etc still the screen does not come to life, and I interrupt loading by pressing any key, with an empty screen, ine can enter < printenv > since the console is dead.Or do I not understand correctly?Quote
With serial console connected, power up, and interrupt serial console at countdown, and
Re: Netgear Stora -loading rootfs Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 February 28, 2020 11:20PM |
Admin Registered: 13 years ago Posts: 18,575 |
Hit any key to stop autoboot: 0
Netgear Stora>
printenv
Re: Netgear Stora -loading rootfs Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 February 29, 2020 05:04AM |
Registered: 4 years ago Posts: 39 |
U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:38:05 -0700) Netgear Stora MS2110 SoC: Kirkwood 88F6281_A1 DRAM: 128 MiB WARNING: Caches not enabled NAND: 256 MiB In: serial Out: serial Err: serial Net: egiga0 PHY reset timed out 88E1116 Initialized on egiga0 Hit any key to stop autoboot: 0 Unknown command 'host' - try 'help' Unknown command 'host' - try 'help' Netgear Stora> printenv arcNumber=2743 baudrate=115200 boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr} boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}${boot_syslinux_conf} boot_prefixes=/ /boot/ boot_script_dhcp=boot.scr.uimg boot_scripts=boot.scr.uimg boot.scr boot_syslinux_conf=extlinux/extlinux.conf boot_targets=host1 host0 bootcmd=run distro_bootcmd bootcmd_host0=setenv devnum 0; run host_boot bootcmd_host1=setenv devnum 1; run host_boot bootdelay=2 bootm_size=0x10000000 devnum=0 distro_bootcmd=setenv scsi_need_init; for target in ${boot_targets}; do run bootcmd_${target}; done eth1addr=00:00:11:22:33:45 eth3addr=00:00:11:22:33:46 eth5addr=00:00:11:22:33:47 ethact=egiga0 ethaddr=00:00:11:22:33:44 fdt_addr_r=0xc00000 host_boot=if host dev ${devnum}; then setenv devtype host; run scan_dev_for_boot_part; fi ipaddr=1.2.3.4 kernel_addr_r=0x1000000 pxefile_addr_r=0x2000 ramdisk_addr_r=0x2000000 sata_boot=if sata dev ${devnum}; then setenv devtype sata; run scan_dev_for_boot_part; fi scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done; scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${boot_syslinux_conf}; then echo Found ${prefix}${boot_syslinux_conf}; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done scriptaddr=0x1000 scsi_boot=run scsi_init; if scsi dev ${devnum}; then setenv devtype scsi; run scan_dev_for_boot_part; fi scsi_init=if ${scsi_need_init}; then setenv scsi_need_init false; scsi scan; fi stderr=serial stdin=serial stdout=serial virtio_boot=if virtio dev ${devnum}; then setenv devtype virtio; run scan_dev_for_boot_part; fi Environment size: 2373/131068 bytes Netgear Stora>At last that turned out. Let 's start as you say to me in the last post, we won 't be in a hurry. And the reason for my excitement was because I had something happen to the usb-ttl converter. In general, no information was displayed, no connection to the serial console took place. Changed usb-ttl for a new one and everything got in its place.While waiting for your decision, what to do next?
Re: Netgear Stora -loading rootfs Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 February 29, 2020 05:37AM |
Admin Registered: 13 years ago Posts: 18,575 |
Re: Netgear Stora -loading rootfs Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 February 29, 2020 05:45PM |
Admin Registered: 13 years ago Posts: 18,575 |
env default -a
printenv
boot
Re: Netgear Stora -loading rootfs Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 February 29, 2020 10:29PM |
Registered: 4 years ago Posts: 39 |
U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:38:05 -0700) Netgear Stora MS2110 SoC: Kirkwood 88F6281_A1 DRAM: 128 MiB WARNING: Caches not enabled NAND: 256 MiB In: serial Out: serial Err: serial Net: egiga0 PHY reset timed out 88E1116 Initialized on egiga0 Hit any key to stop autoboot: 0 Netgear Stora> env default -a ## Resetting to default environment Netgear Stora> printenv arcNumber=2743 baudrate=115200 bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; reset 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 disks=0 1 2 3 dtb_file=/boot/dts/kirkwood-netgear_stora_ms2000 ethact=egiga0 ethaddr=52:3b:20:9c:11:51 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 ...; load $bootdev $device $load_dtb_addr $dtb_file load_dtb_addr=0x1c00000 load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd load_initrd_addr=0x1100000 load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage load_uimage_addr=0x800000 mainlineLinux=yes mtdids=nand0=orion_nand mtdparts=mtdparts=orion_nand:1m(uboot),4m@1m(kernel),251m@5m(rootfs) rw 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 serverip=192.168.0.220 set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version; stderr=serial stdin=serial stdout=serial uenv_addr=0x810000 uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize uenv_init_devices=setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done; uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in 0; do run uenv_read_disk; done; done; uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; fi uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi usb_ready_retry=15 Environment size: 2905/131068 bytes Netgear Stora> boot starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... Use USB retry period from the environment: 15 second(s) 1 Storage Device(s) found Reset IDE: ide_preinit failed Partition Map for USB device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 3944448 dc08cbef-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 ** no IDE devices available running scan_disk ... Scan device usb device usb 0:1 1 bytes read in 1084 ms (0 Bytes/s) Found bootable drive on usb 0 loading uImage ... 4975179 bytes read in 1058 ms (4.5 MiB/s) loading uInitrd ... 9713936 bytes read in 1049 ms (8.8 MiB/s) loading DTB /boot/dts/kirkwood-netgear_stora_ms2000 ... ** File not found /boot/dts/kirkwood-netgear_stora_ms2000 ** ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-5.2.9-kirkwood-tld-1 Created: 2020-02-25 17:35:15 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4975115 Bytes = 4.7 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-5.2.9-kirkwood-tld-1 Created: 2019-08-25 2:22:50 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 9713872 Bytes = 9.3 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Loading Kernel Image ... OK Loading Ramdisk to 036bc000, end 03fff8d0 ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000][ T0] Booting Linux on physical CPU 0x0 [ 0.000000][ T0] Linux version 5.2.9-kirkwood-tld-1 (root@tldDebian) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 PREEMPT Sat Aug 17 15:00:56 PDT 2019 [ 0.000000][ T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f [ 0.000000][ T0] CPU: VIVT data cache, VIVT instruction cache [ 0.000000][ T0] OF: fdt: Machine model: NETGEAR MS2000 / MS2110 aka Stora [ 0.000000][ T0] Memory policy: Data cache writeback [ 0.000000][ T0] Built 1 zonelists, mobility grouping on. Total pages: 32512 [ 0.000000][ T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1m(uboot),4m@1m(kernel),251m@5m(rootfs) rw [ 0.000000][ T0] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000][ T0] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000][ T0] Memory: 104832K/131072K available (9216K kernel code, 868K rwdata, 3400K rodata, 1024K init, 301K bss, 26240K reserved, 0K cma-reserved) [ 0.000000][ T0] random: get_random_u32 called from cache_alloc_refill+0x38c/0x928 with crng_init=0 [ 0.000000][ T0] rcu: Preemptible hierarchical RCU implementation. [ 0.000000][ T0] Tasks RCU enabled. [ 0.000000][ T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000][ T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000][ T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns [ 0.000012][ T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns [ 0.000060][ T0] Switching to timer-based delay loop, resolution 5ns [ 0.000969][ T0] Console: colour dummy device 80x30 [ 0.001033][ T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000) [ 0.001066][ T0] pid_max: default: 32768 minimum: 301 [ 0.001510][ T0] LSM: Security Framework initializing [ 0.001740][ T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.001773][ T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.002812][ T0] *** VALIDATE proc *** [ 0.003130][ T0] *** VALIDATE cgroup1 *** [ 0.003161][ T0] *** VALIDATE cgroup2 *** [ 0.003283][ T0] CPU: Testing write buffer coherency: ok [ 0.005370][ T1] Setting up static identity map for 0x100000 - 0x100058 [ 0.005739][ T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3 [ 0.006098][ T1] rcu: Hierarchical SRCU implementation. [ 0.010164][ T1] devtmpfs: initialized [ 0.016918][ T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.016958][ T1] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.017258][ T1] xor: measuring software checksum speed [ 0.110147][ T1] arm4regs : 902.400 MB/sec [ 0.210096][ T1] 8regs : 542.000 MB/sec [ 0.310091][ T1] 32regs : 788.000 MB/sec [ 0.310113][ T1] xor: using function: arm4regs (902.400 MB/sec) [ 0.310137][ T1] prandom: seed boundary self test passed [ 0.315176][ T1] prandom: 100 self tests passed [ 0.315190][ T1] pinctrl core: initialized pinctrl subsystem [ 0.316968][ T1] NET: Registered protocol family 16 [ 0.317671][ T1] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.318671][ T1] audit: initializing netlink subsys (disabled) [ 0.320223][ T14] audit: type=2000 audit(0.310:1): state=initialized audit_enabled=0 res=1 [ 0.320370][ T1] cpuidle: using governor ladder [ 0.320464][ T1] cpuidle: using governor menu [ 0.321154][ T1] Feroceon L2: Enabling L2 [ 0.321216][ T1] Feroceon L2: Cache support initialised. [ 0.328360][ T1] No ATAGs? [ 2.560068][ C0] random: fast init done [ 7.479929][ T71] alg: No test for lzo-rle (lzo-rle-generic) [ 7.480578][ T73] alg: No test for lzo-rle (lzo-rle-scomp) [ 7.660920][ T1] raid6: int32x8 gen() 106 MB/s [ 7.830456][ T1] raid6: int32x8 xor() 72 MB/s [ 8.000097][ T1] raid6: int32x4 gen() 107 MB/s [ 8.170243][ T1] raid6: int32x4 xor() 69 MB/s [ 8.340092][ T1] raid6: int32x2 gen() 110 MB/s [ 8.510150][ T1] raid6: int32x2 xor() 78 MB/s [ 8.680543][ T1] raid6: int32x1 gen() 83 MB/s [ 8.850203][ T1] raid6: int32x1 xor() 57 MB/s [ 8.850217][ T1] raid6: using algorithm int32x2 gen() 110 MB/s [ 8.850227][ T1] raid6: .... xor() 78 MB/s, rmw enabled [ 8.850237][ T1] raid6: using intx1 recovery algorithm [ 8.850549][ T1] vgaarb: loaded [ 8.851177][ T1] SCSI subsystem initialized [ 8.851789][ T1] usbcore: registered new interface driver usbfs [ 8.851864][ T1] usbcore: registered new interface driver hub [ 8.851980][ T1] usbcore: registered new device driver usb [ 8.852198][ T1] pps_core: LinuxPPS API ver. 1 registered [ 8.852213][ T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 8.852246][ T1] PTP clock support registered [ 8.853871][ T1] clocksource: Switched to clocksource orion_clocksource [ 10.098969][ T1] VFS: Disk quotas dquot_6.6.0 [ 10.099081][ T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 10.110953][ T1] NET: Registered protocol family 2 [ 10.111951][ T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes) [ 10.111993][ T1] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 10.112021][ T1] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 10.112046][ T1] TCP: Hash tables configured (established 1024 bind 1024) [ 10.112167][ T1] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 10.112199][ T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 10.112478][ T1] NET: Registered protocol family 1 [ 10.113261][ T1] RPC: Registered named UNIX socket transport module. [ 10.113279][ T1] RPC: Registered udp transport module. [ 10.113289][ T1] RPC: Registered tcp transport module. [ 10.113299][ T1] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 10.113317][ T1] PCI: CLS 0 bytes, default 32 [ 10.113612][ T1] Trying to unpack rootfs image as initramfs... [ 11.131920][ T1] Freeing initrd memory: 9488K [ 11.132169][ T1] NetWinder Floating Point Emulator V0.97 (double precision) [ 11.133636][ T1] Initialise system trusted keyrings [ 11.133707][ T1] Key type blacklist registered [ 11.134078][ T1] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 11.134210][ T1] zbud: loaded [ 11.135577][ T1] NFS: Registering the id_resolver key type [ 11.135617][ T1] Key type id_resolver registered [ 11.135629][ T1] Key type id_legacy registered [ 11.135653][ T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 11.135673][ T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 11.136026][ T1] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 11.136312][ T1] fuse: init (API version 7.31) [ 11.136784][ T1] orangefs_debugfs_init: called with debug mask: :none: :0: [ 11.137008][ T1] orangefs_init: module version upstream loaded [ 11.137024][ T1] SGI XFS with ACLs, security attributes, realtime, scrub, no debug enabled [ 11.157995][ T1] async_tx: api initialized (async) [ 11.158025][ T1] Key type asymmetric registered [ 11.158037][ T1] Asymmetric key parser 'x509' registered [ 11.158126][ T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246) [ 11.159879][ T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver [ 11.162239][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00 [ 11.162268][ T1] pci_bus 0000:00: root bus resource [bus 00-ff] [ 11.162287][ T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff] [ 11.162304][ T1] pci_bus 0000:00: root bus resource [io 0x1000-0xeffff] [ 11.162443][ T1] pci 0000:00:01.0: [11ab:6281] type 01 class 0x060400 [ 11.162493][ T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref] [ 11.164289][ T1] PCI: bus0: Fast back to back transfers disabled [ 11.164325][ T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 11.165873][ T1] PCI: bus1: Fast back to back transfers enabled [ 11.165906][ T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 11.166152][ T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0000000-0xe00007ff pref] [ 11.166174][ T1] pci 0000:00:01.0: PCI bridge to [bus 01] [ 11.166923][ T1] mv_xor f1060800.xor: Marvell shared XOR driver [ 11.224864][ T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 11.227271][ T1] mv_xor f1060900.xor: Marvell shared XOR driver [ 11.284869][ T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 11.287630][ T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 11.289198][ T1] printk: console [ttyS0] disabled [ 11.289286][ T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A [ 12.131547][ T1] printk: console [ttyS0] enabled [ 12.145737][ T1] loop: module loaded [ 12.150298][ T1] sata_mv f1080000.sata: slots 32 ports 2 [ 12.159321][ T1] scsi host0: sata_mv [ 12.163960][ T1] scsi host1: sata_mv [ 12.168191][ T1] ata1: SATA max UDMA/133 irq 33 [ 12.173012][ T1] ata2: SATA max UDMA/133 irq 33 [ 12.179110][ T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xda [ 12.186307][ T1] nand: Samsung NAND 256MiB 3,3V 8-bit [ 12.191656][ T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 12.200006][ T1] Scanning device for bad blocks [ 12.261215][ T1] Bad eraseblock 526 at 0x0000041c0000 [ 12.266744][ T1] Bad eraseblock 528 at 0x000004200000 [ 12.272140][ T1] Bad eraseblock 529 at 0x000004220000 [ 12.277553][ T1] Bad eraseblock 530 at 0x000004240000 [ 12.327275][ T1] Bad eraseblock 945 at 0x000007620000 [ 12.332667][ T1] Bad eraseblock 946 at 0x000007640000 [ 12.338088][ T1] Bad eraseblock 947 at 0x000007660000 [ 12.446914][ T1] Bad eraseblock 1912 at 0x00000ef00000 [ 12.466917][ T1] 3 cmdlinepart partitions found on MTD device orion_nand [ 12.473962][ T1] Creating 3 MTD partitions on "orion_nand": [ 12.479861][ T1] 0x000000000000-0x000000100000 : "uboot" [ 12.487115][ T1] 0x000000100000-0x000000500000 : "kernel" [ 12.494417][ T1] 0x000000500000-0x000010000000 : "rootfs" [ 12.504204][ T1] libphy: Fixed MDIO Bus: probed [ 12.509086][ T112] ata1: SATA link down (SStatus 0 SControl F300) [ 12.516306][ T1] libphy: orion_mdio_bus: probed [ 12.521148][ T1] [Firmware Warn]: /ocp@f1000000/mdio-bus@72004/ethernet-phy@8: Whitelisted compatible string. Please remove [ 12.550065][ T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4 [ 12.558315][ T1] mv643xx_eth_port mv643xx_eth_port.0: DMA mask not set [ 12.875555][ T114] ata2: SATA link down (SStatus 0 SControl F300) [ 13.284638][ T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 52:3b:20:9c:11:51 [ 13.294298][ T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 13.301592][ T1] ehci-pci: EHCI PCI platform driver [ 13.306859][ T1] ehci-orion: EHCI orion driver [ 13.311823][ T1] orion-ehci f1050000.ehci: EHCI Host Controller [ 13.318129][ T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1 [ 13.326756][ T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000 [ 13.353920][ T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00 [ 13.360988][ T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02 [ 13.370033][ T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 13.378019][ T1] usb usb1: Product: EHCI Host Controller [ 13.383619][ T1] usb usb1: Manufacturer: Linux 5.2.9-kirkwood-tld-1 ehci_hcd [ 13.390985][ T1] usb usb1: SerialNumber: f1050000.ehci [ 13.397174][ T1] hub 1-0:1.0: USB hub found [ 13.401698][ T1] hub 1-0:1.0: 1 port detected [ 13.407261][ T1] usbcore: registered new interface driver usb-storage [ 13.414498][ T1] mousedev: PS/2 mouse device common for all mice [ 13.773916][ T15] usb 1-1: new high-speed USB device number 2 using orion-ehci [ 14.052014][ T15] usb 1-1: New USB device found, idVendor=8564, idProduct=1000, bcdDevice= 1.00 [ 14.060971][ T15] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 14.068887][ T15] usb 1-1: Product: Mass Storage Device [ 14.074337][ T15] usb 1-1: Manufacturer: JetFlash [ 14.079239][ T15] usb 1-1: SerialNumber: I3H99W8L [ 14.085126][ T15] usb-storage 1-1:1.0: USB Mass Storage device detected [ 14.092510][ T15] scsi host2: usb-storage 1-1:1.0 [ 14.483913][ T1] rtc-mv f1010300.rtc: internal RTC not ticking [ 14.490242][ T1] i2c /dev entries driver [ 14.501630][ T1] rtc-pcf8563 0-0051: registered as rtc0 [ 14.509032][ T1] device-mapper: uevent: version 1.0.3 [ 14.514756][ T1] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com [ 14.524482][ T1] device-mapper: multipath round-robin: version 1.2.0 loaded [ 14.531744][ T1] device-mapper: multipath queue-length: version 0.2.0 loaded [ 14.539172][ T1] device-mapper: multipath service-time: version 0.3.0 loaded [ 14.546655][ T1] device-mapper: dm-log-userspace: version 1.3.0 loaded [ 14.553485][ T1] device-mapper: raid: Loading target version 1.14.0 [ 14.562180][ T1] hidraw: raw HID events driver (C) Jiri Kosina [ 14.568774][ T1] drop_monitor: Initializing network drop monitor service [ 14.576194][ T1] NET: Registered protocol family 17 [ 14.581654][ T1] Key type dns_resolver registered [ 14.587714][ T1] registered taskstats version 1 [ 14.592530][ T1] Loading compiled-in X.509 certificates [ 14.598169][ T1] zswap: loaded using pool lzo/zbud [ 14.714870][ T1] Key type big_key registered [ 14.770288][ T1] Key type encrypted registered [ 14.778971][ T1] rtc-pcf8563 0-0051: setting system clock to 2020-03-01T04:20:51 UTC (1583036451) [ 14.792678][ T1] Freeing unused kernel memory: 1024K [ 14.824621][ T1] Checked W+X mappings: passed, no W+X pages found [ 14.831015][ T1] Run /init as init process Loading, please wait... Starting version 241 [ 15.126406][ T23] scsi 2:0:0:0: Direct-Access JetFlash Transcend 2GB 8.07 PQ: 0 ANSI: 2 [ 15.161334][ T116] sd 2:0:0:0: [sda] 3948544 512-byte logical blocks: (2.02 GB/1.88 GiB) [ 15.184587][ T116] sd 2:0:0:0: [sda] Write Protect is off [ 15.199419][ T116] sd 2:0:0:0: [sda] No Caching mode page found [ 15.218816][ T116] sd 2:0:0:0: [sda] Assuming drive cache: write through [ 15.630144][ T116] sda: sda1 [ 15.638328][ T116] sd 2:0:0:0: [sda] Attached SCSI removable disk [ 16.660328][ T167] usbcore: registered new interface driver uas 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: Will now check root file system ... fsck from util-linux 2.33.1 [/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1 rootfs: clean, 15098/123392 files, 166977/493056 blocks done. [ 27.250711][ T192] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem [ 27.302966][ T192] 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.93 booting [info] Using makefile-style concurrent boot in runlevel S. [ ok ] Starting hotplug events dispatcher: systemd-udevd. [ ok ] Synthesizing the initial hotplug events (subsystems)...done. [ ok ] Synthesizing the initial hotplug events (devices)...done. [....] Waiting for /dev to be fully populated...[ 30.907067][ T375] input: gpio-keys as /devices/platform/gpio-keys/input/input0 [ 30.986966][ T374] systemd-udevd[374]: Using default interface naming scheme 'v240'. [ 31.130871][ T374] systemd-udevd[374]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable. [ 31.244248][ T371] watchdog: f1020300.watchdog-timer: driver supplied timeout (4294967295) out of range [ 31.264257][ T393] lm75 0-0048: hwmon0: sensor 'lm75' [ 31.354117][ C0] random: crng init done [ 31.433989][ T371] watchdog: f1020300.watchdog-timer: falling back to default timeout (21) [ 31.567921][ T371] orion_wdt: Initial timeout 21 sec [ 31.707094][ T372] sd 2:0:0:0: Attached scsi generic sg0 type 0 [ 31.798513][ T392] marvell-cesa f1030000.crypto: CESA device successfully registered [ 32.021515][ T371] systemd-udevd[371]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable. done. [ ok ] Setting hostname to 'debian'...done. [ ok ] Activating swap:. [ 33.736906][ T590] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro [info] Will now check all file systems. fsck from util-linux 2.33.1 Checking all file systems. LABEL=rootfs is mounted [....] Done checking file systems. A log is being saved in /var/log/fsck/checkfs[ ok hat location is writable.. [ ok ] Cleaning up temporary files...[....] Cleaning /tmp...done. [ ok . [ ok ] Will now mount local filesystems:. [ ok ] Will now activate swapfile swap:done. [ ok ] Checking minimum space in /tmp...done. [ ok ] Cleaning up temporary files.... [ ok ] Starting Setting kernel variables: sysctl. [ ok ] Initializing random number generator...done. [....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.1 Copyright 2004-2018 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/eth0/52:3b:20:9c:11:51 Sending on LPF/eth0/52:3b:20:9c:11:51 Sending on Socket/fallback DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8 [ 43.751020][ C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9 DHCPOFFER of 192.168.1.42 from 192.168.1.1 DHCPREQUEST for 192.168.1.42 on eth0 to 255.255.255.255 port 67 DHCPACK of 192.168.1.42 from 192.168.1.1 bound to 192.168.1.42 -- renewal in 12074 seconds. [ 47.814364][ T1143] NET: Registered protocol family 10 [ 47.822858][ T1143] Segment Routing with IPv6 done. [ ok ] Starting RPC port mapper daemon: rpcbind. [ 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... 1354 (syslogd) . ok [....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd... 1381 (klogd) . ok [ ok ] Starting system message bus: dbus. [ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon. [ ok ] Starting NFS common utilities: statd idmapd. [warn] Not starting NFS kernel daemon: no exports. ... (warning). [ ok ] Starting NTP server: ntpd. [ ok ] Starting OpenBSD Secure Shell server: sshd. [ ok ] Running local boot scripts (/etc/rc.local). Debian GNU/Linux 10 debian ttyS0 debian login: root Password: Login incorrect debian login: root Password: Last login: Thu Feb 27 06:45:21 PST 2020 on ttyS0 Linux debian 5.2.9-kirkwood-tld-1 #1 PREEMPT Sat Aug 17 15:00:56 PDT 2019 armv5tel The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. root@debian:~#The instruction is carried out
Re: Netgear Stora -loading rootfs Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 February 29, 2020 11:31PM |
Admin Registered: 13 years ago Posts: 18,575 |
dtb_file=/boot/dts/kirkwood-netgear_stora_ms2000
cd /media/sdb1/boot cp -a uImage uImage.Stora cp -a uImage.orig uImage sync
env default -a setenv dtb_file '/boot/dts/kirkwood-netgear_stora_ms2000.dtb' boot
Re: Netgear Stora -loading rootfs Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 March 01, 2020 05:01AM |
Registered: 4 years ago Posts: 39 |
U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:38:05 -0700) Netgear Stora MS2110 SoC: Kirkwood 88F6281_A1 DRAM: 128 MiB WARNING: Caches not enabled NAND: 256 MiB In: serial Out: serial Err: serial Net: egiga0 PHY reset timed out 88E1116 Initialized on egiga0 Hit any key to stop autoboot: 0 Netgear Stora> env default -a ## Resetting to default environment Netgear Stora> setenv dtb_file '/boot/dts/kirkwood-netgear_stora_ms2000.dtb' Netgear Stora> boot starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... Use USB retry period from the environment: 15 second(s) 1 Storage Device(s) found Reset IDE: ide_preinit failed Partition Map for USB device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 3944448 dc08cbef-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 ** no IDE devices available running scan_disk ... Scan device usb device usb 0:1 1 bytes read in 1054 ms (0 Bytes/s) Found bootable drive on usb 0 loading uImage ... 4963680 bytes read in 1102 ms (4.3 MiB/s) loading uInitrd ... 9713936 bytes read in 1050 ms (8.8 MiB/s) loading DTB /boot/dts/kirkwood-netgear_stora_ms2000.dtb ... 11499 bytes read in 2660 ms (3.9 KiB/s) ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-5.2.9-kirkwood-tld-1 Created: 2020-02-20 12:36:45 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4963616 Bytes = 4.7 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-5.2.9-kirkwood-tld-1 Created: 2019-08-25 2:22:50 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 9713872 Bytes = 9.3 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 036bc000, end 03fff8d0 ... OK Loading Device Tree to 036b6000, end 036bbcea ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000][ T0] Booting Linux on physical CPU 0x0 [ 0.000000][ T0] Linux version 5.2.9-kirkwood-tld-1 (root@tldDebian) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 PREEMPT Sat Aug 17 15:00:56 PDT 2019 [ 0.000000][ T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f [ 0.000000][ T0] CPU: VIVT data cache, VIVT instruction cache [ 0.000000][ T0] OF: fdt: Machine model: NETGEAR MS2000 / MS2110 aka Stora [ 0.000000][ T0] Memory policy: Data cache writeback [ 0.000000][ T0] Built 1 zonelists, mobility grouping on. Total pages: 32512 [ 0.000000][ T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1m(uboot),4m@1m(kernel),251m@5m(rootfs) rw [ 0.000000][ T0] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000][ T0] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000][ T0] Memory: 104832K/131072K available (9216K kernel code, 868K rwdata, 3400K rodata, 1024K init, 301K bss, 26240K reserved, 0K cma-reserved) [ 0.000000][ T0] random: get_random_u32 called from cache_alloc_refill+0x38c/0x928 with crng_init=0 [ 0.000000][ T0] rcu: Preemptible hierarchical RCU implementation. [ 0.000000][ T0] Tasks RCU enabled. [ 0.000000][ T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000][ T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000][ T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns [ 0.000011][ T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns [ 0.000058][ T0] Switching to timer-based delay loop, resolution 5ns [ 0.000963][ T0] Console: colour dummy device 80x30 [ 0.001027][ T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000) [ 0.001059][ T0] pid_max: default: 32768 minimum: 301 [ 0.001505][ T0] LSM: Security Framework initializing [ 0.001730][ T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.001764][ T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.002800][ T0] *** VALIDATE proc *** [ 0.003118][ T0] *** VALIDATE cgroup1 *** [ 0.003150][ T0] *** VALIDATE cgroup2 *** [ 0.003270][ T0] CPU: Testing write buffer coherency: ok [ 0.005349][ T1] Setting up static identity map for 0x100000 - 0x100058 [ 0.005719][ T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3 [ 0.006078][ T1] rcu: Hierarchical SRCU implementation. [ 0.010138][ T1] devtmpfs: initialized [ 0.016892][ T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.016932][ T1] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.017232][ T1] xor: measuring software checksum speed [ 0.110139][ T1] arm4regs : 902.400 MB/sec [ 0.210096][ T1] 8regs : 542.000 MB/sec [ 0.310085][ T1] 32regs : 787.600 MB/sec [ 0.310108][ T1] xor: using function: arm4regs (902.400 MB/sec) [ 0.310134][ T1] prandom: seed boundary self test passed [ 0.315171][ T1] prandom: 100 self tests passed [ 0.315185][ T1] pinctrl core: initialized pinctrl subsystem [ 0.316974][ T1] NET: Registered protocol family 16 [ 0.317676][ T1] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.318684][ T1] audit: initializing netlink subsys (disabled) [ 0.320237][ T14] audit: type=2000 audit(0.310:1): state=initialized audit_enabled=0 res=1 [ 0.320382][ T1] cpuidle: using governor ladder [ 0.320480][ T1] cpuidle: using governor menu [ 0.321167][ T1] Feroceon L2: Enabling L2 [ 0.321229][ T1] Feroceon L2: Cache support initialised. [ 0.328384][ T1] No ATAGs? [ 2.560068][ C0] random: fast init done [ 7.479957][ T71] alg: No test for lzo-rle (lzo-rle-generic) [ 7.480605][ T73] alg: No test for lzo-rle (lzo-rle-scomp) [ 7.660911][ T1] raid6: int32x8 gen() 106 MB/s [ 7.830456][ T1] raid6: int32x8 xor() 72 MB/s [ 8.000357][ T1] raid6: int32x4 gen() 107 MB/s [ 8.170242][ T1] raid6: int32x4 xor() 69 MB/s [ 8.340270][ T1] raid6: int32x2 gen() 110 MB/s [ 8.510152][ T1] raid6: int32x2 xor() 78 MB/s [ 8.680541][ T1] raid6: int32x1 gen() 83 MB/s [ 8.850200][ T1] raid6: int32x1 xor() 57 MB/s [ 8.850214][ T1] raid6: using algorithm int32x2 gen() 110 MB/s [ 8.850224][ T1] raid6: .... xor() 78 MB/s, rmw enabled [ 8.850234][ T1] raid6: using intx1 recovery algorithm [ 8.850545][ T1] vgaarb: loaded [ 8.851172][ T1] SCSI subsystem initialized [ 8.851787][ T1] usbcore: registered new interface driver usbfs [ 8.851864][ T1] usbcore: registered new interface driver hub [ 8.851980][ T1] usbcore: registered new device driver usb [ 8.852201][ T1] pps_core: LinuxPPS API ver. 1 registered [ 8.852216][ T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 8.852250][ T1] PTP clock support registered [ 8.853882][ T1] clocksource: Switched to clocksource orion_clocksource [ 10.099020][ T1] VFS: Disk quotas dquot_6.6.0 [ 10.099132][ T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 10.110998][ T1] NET: Registered protocol family 2 [ 10.111994][ T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes) [ 10.112036][ T1] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 10.112064][ T1] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 10.112090][ T1] TCP: Hash tables configured (established 1024 bind 1024) [ 10.112211][ T1] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 10.112244][ T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 10.112521][ T1] NET: Registered protocol family 1 [ 10.113307][ T1] RPC: Registered named UNIX socket transport module. [ 10.113324][ T1] RPC: Registered udp transport module. [ 10.113335][ T1] RPC: Registered tcp transport module. [ 10.113345][ T1] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 10.113362][ T1] PCI: CLS 0 bytes, default 32 [ 10.113658][ T1] Trying to unpack rootfs image as initramfs... [ 11.131939][ T1] Freeing initrd memory: 9488K [ 11.132187][ T1] NetWinder Floating Point Emulator V0.97 (double precision) [ 11.133648][ T1] Initialise system trusted keyrings [ 11.133730][ T1] Key type blacklist registered [ 11.134106][ T1] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 11.134237][ T1] zbud: loaded [ 11.135596][ T1] NFS: Registering the id_resolver key type [ 11.135632][ T1] Key type id_resolver registered [ 11.135645][ T1] Key type id_legacy registered [ 11.135669][ T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 11.135689][ T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 11.136044][ T1] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 11.136332][ T1] fuse: init (API version 7.31) [ 11.136806][ T1] orangefs_debugfs_init: called with debug mask: :none: :0: [ 11.137033][ T1] orangefs_init: module version upstream loaded [ 11.137048][ T1] SGI XFS with ACLs, security attributes, realtime, scrub, no debug enabled [ 11.157987][ T1] async_tx: api initialized (async) [ 11.158017][ T1] Key type asymmetric registered [ 11.158030][ T1] Asymmetric key parser 'x509' registered [ 11.158118][ T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246) [ 11.159866][ T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver [ 11.162228][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00 [ 11.162257][ T1] pci_bus 0000:00: root bus resource [bus 00-ff] [ 11.162277][ T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff] [ 11.162293][ T1] pci_bus 0000:00: root bus resource [io 0x1000-0xeffff] [ 11.162432][ T1] pci 0000:00:01.0: [11ab:6281] type 01 class 0x060400 [ 11.162481][ T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref] [ 11.164258][ T1] PCI: bus0: Fast back to back transfers disabled [ 11.164294][ T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 11.165821][ T1] PCI: bus1: Fast back to back transfers enabled [ 11.165854][ T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 11.166099][ T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0000000-0xe00007ff pref] [ 11.166122][ T1] pci 0000:00:01.0: PCI bridge to [bus 01] [ 11.166876][ T1] mv_xor f1060800.xor: Marvell shared XOR driver [ 11.224875][ T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 11.227284][ T1] mv_xor f1060900.xor: Marvell shared XOR driver [ 11.284875][ T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 11.287603][ T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 11.289171][ T1] printk: console [ttyS0] disabled [ 11.289260][ T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A [ 12.131515][ T1] printk: console [ttyS0] enabled [ 12.145718][ T1] loop: module loaded [ 12.150269][ T1] sata_mv f1080000.sata: slots 32 ports 2 [ 12.159301][ T1] scsi host0: sata_mv [ 12.163939][ T1] scsi host1: sata_mv [ 12.168168][ T1] ata1: SATA max UDMA/133 irq 33 [ 12.172987][ T1] ata2: SATA max UDMA/133 irq 33 [ 12.179089][ T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xda [ 12.186284][ T1] nand: Samsung NAND 256MiB 3,3V 8-bit [ 12.191632][ T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 12.199981][ T1] Scanning device for bad blocks [ 12.261234][ T1] Bad eraseblock 526 at 0x0000041c0000 [ 12.266764][ T1] Bad eraseblock 528 at 0x000004200000 [ 12.272160][ T1] Bad eraseblock 529 at 0x000004220000 [ 12.277574][ T1] Bad eraseblock 530 at 0x000004240000 [ 12.327294][ T1] Bad eraseblock 945 at 0x000007620000 [ 12.332685][ T1] Bad eraseblock 946 at 0x000007640000 [ 12.338099][ T1] Bad eraseblock 947 at 0x000007660000 [ 12.446928][ T1] Bad eraseblock 1912 at 0x00000ef00000 [ 12.466938][ T1] 3 cmdlinepart partitions found on MTD device orion_nand [ 12.473988][ T1] Creating 3 MTD partitions on "orion_nand": [ 12.479889][ T1] 0x000000000000-0x000000100000 : "uboot" [ 12.487153][ T1] 0x000000100000-0x000000500000 : "kernel" [ 12.494450][ T1] 0x000000500000-0x000010000000 : "rootfs" [ 12.504227][ T1] libphy: Fixed MDIO Bus: probed [ 12.509105][ T112] ata1: SATA link down (SStatus 0 SControl F300) [ 12.516326][ T1] libphy: orion_mdio_bus: probed [ 12.521176][ T1] [Firmware Warn]: /ocp@f1000000/mdio-bus@72004/ethernet-phy@8: Whitelisted compatible string. Please remove [ 12.550056][ T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4 [ 12.558307][ T1] mv643xx_eth_port mv643xx_eth_port.0: DMA mask not set [ 12.875568][ T114] ata2: SATA link down (SStatus 0 SControl F300) [ 13.284676][ T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 52:3b:20:9c:11:51 [ 13.294335][ T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 13.301628][ T1] ehci-pci: EHCI PCI platform driver [ 13.306897][ T1] ehci-orion: EHCI orion driver [ 13.311859][ T1] orion-ehci f1050000.ehci: EHCI Host Controller [ 13.318156][ T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1 [ 13.326785][ T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000 [ 13.353931][ T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00 [ 13.360998][ T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02 [ 13.370046][ T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 13.378030][ T1] usb usb1: Product: EHCI Host Controller [ 13.383630][ T1] usb usb1: Manufacturer: Linux 5.2.9-kirkwood-tld-1 ehci_hcd [ 13.391005][ T1] usb usb1: SerialNumber: f1050000.ehci [ 13.397188][ T1] hub 1-0:1.0: USB hub found [ 13.401708][ T1] hub 1-0:1.0: 1 port detected [ 13.407267][ T1] usbcore: registered new interface driver usb-storage [ 13.414514][ T1] mousedev: PS/2 mouse device common for all mice [ 13.773926][ T15] usb 1-1: new high-speed USB device number 2 using orion-ehci [ 14.052040][ T15] usb 1-1: New USB device found, idVendor=8564, idProduct=1000, bcdDevice= 1.00 [ 14.061001][ T15] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 14.068914][ T15] usb 1-1: Product: Mass Storage Device [ 14.074365][ T15] usb 1-1: Manufacturer: JetFlash [ 14.079267][ T15] usb 1-1: SerialNumber: I3H99W8L [ 14.085150][ T15] usb-storage 1-1:1.0: USB Mass Storage device detected [ 14.092531][ T15] scsi host2: usb-storage 1-1:1.0 [ 14.483922][ T1] rtc-mv f1010300.rtc: internal RTC not ticking [ 14.490253][ T1] i2c /dev entries driver [ 14.501648][ T1] rtc-pcf8563 0-0051: registered as rtc0 [ 14.509051][ T1] device-mapper: uevent: version 1.0.3 [ 14.514778][ T1] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com [ 14.524502][ T1] device-mapper: multipath round-robin: version 1.2.0 loaded [ 14.531764][ T1] device-mapper: multipath queue-length: version 0.2.0 loaded [ 14.539193][ T1] device-mapper: multipath service-time: version 0.3.0 loaded [ 14.546679][ T1] device-mapper: dm-log-userspace: version 1.3.0 loaded [ 14.553505][ T1] device-mapper: raid: Loading target version 1.14.0 [ 14.562206][ T1] hidraw: raw HID events driver (C) Jiri Kosina [ 14.568801][ T1] drop_monitor: Initializing network drop monitor service [ 14.576223][ T1] NET: Registered protocol family 17 [ 14.581680][ T1] Key type dns_resolver registered [ 14.587741][ T1] registered taskstats version 1 [ 14.592558][ T1] Loading compiled-in X.509 certificates [ 14.598198][ T1] zswap: loaded using pool lzo/zbud [ 14.714994][ T1] Key type big_key registered [ 14.770254][ T1] Key type encrypted registered [ 14.778924][ T1] rtc-pcf8563 0-0051: setting system clock to 2020-03-01T10:55:21 UTC (1583060121) [ 14.792638][ T1] Freeing unused kernel memory: 1024K [ 14.824634][ T1] Checked W+X mappings: passed, no W+X pages found [ 14.831026][ T1] Run /init as init process Loading, please wait... Starting version 241 [ 15.126435][ T23] scsi 2:0:0:0: Direct-Access JetFlash Transcend 2GB 8.07 PQ: 0 ANSI: 2 [ 15.161359][ T116] sd 2:0:0:0: [sda] 3948544 512-byte logical blocks: (2.02 GB/1.88 GiB) [ 15.184652][ T116] sd 2:0:0:0: [sda] Write Protect is off [ 15.198924][ T116] sd 2:0:0:0: [sda] No Caching mode page found [ 15.219813][ T116] sd 2:0:0:0: [sda] Assuming drive cache: write through [ 15.606659][ T116] sda: sda1 [ 15.615107][ T116] sd 2:0:0:0: [sda] Attached SCSI removable disk [ 16.651128][ T173] usbcore: registered new interface driver uas 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: Will now check root file system ... fsck from util-linux 2.33.1 [/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1 rootfs: clean, 15099/123392 files, 168194/493056 blocks done. [ 27.230364][ T192] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem [ 27.282492][ T192] 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.93 booting [info] Using makefile-style concurrent boot in runlevel S. [ ok ] Starting hotplug events dispatcher: systemd-udevd. [ ok ] Synthesizing the initial hotplug events (subsystems)...done. [ ok ] Synthesizing the initial hotplug events (devices)...[ 30.791583][ T390] input: gpio-keys as /devices/platform/gpio-keys/input/input0 done. [....] Waiting for /dev to be fully populated...[ 30.897386][ T393] systemd-udevd[393]: Using default interface naming scheme 'v240'. [ 31.009566][ T393] systemd-udevd[393]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable. [ 31.224225][ T375] lm75 0-0048: hwmon0: sensor 'lm75' [ 31.280874][ T408] watchdog: f1020300.watchdog-timer: driver supplied timeout (4294967295) out of range [ 31.330331][ C0] random: crng init done [ 31.430455][ T408] watchdog: f1020300.watchdog-timer: falling back to default timeout (21) [ 31.574429][ T408] orion_wdt: Initial timeout 21 sec [ 31.688534][ T374] sd 2:0:0:0: Attached scsi generic sg0 type 0 [ 31.783008][ T409] marvell-cesa f1030000.crypto: CESA device successfully registered [ 32.001054][ T375] systemd-udevd[375]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable. done. [ ok ] Setting hostname to 'debian'...done. [ ok ] Activating swap:. [ 33.505978][ T590] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro [info] Will now check all file systems. fsck from util-linux 2.33.1 Checking all file systems. LABEL=rootfs is mounted [....] Done checking file systems. A log is being saved in /var/log/fsck/checkfs[ ok hat location is writable.. [ ok ] Cleaning up temporary files...[....] Cleaning /tmp...done. [ ok . [ ok ] Will now mount local filesystems:. [ ok ] Will now activate swapfile swap:done. [ ok ] Checking minimum space in /tmp...done. [ ok ] Cleaning up temporary files.... [ ok ] Starting Setting kernel variables: sysctl. [ ok ] Initializing random number generator...done. [....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.1 Copyright 2004-2018 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/eth0/52:3b:20:9c:11:51 Sending on LPF/eth0/52:3b:20:9c:11:51 Sending on Socket/fallback DHCPREQUEST for 192.168.1.42 on eth0 to 255.255.255.255 port 67 [ 39.810363][ C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled DHCPREQUEST for 192.168.1.42 on eth0 to 255.255.255.255 port 67 DHCPACK of 192.168.1.42 from 192.168.1.1 bound to 192.168.1.42 -- renewal in 9905 seconds. [ 42.534381][ T1143] NET: Registered protocol family 10 [ 42.543497][ T1143] Segment Routing with IPv6 done. [ ok ] Starting RPC port mapper daemon: rpcbind. [ 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... 1354 (syslogd) . ok [....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd... 1381 (klogd) . ok [ ok ] Starting system message bus: dbus. [ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon. [ ok ] Starting NFS common utilities: statd idmapd. [warn] Not starting NFS kernel daemon: no exports. ... (warning). [ ok ] Starting NTP server: ntpd. [ ok ] Starting OpenBSD Secure Shell server: sshd. [ ok ] Running local boot scripts (/etc/rc.local). Debian GNU/Linux 10 debian ttyS0 debian login: root Password: Last login: Sat Feb 29 21:20:17 PST 2020 from 192.168.1.47 on pts/0 Linux debian 5.2.9-kirkwood-tld-1 #1 PREEMPT Sat Aug 17 15:00:56 PDT 2019 armv5tel The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. root@debian:~#It is well made!!! I wait for the following actions.Sorry for the delay there were urgent cases.
Re: Netgear Stora -loading rootfs Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 March 01, 2020 05:19AM |
Admin Registered: 13 years ago Posts: 18,575 |
env default -a setenv dtb_file '/boot/dts/kirkwood-netgear_stora_ms2000.dtb' saveenv boot
Re: Netgear Stora -loading rootfs Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 March 01, 2020 07:05AM |
Registered: 4 years ago Posts: 39 |
Iask you to help me with this, I"m not sure that I will do everything correctly myselfQuote
After you are running Debian normally, you should also change the envs ipaddr, serverip, ethaddr to make it appropriate for your box. When you do this, you should test it in serial console to make sure it works, and then you can set it in Debian later. Ask questions if you are not sure you know how.
login as: root root@192.168.1.42's password: Linux debian 5.2.9-kirkwood-tld-1 #1 PREEMPT Sat Aug 17 15:00:56 PDT 2019 armv5tel The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Sun Mar 1 04:22:13 2020 root@debian:~# cd / root@debian:/# ls -l total 76 drwxr-xr-x 21 root root 4096 Feb 16 2015 . drwxr-xr-x 21 root root 4096 Feb 16 2015 .. drwxr-xr-x 2 root root 4096 Aug 24 2019 bin drwxr-xr-x 3 root root 4096 Mar 1 02:45 boot drwxr-xr-x 13 root root 2920 Mar 1 04:21 dev drwxr-xr-x 57 root root 4096 Mar 1 04:21 etc drwxr-xr-x 2 root root 4096 Jan 22 2012 home drwxr-xr-x 13 root root 4096 Aug 24 2019 lib drwx------ 2 root root 16384 Feb 24 2012 lost+found drwxr-xr-x 2 root root 4096 Feb 24 2012 media drwxr-xr-x 2 root root 4096 Feb 10 2015 mnt drwxr-xr-x 2 root root 4096 Feb 24 2012 opt dr-xr-xr-x 78 root root 0 Dec 31 1969 proc drwx------ 5 root root 4096 Mar 1 04:29 root drwxr-xr-x 13 root root 600 Mar 1 04:29 run drwxr-xr-x 2 root root 4096 Aug 24 2019 sbin drwxr-xr-x 2 root root 4096 Feb 24 2012 srv dr-xr-xr-x 12 root root 0 Mar 1 04:21 sys drwxrwxrwt 2 root root 40 Mar 1 04:21 tmp drwxr-xr-x 10 root root 4096 Feb 24 2012 usr drwxr-xr-x 11 root root 4096 Dec 31 1969 var root@debian:/#Thanks to you huge!!! This is already a download to SSH. Further as I assume I will have to do it > >
If I don 't understand correctly, please direct me the right way.Thank you very much, For me your lessons are of great importance, I appreciate it highly.Quote
1. Install Debian Stretch (OMV4 is not supported on Buster)
Install one disk in the left hand bay
Boot from USB stick made from image 4.12.1 from the 24th July 2017 found here: [url]https://forum.doozan.com/read.php?2,12096[/url]
Using fdisk, delete the existing partition
Create two partitions on /dev/sda, 1st one 8GB, second one 256MB. Make sure to use 't' command for partition 2 and set it to type 82
Create EXT4 partition on /dev/sda1 and label it rootfs - mkfs.ext4 -l rootfs /dev/sda1
Create swap partition on /dev/sda2 and label it swap - mkswap -L swap /dev/sda2
cd to /root and download the tarball from the 24th July 2017 found here: [url]https://forum.doozan.com/read.php?2,12096[/url] using wget
Mount partition /dev/sda1 on /mnt. Unzip tarball into /mnt
cd to /mnt
edit /mnt/etc/fstab - change file system type from EXT3 to EXT4 for rootfs entry and add "LABEL=swap swap swap default 0 0"
edit /mnt/etc/hosts. Add "127.0.1.1 stora.lan stora"
replace the contents of /mnt/etc/hostname with "stora"
2. Boot and update
Reboot - remove USB stick when uBoot starts
once booted run:
apt update
apt upgrade
cd /boot
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-4.12.1-kirkwood-tld-1 -d initrd.img-4.12.1-kirkwood-tld-1 uInitrd
3. Update kernel to 5.2.9
Download the kernel 5.2.9 tarball from 18th August 2019 at [url]https://forum.doozan.com/read.php?2,12096[/url]
run the following:
cd
mkdir boot_4.12.1
cd boot_4.12.1
cp -r /boot/* .
cd /boot
tar xjf /root/linux-5.2.9-kirkwood-tld-1-bodhi.tar.bz2
tar xf linux-dtb-5.2.9-kirkwood-tld-1.tar
apt-get remove flash-kernel
dpkg -i linux-image-5.2.9-kirkwood-tld-1_1.0_armel.deb
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-5.2.9-kirkwood-tld-1 -d vmlinuz-5.2.9-kirkwood-tld-1 uImage
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-5.2.9-kirkwood-tld-1 -d initrd.img-5.2.9-kirkwood-tld-1 uInitrd
OMV4 requires systemd, so add it to boot env
fw_setenv set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params init=/bin/systemd'
systemd requires a larger /run tmpfs than the default, so add "none /run tmpfs defaults,size=20M 0 0" to /etc/fstab
reboot
4. Install OMV4
Backup current /boot
cd
mkdir boot_5.2.9_pre-OMV4
cd boot_5.2.9_pre-OMV4
cp -r /boot/* .
Prepare for OMV4 install
apt install -y aptitude curl apt-transport-https
Set up sources
echo "deb [url]http://packages.openmediavault.org/public[/url] arrakis main" > /etc/apt/sources.list.d/openmediavault.list
curl -k -s [url]http://packages.openmediavault.org/public/archive.key[/url] | apt-key add -
apt update
Start Installation
export LANG=C.UTF-8
export DEBIAN_FRONTEND=noninteractive
export APT_LISTCHANGES_FRONTEND=none
apt-get --yes --auto-remove --show-upgraded \
--allow-downgrades --allow-change-held-packages \
--no-install-recommends \
--option Dpkg::Options::="--force-confdef" \
--option DPkg::Options::="--force-confold" \
install postfix openmediavault-keyring openmediavault
cp /usr/share/openmediavault/templates/config.xml /etc/openmediavault/
omv-initsystem
omv-mkconf interfaces
omv-mkconf issue
If there are problems with masked services:
systemctl unmask openmediavault-beep-up
systemctl unmask openmediavault-beep-down
systemctl unmask openmediavault-cleanup-monit
systemctl unmask openmediavault-cleanup-php
systemctl unmask openmediavault-engined
systemctl unmask openmediavault-issue
apt install -y openmediavault
omv-initsystem
If network interface has stopped working after a reboot, add the following to /etc/network/interfaces:
auto eth0
allow-hotplug eth0
iface eth0 inet dhcp
5. Set up raid
Insert the second disk
Partition /dev/sdb the same as /dev/sda in step 1 but don't create filesystems
Create RAID 1 arrays on second drive and create filesystems:
mdadm --create /dev/md0 --metadata=0.90 --level=1 --raid-devices=2 missing /dev/sdb1
mdadm --create /dev/md1 --metadata=0.90 --level=1 --raid-devices=2 missing /dev/sdb2
mkfs.ext4 -L rootfs /dev/md0
mkswap -L swap /dev/md1
In the DEVICE section of /etc/mdadm/mdadm.conf add "DEVICE /dev/sd?*"
run:
mdadm --detail --scan >> /etc/mdadm/mdadm.conf
dpkg-reconfigure mdadm
cd /boot
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-5.2.9-kirkwood-tld-1 -d vmlinuz-5.2.9-kirkwood-tld-1 uImage
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-5.2.9-kirkwood-tld-1 -d initrd.img-5.2.9-kirkwood-tld-1 uInitrd
clone rootfs from /dev/sda1:
mkdir /tmp/mnt
mount /dev/md0 /tmp/mnt
rsync -auHxv --exclude=/proc/* --exclude=/sys/* --exclude=/tmp/* /* /tmp/mnt
Power off the unit and remove disk 1
Power on the unit and make sure it boots off md0
check that swap mounts using the "free" command
Insert Disk 1. Note that this becomes /dev/sdb
Add the Disk 1 partitions to the RAID 1 Arrays:
mdadm --add /dev/md0 /dev/sdb1
mdadm --add /dev/md1 /dev/sdb2
Create partitions on the drives taking up the remaining free space
Create a third array:
mdadm --create /dev/md2 --level=1 --raid-devices=2 missing /dev/sda3
mdadm --add /dev/md2 /dev/sdb3
6. Add OMV Extras:
Install dependancies:
apt install -y dirmngr
install Extras:
wget -O - [url]https://github.com/OpenMediaVault-Plugin-Developers/packages/raw/master/install[/url] | bash
Thanks to Bodhi for all your hard work
Resources:
Serial port console: [url]https://github.com/Dees7/openstora/blob/master/pages/Root_Access_Via_Serial_Console.md[/url]
Installing Debian on Stora: [url]https://forum.doozan.com/read.php?2,12096[/url]
Upgrading uBoot on Stora: [url]https://forum.doozan.com/read.php?3,12381[/url]
Installing OMV: [url]https://forum.openmediavault.org/index.php/Thread/21234-Install-OMV4-on-Debian-9-Stretch/[/url]
OMV Extras: [url]http://omv-extras.org/[/url]
Setting up mdadm on Stora: [url]https://forum.doozan.com/read.php?2,27308[/url]
Edit: There were a few errors and omissions corrected
Edited 3 time(s). Last edit at 12/30/2019 08:02PM by fcollingwood.