Jump to content

SMALLEST rootfs for Orange Pi Zero to fit in 2MB NOR-FLASH on board


Nbird

Recommended Posts

Hello,

 

My project does not allow me to use SD card to boot and run my application. I can use SD card as drive to save my data.

 

Is there any alternative way to do so ?

 

Has anyone built a micro rootfs for O-Pi-ZERO NOR Flash ?

 

Does anyone have an idea of the MINIMUM SIZE that is required to do so, if 2MB is too less ?

 

Thanks

Nbird.

 

 

Link to comment
Share on other sites

My project does not allow me to use SD card to boot and run my application. I can use SD card as drive to save my data.

 

Is there any alternative way to do so ?

U-boot in SPI flash + rootfs on USB flash drive is a reasonable alternative.

 

Has anyone built a micro rootfs for O-Pi-ZERO NOR Flash ?

Don't think so, there is no proper software support to do this kind of setup yet.

 

Does anyone have an idea of the MINIMUM SIZE that is required to do so, if 2MB is too less ?

Even OpenWRT requires minimum 4MiB of storage (this includes bootloader, kernel and squashfs read-only rootfs), but they use a lot of optimizations to fit this requirement. I would say that 16MiB is a minimum amount when you wouldn't need to think about kernel and u-boot related optimizations to use the rest of the space for OpenWRT rootfs. Again, there is no software support yet (apart from WIP patches that will require some work) to run entirely from SPI flash.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines