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

NSA310 no uboot update possible and ext2load: "Bad partition 1" (7 replies)

$
0
0
Hello all,

after trying for ~4 hours and reading several installation instructions, the installation of Debian is still not working.
One stumbling block are bad sectors in the mtd0 partition:
/ # dmesg | grep -i bad
Scanning device for bad blocks
Bad eraseblock 2 at 0x000000040000
Bad eraseblock 3 at 0x000000060000
...

So the solution seems to be to keep the stock uboot and proceed from there. I followed the instructions for stock uboot here: https://forum.doozan.com/read.php?2,102054,105374#msg-105374

printev shows (output of only the last lines...)

...
usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
load_uimage=ext2load usb 0:1 0x800000 /boot/uImage
load_uinitrd=ext2load usb 0:1 0x2100000 /boot/uInitrd
usb_boot=mw 0x800000 0 1; run load_uimage; run load_uinitrd; bootm 0x800000 0x2100000
usb_bootcmd=run usb_set_bootargs; run usb_boot
bootcmd=usb reset; run usb_bootcmd; usb stop; reset

Environment size: 1880/131068 bytes

Then trying to boot:
boot
(Re)start USB...
USB:   scanning bus for devices... 3 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
** Bad partition 1 **
** Bad partition 1 **
## Booting image at 00800000 ...
Bad Magic Number
stopping USB..
What else can I try to get this working?

Thanks!

Viewing all articles
Browse latest Browse all 3178

Trending Articles