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

Hello, pbs with Uboot/Nand... :( (2 replies)

$
0
0
First of all, thanks to all contributors for helping people !!

Then.. sorry for my scholar english (and maybe incorrect) I'm french ;)

ok let's talks about my problem(s) :

I've two GFH. One is fine, running Arch.. The second one is running.. almost..

I've installed a jeff's u-boot through the script.

I can boot from USB on the Rescue System. (thanks !)

But when I want to upgrade the Uboot :

nandwrite /dev/mtd1 uImage-mtd1.img
Writing data to block 0 at offset 0x0
Bad block at 0, 1 block(s) from 0 will be skipped
Writing data to block 1 at offset 0x20000
Bad block at 20000, 1 block(s) from 20000 will be skipped
Writing data to block 2 at offset 0x40000
Bad block at 40000, 1 block(s) from 40000 will be skipped
Writing data to block 3 at offset 0x60000
Bad block at 60000, 1 block(s) from 60000 will be skipped
Writing data to block 4 at offset 0x80000
Bad block at 80000, 1 block(s) from 80000 will be skipped
Writing data to block 5 at offset 0xa0000
Bad block at a0000, 1 block(s) from a0000 will be skipped
Writing data to block 6 at offset 0xc0000
Bad block at c0000, 1 block(s) from c0000 will be skipped
Writing data to block 7 at offset 0xe0000
Bad block at e0000, 1 block(s) from e0000 will be skipped
Writing data to block 8 at offset 0x100000
Bad block at 100000, 1 block(s) from 100000 will be skipped
Writing data to block 9 at offset 0x120000
Bad block at 120000, 1 block(s) from 120000 will be skipped
Writing data to block 10 at offset 0x140000
Bad block at 140000, 1 block(s) from 140000 will be skipped
Writing data to block 11 at offset 0x160000
Bad block at 160000, 1 block(s) from 160000 will be skipped
Writing data to block 12 at offset 0x180000
Bad block at 180000, 1 block(s) from 180000 will be skipped
Writing data to block 13 at offset 0x1a0000
Bad block at 1a0000, 1 block(s) from 1a0000 will be skipped
Writing data to block 14 at offset 0x1c0000
Bad block at 1c0000, 1 block(s) from 1c0000 will be skipped
Writing data to block 15 at offset 0x1e0000
Bad block at 1e0000, 1 block(s) from 1e0000 will be skipped
Writing data to block 16 at offset 0x200000
Bad block at 200000, 1 block(s) from 200000 will be skipped
Writing data to block 17 at offset 0x220000
Bad block at 220000, 1 block(s) from 220000 will be skipped
Writing data to block 18 at offset 0x240000
Bad block at 240000, 1 block(s) from 240000 will be skipped
Writing data to block 19 at offset 0x260000
Bad block at 260000, 1 block(s) from 260000 will be skipped
Writing data to block 20 at offset 0x280000
Bad block at 280000, 1 block(s) from 280000 will be skipped
Writing data to block 21 at offset 0x2a0000
Bad block at 2a0000, 1 block(s) from 2a0000 will be skipped
Writing data to block 22 at offset 0x2c0000
Bad block at 2c0000, 1 block(s) from 2c0000 will be skipped
Writing data to block 23 at offset 0x2e0000
Bad block at 2e0000, 1 block(s) from 2e0000 will be skipped
Writing data to block 24 at offset 0x300000
Bad block at 300000, 1 block(s) from 300000 will be skipped
Writing data to block 25 at offset 0x320000
Bad block at 320000, 1 block(s) from 320000 will be skipped
Writing data to block 26 at offset 0x340000
Bad block at 340000, 1 block(s) from 340000 will be skipped
Writing data to block 27 at offset 0x360000
Bad block at 360000, 1 block(s) from 360000 will be skipped
Writing data to block 28 at offset 0x380000
Bad block at 380000, 1 block(s) from 380000 will be skipped
Writing data to block 29 at offset 0x3a0000
Bad block at 3a0000, 1 block(s) from 3a0000 will be skipped
Writing data to block 30 at offset 0x3c0000
Bad block at 3c0000, 1 block(s) from 3c0000 will be skipped
Writing data to block 31 at offset 0x3e0000
Bad block at 3e0000, 1 block(s) from 3e0000 will be skipped
Writing data to block 32 at offset 0x400000
ioctl(MEMGETBADBLOCK): Invalid argument
Data was only partially written due to error
: Invalid argument

nandtest /dev/mtd0
ECC corrections: 0
ECC failures   : 0
Bad blocks     : 8
BBT blocks     : 0
Bad block at 0x00000000
Bad block at 0x00020000
Bad block at 0x00040000
Bad block at 0x00060000
Bad block at 0x00080000
Bad block at 0x000a0000
Bad block at 0x000c0000
Bad block at 0x000e0000

Finished pass 1 successfully

try everything i've found to clean this and had a proper uboot..

the GFH boots on archlinux, rescue system, get a DHCP address, be accessed through ssh but i can't see anything on netconsole..

Serial adapter is on the way..

Any ideas ?

Viewing all articles
Browse latest Browse all 3178

Trending Articles