Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

Netgear Stora MS2110 rootfs Bad Magic Number (1 reply)

$
0
0
Hello
I need some help installing Debian on Stora MS2110. Not sure what I doing wrong read a few threads. I even bought a new 16Gig SanDisk (following Bodhi recommendation) just to make sure it was not the USB.

root@ubuntu-hp:/media/sdc1# df -h
Filesystem                 Size  Used Avail Use% Mounted on
udev                       1.9G     0  1.9G   0% /dev
tmpfs                      386M  1.8M  384M   1% /run
/dev/mapper/vgubuntu-root  457G  5.6G  428G   2% /
tmpfs                      1.9G   82M  1.9G   5% /dev/shm
tmpfs                      5.0M  4.0K  5.0M   1% /run/lock
tmpfs                      1.9G     0  1.9G   0% /sys/fs/cgroup
/dev/loop3                  50M   50M     0 100% /snap/snap-store/433
/dev/loop1                  63M   63M     0 100% /snap/gtk-common-themes/1506
/dev/loop0                 241M  241M     0 100% /snap/gnome-3-34-1804/24
/dev/loop2                  55M   55M     0 100% /snap/core18/1705
/dev/loop4                  55M   55M     0 100% /snap/core18/1754
/dev/loop5                 256M  256M     0 100% /snap/gnome-3-34-1804/33
/dev/loop6                  28M   28M     0 100% /snap/snapd/7264
/dev/sda1                  511M  7.8M  504M   2% /boot/efi
tmpfs                      386M   36K  386M   1% /run/user/1000
/dev/sdc1                   15G   36M   14G   1% /media/sdc1
root@ubuntu-hp:/media/sdc1# tar -xjf /home/teddy/Downloads/Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2
root@ubuntu-hp:/media/sdc1# cd boot
root@ubuntu-hp:/media/sdc1/boot# cp -a zImage-5.2.9-kirkwood-tld-1  zImage.fdt
root@ubuntu-hp:/media/sdc1/boot# cat dts/kirkwood-netgear_stora_ms2000.dtb  >> zImage.fdt
root@ubuntu-hp:/media/sdc1/boot# mv uImage uImage.orig
root@ubuntu-hp:/media/sdc1/boot# mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-5.2.9-kirkwood-tld-1 -d zImage.fdt  uImage
Image Name:   Linux-5.2.9-kirkwood-tld-1
Created:      Fri May  8 19:08:10 2020
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    4975115 Bytes = 4858.51 KiB = 4.74 MiB
Load Address: 00008000
Entry Point:  00008000
root@ubuntu-hp:/media/sdc1/boot# sync
root@ubuntu-hp:/media/sdc1/boot# cd /
root@ubuntu-hp:/# umount /media/sdc1


       __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ 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: 88F6281 A0 (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: 4f0ecb6e, Calculated CRC: 4f0ecb6e

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled

Module 0 is RGMII
Module 1 is TDM

USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0, egiga1 [PRIME]
Hit any key to stop autoboot:  0
(Re)start USB...
USB:   scanning bus for devices... 1 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found
** Bad partition 1 **
** Bad partition 1 **
## Booting image at 00800000 ...
Bad Magic Number

         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ 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: 88F6281 A0 (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: 4f0ecb6e, Calculated CRC: 4f0ecb6e

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled

Module 0 is RGMII
Module 1 is TDM

USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0, egiga1 [PRIME]
Hit any key to stop autoboot:  0
Marvell>> printenv
baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
CASset=min
MALLOC_len=1
ethprime=egiga1
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
ethmtu=1500
eth1addr=00:50:43:00:02:02
eth1mtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
loidaddr=0x02000000
autoload=no
bootargs_root=ubi.mtd=2,2048 root=ubi0:rootfs rootfstype=ubifs init=/linuxrc
mainlineLiNux=no
fw_up=disable
ethaddr=00:26:F2:DB:8E:EE
loadaddr=0x02000000
ipaddr=10.0.0.206
serverip=10.0.0.83
arcNumber=2743
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=8
bootcmd_usb=usb start; ext2load usb 0:1 0x800000 /boot/uImage; ext2load usb 0:1 0x2100000 /boot/uInitrd
bootcmd=setenv bootargs $(console) root=LABEL=rootfs rootdelay=10 earlyprintk=serial; run bootcmd_usb; bootm 0x800000 0x2100000; reset
console=console=ttyS0,115200 mtdparts=orion_nand:0x100000@0(uboot),0xff00000@0x100000(root)
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=yes
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
hddPowerCtrl=no
enaAutoRecovery=no
ethact=egiga1

Environment size: 1526/131068 bytes
Marvell>>


Thanks in advance for your help
--Teddy

============
Moderator edit: please use Formatted Code to post log

Viewing all articles
Browse latest Browse all 3247

Trending Articles