Skip to content

(Re)configuring the Root file system

Skip Hansen edited this page May 14, 2020 · 3 revisions

(Re)configuring the root file system

Replace "<TOP_DIR>" below with the path to panog2_linux, i.e. ~/pano_stuff/panog2_linux

  1. cd into <TOP_DIR>/litex-buildenv/third_party/buildroot
  2. make menuconfig
  3. The updated config is saved in <TOP_DIR>/litex-buildenv/third_party/buildroot/.config.
  4. run "make"
  5. After everything is rebuilt, <TOP_DIR>/litex-buildenv/third_party/buildroot/output/images/rootfs.cpio is the updated root file system.
  6. cd into <TOP_DIR>/litex-buildenv
  7. run "make third_party/buildroot/output/images/rootfs.cpio.fbi"
  8. run "cp make third_party/buildroot/output/images/rootfs.cpio.fbi ../prebuilt"
  9. cd into <TOP_DIR>
  10. Run "make flash_rootfs" to update the root file system.