[Buildroot] rootfs.ubifs not able to mount by kernel
Marcus Osdoba
marcus.osdoba at googlemail.com
Mon Jan 31 21:18:33 UTC 2011
Am 30.01.2011 15:20, schrieb Thomas Petazzoni:
> Hello Marcus,
>
> On Sun, 30 Jan 2011 11:30:54 +0100
> Marcus Osdoba<marcus.osdoba at googlemail.com> wrote:
>
>> Writing a ubiFS on NAND (with RAW u-boot command) and mounting
>> afterwards is not possible. The produced ubiFS must be ubinized to a UBI
>> image.
>
> Correct. But Nataraj did create the UBI volume with U-Boot, and has
> written the UBIFS image inside this UBI volume.
True. I should have read the entire output ;-)
But what I miss is the name of the volume inside the ubiparition.
Nataraj gave root=ubi0:rootfs on the command line. In my example project
I set this parameter in ubinize.cfg. But the manual way with u-boot like
Nataraj did, doesn't show a setting like:
"An ubi-volume named rootfs resides on an mtdpart named data."
I ubinized the image outside u-boot and my kernel accepts the
root=ubi0:rootfs. As noticed, I hardly see a volume_name definition
"rootfs" in Nataraj's u-boot log....
May be that's the problem? A mixup of the label "data" for mtdpart name
and ubi volume name?
"U-Boot> ubi create data" should be
"U-Boot> ubi create rootfs" or "root=ubi0:data"
Without warranty ... but @Nataraj, could you try on of the above?
> Note that since recently, Buildroot is capable of generating a
> ubinize'd UBI filesystem image, thanks to the work done by Julien
> Boibessot from Armadeus. This is available in Buildroot git, and will
> be part of the next Buildroot release.
Good news.
More information about the buildroot
mailing list