Linux

From krtkl wiki
Revision as of 20:48, 24 March 2018 by Bush (talk | contribs)
Jump to navigation Jump to search

Fetch Source

Download the Linux kernel source from GitHub by cloning the repository to a local workspace.

$ git clone https://github.com/krtkl/snickerdoodle-linux.git

Build

uImage specifies that the kernel binary be wrapped with a U-Boot header for loading. To build the uImage target, the U-Boot mkimage utility needs to be available via the $PATH variable.

Setup Environment

$ export ARCH=arm CROSS_COMPILE=arm-none-eabi-

Configure Source Tree

$ git snickerdoodle_defconfig

Compile kernel Binary

$ make LOADADDR=0x8000 uImage