nxp-lcdseg.rpi.linux-4.9.41
- NXP LCD segment driver. PCA8553, PCA8561, ...pca9468.arm.linux-4.4.1
- MP12 E2E demo supports. PCA9468, NX30P6093 and PCA9491.pca9956b.rpi.linux-4.9.41
- PCA9956B LED driver.
env
- Contains environment variables required by following scripts. (env.example could be an example.)build.sh
- Script file building your developing modules.release.cfg
- Configurations for release process.release.sh
- Script file releasing your output, requires release.cfg.kernel/rpi-make.sh
- Script file making the kernel for RPI3.rpi-tools/
- git submodule, trackinghttps://github.com/raspberrypi/tools
.
Update and initialize (if required) the registered submodule rpi-tools
through following command when using for the first time after checkout.
$ git submodule update --init
Generally, base branch for yours would be base.rpi.linux-4.9.41
, tracking rpi.linux-4.9.41
← linux-4.9.41
← linux-4.x
← master
.
$ git checkout -b <your_branch_name> base.rpi.linux-4.9.41
And then, create the env
file for your development environment.
$ cp env.example env
$ <edit the file 'env'>
By following command, kernel will be configured to make a target for RPI3.
$ kernel/rpi-make.sh bcm2709_defconfig
Just run the generic kernel build command, for built-in files which are inside the kernel tree.
$ kernel/rpi-make.sh all
Assume that the files your are developing are in a separate directory. Go to the directory where your files are located and run build.sh
of the top-level directory.
$ cd <directory_where_your_files_are>
$ ../build.sh
build32.sh
- Script file building your developing modules for 32-bit kernel.build64.sh
- Script file building your developing modules for 64-bit kernel.kernel/arch/arm/configs/defconfig
- 32-bit kernel compile configuration for your developmentkernel/arch/arm64/configs/defconfig
- 64-bit kernel compile configuration for your developmentkernel/arm32-make.sh
- Script file making the kernel for ARM.kernel/arm64-make.sh
- Script file making the kernel for ARM64.qemu-tools/
- QEMU/ARM supports
Generally, base branch for yours would be base.arm.linux-x.y.z
, tracking linux-x.y.z
← linux-x.y
← master
.
$ git checkout -b <your_branch_name> base.arm.linux-x.y.z
By following command, kernel will be configured to make a target for ARM or ARM64.
$ kernel/arm32-make.sh defconfig
$ kernel/arm64-make.sh defconfig
Just run the generic kernel build command, for built-in files which are inside the kernel tree.
$ kernel/arm32-make.sh all
$ kernel/arm64-make.sh all
Assume that the files your are developing are in a separate directory. Go to the directory where your files are located and run build32.sh
or build64.sh
of the top-level directory.
$ cd <directory_where_your_files_are>
$ ../build32.sh
$ cd <directory_where_your_files_are>
$ ../build64.sh