2011-04-26 03:00:26     File system for both u-boot and uclinux

Document created by Aaronwu Employee on Sep 25, 2013
Version 1Show Document
  • View in full screen mode

2011-04-26 03:00:26     File system for both u-boot and uclinux

Alexander Deurloo (NETHERLANDS)

Message: 100155   

 

We need a filesystem that is supported by both u-boot and uclinux.

Under u-boot we need to: read only

Under uclinux: read and write.

The final goal is to be able to store new uclinux images via a webserver (obviously running under uclinux), so the next start-up, u-boot can read this image and boot it.

 

Since there are several file systems around and we can not figure out which one is supported by both u-boot and uclinux, we would like to ask your advice.

 

So far we had a look at:

- ubifs: does work under uclinux, but u-boot seems not to be ready for it since lots of code is uncommented. We already put a lot of afford in it, but we bumped into new problems every time.

- yaffs: again, it does work under uclinux, but u-boot seems to handly things differently: scanning the NAND and wiping out unexpected contents (which we stored under uclinux) is one of the things that worries us.

 

Our development time is shortened to a critical stage now.

 

Can you give us the golden tip? Which file system is ready to go for both systems and needs a minimum of development time?

Speed and efficiency are no issues. Stability, wearleveling and bad block handling are.

 

Our storage device is a 16MB NAND. Processor is BF527.

 

 

Thank you for your advice in advance,

 

Alexander.

QuoteReplyEditDelete

 

 

2011-04-26 03:17:28     Re: File system for both u-boot and uclinux

Mike Frysinger (UNITED STATES)

Message: 100159   

 

my understanding is that ubifs in the u-boot that shipped with 2010R1 should be fairly mature

 

if your only need is for u-boot to read a uImage, you could simply create two partitions in the nand ... the first wouldnt contain any fs, it'd simply be the raw uImage.  then boot it with nandboot.  and under Linux, update it with nandwrite.

QuoteReplyEditDelete

Attachments

    Outcomes