[meta-xilinx] problem with using ubifs in u-boot on zynq7000
Joseph Hershberger
joseph.hershberger at ni.com
Wed Nov 18 15:48:13 PST 2015
> Hi,
>
> Recently I am trying to read some data from from ubifs partition in u-boot.
> The goal of this is to be able to load kernel, device tree and rootfs from ubifs during boot or fit image stored on ubifs.
<snip>
> setenv mtdids nor0
>
> setenv mtdparts nor0:11M(boot),256k(bootenv),14M(kernel),-(spare)
>
>
>
> the ubi or ubifs commands fail on mtdparts, and when I call mtdparts I get:
>
> U-Boot-PetaLinux> mtdparts
>
> mtdids: incorrect <dev-num>
>
>
>
> Am I using incorrect device alias so that there is a problem with mtdids?
The pattern is supposed to be mtdids maps from the subsystem+index to an alias, then that alias is referenced in the mtdparts.
E.g.:
setenv mtdids nor0=xilinx_nor
setenv mtdparts xilinx_nor:11M(boot),256k(bootenv),14M(kernel),-(spare)
> Is there some different naming convention in Xilinx u-boot?
It is no different than standard U-Boot.
<snip>
Cheers,
-Joe
More information about the meta-xilinx
mailing list