[yocto] determining ubi build parameters
Maxin B. John
maxin.john at enea.com
Fri Nov 8 01:39:51 PST 2013
Hi Max,
On Thu, Nov 07, 2013 at 09:20:04PM -0500, Maxwell Bottiger wrote:
> I have a UBI JFFS file system I just built and flashed onto my at91sam9x5ek
> board. I think everything built correctly, but I get the following error when
> booting the device:
<snip>
>
> U-Boot> printenv
> bootargs=mem=128M console=ttyS0,115200 mtdparts=atmel_nand:8M(bootstrap/uboot/
> kernel)ro,-(rootfs) root=/dev/mtdblock1 rw rootfstype=ubifs ubi.mtd=1 root=
> ubi0:rootfs
> bootcmd=nand read.jffs2 0x22000000 0x200000 0x250000; bootm 0x22000000
> bootdelay=1
> baudrate=115200
> ethact=macb0
>
> Can anyone point me to where the UBI parameters are decided, or let me know if
> I'm totally on the wrong track? As always, I appreciate the help.
UBI Parameters will generally be present in the machine conf file. In
this case: "meta-atmel/conf/machine/at91sam9x5ek.conf"
In the build directory, you can find "ubinize.cfg". You
can see the various parameters related to ubifs build in that file
also.
> -Max
Best Regards,
Maxin
More information about the yocto
mailing list