Re: [U-Boot] Problem with attaching UBI partition

23 Feb
2016
23 Feb
'16
2:31 p.m.
Hi,
I found that I have problem with reading flash contents:
When dumping the flash from Linux env:
$ cat /dev/mtd5 > /tmp/flash.bin
00000000: 55424923 01000000 00000000 00000003
But when I dump the flash contents from U-Boot I see this:
=> sf read 0x1B000000 0x01B00000 0x1000 => md 0x1B000000
1b000000: 494255ff 00000123 00000000 00000000
So, that's why I see this print:
ubi0 warning: ubi_io_read_ec_hdr: bad magic number at PEB 0: ff554249 instead of 55424923
I will investigate why data was read from flash incorrectly.
Best regards, Denis Bakhvalov
3363
Age (days ago)
3363
Last active (days ago)
0 comments
1 participants
participants (1)
-
Bakhvalov, Denis (Nokia - PL/Wroclaw)