
- #U boot configuration install#
- #U boot configuration drivers#
- #U boot configuration update#
- #U boot configuration code#
- #U boot configuration download#
This file is automatically included during.
#U boot configuration update#
Update arch/arm/dts/Makefile to compile your device tree:Į.g for STM32MP13x lines dtb-$(CONFIG_STM32MP13x) += \Į.g for STM32MP15x lines dtb-$(CONFIG_STM32MP15x) += \.Copy the Linux kernel device tree in the directory arch/arm/dts.dts and -u-boot.dtsi in arch/arm/dts, following the steps below:

#U boot configuration drivers#
Menuconfig can turn features and device drivers on or off. menuconfig is a menu based U-Boot configuration program which provides a menu navigation across all the available U-Boot features. When working with CompuLab releases, a _defconfig file will be found in this folder.Īfter applying a U-Boot configuration, invoke menuconfig to fine-tune the configuration. The first step is to select which features are necessary for your use case.Ī set of prepared configurations can be found in configs folder. U-Boot can support a vast variety of configurations, including multiple architectures, file systems, device drivers, networking features, security features, and more. defconfig (minimal config)Īll - Build all necessary images depending on configurationĮxecute "make" or "make all" to build all targets marked with config as baseĭefconfig - New config with default from ARCH supplied defconfig Oldconfig - Update current config utilising a provided. Gconfig - Update current config utilising a GTK based front-end Xconfig - Update current config utilising a QT based front-end Menuconfig - Update current config utilising a menu based program Mrproper - Remove all generated files + config + various backup files The make build automation program is invoked using:Ī list of the build targets can be obtained by invoking:īelow is a highlight of some of the common make targets:Ĭlean - Remove most generated files but keep the config The Linux kernel uses "make" for build automation and KConfig for build configuration.
#U boot configuration code#
You will now have a u-boot folder with the U-Boot source code on your workstation. Workstation-pc # git clone git:///u-boot.git cd into the development directory and invoke the git clone command on the Linux repository link:.
#U boot configuration install#
Workstation-pc # sudo apt-get install git

Working with git is essential to Linux development, so take the time to familiarize yourself with its interface.
#U boot configuration download#
While it is possible to download the source code manually as a tar ball, the proper way to obtain Linux source code is by using git, the source control system of choice for the Linux kernel. This article is just an overview of typical steps in Linux development. Instructions that are specific to CompuLab U-Boot releases will be discussed in dedicated articles. This article describes the basics of U-Boot development, and is written to address the general case.
