NETGEAR STORA - Bad Magic Number January 27, 2019 04:04PM |
Registered: 5 years ago Posts: 17 |
__ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ 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: 619d86db, Calculated CRC: 619d86db ## Error: environment overflow, "stdin" deleted ## Error: environment overflow, "stdout" deleted ## Error: environment overflow, "stderr" deleted CPU : Marvell Feroceon (Rev 1) ## Error: environment overflow, "console" deleted ## Error: environment overflow, "mainlineLinux" deleted ## Error: environment overflow, "CASset" deleted ## Error: environment overflow, "enaMonExt" deleted ## Error: environment overflow, "enaCpuStream" deleted ## Error: environment overflow, "enaWrAllo" deleted ## Error: environment overflow, "pexMode" deleted ## Error: environment overflow, "disL2Cache" deleted ## Error: environment overflow, "setL2CacheWT" deleted ## Error: environment overflow, "disL2Prefetch" deleted ## Error: environment overflow, "enaICPref" deleted ## Error: environment overflow, "enaDCPref" deleted ## Error: environment overflow, "sata_dma_mode" deleted ## Error: environment overflow, "MALLOC_len" deleted ## Error: environment overflow, "ethprime" deleted ## Error: environment overflow, "netbsd_en" deleted ## Error: environment overflow, "vxworks_en" deleted ## Error: environment overflow, "bootargs_root" deleted ## Error: environment overflow, "bootargs_end" deleted ## Error: environment overflow, "image_name" deleted ## Error: environment overflow, "bootcmd" deleted ## Error: environment overflow, "standalone" deleted ## Error: environment overflow, "bootdelay" deleted ## Error: environment overflow, "disaMvPnp" deleted ## Error: environment overflow, "disaMvPnp" deleted ## Error: environment overflow, "ethaddr" deleted ## Error: environment overflow, "ethmtu" deleted ## Error: environment overflow, "eth1addr" deleted ## Error: environment overflow, "eth1mtu" deleted ## Error: environment overflow, "mvPhoneConfig" deleted ## Error: environment overflow, "mvNetConfig" deleted ## Error: environment overflow, "usb0Mode" deleted ## Error: environment overflow, "yuk_ethaddr" deleted ## Error: environment overflow, "nandEcc" deleted ## Error: environment overflow, "hddPowerCtrl" deleted ## Error: environment overflow, "netretry" deleted ## Error: environment overflow, "rcvrip" deleted ## Error: environment overflow, "loadaddr" deleted ## Error: environment overflow, "autoload" deleted ## Error: environment overflow, "enaAutoRecovery" deleted Streaming disabled Write allocate disabled Module 0 is RGMII Module 1 is TDM USB 0: device mode PEX 0: interface detected no Link. Net: ## Error: environment overflow, "ethact" deleted egiga0, egiga1## Error: environment overflow, "ethact" deleted USB: scanning bus for devices... 1 USB Device(s) found scanning bus for storage devices... 0 Storage Device(s) found Aquiring an IP address using DHCP... ## Error: environment overflow, "ethact" deleted *** ERROR: `ethaddr' not set ## Error: environment overflow, "ethact" deleted egiga1 no link ## Error: environment overflow, "ethact" deleted ## Error: environment overflow, "ethact" deleted *** ERROR: `ethaddr' not set ## Error: environment overflow, "ethact" deleted egiga1 no link ## Error: environment overflow, "ethact" deleted ## Error: environment overflow, "ethact" deleted *** ERROR: `ethaddr' not set ## Error: environment overflow, "ethact" deleted egiga1 no link ## Error: environment overflow, "ethact" deleted Failed to retreive an IP address assuming default (<NULL>)! Starting the Recovery process to retreive the file... ## Error: environment overflow, "ethact" deleted *** ERROR: `ethaddr' not set ## Error: environment overflow, "ethact" deleted egiga1 no link ## Error: environment overflow, "ethact" deleted Failed Power Button is pressed! MPP Sel: 00000530, Data IN Enable: 00020058, Data In Polarity: 00000040, Data I0 Power Button is released! MAC: 00:01:08:FC:24:4F, IP: 10.252.36.79 ## Error: environment overflow, "ethaddr" deleted ## Error: environment overflow, "ipaddr" deleted ## Error: environment overflow, "serverip" deleted ## Error: environment overflow, "netmask" deleted ## Error: environment overflow, "image_name" deleted ## Error: environment overflow, "console" deleted ## Error: environment overflow, "bootargs_root" deleted ## Error: environment overflow, "rootpath" deleted ## Error: environment overflow, "ethact" deleted *** ERROR: `serverip' not set ## Error: environment overflow, "bootargs" deleted ## Booting image at 00800000 ... Bad Magic Number Marvell>> setenv ipaddr 192.168.2.150 ## Error: environment overflow, "ipaddr" deleted
Re: NETGEAR STORA - Bad Magic Number January 28, 2019 09:44AM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: NETGEAR STORA - Bad Magic Number January 28, 2019 05:15PM |
Registered: 5 years ago Posts: 17 |
pi@raspberrypi:~/kwboot-tool $ ./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb -p Sending boot message. Please reboot the target...| Sending boot image... 0 % [......................................................................] 1 % [......................................................................] 3 % [......................................................................] 5 % [......................................................................] 6 % [......................................................................] 8 % [......................................................................] 10 % [......................................................................] 11 % [......................................................................] 13 % [......................................................................] 15 % [......................................................................] 17 % [......................................................................] 18 % [......................................................................] 20 % [......................................................................] 22 % [......................................................................] 23 % [......................................................................] 25 % [......................................................................] 27 % [......................................................................] 29 % [......................................................................] 30 % [......................................................................] 32 % [......................................................................] 34 % [......................................................................] 35 % [......................................................................] 37 % [......................................................................] 39 % [......................................................................] 41 % [......................................................................] 42 % [......................................................................] 44 % [......................................................................] 46 % [......................................................................] 47 % [......................................................................] 49 % [......................................................................] 51 % [......................................................................] 53 % [......................................................................] 54 % [......................................................................] 56 % [......................................................................] 58 % [......................................................................] 59 % [......................................................................] 61 % [......................................................................] 63 % [......................................................................] 64 % [......................................................................] 66 % [......................................................................] 68 % [......................................................................] 70 % [......................................................................] 71 % [......................................................................] 73 % [......................................................................] 75 % [......................................................................] 76 % [......................................................................] 78 % [......................................................................] 80 % [......................................................................] 82 % [......................................................................] 83 % [......................................................................] 85 % [......................................................................] 87 % [......................................................................] 88 % [......................................................................] 90 % [......................................................................] 92 % [......................................................................] 94 % [......................................................................] 95 % [......................................................................] 97 % [......................................................................] 99 % [....................................] [Type Ctrl-\ + c to quit]
Marvell>> setenv baudrate 115200 ## Error: environment overflow, "baudrate" deleted Marvell>>
Re: NETGEAR STORA - Bad Magic Number January 28, 2019 08:32PM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: NETGEAR STORA - Bad Magic Number January 29, 2019 03:52PM |
Registered: 5 years ago Posts: 17 |
.... .... Begin: Waiting for root file system ... done. Gave up waiting for root device. Common problems: - Boot args (cat /proc/cmdline) - Check rootdelay= (did the system wait long enough?) - Check root= (did the system wait for the right device?) - Missing modules (cat /proc/modules; ls /dev) ALERT! /dev/disk/by-label/rootfs does not exist. Dropping to a shell! [ 27.627289] uhci_hcd: USB Universal Host Controller Interface driver [ 27.644883] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 27.664694] hidraw: raw HID events driver (C) Jiri Kosina [ 27.672478] usbcore: registered new interface driver usbhid [ 27.678121] usbhid: USB HID core driver (initramfs)
Re: NETGEAR STORA - Bad Magic Number January 29, 2019 06:52PM |
Admin Registered: 13 years ago Posts: 18,997 |
printenv boot
Re: NETGEAR STORA - Bad Magic Number February 02, 2019 12:27PM |
Registered: 5 years ago Posts: 17 |
pi@raspberrypi:~/kwboot-tool $ ./kwboot_1 -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb -p Sending boot message. Please reboot the target...- Sending boot image... 0 % [......................................................................] 1 % [......................................................................] 3 % [......................................................................] 5 % [......................................................................] 6 % [......................................................................] 8 % [......................................................................] 10 % [......................................................................] 11 % [......................................................................] 13 % [......................................................................] 15 % [......................................................................] 17 % [......................................................................] 18 % [......................................................................] 20 % [......................................................................] 22 % [......................................................................] 23 % [......................................................................] 25 % [......................................................................] 27 % [......................................................................] 29 % [......................................................................] 30 % [......................................................................] 32 % [......................................................................] 34 % [......................................................................] 35 % [......................................................................] 37 % [......................................................................] 39 % [......................................................................] 41 % [......................................................................] 42 % [......................................................................] 44 % [......................................................................] 46 % [......................................................................] 47 % [......................................................................] 49 % [......................................................................] 51 % [......................................................................] 53 % [......................................................................] 54 % [......................................................................] 56 % [......................................................................] 58 % [......................................................................] 59 % [......................................................................] 61 % [......................................................................] 63 % [......................................................................] 64 % [......................................................................] 66 % [......................................................................] 68 % [......................................................................] 70 % [......................................................................] 71 % [......................................................................] 73 % [......................................................................] 75 % [......................................................................] 76 % [......................................................................] 78 % [......................................................................] 80 % [......................................................................] 82 % [......................................................................] 83 % [......................................................................] 85 % [......................................................................] 87 % [......................................................................] 88 % [......................................................................] 90 % [......................................................................] 92 % [......................................................................] 94 % [......................................................................] 95 % [......................................................................] 97 % [......................................................................] 99 % [....................................] [Type Ctrl-\ + c to quit] 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> 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: Bus 0: not available Bus 1: OK Device 1: Model: SAMSUNG HD501LJ Firm: CR100-12 Ser#: S0MUJ1EQ221814 Type: Hard Disk Supports 48-bit addressing Capacity: 476940.0 MB = 465.7 GB (976773168 x 512) Partition Map for USB device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 30029824 2384b32d-01 83 ## Unknown partition table type 0 ## Unknown partition table type 0 ## Unknown partition table type 0 ## Unknown partition table type 0 ## Unknown partition table type 0 ## Unknown partition table type 0 loading envs from usb 0 ... ** File not found /boot/uEnv.txt ** Partition Map for IDE device 1 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 976766976 28f7eead-01 07 running scan_disk ... Scan device usb device usb 0:1 ** File not found /boot/uImage ** device usb 1:1 ** Bad device usb 1 ** device usb 2:1 ** Bad device usb 2 ** device usb 3:1 ** Bad device usb 3 ** Scan device ide Reset IDE: Bus 0: not available Bus 1: OK Device 1: Model: SAMSUNG HD501LJ Firm: CR100-12 Ser#: S0MUJ1EQ221814 Type: Hard Disk Supports 48-bit addressing Capacity: 476940.0 MB = 465.7 GB (976773168 x 512) device ide 0:1 ** Bad device ide 0 ** device ide 1:1 Failed to mount ext2 filesystem... ** Unrecognized filesystem type ** device ide 2:1 ** Bad device ide 2 ** device ide 3:1 ** Bad device ide 3 ** loading uImage ... ** File not found /boot/uImage ** loading uInitrd ... ** File not found /boot/uInitrd ** loading DTB /boot/dts/kirkwood-netgear_stora_ms2000 ... ** File not found /boot/dts/kirkwood-netgear_stora_ms2000 ** Unknown command 'bootm0x800000' - try 'help' resetting ... __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ 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: ffffffff, Calculated CRC: 619d86db +++++++++++++++++++++++++++Checksum Error!++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++Checksum Error!++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++Checksum Error!++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++Checksum Error!++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++Checksum Error!++++++++++++++++++++++++++++++ ## Error: environment overflow, "stdin" deleted ## Error: environment overflow, "stdout" deleted ## Error: environment overflow, "stderr" deleted CPU : Marvell Feroceon (Rev 1) ## Error: environment overflow, "console" deleted ## Error: environment overflow, "mainlineLinux" deleted ## Error: environment overflow, "CASset" deleted ## Error: environment overflow, "enaMonExt" deleted ## Error: environment overflow, "enaCpuStream" deleted ## Error: environment overflow, "enaWrAllo" deleted ## Error: environment overflow, "pexMode" deleted ## Error: environment overflow, "disL2Cache" deleted ## Error: environment overflow, "setL2CacheWT" deleted ## Error: environment overflow, "disL2Prefetch" deleted ## Error: environment overflow, "enaICPref" deleted ## Error: environment overflow, "enaDCPref" deleted ## Error: environment overflow, "sata_dma_mode" deleted ## Error: environment overflow, "MALLOC_len" deleted ## Error: environment overflow, "ethprime" deleted ## Error: environment overflow, "netbsd_en" deleted ## Error: environment overflow, "vxworks_en" deleted ## Error: environment overflow, "bootargs_root" deleted ## Error: environment overflow, "bootargs_end" deleted ## Error: environment overflow, "image_name" deleted ## Error: environment overflow, "bootcmd" deleted ## Error: environment overflow, "standalone" deleted ## Error: environment overflow, "bootdelay" deleted ## Error: environment overflow, "disaMvPnp" deleted ## Error: environment overflow, "disaMvPnp" deleted ## Error: environment overflow, "ethaddr" deleted ## Error: environment overflow, "ethmtu" deleted ## Error: environment overflow, "eth1addr" deleted ## Error: environment overflow, "eth1mtu" deleted ## Error: environment overflow, "mvPhoneConfig" deleted ## Error: environment overflow, "mvNetConfig" deleted ## Error: environment overflow, "usb0Mode" deleted ## Error: environment overflow, "yuk_ethaddr" deleted ## Error: environment overflow, "nandEcc" deleted ## Error: environment overflow, "hddPowerCtrl" deleted ## Error: environment overflow, "netretry" deleted ## Error: environment overflow, "rcvrip" deleted ## Error: environment overflow, "loadaddr" deleted ## Error: environment overflow, "autoload" deleted ## Error: environment overflow, "enaAutoRecovery" deleted Streaming disabled Write allocate disabled Module 0 is RGMII Module 1 is TDM USB 0: device mode PEX 0: interface detected no Link. Net: ## Error: environment overflow, "ethact" deleted egiga0, egiga1## Error: environment overflow, "ethact" deleted USB: scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found Trying to load image from USB flash drive using FAT FS reading /flashware.img ** Unable to read "/flashware.img" from usb 0:1 ** Trying to load image from USB flash drive using ext2 FS partition 0 Failed to mount ext2 filesystem... ** Bad ext2 partition or disk - usb 0:0 ** Trying to load image from USB flash drive using ext2 FS partition 1
Re: NETGEAR STORA - Bad Magic Number February 02, 2019 01:35PM |
Admin Registered: 13 years ago Posts: 18,997 |
mount cd /media/sdb1 e2label /dev/sdb1 ls -l /media/sdb1 ls -lart /media/boot
dtb_file=/boot/dts/kirkwood-netgear_stora_ms2000
dtb_file=/boot/dts/kirkwood-netgear_stora_ms2000.dtb
Re: NETGEAR STORA - Bad Magic Number February 02, 2019 03:28PM |
Registered: 5 years ago Posts: 17 |
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 30029824 2384b32d-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 692 ms (0 Bytes/s) Found bootable drive on usb 0 loading uImage ... 3821592 bytes read in 817 ms (4.5 MiB/s) loading uInitrd ... 7245696 bytes read in 794 ms (8.7 MiB/s) loading DTB /boot/dts/kirkwood-netgear_stora_ms2000.dtb ... 11869 bytes read in 2614 ms (3.9 KiB/s) ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-4.12.1-kirkwood-tld-1 Created: 2017-07-20 8:11:24 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3821528 Bytes = 3.6 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-4.12.1-kirkwood-tld-1 Created: 2017-07-24 0:18:23 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 7245632 Bytes = 6.9 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 01c00000 Booting using the fdt blob at 0x1c00000 Loading Kernel Image ... OK Loading Ramdisk to 03917000, end 03ffff40 ... OK Loading Device Tree to 03911000, end 03916e5c ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.12.1-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Sat Jul 15 21:40:50 PDT 2017 [ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] OF: fdt: Machine model: NETGEAR MS2000 / MS2110 aka Stora [ 0.000000] Memory policy: Data cache writeback [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 [ 0.000000] 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] PID hash table entries: 512 (order: -1, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Memory: 109420K/131072K available (8192K kernel code, 716K rwdata, 1972K rodata, 1024K init, 288K bss, 21652K reserved, 0K cma-reserved) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xc8800000 - 0xff800000 ( 880 MB) [ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .text : 0xc0008000 - 0xc0900000 (9184 kB) [ 0.000000] .init : 0xc0c00000 - 0xc0d00000 (1024 kB) [ 0.000000] .data : 0xc0d00000 - 0xc0db3274 ( 717 kB) [ 0.000000] .bss : 0xc0db9b9c - 0xc0e01e60 ( 289 kB) [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns [ 0.000009] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns [ 0.000052] Switching to timer-based delay loop, resolution 5ns [ 0.000616] Console: colour dummy device 80x30 [ 0.000658] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000) [ 0.000687] pid_max: default: 32768 minimum: 301 [ 0.000923] Security Framework initialized [ 0.001073] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.001097] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.002128] CPU: Testing write buffer coherency: ok [ 0.003347] Setting up static identity map for 0x100000 - 0x100058 [ 0.003673] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3 [ 0.007623] devtmpfs: initialized [ 0.013009] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.013042] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.013520] prandom: seed boundary self test passed [ 0.018028] prandom: 100 self tests passed [ 0.018043] pinctrl core: initialized pinctrl subsystem [ 0.019426] NET: Registered protocol family 16 [ 0.020011] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.022006] cpuidle: using governor ladder [ 0.022091] cpuidle: using governor menu [ 0.022638] Feroceon L2: Enabling L2 [ 0.022695] Feroceon L2: Cache support initialised. [ 0.023128] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set [ 0.029240] No ATAGs? [ 0.040489] vgaarb: loaded [ 0.040884] SCSI subsystem initialized [ 0.041452] usbcore: registered new interface driver usbfs [ 0.041543] usbcore: registered new interface driver hub [ 0.041651] usbcore: registered new device driver usb [ 0.043021] clocksource: Switched to clocksource orion_clocksource [ 0.150759] VFS: Disk quotas dquot_6.6.0 [ 0.150852] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.163648] NET: Registered protocol family 2 [ 0.164518] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.164550] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.164575] TCP: Hash tables configured (established 1024 bind 1024) [ 0.164681] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.164710] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.164920] NET: Registered protocol family 1 [ 0.165417] RPC: Registered named UNIX socket transport module. [ 0.165431] RPC: Registered udp transport module. [ 0.165440] RPC: Registered tcp transport module. [ 0.165449] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.165734] Unpacking initramfs... [ 0.958665] Freeing initrd memory: 7076K [ 0.958850] NetWinder Floating Point Emulator V0.97 (double precision) [ 0.960001] audit: initializing netlink subsys (disabled) [ 0.960592] Initialise system trusted keyrings [ 0.960649] Key type blacklist registered [ 0.960758] audit: type=2000 audit(0.957:1): state=initialized audit_enabled=0 res=1 [ 0.960866] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 0.960950] zbud: loaded [ 0.962128] NFS: Registering the id_resolver key type [ 0.962159] Key type id_resolver registered [ 0.962169] Key type id_legacy registered [ 0.962190] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.962202] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 0.962440] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 0.962673] fuse init (API version 7.26) [ 0.963203] orangefs_debugfs_init: called with debug mask: :none: :0: [ 0.963507] orangefs_init: module version upstream loaded [ 0.963521] SGI XFS with ACLs, security attributes, realtime, no debug enabled [ 2.553029] random: fast init done [ 8.015823] Key type asymmetric registered [ 8.015843] Asymmetric key parser 'x509' registered [ 8.015922] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249) [ 8.015936] io scheduler noop registered [ 8.015945] io scheduler deadline registered [ 8.016044] io scheduler cfq registered (default) [ 8.017538] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver [ 8.019820] mvebu-pcie mbus@f1000000:pcie-controller@82000000: PCI host bridge to bus 0000:00 [ 8.019847] pci_bus 0000:00: root bus resource [io 0x1000-0xfffff] [ 8.019863] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff] [ 8.019880] pci_bus 0000:00: root bus resource [bus 00-ff] [ 8.020278] PCI: bus0: Fast back to back transfers disabled [ 8.020308] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 8.020501] PCI: bus1: Fast back to back transfers enabled [ 8.020591] pci 0000:00:01.0: PCI bridge to [bus 01] [ 8.021248] mv_xor f1060800.xor: Marvell shared XOR driver [ 8.084076] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr ) [ 8.084337] mv_xor f1060900.xor: Marvell shared XOR driver [ 8.143934] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr ) [ 8.144448] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 8.146032] console [ttyS0] disabled [ 8.146112] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A [ 8.798554] console [ttyS0] enabled [ 8.812289] loop: module loaded [ 8.816200] sata_mv f1080000.sata: slots 32 ports 2 [ 8.824503] scsi host0: sata_mv [ 8.828200] scsi host1: sata_mv [ 8.831641] ata1: SATA max UDMA/133 irq 33 [ 8.835823] ata2: SATA max UDMA/133 irq 33 [ 8.840842] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xda [ 8.847357] nand: Samsung NAND 256MiB 3,3V 8-bit [ 8.851997] nand: 256 MiB, MLC, erase size: 4096 KiB, page size: 4096, OOB size: 128 [ 8.859810] nand: WARNING: f4000000.nand: the ECC used on your system is too weak compared to the one required by the NAND chip [ 8.871369] Scanning device for bad blocks [ 8.875582] Bad eraseblock 0 at 0x0000003ff000 [ 8.880241] Bad eraseblock 3 at 0x000000fff000 [ 8.884794] Bad eraseblock 4 at 0x0000013ff000 [ 8.889320] Bad eraseblock 5 at 0x0000017ff000 [ 8.893869] Bad eraseblock 6 at 0x000001bff000 [ 8.898462] Bad eraseblock 8 at 0x0000023ff000 [ 8.903059] Bad eraseblock 10 at 0x000002bff000 [ 8.907741] Bad eraseblock 12 at 0x0000033ff000 [ 8.912358] Bad eraseblock 13 at 0x0000037ff000 [ 8.916995] Bad eraseblock 14 at 0x000003bff000 [ 8.921610] Bad eraseblock 15 at 0x000003fff000 [ 8.926247] Bad eraseblock 16 at 0x0000043ff000 [ 8.930862] Bad eraseblock 17 at 0x0000047ff000 [ 8.935499] Bad eraseblock 18 at 0x000004bff000 [ 8.940114] Bad eraseblock 19 at 0x000004fff000 [ 8.944751] Bad eraseblock 20 at 0x0000053ff000 [ 8.949366] Bad eraseblock 21 at 0x0000057ff000 [ 8.954003] Bad eraseblock 22 at 0x000005bff000 [ 8.958618] Bad eraseblock 23 at 0x000005fff000 [ 8.963254] Bad eraseblock 24 at 0x0000063ff000 [ 8.967869] Bad eraseblock 25 at 0x0000067ff000 [ 8.972482] Bad eraseblock 26 at 0x000006bff000 [ 8.977120] Bad eraseblock 27 at 0x000006fff000 [ 8.981734] Bad eraseblock 28 at 0x0000073ff000 [ 8.986372] Bad eraseblock 29 at 0x0000077ff000 [ 8.990987] Bad eraseblock 30 at 0x000007bff000 [ 8.995623] Bad eraseblock 31 at 0x000007fff000 [ 9.000303] Bad eraseblock 33 at 0x0000087ff000 [ 9.004951] Bad eraseblock 34 at 0x000008bff000 [ 9.009569] Bad eraseblock 35 at 0x000008fff000 [ 9.014207] Bad eraseblock 36 at 0x0000093ff000 [ 9.018821] Bad eraseblock 37 at 0x0000097ff000 [ 9.023458] Bad eraseblock 38 at 0x000009bff000 [ 9.028072] Bad eraseblock 39 at 0x000009fff000 [ 9.032685] Bad eraseblock 40 at 0x00000a3ff000 [ 9.037329] Bad eraseblock 41 at 0x00000a7ff000 [ 9.041947] Bad eraseblock 42 at 0x00000abff000 [ 9.046584] Bad eraseblock 43 at 0x00000afff000 [ 9.051198] Bad eraseblock 44 at 0x00000b3ff000 [ 9.055835] Bad eraseblock 45 at 0x00000b7ff000 [ 9.060449] Bad eraseblock 46 at 0x00000bbff000 [ 9.065115] Bad eraseblock 47 at 0x00000bfff000 [ 9.069737] Bad eraseblock 48 at 0x00000c3ff000 [ 9.074399] Bad eraseblock 49 at 0x00000c7ff000 [ 9.079015] Bad eraseblock 50 at 0x00000cbff000 [ 9.083676] Bad eraseblock 51 at 0x00000cfff000 [ 9.088293] Bad eraseblock 52 at 0x00000d3ff000 [ 9.092936] Bad eraseblock 53 at 0x00000d7ff000 [ 9.097580] Bad eraseblock 54 at 0x00000dbff000 [ 9.102232] Bad eraseblock 55 at 0x00000dfff000 [ 9.106876] Bad eraseblock 56 at 0x00000e3ff000 [ 9.111528] Bad eraseblock 57 at 0x00000e7ff000 [ 9.116171] Bad eraseblock 58 at 0x00000ebff000 [ 9.120814] Bad eraseblock 59 at 0x00000efff000 [ 9.125458] Bad eraseblock 60 at 0x00000f3ff000 [ 9.130110] Bad eraseblock 61 at 0x00000f7ff000 [ 9.134753] Bad eraseblock 62 at 0x00000fbff000 [ 9.139404] Bad eraseblock 63 at 0x00000ffff000 [ 9.144000] 3 cmdlinepart partitions found on MTD device orion_nand [ 9.150327] Creating 3 MTD partitions on "orion_nand": [ 9.155552] 0x000000000000-0x000000100000 : "uboot" [ 9.160456] mtd: partition "uboot" doesn't end on an erase block -- force read-only [ 9.169750] 0x000000100000-0x000000500000 : "kernel" [ 9.174813] ata1: SATA link down (SStatus 0 SControl F300) [ 9.180528] mtd: partition "kernel" doesn't start on an erase block boundary -- force read-only [ 9.190819] 0x000000500000-0x000010000000 : "rootfs" [ 9.195871] mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only [ 9.207670] libphy: Fixed MDIO Bus: probed [ 9.212822] libphy: orion_mdio_bus: probed [ 9.217036] [Firmware Warn]: /ocp@f1000000/mdio-bus@72004/ethernet-phy@8: Whitelisted compatible string. Please remove [ 9.233706] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4 [ 9.504519] ata2: SATA link down (SStatus 0 SControl F300) [ 10.339727] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 52:3b:20:9c:11:51 [ 10.348647] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 10.355264] ehci-pci: EHCI PCI platform driver [ 10.359802] ehci-orion: EHCI orion driver [ 10.364113] orion-ehci f1050000.ehci: EHCI Host Controller [ 10.369655] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1 [ 10.377608] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000 [ 10.413063] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00 [ 10.419388] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 10.426248] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 10.433533] usb usb1: Product: EHCI Host Controller [ 10.438435] usb usb1: Manufacturer: Linux 4.12.1-kirkwood-tld-1 ehci_hcd [ 10.445191] usb usb1: SerialNumber: f1050000.ehci [ 10.450684] hub 1-0:1.0: USB hub found [ 10.454566] hub 1-0:1.0: 1 port detected [ 10.459252] usbcore: registered new interface driver usb-storage [ 10.465771] mousedev: PS/2 mouse device common for all mice [ 10.813063] usb 1-1: new high-speed USB device number 2 using orion-ehci [ 11.024616] usb 1-1: New USB device found, idVendor=0781, idProduct=5583 [ 11.031369] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 11.038583] usb 1-1: Product: Ultra Fit [ 11.042444] usb 1-1: Manufacturer: SanDisk [ 11.046584] usb 1-1: SerialNumber: 4C530000041215115005 [ 11.052870] usb-storage 1-1:1.0: USB Mass Storage device detected [ 11.059473] scsi host2: usb-storage 1-1:1.0 [ 11.523062] rtc-mv f1010300.rtc: internal RTC not ticking [ 11.528708] i2c /dev entries driver [ 11.539350] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0 [ 11.549479] hidraw: raw HID events driver (C) Jiri Kosina [ 11.555434] drop_monitor: Initializing network drop monitor service [ 11.562025] NET: Registered protocol family 17 [ 11.566629] Key type dns_resolver registered [ 11.571880] registered taskstats version 1 [ 11.576041] Loading compiled-in X.509 certificates [ 11.580924] zswap: loaded using pool lzo/zbud [ 11.597555] Key type big_key registered [ 11.612871] Key type encrypted registered [ 11.620104] rtc-pcf8563 0-0051: setting system clock to 2019-02-03 00:26:39 UTC (1549153599) [ 11.633252] Freeing unused kernel memory: 1024K Loading, please wait... starting version 232 [ 12.088621] scsi 2:0:0:0: Direct-Access SanDisk Ultra Fit 1.00 PQ: 0 ANSI: 6 [ 12.107183] sd 2:0:0:0: [sda] 30031872 512-byte logical blocks: (15.4 GB/14.3 GiB) [ 12.124563] sd 2:0:0:0: [sda] Write Protect is off [ 12.132754] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 12.159219] sda: sda1 [ 12.166804] sd 2:0:0:0: [sda] Attached SCSI removable disk [ 12.216071] 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. Warning: fsck not present, so skipping root file system [ 22.926044] EXT4-fs (sda1): recovery complete [ 22.935702] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null) done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. INIT: version 2.88 booting [info] Using makefile-style concurrent boot in runlevel S. [ ok ] Setting hostname to 'debian'...done. [....] Starting the hotplug events dispatcher: systemd-udevdstarting version 232 . ok [....] Synthesizing the initial hotplug events...[ 25.202086] input: gpio-keys as /devices/platform/gpio-keys/input/input0 [ ok done. [....] Waiting for /dev to be fully populated...[ 25.563413] lm75 0-0048: hwmon0: sensor 'lm75' [ 25.674954] marvell-cesa f1030000.crypto: CESA device successfully registered [ 25.706100] orion_wdt: Initial timeout 21 sec [ 25.820760] sd 2:0:0:0: Attached scsi generic sg0 type 0 [ 26.119901] random: crng init done done. [ ok ] Activating swap:. [ 27.533694] EXT4-fs (sda1): re-mounted. Opts: (null) [....] Will now check root file system:fsck from util-linux 2.29.2 [/sbin/fsck.ext3 (1) -- /] fsck.ext3 -y -C0 /dev/sda1 e2fsck 1.43.4 (31-Jan-2017) rootfs: clean, 14452/940240 files, 205028/3753728 blocks . ok [ 27.976123] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro [ ok ] Will now activate lvm and md swap:done. [info] Will now check all file systems. fsck from util-linux 2.29.2 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 ] Setting kernel variables...done. [ ok ] Initializing random number generator...done. [....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.5 Copyright 2004-2016 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 4 [ 34.947683] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled [ 37.472188] NET: Registered protocol family 10 [ 37.479521] Segment Routing with IPv6 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6 DHCPREQUEST of 192.168.2.7 on eth0 to 255.255.255.255 port 67 DHCPOFFER of 192.168.2.7 from 192.168.2.50 DHCPACK of 192.168.2.7 from 192.168.2.50 bound to 192.168.2.7 -- renewal in 3156 seconds. 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... 1321 (syslogd) . ok [ ok ] Starting NFS common utilities: statd idmapd. [ ok ] Starting system message bus: dbus. [ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon. [warn] Not starting NFS kernel daemon: no exports. ... (warning). [ ok ] Starting NTP server: ntpd. [....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd... 1320 (klogd) . ok [ ok ] Starting OpenBSD Secure Shell server: sshd. [ ok ] Running local boot scripts (/etc/rc.local). Debian GNU/Linux 9 debian ttyS0 debian login: root Password: Login incorrect debian login: root Password: Last login: Wed Dec 31 16:01:32 PST 1969 from 192.168.0.220 on pts/0 Linux debian 4.12.1-kirkwood-tld-1 #1 PREEMPT Sat Jul 15 21:40:50 PDT 2017 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.
Re: NETGEAR STORA - Bad Magic Number February 02, 2019 04:38PM |
Admin Registered: 13 years ago Posts: 18,997 |
[ 8.893869] Bad eraseblock 6 at 0x000001bff000
Re: NETGEAR STORA - Bad Magic Number February 02, 2019 06:12PM |
Registered: 5 years ago Posts: 17 |
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 00400000 "uboot" mtd1: 00400000 00400000 "kernel" mtd2: 0fb00000 00400000 "rootfs"
root@debian:~# fw_printenv ethaddr Unsupported flash type 8 on /dev/mtd0 Warning: Bad CRC, using default environment ethaddr=00:00:11:22:33:44
root@debian:~# dmesg | grep -i 'bad' [ 8.871397] Scanning device for bad blocks [ 8.875610] Bad eraseblock 0 at 0x0000003ff000 [ 8.880270] Bad eraseblock 3 at 0x000000fff000 [ 8.884822] Bad eraseblock 4 at 0x0000013ff000 [ 8.889348] Bad eraseblock 5 at 0x0000017ff000 [ 8.893898] Bad eraseblock 6 at 0x000001bff000 [ 8.898490] Bad eraseblock 8 at 0x0000023ff000 [ 8.903109] Bad eraseblock 10 at 0x000002bff000 [ 8.907795] Bad eraseblock 12 at 0x0000033ff000 [ 8.912411] Bad eraseblock 13 at 0x0000037ff000 [ 8.917050] Bad eraseblock 14 at 0x000003bff000 [ 8.921664] Bad eraseblock 15 at 0x000003fff000 [ 8.926301] Bad eraseblock 16 at 0x0000043ff000 [ 8.930917] Bad eraseblock 17 at 0x0000047ff000 [ 8.935553] Bad eraseblock 18 at 0x000004bff000 [ 8.940168] Bad eraseblock 19 at 0x000004fff000 [ 8.944805] Bad eraseblock 20 at 0x0000053ff000 [ 8.949420] Bad eraseblock 21 at 0x0000057ff000 [ 8.954058] Bad eraseblock 22 at 0x000005bff000 [ 8.958671] Bad eraseblock 23 at 0x000005fff000 [ 8.963309] Bad eraseblock 24 at 0x0000063ff000 [ 8.967924] Bad eraseblock 25 at 0x0000067ff000 [ 8.972536] Bad eraseblock 26 at 0x000006bff000 [ 8.977174] Bad eraseblock 27 at 0x000006fff000 [ 8.981788] Bad eraseblock 28 at 0x0000073ff000 [ 8.986426] Bad eraseblock 29 at 0x0000077ff000 [ 8.991040] Bad eraseblock 30 at 0x000007bff000 [ 8.995678] Bad eraseblock 31 at 0x000007fff000 [ 9.000357] Bad eraseblock 33 at 0x0000087ff000 [ 9.005005] Bad eraseblock 34 at 0x000008bff000 [ 9.009624] Bad eraseblock 35 at 0x000008fff000 [ 9.014270] Bad eraseblock 36 at 0x0000093ff000 [ 9.018884] Bad eraseblock 37 at 0x0000097ff000 [ 9.023520] Bad eraseblock 38 at 0x000009bff000 [ 9.028135] Bad eraseblock 39 at 0x000009fff000 [ 9.032747] Bad eraseblock 40 at 0x00000a3ff000 [ 9.037393] Bad eraseblock 41 at 0x00000a7ff000 [ 9.042009] Bad eraseblock 42 at 0x00000abff000 [ 9.046648] Bad eraseblock 43 at 0x00000afff000 [ 9.051261] Bad eraseblock 44 at 0x00000b3ff000 [ 9.055898] Bad eraseblock 45 at 0x00000b7ff000 [ 9.060513] Bad eraseblock 46 at 0x00000bbff000 [ 9.065177] Bad eraseblock 47 at 0x00000bfff000 [ 9.069791] Bad eraseblock 48 at 0x00000c3ff000 [ 9.074453] Bad eraseblock 49 at 0x00000c7ff000 [ 9.079069] Bad eraseblock 50 at 0x00000cbff000 [ 9.083730] Bad eraseblock 51 at 0x00000cfff000 [ 9.088348] Bad eraseblock 52 at 0x00000d3ff000 [ 9.092990] Bad eraseblock 53 at 0x00000d7ff000 [ 9.097634] Bad eraseblock 54 at 0x00000dbff000 [ 9.102276] Bad eraseblock 55 at 0x00000dfff000 [ 9.106921] Bad eraseblock 56 at 0x00000e3ff000 [ 9.111572] Bad eraseblock 57 at 0x00000e7ff000 [ 9.116216] Bad eraseblock 58 at 0x00000ebff000 [ 9.120858] Bad eraseblock 59 at 0x00000efff000 [ 9.125504] Bad eraseblock 60 at 0x00000f3ff000 [ 9.130154] Bad eraseblock 61 at 0x00000f7ff000 [ 9.134798] Bad eraseblock 62 at 0x00000fbff000 [ 9.139450] Bad eraseblock 63 at 0x00000ffff000 root@debian:~#If I search bad block with uboot nand bad command I find:
Netgear Stora> nand bad Device 0 bad blocks: 048a0000 076c0000 0b560000My stora boot only with kwboot. What do you think if I try to perform a NAND reset using nand scrub or a nand erase command? Could this solve the issue??
Re: NETGEAR STORA - Bad Magic Number February 02, 2019 07:09PM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: NETGEAR STORA - Bad Magic Number February 03, 2019 06:45AM |
Registered: 5 years ago Posts: 17 |
dmesg | grep -i 'bad' [ 8.865697] Scanning device for bad blocksStrange thing because on uboot I've this output
Netgear Stora> nand bad Device 0 bad blocks: 048a0000 076c0000 0b560000
root@debian:~/tools# ./flash_erase /dev/mtd0 0 4 flash_erase: error!: /dev/mtd0 error 13 (Permission denied) root@debian:~/tools# ./nandwrite /dev/mtd0 uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb nandwrite: error!: /dev/mtd0 error 13 (Permission denied)Is the NAND in read only mode. On debian I'm logged as root...
Re: NETGEAR STORA - Bad Magic Number February 03, 2019 07:18AM |
Admin Registered: 13 years ago Posts: 18,997 |
dmesg cat /proc/mtd
Re: NETGEAR STORA - Bad Magic Number February 03, 2019 08:36AM |
Registered: 5 years ago Posts: 17 |
root@debian:~/tools# dmesg [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.12.1-kirkwood-tld-1 (root@tldDebian) (gcc versio7 [ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=000539f [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] OF: fdt: Machine model: NETGEAR MS2000 / MS2110 aka Stora [ 0.000000] Memory policy: Data cache writeback [ 0.000000] On node 0 totalpages: 32768 [ 0.000000] free_area_init_node: node 0, pgdat c0d9e084, node_mem_map c7ef900 [ 0.000000] Normal zone: 256 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 32768 pages, LIFO batch:7 [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pa2 [ 0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootw [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Memory: 109420K/131072K available (8192K kernel code, 716K rwdat) [ 0.000000] Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xffc00000 - 0xfff00000 (3072 kB) vmalloc : 0xc8800000 - 0xff800000 ( 880 MB) lowmem : 0xc0000000 - 0xc8000000 ( 128 MB) modules : 0xbf000000 - 0xc0000000 ( 16 MB) .text : 0xc0008000 - 0xc0900000 (9184 kB) .init : 0xc0c00000 - 0xc0d00000 (1024 kB) .data : 0xc0d00000 - 0xc0db3274 ( 717 kB) .bss : 0xc0db9b9c - 0xc0e01e60 ( 289 kB) [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xfs [ 0.000009] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 1073s [ 0.000053] Switching to timer-based delay loop, resolution 5ns [ 0.000618] Console: colour dummy device 80x30 [ 0.000659] Calibrating delay loop (skipped), value calculated using timer f) [ 0.000687] pid_max: default: 32768 minimum: 301 [ 0.000919] Security Framework initialized [ 0.001067] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.001091] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.002128] CPU: Testing write buffer coherency: ok [ 0.003349] Setting up static identity map for 0x100000 - 0x100058 [ 0.003676] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3 [ 0.007621] devtmpfs: initialized [ 0.012971] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ms [ 0.013003] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.013480] prandom: seed boundary self test passed [ 0.017987] prandom: 100 self tests passed [ 0.018001] pinctrl core: initialized pinctrl subsystem [ 0.019395] NET: Registered protocol family 16 [ 0.019981] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.021995] cpuidle: using governor ladder [ 0.022080] cpuidle: using governor menu [ 0.022627] Feroceon L2: Enabling L2 [ 0.022684] Feroceon L2: Cache support initialised. [ 0.023117] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet [ 0.029225] No ATAGs? [ 0.040495] vgaarb: loaded [ 0.040890] SCSI subsystem initialized [ 0.041110] libata version 3.00 loaded. [ 0.041458] usbcore: registered new interface driver usbfs [ 0.041550] usbcore: registered new interface driver hub [ 0.041656] usbcore: registered new device driver usb [ 0.043021] clocksource: Switched to clocksource orion_clocksource [ 0.150709] VFS: Disk quotas dquot_6.6.0 [ 0.150801] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.163578] NET: Registered protocol family 2 [ 0.164453] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.164485] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.164510] TCP: Hash tables configured (established 1024 bind 1024) [ 0.164616] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.164645] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.164858] NET: Registered protocol family 1 [ 0.165354] RPC: Registered named UNIX socket transport module. [ 0.165369] RPC: Registered udp transport module. [ 0.165378] RPC: Registered tcp transport module. [ 0.165386] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.165401] PCI: CLS 0 bytes, default 32 [ 0.165667] Unpacking initramfs... [ 0.958574] Freeing initrd memory: 7076K [ 0.958759] NetWinder Floating Point Emulator V0.97 (double precision) [ 0.959912] audit: initializing netlink subsys (disabled) [ 0.960503] Initialise system trusted keyrings [ 0.960571] Key type blacklist registered [ 0.960683] audit: type=2000 audit(0.957:1): state=initialized audit_enabled1 [ 0.960794] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 0.960877] zbud: loaded [ 0.962049] NFS: Registering the id_resolver key type [ 0.962081] Key type id_resolver registered [ 0.962093] Key type id_legacy registered [ 0.962113] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.962126] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 0.962362] jffs2: version 2.2. (NAND) (SUMMARY) \xffffffc2\xffffffa9 2001-. [ 0.962595] fuse init (API version 7.26) [ 0.963121] orangefs_debugfs_init: called with debug mask: :none: :0: [ 0.963428] orangefs_init: module version upstream loaded [ 0.963442] SGI XFS with ACLs, security attributes, realtime, no debug enabld [ 2.553030] random: fast init done [ 8.015939] Key type asymmetric registered [ 8.015959] Asymmetric key parser 'x509' registered [ 8.016038] Block layer SCSI generic (bsg) driver version 0.4 loaded (major ) [ 8.016052] io scheduler noop registered [ 8.016062] io scheduler deadline registered [ 8.016161] io scheduler cfq registered (default) [ 8.017656] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl drir [ 8.019937] mvebu-pcie mbus@f1000000:pcie-controller@82000000: PCI host brid0 [ 8.019963] pci_bus 0000:00: root bus resource [io 0x1000-0xfffff] [ 8.019979] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff] [ 8.019995] pci_bus 0000:00: root bus resource [bus 00-ff] [ 8.020010] pci_bus 0000:00: scanning bus [ 8.020054] pci 0000:00:01.0: [11ab:6281] type 01 class 0x060400 [ 8.020104] pci 0000:00:01.0: calling pci_fixup_ide_bases+0x0/0x40 [ 8.020379] pci_bus 0000:00: fixups for bus [ 8.020394] PCI: bus0: Fast back to back transfers disabled [ 8.020413] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 0 [ 8.020423] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reg [ 8.020444] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 1 [ 8.020596] pci_bus 0000:01: scanning bus [ 8.020608] pci_bus 0000:01: fixups for bus [ 8.020615] PCI: bus1: Fast back to back transfers enabled [ 8.020629] pci_bus 0000:01: bus scan returning with max=01 [ 8.020642] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 8.020655] pci_bus 0000:00: bus scan returning with max=01 [ 8.020671] pci 0000:00:01.0: fixup irq: got 0 [ 8.020679] pci 0000:00:01.0: assigning IRQ 00 [ 8.020705] pci 0000:00:01.0: PCI bridge to [bus 01] [ 8.020817] pcieport 0000:00:01.0: enabling bus mastering [ 8.021355] mv_xor f1060800.xor: Marvell shared XOR driver [ 8.084070] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy sg ) [ 8.084332] mv_xor f1060900.xor: Marvell shared XOR driver [ 8.143938] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy sg ) [ 8.144453] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 8.146042] console [ttyS0] disabled [ 8.146121] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud =A [ 8.798565] console [ttyS0] enabled [ 8.812295] loop: module loaded [ 8.815894] sata_mv f1080000.sata: version 1.28 [ 8.816212] sata_mv f1080000.sata: slots 32 ports 2 [ 8.824519] scsi host0: sata_mv [ 8.828218] scsi host1: sata_mv [ 8.831653] ata1: SATA max UDMA/133 irq 33 [ 8.835832] ata2: SATA max UDMA/133 irq 33 [ 8.840843] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xda [ 8.847351] nand: Samsung NAND 256MiB 3,3V 8-bit [ 8.851990] nand: 256 MiB, MLC, erase size: 4096 KiB, page size: 4096, OOB s8 [ 8.859804] nand: WARNING: f4000000.nand: the ECC used on your system is toop [ 8.871364] Scanning device for bad blocks [ 8.879659] 3 cmdlinepart partitions found on MTD device orion_nand [ 8.885979] Creating 3 MTD partitions on "orion_nand": [ 8.891155] 0x000000000000-0x000000100000 : "uboot" [ 8.896085] mtd: partition "uboot" doesn't end on an erase block -- force rey [ 8.905356] 0x000000100000-0x000000500000 : "kernel" [ 8.910353] mtd: partition "kernel" doesn't start on an erase block boundaryy [ 8.920659] 0x000000500000-0x000010000000 : "rootfs" [ 8.925709] mtd: partition "rootfs" doesn't start on an erase block boundaryy [ 8.937494] libphy: Fixed MDIO Bus: probed [ 8.942642] libphy: orion_mdio_bus: probed [ 8.946850] [Firmware Warn]: /ocp@f1000000/mdio-bus@72004/ethernet-phy@8: Whe [ 8.963646] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4 [ 9.174528] ata1: SATA link down (SStatus 0 SControl F300) [ 9.524502] ata2: SATA link down (SStatus 0 SControl F300) [ 10.074613] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC addres1 [ 10.083644] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 10.090227] ehci-pci: EHCI PCI platform driver [ 10.094800] ehci-orion: EHCI orion driver [ 10.099085] orion-ehci f1050000.ehci: EHCI Host Controller [ 10.104669] orion-ehci f1050000.ehci: new USB bus registered, assigned bus n1 [ 10.112581] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000 [ 10.143065] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00 [ 10.149388] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 10.156252] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber1 [ 10.163538] usb usb1: Product: EHCI Host Controller [ 10.168441] usb usb1: Manufacturer: Linux 4.12.1-kirkwood-tld-1 ehci_hcd [ 10.175196] usb usb1: SerialNumber: f1050000.ehci [ 10.180686] hub 1-0:1.0: USB hub found [ 10.184571] hub 1-0:1.0: 1 port detected [ 10.189258] usbcore: registered new interface driver usb-storage [ 10.195769] mousedev: PS/2 mouse device common for all mice [ 10.543063] usb 1-1: new high-speed USB device number 2 using orion-ehci [ 10.754463] usb 1-1: New USB device found, idVendor=0781, idProduct=5583 [ 10.761217] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 10.768418] usb 1-1: Product: Ultra Fit [ 10.772292] usb 1-1: Manufacturer: SanDisk [ 10.776432] usb 1-1: SerialNumber: 4C530000041215115005 [ 10.782715] usb-storage 1-1:1.0: USB Mass Storage device detected [ 10.789305] scsi host2: usb-storage 1-1:1.0 [ 11.283057] rtc-mv f1010300.rtc: internal RTC not ticking [ 11.288702] i2c /dev entries driver [ 11.299352] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0 [ 11.309501] hidraw: raw HID events driver (C) Jiri Kosina [ 11.315464] drop_monitor: Initializing network drop monitor service [ 11.322052] NET: Registered protocol family 17 [ 11.326657] Key type dns_resolver registered [ 11.331912] registered taskstats version 1 [ 11.336068] Loading compiled-in X.509 certificates [ 11.340950] zswap: loaded using pool lzo/zbud [ 11.357596] Key type big_key registered [ 11.373016] Key type encrypted registered [ 11.380191] rtc-pcf8563 0-0051: setting system clock to 2019-02-03 12:55:59 ) [ 11.389073] PM: Hibernation image not present or could not be loaded. [ 11.393360] Freeing unused kernel memory: 1024K [ 11.847341] scsi 2:0:0:0: Direct-Access SanDisk Ultra Fit 1.00 P6 [ 11.865412] sd 2:0:0:0: [sda] 30031872 512-byte logical blocks: (15.4 GB/14.) [ 11.882288] sd 2:0:0:0: [sda] Write Protect is off [ 11.890860] sd 2:0:0:0: [sda] Mode Sense: 43 00 00 00 [ 11.891656] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doA [ 11.916566] sda: sda1 [ 11.924399] sd 2:0:0:0: [sda] Attached SCSI removable disk [ 11.976063] usbcore: registered new interface driver uas [ 22.769227] EXT4-fs (sda1): recovery complete [ 22.775674] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts:) [ 25.046227] input: gpio-keys as /devices/platform/gpio-keys/input/input0 [ 25.352903] lm75 0-0048: hwmon0: sensor 'lm75' [ 25.523445] marvell-cesa f1030000.crypto: CESA device successfully registered [ 25.572695] orion_wdt: Initial timeout 21 sec [ 25.642811] sd 2:0:0:0: Attached scsi generic sg0 type 0 [ 25.840566] random: crng init done [ 27.342411] EXT4-fs (sda1): re-mounted. Opts: (null) [ 27.776845] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro [ 34.711855] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, fud [ 37.234338] NET: Registered protocol family 10 [ 37.241585] Segment Routing with IPv6 root@debian:~/tools# cat /proc/mtd dev: size erasesize name mtd0: 00100000 00400000 "uboot" mtd1: 00400000 00400000 "kernel" mtd2: 0fb00000 00400000 "rootfs" root@debian:~/tools#Dirk Pitt
Re: NETGEAR STORA - Bad Magic Number February 03, 2019 12:08PM |
Admin Registered: 13 years ago Posts: 18,997 |
[ 8.885979] Creating 3 MTD partitions on "orion_nand": [ 8.891155] 0x000000000000-0x000000100000 : "uboot" [ 8.896085] mtd: partition "uboot" doesn't end on an erase block -- force rey [ 8.905356] 0x000000100000-0x000000500000 : "kernel" [ 8.910353] mtd: partition "kernel" doesn't start on an erase block boundaryy [ 8.920659] 0x000000500000-0x000010000000 : "rootfs" [ 8.925709] mtd: partition "rootfs" doesn't start on an erase block boundaryy
root@debian:~/tools# cat /proc/mtd dev: size erasesize name mtd0: 00100000 00400000 "uboot" mtd1: 00400000 00400000 "kernel" mtd2: 0fb00000 00400000 "rootfs"
Re: NETGEAR STORA - Bad Magic Number February 04, 2019 04:22AM |
Admin Registered: 13 years ago Posts: 18,997 |
setenv mtdparts 'mtdparts=orion_nand:1M(uboot),4M@(kernel),-(rootfs)'and boot
boot
cat /proc/mtdAnd try flashing u-boot again.
Re: NETGEAR STORA - Bad Magic Number February 04, 2019 03:05PM |
Registered: 5 years ago Posts: 17 |
Hit any key to stop autoboot: 0 Netgear Stora> setenv dtb_file /boot/dts/kirkwood-netgear_stora_ms2000.dtb Netgear Stora> setenv mtdparts 'mtdparts=orion_nand:1M(uboot),4M@(kernel),-(rootfs)' 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.dtb 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@(kernel),-(rootfs) 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: 2898/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 30029824 2384b32d-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 692 ms (0 Bytes/s) Found bootable drive on usb 0 loading uImage ... 3821592 bytes read in 817 ms (4.5 MiB/s) loading uInitrd ... 7245696 bytes read in 793 ms (8.7 MiB/s) loading DTB /boot/dts/kirkwood-netgear_stora_ms2000.dtb ... 11869 bytes read in 2614 ms (3.9 KiB/s) ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-4.12.1-kirkwood-tld-1 Created: 2017-07-20 8:11:24 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3821528 Bytes = 3.6 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-4.12.1-kirkwood-tld-1 Created: 2017-07-24 0:18:23 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 7245632 Bytes = 6.9 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 01c00000 Booting using the fdt blob at 0x1c00000 Loading Kernel Image ... OK Loading Ramdisk to 03917000, end 03ffff40 ... OK Loading Device Tree to 03911000, end 03916e5c ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.12.1-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Sat Jul 15 21:40:50 PDT 2017 [ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] OF: fdt: Machine model: NETGEAR MS2000 / MS2110 aka Stora [ 0.000000] Memory policy: Data cache writeback [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(uboot),4M@(kernel),-(rootfs) [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Memory: 109420K/131072K available (8192K kernel code, 716K rwdata, 1972K rodata, 1024K init, 288K bss, 21652K reserved, 0K cma-reserved) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xc8800000 - 0xff800000 ( 880 MB) [ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .text : 0xc0008000 - 0xc0900000 (9184 kB) [ 0.000000] .init : 0xc0c00000 - 0xc0d00000 (1024 kB) [ 0.000000] .data : 0xc0d00000 - 0xc0db3274 ( 717 kB) [ 0.000000] .bss : 0xc0db9b9c - 0xc0e01e60 ( 289 kB) [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns [ 0.000009] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns [ 0.000051] Switching to timer-based delay loop, resolution 5ns [ 0.000619] Console: colour dummy device 80x30 [ 0.000661] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000) [ 0.000689] pid_max: default: 32768 minimum: 301 [ 0.000923] Security Framework initialized [ 0.001073] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.001096] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.002133] CPU: Testing write buffer coherency: ok [ 0.003359] Setting up static identity map for 0x100000 - 0x100058 [ 0.003686] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3 [ 0.007640] devtmpfs: initialized [ 0.012959] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.012992] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.013465] prandom: seed boundary self test passed [ 0.017973] prandom: 100 self tests passed [ 0.017988] pinctrl core: initialized pinctrl subsystem [ 0.019382] NET: Registered protocol family 16 [ 0.019944] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.021981] cpuidle: using governor ladder [ 0.022069] cpuidle: using governor menu [ 0.022594] Feroceon L2: Enabling L2 [ 0.022650] Feroceon L2: Cache support initialised. [ 0.023084] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set [ 0.029196] No ATAGs? [ 0.040434] vgaarb: loaded [ 0.040826] SCSI subsystem initialized [ 0.041395] usbcore: registered new interface driver usbfs [ 0.041487] usbcore: registered new interface driver hub [ 0.041593] usbcore: registered new device driver usb [ 0.042945] clocksource: Switched to clocksource orion_clocksource [ 0.150617] VFS: Disk quotas dquot_6.6.0 [ 0.150710] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.163477] NET: Registered protocol family 2 [ 0.164352] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.164383] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.164409] TCP: Hash tables configured (established 1024 bind 1024) [ 0.164514] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.164544] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.164757] NET: Registered protocol family 1 [ 0.165253] RPC: Registered named UNIX socket transport module. [ 0.165267] RPC: Registered udp transport module. [ 0.165276] RPC: Registered tcp transport module. [ 0.165285] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.165566] Unpacking initramfs... [ 0.958519] Freeing initrd memory: 7076K [ 0.958684] NetWinder Floating Point Emulator V0.97 (double precision) [ 0.959834] audit: initializing netlink subsys (disabled) [ 0.960425] Initialise system trusted keyrings [ 0.960486] Key type blacklist registered [ 0.960617] audit: type=2000 audit(0.957:1): state=initialized audit_enabled=0 res=1 [ 0.960726] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 0.960809] zbud: loaded [ 0.961980] NFS: Registering the id_resolver key type [ 0.962014] Key type id_resolver registered [ 0.962025] Key type id_legacy registered [ 0.962046] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.962059] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 0.962295] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 0.962529] fuse init (API version 7.26) [ 0.963058] orangefs_debugfs_init: called with debug mask: :none: :0: [ 0.963363] orangefs_init: module version upstream loaded [ 0.963376] SGI XFS with ACLs, security attributes, realtime, no debug enabled [ 2.552953] random: fast init done [ 8.015786] Key type asymmetric registered [ 8.015806] Asymmetric key parser 'x509' registered [ 8.015885] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249) [ 8.015898] io scheduler noop registered [ 8.015908] io scheduler deadline registered [ 8.016008] io scheduler cfq registered (default) [ 8.017501] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver [ 8.019774] mvebu-pcie mbus@f1000000:pcie-controller@82000000: PCI host bridge to bus 0000:00 [ 8.019799] pci_bus 0000:00: root bus resource [io 0x1000-0xfffff] [ 8.019815] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff] [ 8.019832] pci_bus 0000:00: root bus resource [bus 00-ff] [ 8.020231] PCI: bus0: Fast back to back transfers disabled [ 8.020259] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 8.020451] PCI: bus1: Fast back to back transfers enabled [ 8.020542] pci 0000:00:01.0: PCI bridge to [bus 01] [ 8.021194] mv_xor f1060800.xor: Marvell shared XOR driver [ 8.083997] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr ) [ 8.084259] mv_xor f1060900.xor: Marvell shared XOR driver [ 8.143855] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr ) [ 8.144373] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 8.145959] console [ttyS0] disabled [ 8.146037] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A [ 8.797550] console [ttyS0] enabled [ 8.811320] loop: module loaded [ 8.815222] sata_mv f1080000.sata: slots 32 ports 2 [ 8.823547] scsi host0: sata_mv [ 8.827239] scsi host1: sata_mv [ 8.830680] ata1: SATA max UDMA/133 irq 33 [ 8.834860] ata2: SATA max UDMA/133 irq 33 [ 8.839871] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xda [ 8.846379] nand: Samsung NAND 256MiB 3,3V 8-bit [ 8.851019] nand: 256 MiB, MLC, erase size: 4096 KiB, page size: 4096, OOB size: 128 [ 8.858833] nand: WARNING: f4000000.nand: the ECC used on your system is too weak compared to the one required by the NAND chip [ 8.870392] Scanning device for bad blocks [ 8.878685] 3 cmdlinepart partitions found on MTD device orion_nand [ 8.885008] Creating 3 MTD partitions on "orion_nand": [ 8.890185] 0x000000000000-0x000000100000 : "uboot" [ 8.895114] mtd: partition "uboot" doesn't end on an erase block -- force read-only [ 8.904401] 0x000000000000-0x000000400000 : "kernel" [ 8.910904] 0x000000400000-0x000010000000 : "rootfs" [ 8.918980] libphy: Fixed MDIO Bus: probed [ 8.924200] libphy: orion_mdio_bus: probed [ 8.928340] [Firmware Warn]: /ocp@f1000000/mdio-bus@72004/ethernet-phy@8: Whitelisted compatible string. Please remove [ 8.945225] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4 [ 9.174441] ata1: SATA link down (SStatus 0 SControl F300) [ 9.524425] ata2: SATA link down (SStatus 0 SControl F300) [ 10.054546] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 52:3b:20:9c:11:51 [ 10.063465] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 10.070053] ehci-pci: EHCI PCI platform driver [ 10.074622] ehci-orion: EHCI orion driver [ 10.078902] orion-ehci f1050000.ehci: EHCI Host Controller [ 10.084603] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1 [ 10.092522] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000 [ 10.122987] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00 [ 10.129307] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 10.136166] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 10.143453] usb usb1: Product: EHCI Host Controller [ 10.148355] usb usb1: Manufacturer: Linux 4.12.1-kirkwood-tld-1 ehci_hcd [ 10.155111] usb usb1: SerialNumber: f1050000.ehci [ 10.160606] hub 1-0:1.0: USB hub found [ 10.164494] hub 1-0:1.0: 1 port detected [ 10.169182] usbcore: registered new interface driver usb-storage [ 10.175689] mousedev: PS/2 mouse device common for all mice [ 10.522987] usb 1-1: new high-speed USB device number 2 using orion-ehci [ 10.734529] usb 1-1: New USB device found, idVendor=0781, idProduct=5583 [ 10.741293] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 10.748510] usb 1-1: Product: Ultra Fit [ 10.752372] usb 1-1: Manufacturer: SanDisk [ 10.756512] usb 1-1: SerialNumber: 4C530000041215115005 [ 10.762781] usb-storage 1-1:1.0: USB Mass Storage device detected [ 10.769373] scsi host2: usb-storage 1-1:1.0 [ 11.202979] rtc-mv f1010300.rtc: internal RTC not ticking [ 11.208622] i2c /dev entries driver [ 11.219276] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0 [ 11.229410] hidraw: raw HID events driver (C) Jiri Kosina [ 11.235365] drop_monitor: Initializing network drop monitor service [ 11.241954] NET: Registered protocol family 17 [ 11.246557] Key type dns_resolver registered [ 11.251777] registered taskstats version 1 [ 11.255936] Loading compiled-in X.509 certificates [ 11.260819] zswap: loaded using pool lzo/zbud [ 11.277471] Key type big_key registered [ 11.292804] Key type encrypted registered [ 11.300046] rtc-pcf8563 0-0051: setting system clock to 2019-02-04 20:54:52 UTC (1549313692) [ 11.313198] Freeing unused kernel memory: 1024K Loading, please wait... starting version 232 [ 11.846136] usbcore: registered new interface driver uas [ 11.853137] scsi 2:0:0:0: Direct-Access SanDisk Ultra Fit 1.00 PQ: 0 ANSI: 6 [ 11.871479] sd 2:0:0:0: [sda] 30031872 512-byte logical blocks: (15.4 GB/14.3 GiB) [ 11.885979] sd 2:0:0:0: [sda] Write Protect is off [ 11.897200] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 11.920517] sda: sda1 [ 11.927968] sd 2:0:0:0: [sda] Attached SCSI removable disk 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. Warning: fsck not present, so skipping root file system [ 22.591856] EXT4-fs (sda1): INFO: recovery required on readonly filesystem [ 22.598983] EXT4-fs (sda1): write access will be enabled during recovery [ 22.712022] EXT4-fs (sda1): recovery complete [ 22.723608] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null) done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. INIT: version 2.88 booting [info] Using makefile-style concurrent boot in runlevel S. [ ok ] Setting hostname to 'debian'...done. [....] Starting the hotplug events dispatcher: systemd-udevdstarting version 232 . ok [....] Synthesizing the initial hotplug events...[ 25.007122] input: gpio-keys as /devices/platform/gpio-keys/input/input0 done. [....] Waiting for /dev to be fully populated...[ 25.339644] lm75 0-0048: hwmon0: sensor 'lm75' [ 25.412100] orion_wdt: Initial timeout 21 sec [ 25.520205] marvell-cesa f1030000.crypto: CESA device successfully registered [ 25.635451] sd 2:0:0:0: Attached scsi generic sg0 type 0 done. [ 26.616258] random: crng init done [ ok ] Activating swap:. [ 26.974762] EXT4-fs (sda1): re-mounted. Opts: (null) [....] Will now check root file system:fsck from util-linux 2.29.2 [/sbin/fsck.ext3 (1) -- /] fsck.ext3 -y -C0 /dev/sda1 e2fsck 1.43.4 (31-Jan-2017) rootfs: clean, 14569/940240 files, 230352/3753728 blocks . ok [ 27.291288] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro [ ok ] Will now activate lvm and md swap:done. [info] Will now check all file systems. fsck from util-linux 2.29.2 Checking all file systems. LABEL=rootfs is mounted [....] Done checking file systems. A log is being saved in /var/log/fsck/checkfs if that location is wr[ ok e.. [ 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 ] Setting kernel variables...done. [ ok ] Initializing random number generator...done. [....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.5 Copyright 2004-2016 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 of 192.168.2.7 on eth0 to 255.255.255.255 port 67 [ 34.252808] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled [ 37.559228] NET: Registered protocol family 10 [ 37.567029] Segment Routing with IPv6 DHCPREQUEST of 192.168.2.7 on eth0 to 255.255.255.255 port 67 DHCPACK of 192.168.2.7 from 192.168.2.50 bound to 192.168.2.7 -- renewal in 2372 seconds. 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... 1326 (syslogd) . ok [ ok ] Starting system message bus: dbus. [ ok ] Starting NFS common utilities: statd idmapd. [ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon. [warn] Not starting NFS kernel daemon: no exports. ... (warning). [ ok ] Starting NTP server: ntpd. [....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd... 1329 (klogd) . ok [ ok ] Starting OpenBSD Secure Shell server: sshd. [ ok ] Running local boot scripts (/etc/rc.local). Debian GNU/Linux 9 debian ttyS0 debian login: root Password: Last login: Mon Feb 4 12:47:11 PST 2019 on ttyS0 Linux debian 4.12.1-kirkwood-tld-1 #1 PREEMPT Sat Jul 15 21:40:50 PDT 2017 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:~# cat /etc/fw_env.config root@debian:~# cat /proc/mtd dev: size erasesize name mtd0: 00100000 00400000 "uboot" mtd1: 00400000 00400000 "kernel" mtd2: 0fc00000 00400000 "rootfs" root@debian:~# cd tools root@debian:~/tools# ./flash_erase /dev/mtd0 0 4 flash_erase: error!: /dev/mtd0 error 13 (Permission denied)
Re: NETGEAR STORA - Bad Magic Number February 04, 2019 04:48PM |
Admin Registered: 13 years ago Posts: 18,997 |
[ 8.909289] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xda [ 8.915788] nand: Samsung NAND 256MiB 3,3V 8-bit [ 8.920476] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 8.839871] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xda [ 8.846379] nand: Samsung NAND 256MiB 3,3V 8-bit [ 8.851019] nand: 256 MiB, MLC, erase size: 4096 KiB, page size: 4096, OOB size: 128 [ 8.858833] nand: WARNING: f4000000.nand: the ECC used on your system is too weak compared to the one required by the NAND chip [ 8.870392] Scanning device for bad blocks [ 8.878685] 3 cmdlinepart partitions found on MTD device orion_nand [ 8.885008] Creating 3 MTD partitions on "orion_nand": [ 8.890185] 0x000000000000-0x000000100000 : "uboot" [ 8.895114] mtd: partition "uboot" doesn't end on an erase block -- force read-only [ 8.904401] 0x000000000000-0x000000400000 : "kernel" [ 8.910904] 0x000000400000-0x000010000000 : "rootfs"
help nand info
Re: NETGEAR STORA - Bad Magic Number February 04, 2019 05:13PM |
Registered: 5 years ago Posts: 17 |
[ 8.840842] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xda [ 8.847357] nand: Samsung NAND 256MiB 3,3V 8-bit [ 8.851997] nand: 256 MiB, MLC, erase size: 4096 KiB, page size: 4096, OOB size: 128I've modify the mtdpart like this
setenv mtdparts 'mtdparts=orion_nand:12288K(uboot),53248k@12288k(kernel),-(rootfs)'An after kwboot this is the boot log..
[ 8.871600] Scanning device for bad blocks [ 8.879893] 3 cmdlinepart partitions found on MTD device orion_nand [ 8.886215] Creating 3 MTD partitions on "orion_nand": [ 8.891392] 0x000000000000-0x000000c00000 : "uboot" [ 8.897877] 0x000000c00000-0x000004000000 : "kernel" [ 8.904455] 0x000004000000-0x000010000000 : "rootfs"Now I've follow your guide..
root@debian:~/tools# ./flash_erase /dev/mtd0 0 4 Erasing 4096 Kibyte @ 800000 -- 50 % complete libmtd: error!: bad eraseblock number 3, mtd0 has 3 eraseblocks flash_erase: error!: /dev/mtd0: MTD get bad block failed error 22 (Invalid argument) root@debian:~/tools# ./flash_erase /dev/mtd0 0 3 Erasing 4096 Kibyte @ 800000 -- 100 % completeWrite uboot to NAND
root@debian:~/tools# ./nandwrite /dev/mtd0 uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb Writing data to block 0 at offset 0x0Erase and write env to NAND
root@debian:~/tools# ./flash_erase /dev/mtd0 0xc0000 1 Erasing 4096 Kibyte @ 0 -- 100 % complete root@debian:~/tools# ./nandwrite -s 786432 /dev/mtd0 uboot.2016.05-tld-1.environment.img Writing data to block 0 at offset 0x0Reboot
Re: NETGEAR STORA - Bad Magic Number February 04, 2019 05:26PM |
Admin Registered: 13 years ago Posts: 18,997 |
setenv mtdparts 'mtdparts=orion_nand:4M(uboot),-(rootfs)'and boot into Debian.
cat /proc/mtd
./flash_erase /dev/mtd0 0 0 ./nandwrite /dev/mtd0 uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb
Re: NETGEAR STORA - Bad Magic Number February 04, 2019 05:30PM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: NETGEAR STORA - Bad Magic Number February 04, 2019 05:31PM |
Registered: 5 years ago Posts: 17 |
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> nand info Device 0: nand0, sector size 128 KiB Page size 2048 b OOB size 64 b Erase size 131072 b subpagesize 512 b options 0x4000101c bbt options 0x00008000 Netgear Stora>It seems that the nand have 128k of erase size...
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 nand_erasesize=20000 nand_oobsize=40 nand_writesize=800 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: 2967/131068 bytesTry to change erase size??
Re: NETGEAR STORA - Bad Magic Number February 04, 2019 05:41PM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: NETGEAR STORA - Bad Magic Number February 04, 2019 06:00PM |
Registered: 5 years ago Posts: 17 |
Netgear Stora> setenv dtb_file /boot/dts/kirkwood-netgear_stora_ms2000.dtb Netgear Stora> setenv mtdparts 'mtdparts=orion_nand:4M(uboot),-(rootfs)'2:
[ 8.877633] 2 cmdlinepart partitions found on MTD device orion_nand [ 8.883958] Creating 2 MTD partitions on "orion_nand": [ 8.889134] 0x000000000000-0x000000400000 : "uboot" [ 8.895615] 0x000000400000-0x000010000000 : "rootfs"3:
root@debian:~/tools# cat /proc/mtd dev: size erasesize name mtd0: 00400000 00400000 "uboot" mtd1: 0fc00000 00400000 "rootfs"4:
root@debian:~/tools# ./flash_erase /dev/mtd0 0 0 Erasing 4096 Kibyte @ 0 -- 100 % complete root@debian:~/tools# ./nandwrite /dev/mtd0 uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb Writing data to block 0 at offset 0x0 root@debian:~/tools# reboot
Re: NETGEAR STORA - Bad Magic Number February 04, 2019 11:46PM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: NETGEAR STORA - Bad Magic Number February 05, 2019 03:28PM |
Registered: 5 years ago Posts: 17 |
pi@raspberrypi:~/kwboot-tool $ ./kwboot_1 -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb -p Sending boot message. Please reboot the target...- Sending boot image... 0 % [......................................................................] 1 % [......................................................................] 3 % [......................................................................] 5 % [......................................................................] 6 % [......................................................................] 8 % [......................................................................] 10 % [......................................................................] 11 % [......................................................................] 13 % [......................................................................] 15 % [......................................................................] 17 % [......................................................................] 18 % [......................................................................] 20 % [......................................................................] 22 % [......................................................................] 23 % [......................................................................] 25 % [......................................................................] 27 % [......................................................................] 29 % [......................................................................] 30 % [......................................................................] 32 % [......................................................................] 34 % [......................................................................] 35 % [......................................................................] 37 % [......................................................................] 39 % [......................................................................] 41 % [......................................................................] 42 % [......................................................................] 44 % [......................................................................] 46 % [......................................................................] 47 % [......................................................................] 49 % [......................................................................] 51 % [......................................................................] 53 % [......................................................................] 54 % [......................................................................] 56 % [......................................................................] 58 % [......................................................................] 59 % [......................................................................] 61 % [......................................................................] 63 % [......................................................................] 64 % [......................................................................] 66 % [......................................................................] 68 % [......................................................................] 70 % [......................................................................] 71 % [......................................................................] 73 % [......................................................................] 75 % [......................................................................] 76 % [......................................................................] 78 % [......................................................................] 80 % [......................................................................] 82 % [......................................................................] 83 % [......................................................................] 85 % [......................................................................] 87 % [......................................................................] 88 % [......................................................................] 90 % [......................................................................] 92 % [......................................................................] 94 % [......................................................................] 95 % [......................................................................] 97 % [......................................................................] 99 % [....................................] [Type Ctrl-\ + c to quit] 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 *** Warning - bad CRC, using default environment 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> setenv dtb_file /boot/dts/kirkwood-netgear_stora_ms2000.dtb Netgear Stora> setenv mtdparts 'mtdparts=orion_nand:4M(uboot),-(rootfs)' 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 30029824 2384b32d-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 692 ms (0 Bytes/s) Found bootable drive on usb 0 loading uImage ... 3821592 bytes read in 817 ms (4.5 MiB/s) loading uInitrd ... 7245696 bytes read in 793 ms (8.7 MiB/s) loading DTB /boot/dts/kirkwood-netgear_stora_ms2000.dtb ... 11869 bytes read in 2614 ms (3.9 KiB/s) ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-4.12.1-kirkwood-tld-1 Created: 2017-07-20 8:11:24 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3821528 Bytes = 3.6 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-4.12.1-kirkwood-tld-1 Created: 2017-07-24 0:18:23 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 7245632 Bytes = 6.9 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 01c00000 Booting using the fdt blob at 0x1c00000 Loading Kernel Image ... OK Loading Ramdisk to 03917000, end 03ffff40 ... OK Loading Device Tree to 03911000, end 03916e5c ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.12.1-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Sat Jul 15 21:40:50 PDT 2017 [ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] OF: fdt: Machine model: NETGEAR MS2000 / MS2110 aka Stora [ 0.000000] Memory policy: Data cache writeback [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:4M(uboot),-(rootfs) [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Memory: 109420K/131072K available (8192K kernel code, 716K rwdata, 1972K rodata, 1024K init, 288K bss, 21652K reserved, 0K cma-reserved) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xc8800000 - 0xff800000 ( 880 MB) [ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .text : 0xc0008000 - 0xc0900000 (9184 kB) [ 0.000000] .init : 0xc0c00000 - 0xc0d00000 (1024 kB) [ 0.000000] .data : 0xc0d00000 - 0xc0db3274 ( 717 kB) [ 0.000000] .bss : 0xc0db9b9c - 0xc0e01e60 ( 289 kB) [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns [ 0.000010] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns [ 0.000052] Switching to timer-based delay loop, resolution 5ns [ 0.000619] Console: colour dummy device 80x30 [ 0.000662] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000) [ 0.000689] pid_max: default: 32768 minimum: 301 [ 0.000926] Security Framework initialized [ 0.001073] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.001097] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.002126] CPU: Testing write buffer coherency: ok [ 0.003355] Setting up static identity map for 0x100000 - 0x100058 [ 0.003681] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3 [ 0.007640] devtmpfs: initialized [ 0.012957] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.012989] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.013463] prandom: seed boundary self test passed [ 0.017970] prandom: 100 self tests passed [ 0.017985] pinctrl core: initialized pinctrl subsystem [ 0.019366] NET: Registered protocol family 16 [ 0.019927] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.021953] cpuidle: using governor ladder [ 0.022039] cpuidle: using governor menu [ 0.022563] Feroceon L2: Enabling L2 [ 0.022620] Feroceon L2: Cache support initialised. [ 0.023052] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set [ 0.029167] No ATAGs? [ 0.040406] vgaarb: loaded [ 0.040801] SCSI subsystem initialized [ 0.041372] usbcore: registered new interface driver usbfs [ 0.041464] usbcore: registered new interface driver hub [ 0.041569] usbcore: registered new device driver usb [ 0.042920] clocksource: Switched to clocksource orion_clocksource [ 0.150621] VFS: Disk quotas dquot_6.6.0 [ 0.150715] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.163508] NET: Registered protocol family 2 [ 0.164384] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.164416] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.164441] TCP: Hash tables configured (established 1024 bind 1024) [ 0.164546] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.164576] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.164789] NET: Registered protocol family 1 [ 0.165282] RPC: Registered named UNIX socket transport module. [ 0.165297] RPC: Registered udp transport module. [ 0.165306] RPC: Registered tcp transport module. [ 0.165314] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.165597] Unpacking initramfs... [ 0.958422] Freeing initrd memory: 7076K [ 0.958586] NetWinder Floating Point Emulator V0.97 (double precision) [ 0.959738] audit: initializing netlink subsys (disabled) [ 0.960331] Initialise system trusted keyrings [ 0.960396] Key type blacklist registered [ 0.960510] audit: type=2000 audit(0.957:1): state=initialized audit_enabled=0 res=1 [ 0.960621] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 0.960704] zbud: loaded [ 0.961878] NFS: Registering the id_resolver key type [ 0.961911] Key type id_resolver registered [ 0.961921] Key type id_legacy registered [ 0.961942] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.961954] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 0.962190] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 0.962424] fuse init (API version 7.26) [ 0.962855] orangefs_debugfs_init: called with debug mask: :none: :0: [ 0.963256] orangefs_init: module version upstream loaded [ 0.963270] SGI XFS with ACLs, security attributes, realtime, no debug enabled [ 2.552928] random: fast init done [ 8.015978] Key type asymmetric registered [ 8.015998] Asymmetric key parser 'x509' registered [ 8.016076] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249) [ 8.016090] io scheduler noop registered [ 8.016101] io scheduler deadline registered [ 8.016200] io scheduler cfq registered (default) [ 8.017697] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver [ 8.019984] mvebu-pcie mbus@f1000000:pcie-controller@82000000: PCI host bridge to bus 0000:00 [ 8.020011] pci_bus 0000:00: root bus resource [io 0x1000-0xfffff] [ 8.020028] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff] [ 8.020044] pci_bus 0000:00: root bus resource [bus 00-ff] [ 8.020443] PCI: bus0: Fast back to back transfers disabled [ 8.020473] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 8.020668] PCI: bus1: Fast back to back transfers enabled [ 8.020759] pci 0000:00:01.0: PCI bridge to [bus 01] [ 8.021411] mv_xor f1060800.xor: Marvell shared XOR driver [ 8.083969] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr ) [ 8.084233] mv_xor f1060900.xor: Marvell shared XOR driver [ 8.143828] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr ) [ 8.144341] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 8.145925] console [ttyS0] disabled [ 8.146002] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A [ 8.796487] console [ttyS0] enabled [ 8.810246] loop: module loaded [ 8.814158] sata_mv f1080000.sata: slots 32 ports 2 [ 8.822404] scsi host0: sata_mv [ 8.826160] scsi host1: sata_mv [ 8.829602] ata1: SATA max UDMA/133 irq 33 [ 8.833777] ata2: SATA max UDMA/133 irq 33 [ 8.838794] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xda [ 8.845308] nand: Samsung NAND 256MiB 3,3V 8-bit [ 8.849949] nand: 256 MiB, MLC, erase size: 4096 KiB, page size: 4096, OOB size: 128 [ 8.857761] nand: WARNING: f4000000.nand: the ECC used on your system is too weak compared to the one required by the NAND chip [ 8.869321] Scanning device for bad blocks [ 8.877613] 2 cmdlinepart partitions found on MTD device orion_nand [ 8.883937] Creating 2 MTD partitions on "orion_nand": [ 8.889114] 0x000000000000-0x000000400000 : "uboot" [ 8.895593] 0x000000400000-0x000010000000 : "rootfs" [ 8.903617] libphy: Fixed MDIO Bus: probed [ 8.908754] libphy: orion_mdio_bus: probed [ 8.912890] [Firmware Warn]: /ocp@f1000000/mdio-bus@72004/ethernet-phy@8: Whitelisted compatible string. Please remove [ 8.929668] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4 [ 9.174413] ata1: SATA link down (SStatus 0 SControl F300) [ 9.524398] ata2: SATA link down (SStatus 0 SControl F300) [ 10.044662] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 52:3b:20:9c:11:51 [ 10.053602] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 10.060184] ehci-pci: EHCI PCI platform driver [ 10.064763] ehci-orion: EHCI orion driver [ 10.069037] orion-ehci f1050000.ehci: EHCI Host Controller [ 10.074624] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1 [ 10.082514] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000 [ 10.112966] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00 [ 10.119293] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 10.126158] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 10.133443] usb usb1: Product: EHCI Host Controller [ 10.138346] usb usb1: Manufacturer: Linux 4.12.1-kirkwood-tld-1 ehci_hcd [ 10.145101] usb usb1: SerialNumber: f1050000.ehci [ 10.150584] hub 1-0:1.0: USB hub found [ 10.154469] hub 1-0:1.0: 1 port detected [ 10.159134] usbcore: registered new interface driver usb-storage [ 10.165640] mousedev: PS/2 mouse device common for all mice [ 10.512961] usb 1-1: new high-speed USB device number 2 using orion-ehci [ 10.724144] usb 1-1: New USB device found, idVendor=0781, idProduct=5583 [ 10.730896] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 10.738109] usb 1-1: Product: Ultra Fit [ 10.741981] usb 1-1: Manufacturer: SanDisk [ 10.746128] usb 1-1: SerialNumber: 4C530000041215115005 [ 10.752387] usb-storage 1-1:1.0: USB Mass Storage device detected [ 10.758970] scsi host2: usb-storage 1-1:1.0 [ 11.202955] rtc-mv f1010300.rtc: internal RTC not ticking [ 11.208583] i2c /dev entries driver [ 11.219196] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0 [ 11.229268] hidraw: raw HID events driver (C) Jiri Kosina [ 11.235208] drop_monitor: Initializing network drop monitor service [ 11.241794] NET: Registered protocol family 17 [ 11.246394] Key type dns_resolver registered [ 11.251637] registered taskstats version 1 [ 11.255798] Loading compiled-in X.509 certificates [ 11.260681] zswap: loaded using pool lzo/zbud [ 11.277301] Key type big_key registered [ 11.292661] Key type encrypted registered [ 11.299876] rtc-pcf8563 0-0051: setting system clock to 2019-02-05 21:25:15 UTC (1549401915) [ 11.313015] Freeing unused kernel memory: 1024K Loading, please wait... starting version 232 [ 11.839360] usbcore: registered new interface driver uas [ 11.850403] scsi 2:0:0:0: Direct-Access SanDisk Ultra Fit 1.00 PQ: 0 ANSI: 6 [ 11.855339] sd 2:0:0:0: [sda] 30031872 512-byte logical blocks: (15.4 GB/14.3 GiB) [ 11.857088] sd 2:0:0:0: [sda] Write Protect is off [ 11.857822] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 11.865378] sda: sda1 [ 11.869197] sd 2:0:0:0: [sda] Attached SCSI removable disk 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. Warning: fsck not present, so skipping root file system [ 22.589044] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null) done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. INIT: version 2.88 booting [info] Using makefile-style concurrent boot in runlevel S. [ ok ] Setting hostname to 'debian'...done. [....] Starting the hotplug events dispatcher: systemd-udevdstarting version 232 . ok [....] Synthesizing the initial hotplug events...[ 24.871927] input: gpio-keys as /devices/platform/gpio-keys/input/input0 [ ok done. [....] Waiting for /dev to be fully populated...[ 25.160224] lm75 0-0048: hwmon0: sensor 'lm75' [ 25.345844] marvell-cesa f1030000.crypto: CESA device successfully registered [ 25.387108] orion_wdt: Initial timeout 21 sec [ 25.480262] sd 2:0:0:0: Attached scsi generic sg0 type 0 [ 25.968987] random: crng init done done. [ ok ] Activating swap:. [ 26.839300] EXT4-fs (sda1): re-mounted. Opts: (null) [....] Will now check root file system:fsck from util-linux 2.29.2 [/sbin/fsck.ext3 (1) -- /] fsck.ext3 -y -C0 /dev/sda1 e2fsck 1.43.4 (31-Jan-2017) rootfs: clean, 14575/940240 files, 230713/3753728 blocks . ok [ 27.151029] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro [ ok ] Will now activate lvm and md swap:done. [info] Will now check all file systems. fsck from util-linux 2.29.2 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 ] Setting kernel variables...done. [ ok ] Initializing random number generator...done. [....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.5 Copyright 2004-2016 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 5 [ 34.065677] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled [ 38.031793] NET: Registered protocol family 10 [ 38.039617] Segment Routing with IPv6 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10 DHCPREQUEST of 192.168.2.7 on eth0 to 255.255.255.255 port 67 DHCPOFFER of 192.168.2.7 from 192.168.2.50 DHCPACK of 192.168.2.7 from 192.168.2.50 bound to 192.168.2.7 -- renewal in 2947 seconds. 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... 1322 (syslogd) . ok [ ok ] Starting system message bus: dbus. [ ok ] Starting NFS common utilities: statd idmapd. [ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon. [warn] Not starting NFS kernel daemon: no exports. ... (warning). [ ok ] Starting NTP server: ntpd. [....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd... 1321 (klogd) . ok [ ok ] Starting OpenBSD Secure Shell server: sshd. [ ok ] Running local boot scripts (/etc/rc.local). Debian GNU/Linux 9 debian ttyS0 debian login: root Password: Last login: Mon Feb 4 15:51:47 PST 2019 on ttyS0 Linux debian 4.12.1-kirkwood-tld-1 #1 PREEMPT Sat Jul 15 21:40:50 PDT 2017 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:~# cat /proc/mtd dev: size erasesize name mtd0: 00400000 00400000 "uboot" mtd1: 0fc00000 00400000 "rootfs" root@debian:~# cd tools/ root@debian:~/tools# ./flash_erase /dev/mtd0 0 0 Erasing 4096 Kibyte @ 0 -- 100 % complete root@debian:~/tools# ./nandwrite /dev/mtd0 uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb Writing data to block 0 at offset 0x0 root@debian:~/tools# reboot INIT: Swilevel: 6 INIT: Se Broadcast message from root@debian (ttyS0) (Tue Feb 5 13:27:47 2019): The system is going down for reboot NOW! [info] Using makefile-style concurrent boot in runlevel 6. [....] Stopping busybox' klogd implementation: klogd1321 (klogd) Stopped klogd (pid 1321). . ok [ ok ] Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemon. [....] Stopping busybox' syslogd implementation: syslogd1322 (syslogd) . ok [ ok ] Stopping NFS kernel daemon: mountd nfsd. [ ok ] Unexporting directories for NFS kernel daemon.... [ ok ] Saving random seed...done. [ ok ] Asking all remaining processes to terminate...done. [ ok ] All processes ended within 1 seconds...done. [ ok ] Stopping RPC port mapper daemon: rpcbind. [ ok ] Stopping NFS common utilities: idmapd statd. [....] Deconfiguring network interfaces...Removed stale PID file Internet Systems Consortium DHCP Client 4.3.5 Copyright 2004-2016 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 DHCPRELEASE on eth0 to 192.168.2.50 port 67 done. [info] Saving the system clock. [info] Hardware Clock updated to Tue Feb 5 13:27:51 PST 2019. [....] Will now unmount temporary filesystems:umount: /tmp unmounted . ok [ ok ] Will now deactivate swap:. [ 167.766965] EXT4-fs (sda1): re-mounted. Opts: (null) [ ok ] Mounting root filesystem read-only...done. [info] Will now restart. [ 169.965765] reboot: Restarting systemDirk Pitt
Re: NETGEAR STORA - Bad Magic Number February 06, 2019 12:18PM |
Admin Registered: 13 years ago Posts: 18,997 |
setenv mtdparts 'mtdparts=orion_nand:1M(uboot),-(rootfs)' mtdinfo mtdparts
usb start ext2load usb 0:1 0x800000 /uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb nand erase 0x0 0x80000 nand write.e 0x800000 0x0 0x80000
resetSee if the newly flashed u-boot is now running. And also post serial console log for future reference.
Re: NETGEAR STORA - Bad Magic Number February 08, 2019 04:08PM |
Registered: 5 years ago Posts: 17 |
pi@raspberrypi:~/kwboot-tool $ ./kwboot_1 -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb -p Sending boot message. Please reboot the target...- Sending boot image... 0 % [......................................................................] 1 % [......................................................................] ..... 97 % [......................................................................] 99 % [....................................] [Type Ctrl-\ + c to quit] 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 NAND read from offset c0000 failed -74 *** Warning - readenv() failed, using default environment 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> setenv mtdparts 'mtdparts=orion_nand:1M(uboot),-(rootfs)' Netgear Stora> setenv nandEcc 1 Netgear Stora> mtdinfo Unknown command 'mtdinfo' - try 'help' Netgear Stora> usb start 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 Netgear Stora> ext2load usb 0:1 0x800000 uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb 524288 bytes read in 737 ms (694.3 KiB/s) Netgear Stora> nand erase 0x0 0x80000 NAND erase: device 0 offset 0x0, size 0x80000 Erasing at 0x60000 -- 100% complete. OK Netgear Stora> nand write.e 0x800000 0x0 0x80000 NAND write: device 0 offset 0x0, size 0x80000 524288 bytes written: OK Netgear Stora> reset resetting ... 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 *** Warning - bad CRC, using default environment 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> setenv nandEcc 1 Netgear Stora> setenv dtb_file /boot/dts/kirkwood-netgear_stora_ms2000.dtb Netgear Stora> saveenv Saving Environment to NAND... Erasing NAND... Erasing at 0xc0000 -- 100% complete. Writing to NAND... OK Netgear Stora> reset resetting ... 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 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 30029824 2384b32d-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 692 ms (0 Bytes/s) Found bootable drive on usb 0 loading uImage ... 3821592 bytes read in 817 ms (4.5 MiB/s) loading uInitrd ... 7245696 bytes read in 794 ms (8.7 MiB/s) loading DTB /boot/dts/kirkwood-netgear_stora_ms2000.dtb ... 11869 bytes read in 2614 ms (3.9 KiB/s) ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-4.12.1-kirkwood-tld-1 Created: 2017-07-20 8:11:24 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3821528 Bytes = 3.6 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-4.12.1-kirkwood-tld-1 Created: 2017-07-24 0:18:23 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 7245632 Bytes = 6.9 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 01c00000 Booting using the fdt blob at 0x1c00000 Loading Kernel Image ... OK Loading Ramdisk to 03917000, end 03ffff40 ... OK Loading Device Tree to 03911000, end 03916e5c ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.12.1-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Sat Jul 15 21:40:50 PDT 2017 [ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] OF: fdt: Machine model: NETGEAR MS2000 / MS2110 aka Stora [ 0.000000] Memory policy: Data cache writeback [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 [ 0.000000] 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] PID hash table entries: 512 (order: -1, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Memory: 109420K/131072K available (8192K kernel code, 716K rwdata, 1972K rodata, 1024K init, 288K bss, 21652K reserved, 0K cma-reserved) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xc8800000 - 0xff800000 ( 880 MB) [ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .text : 0xc0008000 - 0xc0900000 (9184 kB) [ 0.000000] .init : 0xc0c00000 - 0xc0d00000 (1024 kB) [ 0.000000] .data : 0xc0d00000 - 0xc0db3274 ( 717 kB) [ 0.000000] .bss : 0xc0db9b9c - 0xc0e01e60 ( 289 kB) [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns [ 0.000009] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns [ 0.000052] Switching to timer-based delay loop, resolution 5ns [ 0.000618] Console: colour dummy device 80x30 [ 0.000659] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000) [ 0.000687] pid_max: default: 32768 minimum: 301 [ 0.000919] Security Framework initialized [ 0.001067] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.001091] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.002131] CPU: Testing write buffer coherency: ok [ 0.003352] Setting up static identity map for 0x100000 - 0x100058 [ 0.003678] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3 [ 0.007625] devtmpfs: initialized [ 0.013009] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.013042] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.013519] prandom: seed boundary self test passed [ 0.018026] prandom: 100 self tests passed [ 0.018041] pinctrl core: initialized pinctrl subsystem [ 0.019432] NET: Registered protocol family 16 [ 0.020019] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.022045] cpuidle: using governor ladder [ 0.022130] cpuidle: using governor menu [ 0.022678] Feroceon L2: Enabling L2 [ 0.022735] Feroceon L2: Cache support initialised. [ 0.023168] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set [ 0.029278] No ATAGs? [ 0.040538] vgaarb: loaded [ 0.040935] SCSI subsystem initialized [ 0.041504] usbcore: registered new interface driver usbfs [ 0.041597] usbcore: registered new interface driver hub [ 0.041703] usbcore: registered new device driver usb [ 0.043074] clocksource: Switched to clocksource orion_clocksource [ 0.150736] VFS: Disk quotas dquot_6.6.0 [ 0.150831] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.163617] NET: Registered protocol family 2 [ 0.164485] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.164517] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.164542] TCP: Hash tables configured (established 1024 bind 1024) [ 0.164648] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.164677] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.164889] NET: Registered protocol family 1 [ 0.165388] RPC: Registered named UNIX socket transport module. [ 0.165402] RPC: Registered udp transport module. [ 0.165411] RPC: Registered tcp transport module. [ 0.165420] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.165700] Unpacking initramfs... [ 0.958517] Freeing initrd memory: 7076K [ 0.958703] NetWinder Floating Point Emulator V0.97 (double precision) [ 0.959854] audit: initializing netlink subsys (disabled) [ 0.960446] Initialise system trusted keyrings [ 0.960508] Key type blacklist registered [ 0.960632] audit: type=2000 audit(0.957:1): state=initialized audit_enabled=0 res=1 [ 0.960742] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 0.960826] zbud: loaded [ 0.962003] NFS: Registering the id_resolver key type [ 0.962037] Key type id_resolver registered [ 0.962047] Key type id_legacy registered [ 0.962068] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.962081] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 0.962316] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 0.962550] fuse init (API version 7.26) [ 0.962982] orangefs_debugfs_init: called with debug mask: :none: :0: [ 0.963388] orangefs_init: module version upstream loaded [ 0.963403] SGI XFS with ACLs, security attributes, realtime, no debug enabled [ 2.553082] random: fast init done [ 8.015742] Key type asymmetric registered [ 8.015763] Asymmetric key parser 'x509' registered [ 8.015842] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249) [ 8.015855] io scheduler noop registered [ 8.015865] io scheduler deadline registered [ 8.015965] io scheduler cfq registered (default) [ 8.017461] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver [ 8.019745] mvebu-pcie mbus@f1000000:pcie-controller@82000000: PCI host bridge to bus 0000:00 [ 8.019771] pci_bus 0000:00: root bus resource [io 0x1000-0xfffff] [ 8.019787] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff] [ 8.019803] pci_bus 0000:00: root bus resource [bus 00-ff] [ 8.020201] PCI: bus0: Fast back to back transfers disabled [ 8.020231] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 8.020424] PCI: bus1: Fast back to back transfers enabled [ 8.020515] pci 0000:00:01.0: PCI bridge to [bus 01] [ 8.021169] mv_xor f1060800.xor: Marvell shared XOR driver [ 8.084126] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr ) [ 8.084388] mv_xor f1060900.xor: Marvell shared XOR driver [ 8.143985] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr ) [ 8.144502] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 8.146086] console [ttyS0] disabled [ 8.146166] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A [ 8.798588] console [ttyS0] enabled [ 8.812321] loop: module loaded [ 8.816236] sata_mv f1080000.sata: slots 32 ports 2 [ 8.824551] scsi host0: sata_mv [ 8.828246] scsi host1: sata_mv [ 8.831684] ata1: SATA max UDMA/133 irq 33 [ 8.835868] ata2: SATA max UDMA/133 irq 33 [ 8.840884] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xda [ 8.847392] nand: Samsung NAND 256MiB 3,3V 8-bit [ 8.852032] nand: 256 MiB, MLC, erase size: 4096 KiB, page size: 4096, OOB size: 128 [ 8.859846] nand: WARNING: f4000000.nand: the ECC used on your system is too weak compared to the one required by the NAND chip [ 8.871405] Scanning device for bad blocks [ 8.879701] 3 cmdlinepart partitions found on MTD device orion_nand [ 8.886020] Creating 3 MTD partitions on "orion_nand": [ 8.891198] 0x000000000000-0x000000100000 : "uboot" [ 8.896127] mtd: partition "uboot" doesn't end on an erase block -- force read-only [ 8.905396] 0x000000100000-0x000000500000 : "kernel" [ 8.910386] mtd: partition "kernel" doesn't start on an erase block boundary -- force read-only [ 8.920695] 0x000000500000-0x000010000000 : "rootfs" [ 8.925749] mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only [ 8.937535] libphy: Fixed MDIO Bus: probed [ 8.942688] libphy: orion_mdio_bus: probed [ 8.946900] [Firmware Warn]: /ocp@f1000000/mdio-bus@72004/ethernet-phy@8: Whitelisted compatible string. Please remove [ 8.963736] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4 [ 9.174581] ata1: SATA link down (SStatus 0 SControl F300) [ 9.524552] ata2: SATA link down (SStatus 0 SControl F300) [ 10.074654] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 52:3b:20:9c:11:51 [ 10.083686] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 10.090268] ehci-pci: EHCI PCI platform driver [ 10.094841] ehci-orion: EHCI orion driver [ 10.099116] orion-ehci f1050000.ehci: EHCI Host Controller [ 10.104703] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1 [ 10.112614] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000 [ 10.143117] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00 [ 10.149444] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 10.156302] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 10.163588] usb usb1: Product: EHCI Host Controller [ 10.168490] usb usb1: Manufacturer: Linux 4.12.1-kirkwood-tld-1 ehci_hcd [ 10.175245] usb usb1: SerialNumber: f1050000.ehci [ 10.180736] hub 1-0:1.0: USB hub found [ 10.184620] hub 1-0:1.0: 1 port detected [ 10.189305] usbcore: registered new interface driver usb-storage [ 10.195822] mousedev: PS/2 mouse device common for all mice [ 10.543115] usb 1-1: new high-speed USB device number 2 using orion-ehci [ 10.754622] usb 1-1: New USB device found, idVendor=0781, idProduct=5583 [ 10.761381] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 10.768580] usb 1-1: Product: Ultra Fit [ 10.772447] usb 1-1: Manufacturer: SanDisk [ 10.776588] usb 1-1: SerialNumber: 4C530000041215115005 [ 10.782873] usb-storage 1-1:1.0: USB Mass Storage device detected [ 10.789464] scsi host2: usb-storage 1-1:1.0 [ 11.283108] rtc-mv f1010300.rtc: internal RTC not ticking [ 11.288751] i2c /dev entries driver [ 11.299399] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0 [ 11.309544] hidraw: raw HID events driver (C) Jiri Kosina [ 11.315506] drop_monitor: Initializing network drop monitor service [ 11.322092] NET: Registered protocol family 17 [ 11.326691] Key type dns_resolver registered [ 11.331941] registered taskstats version 1 [ 11.336102] Loading compiled-in X.509 certificates [ 11.340983] zswap: loaded using pool lzo/zbud [ 11.357608] Key type big_key registered [ 11.372889] Key type encrypted registered [ 11.380120] rtc-pcf8563 0-0051: setting system clock to 2019-02-08 21:42:08 UTC (1549662128) [ 11.393263] Freeing unused kernel memory: 1024K Loading, please wait... starting version 232 [ 11.848503] scsi 2:0:0:0: Direct-Access SanDisk Ultra Fit 1.00 PQ: 0 ANSI: 6 [ 11.869310] sd 2:0:0:0: [sda] 30031872 512-byte logical blocks: (15.4 GB/14.3 GiB) [ 11.883695] sd 2:0:0:0: [sda] Write Protect is off [ 11.891664] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 11.919470] sda: sda1 [ 11.928050] sd 2:0:0:0: [sda] Attached SCSI removable disk [ 11.976931] 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. Warning: fsck not present, so skipping root file system [ 22.685521] EXT4-fs (sda1): recovery complete [ 22.691208] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null) done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. INIT: version 2.88 booting [info] Using makefile-style concurrent boot in runlevel S. [ ok ] Setting hostname to 'debian'...done. [....] Starting the hotplug events dispatcher: systemd-udevdstarting version 232 . ok [....] Synthesizing the initial hotplug events...[ 24.987735] input: gpio-keys as /devices/platform/gpio-keys/input/input0 [ ok done. [....] Waiting for /dev to be fully populated...[ 25.331124] lm75 0-0048: hwmon0: sensor 'lm75' [ 25.387645] orion_wdt: Initial timeout 21 sec [ 25.491528] marvell-cesa f1030000.crypto: CESA device successfully registered [ 25.608772] sd 2:0:0:0: Attached scsi generic sg0 type 0 [ 25.847920] random: crng init done done. [ ok ] Activating swap:. [ 27.043818] EXT4-fs (sda1): re-mounted. Opts: (null) [....] Will now check root file system:fsck from util-linux 2.29.2 [/sbin/fsck.ext3 (1) -- /] fsck.ext3 -y -C0 /dev/sda1 e2fsck 1.43.4 (31-Jan-2017) rootfs: clean, 14577/940240 files, 231995/3753728 blocks . ok [ 27.495508] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro [ ok ] Will now activate lvm and md swap:done. [info] Will now check all file systems. fsck from util-linux 2.29.2 Checking all file systems. LABEL=rootfs is mounted [....] Done checking file systems. A log is being saved in /var/log/fsck/checkfs if that location is[ ok able.. [ 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 ] Setting kernel variables...done. [ ok ] Initializing random number generator...done. [....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.5 Copyright 2004-2016 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 4 [ 33.966363] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled [ 37.944007] NET: Registered protocol family 10 [ 37.951222] Segment Routing with IPv6 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8 DHCPREQUEST of 192.168.2.7 on eth0 to 255.255.255.255 port 67 DHCPOFFER of 192.168.2.7 from 192.168.2.50 DHCPACK of 192.168.2.7 from 192.168.2.50 bound to 192.168.2.7 -- renewal in 2948 seconds. 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... 1325 (syslogd) . ok [ ok ] Starting system message bus: dbus. [ ok ] Starting NFS common utilities: statd idmapd. [ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon. [warn] Not starting NFS kernel daemon: no exports. ... (warning). [ ok ] Starting NTP server: ntpd. [....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd... 1328 (klogd) . ok [ ok ] Starting OpenBSD Secure Shell server: sshd. [ ok ] Running local boot scripts (/etc/rc.local). Debian GNU/Linux 9 debian ttyS0 debian login:
Re: NETGEAR STORA - Bad Magic Number February 08, 2019 06:01PM |
Admin Registered: 13 years ago Posts: 18,997 |
[ 0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1m(uboot),4m@1m(kernel),251m@5m(rootfs) rw
setenv mtdparts 'mtdparts=orion_nand:1M(uboot),-(rootfs)' boot