mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-07 03:50:41 +09:00
dd84058d24
This commit adds: - arch/${ARCH}/Kconfig provide a menu to select target boards - board/${VENDOR}/${BOARD}/Kconfig or board/${BOARD}/Kconfig set CONFIG macros to the appropriate values for each board - configs/${TARGET_BOARD}_defconfig default setting of each board (This commit was automatically generated by a conversion script based on boards.cfg) In Linux Kernel, defconfig files are located under arch/${ARCH}/configs/ directory. It works in Linux Kernel since ARCH is always given from the command line for cross compile. But in U-Boot, ARCH is not given from the command line. Which means we cannot know ARCH until the board configuration is done. That is why all the "*_defconfig" files should be gathered into a single directory ./configs/. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Simon Glass <sjg@chromium.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
nhk8815.c | ||
README.nhk8815 |
The Nomadik 8815 CPU has a "secure" boot mode where no external access (not even JTAG) is allowed. The "remap" bits in the evaluation board are configured in order to boot from the internal ROM memory (in secure mode). The boot process as defined by the manufacturer executes external code (loaded from NAND or OneNAND) that that disables such "security" in order to run u-boot and later the kernel without constraints. Such code is a proprietary initial boot loader, called "X-Loader" (in case anyone wonders, it has no relations with other loaders with the same name and there is no GPL code inside the ST X-Loader). SDRAM configuration, PLL setup and initial loading from NAND is implemented in the X-Loader, so U-Boot is already running in SDRAM when control is handed over to it. The Makefile offers two different configurations to be used if you boot from Nand or OneNand. make nhk8815_config make nhk8815_onenand_config Both support OneNand and Nand. Since U-Boot, running in RAM, can't know where it was loaded from, the configurations differ in where the filesystem is looked for by default. On www.st.com/nomadik and on www.stnwireless.com there are documents, summary data and white papers on Nomadik. The full datasheet for STn8815 is not currently available on line but under specific request to the local ST sales offices.