Skip to content

Instantly share code, notes, and snippets.

@nkreeger
Created November 13, 2018 20:41
Show Gist options
  • Save nkreeger/6cadfd044f67babf8ceb1d59c91dd916 to your computer and use it in GitHub Desktop.
Save nkreeger/6cadfd044f67babf8ceb1d59c91dd916 to your computer and use it in GitHub Desktop.
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- INSTALL_MOD_PATH=/rootnfs modules_install
cp /rpiboot/$KERNEL.img /rpiboot/$KERNEL-backup.img
cp arch/arm/boot/zImage /rpiboot/$KERNEL.img
cp arch/arm/boot/dts/*.dtb /rpiboot/
cp arch/arm/boot/dts/overlays/*.dtb* /rpiboot/overlays/
cp arch/arm/boot/dts/overlays/README /rpiboot/overlays/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment