[U-Boot] UBI issues on SAMA5D31 NOR flash

Andy Pont andy.pont at sdcsystems.com
Thu Oct 2 11:44:12 CEST 2014


Hello Heiko,

> > What says flinfo ? It seems you have protected sectors on
> > your nor flash ... you must unprotect them before using it ...
> 
> flinfo says that all sectors are read only as the flash device supports
> block locking and powers up with all sectors in their locked state.
> 
> The board configuration file includes CONFIG_SYS_FLASH_PROTECTION in
> order to allow the "protect off" command to work prior to manual updates
> of the flash content.

Running "protect off" on the UBI area before "ubi part rootfs" makes the
command work without any issues.  Now just have to figure out why the Linux
kernel isn't detecting the partition and mounting it...

Regards,

Andy.



More information about the U-Boot mailing list