Amir Avarzamani
Amir Avarzamani

Reputation: 13

how to make the Buildroot embedded linux file system persistence?

I have built an embedded linux using buildroot. after generating rootfs.tar file system, I have tested the embedded linux and figured out that every change I made to the linux is not taking place after reboot.

my question is: how to enable buildroot linux to have a persistence file system and can save changes?

I have generated: rootfs.tar , rootfs.cpio , bzImage of kernel.

any help appreciated.

Upvotes: 0

Views: 2537

Answers (1)

tony-p-lee
tony-p-lee

Reputation: 807

In embedded system, one don't normally update the rootfs.tar.gz (sometime that built with kernel together).

You can mount a data partition to a MTD, EMMC, SD, USB, etc and update the data there.

Upvotes: 1

Related Questions