public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] UBI / UBIFS booting from NAND support
@ 2017-11-27 10:45 Jose Miguel Sanchez Sanabria
  2017-11-27 11:31 ` Ladislav Michl
  2017-11-28  4:42 ` Heiko Schocher
  0 siblings, 2 replies; 5+ messages in thread
From: Jose Miguel Sanchez Sanabria @ 2017-11-27 10:45 UTC (permalink / raw)
  To: u-boot

Hi everyone.

I was testing the booting process from NAND using an UBI/UBIFS image in an
igepv2 board.
However MLO tries to boot first kernel (falcon mode activated) and then
falls back to u-boot (as expected anyway I just wanted to load u-boot from
ubi) trying to load volume 0, but fails.

U-Boot SPL 2017.11-dirty (Nov 24 2017 - 14:29:26)
Trying to boot from NAND
UBI warning: LEB 0 of 1 is missing
UBI warning: Failed to load volume 3
UBI warning: LEB 0 of 1 is missing
UBI warning: Failed to load volume 3
UBI warning: Failed
Loading Linux failed, falling back to U-Boot.
UBI warning: LEB 0 of 1 is missing
UBI warning: Failed to load volume 0
UBI warning: LEB 0 of 1 is missing
UBI warning: Failed to load volume 0
UBI warning: Failed
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

I can however mount the ubi image but suspicious log appear:

u-boot:> ubifsmount ubi0:ubirootfs
UBIFS assert failed in ubifs_change_lp at 540
UBIFS assert failed in ubifs_release_lprops at 278
UBIFS assert failed in ubifs_change_lp at 540
UBIFS assert failed in ubifs_release_lprops at 278

This has to do with the discussion about ubifs null deference so I suppose
it should not affect much to write operation.

I would finally like to know if the ubi/ubifs support is functional; which
would mean I did not use the ubi tools correctly to create the ubi image.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-11-28  7:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-27 10:45 [U-Boot] UBI / UBIFS booting from NAND support Jose Miguel Sanchez Sanabria
2017-11-27 11:31 ` Ladislav Michl
2017-11-27 14:53   ` jsanabria
2017-11-28  7:01     ` Ladislav Michl
2017-11-28  4:42 ` Heiko Schocher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox