Skip to contentSkip to conversation

Linux 3.5-rc2 and ubifs as root

DISCUSSION Robert Jarzmik 2 participants 3 messages Jun 17, 2012 – Jun 26, 2012 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hi all,

I have my root partition on a UBIFS, on top on my docg3 MTD.
With version 3.4, my kernel boots fine. With version 3.5-rc2, my kernel can't find the root partition.

My command line is :
mtdparts=docg3.0:256k@3456k(barebox)ro,256k(barebox-logo),128k(barebox-env),4M(kernel),-(root) ubi.mtd=4 rootfstype=ubifs root=ubi0:linux_root ro

Now, the funny thing : if I boot with the same kernel on my SD card (change on the commandline to root=/dev/mmcblk0p2 for example), and then issue "mount -t ubifs ubi0:linux_root /mnt", it works.

Did that happen to anybody else ?

Cheers.

Signature · 1 line
Robert
#1 lore raw

Em 17-06-2012 09:07, Robert Jarzmik escreveu:

Quoted 18 lines

Hi all, unsubscribe me from this list

I have my root partition on a UBIFS, on top on my docg3 MTD.
With version 3.4, my kernel boots fine. With version 3.5-rc2, my kernel can't find the root partition.

My command line is :
mtdparts=docg3.0:256k@3456k(barebox)ro,256k(barebox-logo),128k(barebox-env),4M(kernel),-(root) ubi.mtd=4 rootfstype=ubifs root=ubi0:linux_root ro

Now, the funny thing : if I boot with the same kernel on my SD card (change on the commandline to root=/dev/mmcblk0p2 for example), and then issue "mount -t ubifs ubi0:linux_root /mnt", it works.

Did that happen to anybody else ?

Cheers.

#2 lore raw
In reply to Robert Jarzmik
Quoted 5 lines · Robert Jarzmik

Hi all,

I have my root partition on a UBIFS, on top on my docg3 MTD.
With version 3.4, my kernel boots fine. With version 3.5-rc2, my kernel can't find the root partition.

OK, I found out, wrong manipulation on my part, the cmdline mtdparts on my 3.5-rc2 was corrupted ... I rechecked, and everything works as expected.

Cheers.

Signature · 1 line
Robert