Advertisement
opexxx

raspberryKernel

Aug 4th, 2016
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1.  
  2. apt-get install bc
  3. cd /usr/src
  4.  
  5. git clone https://github.com/raspberrypi/linux || ( cd ./linux && git pull )
  6.  
  7. cd ./linux
  8.  
  9. KERNEL=kernel7
  10.  
  11. make bcm2709_defconfig
  12. make -j4 zImage modules dtbs
  13. make modules_install
  14.  
  15. cp arch/arm/boot/dts/*.dtb /boot/
  16. cp arch/arm/boot/dts/overlays/*.dtb* /boot/overlays/
  17. cp arch/arm/boot/dts/overlays/README /boot/overlays/
  18. scripts/mkknlimg arch/arm/boot/zImage /boot/$KERNEL.img
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement