From fc86a3c59beedffb681949e676a6328756060039 Mon Sep 17 00:00:00 2001 From: Dalon Westergreen Date: Tue, 10 Dec 2019 10:38:38 -0800 Subject: Readme: Update for board config Add brief description on targetting alternate boards for a given machine. In this example, specifically mention the de0-nano-soc. Signed-off-by: Dalon Westergreen --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index e0aed53..33a1de9 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,21 @@ or for the linux-altera-ltsi kernel Please note that older kernels will not compile with GCC 5+ and you will need to specify in your conf/local.conf to revert to older 4.9 toolchain. +Specifying Devicetrees and U-Boot Configurations +================================================== +All of the supported machines select default uboot configurations and devicetrees. These +selections can be overridden in the local.conf or by defining your own machine in your +own layer. + +An example of the is the DE0-Nano-SoC board, which is a supported configuration in the Cyclone5 +machine definition. + + UBOOT_CONFIG = "de0-nano-soc" + UBOOT_EXTLINUX_FDT_default = "../socfpga_cyclone5_de0_nano_soc.dtb" + +The above overrides the uboot configuration, "de0-nano-soc" is a target in u-boot, and configures +distroboot to indicate the de0-nano-soc devicetree. Please keep in mind that not all targets are +using distroboot in u-boot and may require u-boot environment changes. Choosing Toolchain Versions ============================= -- cgit v1.2.3-54-g00ecf