Hello Heiko,

I tried all people I know and unfortunately no one has this board.
If someone has this board here, it is very easy to check.
1. fli command returns number of sectors. Should be 256 sectors, in wrong case is 128. Also sector addresses differs by 0x80000 in wrong case, but should be 0x40000.
2. saveenv command fails if this bug is present.

Regards,
Marcin


W dniu 30.03.2015 o 08:05, Heiko Schocher pisze:
Hello Marcin,

Am 29.03.2015 21:57, schrieb mar.krzeminski:
Hi,

It seem that I have found the root cause of the problem.

Good!

This board in qemu is set in this way, that device width is set to 2 and interface to 4. That is why CFI driver in u-boot calculates wrongly sector size ( because size ratio variable was wrong ),
so in the end every odd sector (counting from 0 ) was not available.

Ah, ok...

I've changed vexpress board code in qemu and for now it is working.

Great.

I do not have real vexpress board to check if the root cause is u-boot or qemu, but i think CFI driver i popular so propapbly there is something wrong in qemu site.

I don't know ... it would be nice to have this checked on a real hw...

bye,
Heiko

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to