Open main menu

DAVE Developer's Wiki β

Changes

Building Linux kernel (BELK/BXELK)

407 bytes added, 14:50, 10 July 2023
kernel modules
{{Applies To BoraLite}}
{{InfoBoxBottom}}
{{ImportantMessage|text=As the structure of the BELK/BXELK is based on several tools, it is strongly recommended the reading of [[Logical_structure_of_Bora_and_BoraX_Embedded_Linux_Kits_(BORA_SOM/BELK-L/General/BXELK)Logical_structure_of_BELK|this document]] first.
}}
== History ==
|}
<section begin=BELK/>==InstructionsBuilding Linux kernel==It is assumed that the development environment has been set up properly as described [[Build_system_(BORA_SOM/BELK)-L/Development/Build_system|here]].
*start the Linux development server and login into the system
*assuming that a local repository has not been created, clone the remote Linux git repository (the “-b” option is used to automatically checkout the current branch):
</pre>
*setup the server environment (please refer to [[Build_system_(BORA_SOM/BELK)-L/Development/Build_system#Pre-built_toolchain|this section]])
*enter the source tree directory and run the following commands:
:The former command selects the default BORA configuration, while the latter builds the kernel binary image with the required u-boot header and the kernel device tree. Please note that the <code>mkimage</code> tool is required for building the <code>uImage</code> binary. This tool must be installed on the Linux development server (please refer to the package manager of the Linux distribution).
 
=== update the kernel configuration ===
Default Linux kernel configuration can be changed by using the standard <code>menuconfig</code> or <code>nconfig</code> as make ''target''. Subsequent builds just require <code>uImage</code> make target to update the binary image.
 
make menuconfig
 
[[File:BELK-make-menuconfig.png | 800px]]
=== kernel modules ===
cp arch/arm/boot/dts/bora.dtb /tftpboot/bora
</pre>
<section end=BELK/>
8,256
edits