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

Flash NAND with bad blocks (1 reply)

$
0
0
Hello,

I am posting here as somebody proposed this on the OpenWrt forum, please tell me if it's not the right place.

I would like to install OpenWrt on an NSA310. The installation instructions are to first flash a newer U-Boot version, set the proper environment variables, then flash the firmware image through these commands:
usb reset
fatload usb 0 0x2000000 nsa310.bin
nand erase.part ubi
nand write 0x2000000 ubi 0x600000
But looking through the boot log of the original firmware of the device, I see that there are 2 bad NAND blocks, and I would like to know if this flashing procedure can handle them in a safe way. I don't know enough about the low level details, so I do not know if the bad blocks info is stored in the NAND directly or somewhere at a higher filesystem level.
(also, I do not actually find these "nand" commands through the U-Boot documentation that I could find)

Thanks for any info!

Viewing all articles
Browse latest Browse all 3247

Trending Articles