UBI error: process_eb: bad image sequence number

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

UBI error: process_eb: bad image sequence number

4,859 Views
moseeneview
Contributor II

I get the below UBI error when kernel startup.

i.MX6q + anddroid 4.3

it occurs at UBI scan (drivers/mtd/ubi/scan.c)

Then the system doesn't startup.

If I change to don't check image_seq and don't return,  system will startup.

But after back-back boot/shutdown, It won't startup for ever.

I find that it died at "ADROID" logo status, and some program file can't be found.

something like that "untracked pid 7568 exited"

maybe ubi fs mount fail.

The UBI FS maybe damage to lost.

UBI: physical eraseblock size:   1048576 bytes (1024 KiB)

UBI: logical eraseblock size:    1040384 bytes

UBI: smallest flash I/O unit:    4096

UBI: VID header offset:          4096 (aligned 4096)

UBI: data offset:                8192

UBI error: process_eb: bad image sequence number 1114154050 in PEB 1281,

expected 729290202

UBI: max. sequence number:       45

any suggestion or other help?

thx

0 Kudos
Reply
1 Reply

2,028 Views
SergioSolis
NXP Employee
NXP Employee

I have never gotten that error (yet), but doing some search in google I found out that the error is related to a problem in the flashing of the board, that is:

1. you flash a new image incorrectly - you do not erase _whole_ flash

2. you flash a new image - by erasing only the erase blocks where you

write, but not erasing the rest of eraseblock.

That could probably be the problem. Have you tried completely erasing and reflashing the device?

0 Kudos
Reply