Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
resources:tools-software:linux-build:generic:raspberrypi [02 Nov 2020 23:54] – [Customizing the kernel/adding-drivers] Travis Collinsresources:tools-software:linux-build:generic:raspberrypi [08 Dec 2021 15:13] – add doc for Pi Zero Antoniu Miclaus
Line 49: Line 49:
 ARCH=arm CROSS_COMPILE=<path-to-arm-toolchain> make ARCH=arm CROSS_COMPILE=<path-to-arm-toolchain> make
 </code> </code>
 +
 +For Pi Zero, Pi Zero 2.
 +<code>
 +ARCH=arm make adi_bcmrpi_defconfig
 +ARCH=arm CROSS_COMPILE=<path-to-arm-toolchain> make
 +</code>
 +
 ===== Building the ADI kernel - script method ===== ===== Building the ADI kernel - script method =====
  
Line 65: Line 72:
 First backup the **kernel7.img** file on the SD-card. First backup the **kernel7.img** file on the SD-card.
  
-The generated **arch/arm/boot/zImage** file should be copied to the /boot to overwrite the **kernel7.img** (or kernel7l.img for Pi4+).+The generated **arch/arm/boot/zImage** file should be copied to the /boot to overwrite the **kernel7.img** (or kernel7l.img for Pi4+, kernel.img for Pi Zero/Pi Zero 2).
  
 Any drivers built as modules must be installed onto the rootfs: Any drivers built as modules must be installed onto the rootfs:
resources/tools-software/linux-build/generic/raspberrypi.txt · Last modified: 10 Mar 2022 10:13 by Michael Hennerich