mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-15 09:27:35 +00:00
b08c8c4870
Thomas reported U-Boot failed to build host tools if libfdt-devel package is installed because tools include libfdt headers from /usr/include/ instead of using internal ones. This commit moves the header code: include/libfdt.h -> include/linux/libfdt.h include/libfdt_env.h -> include/linux/libfdt_env.h and replaces include directives: #include <libfdt.h> -> #include <linux/libfdt.h> #include <libfdt_env.h> -> #include <linux/libfdt_env.h> Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> |
||
---|---|---|
.. | ||
Kconfig | ||
MAINTAINERS | ||
Makefile | ||
pcm058.c | ||
README |
Board information ----------------- The SBC produced by Phytec has a SOM based on a i.MX6Q. The SOM is sold in two versions, with eMMC or with NAND. Support here is for the SOM with NAND. The evaluation board "phyBoard-Mira" is thought to be used together with the SOM. More information on the board can be found on manufacturer's website: http://www.phytec.de/produkt/single-board-computer/phyboard-mira/ http://www.phytec.de/fileadmin/user_upload/images/content/1.Products/SOMs/phyCORE-i.MX6/L-808e_1.pdf Building U-Boot ------------------------------- $ make pcm058_defconfig $ make This generates the artifacts SPL and u-boot.img. The SOM can boot from NAND or from SD-Card, having the SPI-NOR as second option. The dip switch "DIP-1" on the board let choose between NAND and SD. DIP-1 set to off: Boot first from NAND, then try SPI DIP-1 set to on: Boot first from SD, then try SPI The bootloader was tested with DIP-1 set to on. If a SD-card is present, then the RBL tries to load SPL from the SD Card, if not, RBL loads from SPI-NOR. The SPL tries then to load from the same device where SPL was loaded (SD or SPI). Booting from NAND is not supported.