This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
resources:tools-software:linux-build:generic:raspberrypi [30 Oct 2020 14:21] – [Adding the generated file on the SD-card] Travis Collins | resources:tools-software:linux-build:generic:raspberrypi [02 Nov 2020 23:51] – Add modules_install Travis Collins | ||
---|---|---|---|
Line 37: | Line 37: | ||
</ | </ | ||
- | Get an ARM compiler for cross-compiling. | + | Get an ARM compiler for cross-compiling |
< | < | ||
Line 44: | Line 44: | ||
</ | </ | ||
+ | For Pi 4. | ||
+ | < | ||
+ | ARCH=arm make adi_bcm2711_defconfig | ||
+ | ARCH=arm CROSS_COMPILE=< | ||
+ | </ | ||
===== Building the ADI kernel - script method ===== | ===== Building the ADI kernel - script method ===== | ||
Line 61: | Line 66: | ||
The generated **arch/ | The generated **arch/ | ||
+ | |||
+ | Any drivers built as modules must be installed onto the rootfs: | ||
+ | < | ||
+ | make ARM=arm CROSS_COMPILE=< | ||
+ | </ | ||
<note important> | <note important> |