Mounting NAND partition when booting from SD Card

Delbert Franz ddf at sonic.net
Fri Apr 30 13:28:26 EDT 2010


Great, another simple solution!  It is working fine
now. 

Having a lot of fun and also learning new things using this
delightful small computer!

                   Delbert


On Thursday 29 April 2010, Xiangfu Liu wrote:
> Hi Delbert
> 
> I have try this in my NanoNote with no error:
> 
> root at BenNanoNote:~# ubiattach /dev/ubi_ctrl -m 3
> UBI device number 0, total 3568 LEBs (1841430528 bytes, 1.7 GiB), available 14 LEBs (7225344 bytes, 6.9 MiB), LEB size 516096 bytes (504.0 KiB)
> root at BenNanoNote:~# ls /dev/ubi
> /dev/ubi0      /dev/ubi0_0    /dev/ubi_ctrl
> 
> when just attach mtd3. then it's ubi0 not ubi1.
> so the mount should:
>    mount -t ubifs ubi0:data /data
> 
> can you post the "dmesg" before and after you run "ubiattach /dev/ubi_ctrl -m 3"
> 
> 
> On 04/30/2010 08:53 AM, Delbert Franz wrote:
> > However, when booting from the SD card, I cannot seem to
> > get it mounted by any means:(
> >
> > The first command yields:
> >
> > ubiattach: error!: cannot attach mtd3
> >             error 17 (File exists)
> >
> > The second command yields:
> >
> > mount: mounting ubi1:data on /data failed: No such device
> >
> > So, apparently there is something special that happens when booting
> > from NAND that does not happen when booting from the SD, and whatever
> > it is, requires a different method for mounting a partion on the NAND
> > memory.
> >
> >               Delbert
> >
> 
> 
> -- 
> Best Regards
> Xiangfu Liu
> http://www.openmobilefree.net
> 
> 







More information about the discussion mailing list


interactive