Skip to content

Changing Linux kernel configuration

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

(Re)configuring linux kernel

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 linux-menuconfig
  3. The updated config is saved in <TOP_DIR>/litex-buildenv/third_party/buildroot/output/build/linux-5.0.13/.config
  4. run "make"
  5. After everything is rebuilt, <TOP_DIR>/litex-buildenv/third_party/buildroot/output/images/Image is the updated kernel.
  6. cd into <TOP_DIR>/litex-buildenv
  7. run "make third_party/buildroot/output/images/Image.fbi"
  8. run "cp third_party/buildroot/output/images/Image.fbi ../prebuilt"
  9. cd into <TOP_DIR>
  10. Run "make flash_kernel" to update the kernel.
Clone this wiki locally