June 2017
Intermediate to advanced
478 pages
13h 14m
English
Each board has a header file in include/configs/ which contains the majority of the configuration information. The file is named by the SYS_CONFIG_NAME identifier in the board's Kconfig. The format of this file is described in detail in the README file at the top level of the U-Boot source tree. For the purposes of our Nova board, simply copy include/configs/am335c_evm.h to include/configs/nova.h and make a small number of changes, the most significant of which is to set a new Command Prompt so that we can identify this bootloader at run-time:
[...] 16 #ifndef __CONFIG_NOVA_H 17 #define __CONFIG_NOVA_H[...] 38 #define CONFIG_SYS_LDSCRIPT "board/ti/nova/u-boot.lds"[...] 68 #undef CONFIG_SYS_PROMPT 69 #define CONFIG_SYS_PROMPT ...
Read now
Unlock full access