openbouffalo / buildroot_bouffalo

Linux Image for the BL808 CPU by Bouffalo Lab
128 stars 34 forks source link

Option to switch between SPI Flash and SD card based root #15

Open primeshp opened 1 year ago

primeshp commented 1 year ago

Is there a possibility to have option to switch between the root file system being in SPI or SD card

Fishwaldo commented 1 year ago

We could but your going to have a extremely minimal installation due to space constraints. (Only 8M of flash is useable for Linux, and the kernel etc are already taking up around 5M). Plus rootfs will be read only on flash (afaik)

grant-olson commented 1 year ago

Is there more room for linux on the 128MB boards or are there other limiting factors?

gamelaster commented 1 year ago

@grant-olson there is no 128MB board, there is 128Mbit board, so 16MiB)

kvtb commented 1 year ago

It would be nice to expose SPI Flash as a block device under Linux, so one can upgrade kernel without using second UART (and with no UART at all once WiFi will work)