4 This document describes how to use U-Boot on the Broadcom 7445 SoC, as
5 a third stage bootloader loaded by Broadcom's BOLT bootloader.
7 BOLT loads U-Boot as a generic ELF binary. Some U-Boot features such
8 as networking are not yet available but other important features are,
11 - ext4 file system traversal
13 - support for loading FIT images
17 - support for FIT-provided DTBs instead of relying on the
20 A customized version of this port has been used in production. The
21 same approach may work on other BCM7xxx boards, with some
22 configuration adjustments and memory layout experimentation.
27 make bcm7445_defconfig
29 ${CROSS_COMPILE}strip u-boot
34 Flash the u-boot binary into board storage, then invoke it from BOLT.
37 BOLT> boot -bsu -elf flash0.u-boot1
39 This port assumes that I-cache and D-cache are already enabled when
42 Flattened Image Tree Support
43 ============================
45 What follows is an example FIT image source file. Build it with:
47 mkimage -f image.its image.itb
49 Booting the resulting image.itb was tested on BOLT v1.20, with the
52 https://github.com/Broadcom/stblinux-3.14
53 https://github.com/Broadcom/stblinux-4.1
54 https://github.com/Broadcom/stblinux-4.9
56 and with a generic ARMv7 root file system.
61 description = "BCM7445 FIT";
64 description = "Linux kernel";
66 * This kernel image output format can be
70 * ${CROSS_COMPILE}objcopy -O binary -S vmlinux vmlinux.bin
73 * For stblinux-3.14, the specific Broadcom
74 * board type should be configured in the
75 * kernel, for example CONFIG_BCM7445D0=y.
77 data = /incbin/("<vmlinux.bin.gz>");
89 description = "Initramfs root file system";
90 data = /incbin/("<initramfs.cpio.gz>");
96 * Set the environment variable initrd_high to
97 * 0xffffffff, and set "load" and "entry" here
98 * to 0x0 to keep initramfs in-place and to
99 * accommodate stblinux bmem/CMA reservations.
108 description = "Device tree dumped from BOLT";
110 * This DTB should be similar to the
111 * BOLT-generated device tree, after BOLT has
112 * done its runtime modifications to it. For
113 * example, it can be dumped from within
114 * U-Boot (at ${fdtcontroladdr}), after BOLT
115 * has loaded U-Boot. The result can be added
116 * to the Linux source tree as a .dts file.
118 * To support modifications to the device tree
119 * in-place in U-Boot, add to Linux's
120 * arch/arm/boot/dts/Makefile:
122 * DTC_FLAGS ?= -p 4096
124 * This will leave some padding in the DTB and
125 * thus reserve room for node additions.
127 * Also, set the environment variable fdt_high
128 * to 0xffffffff to keep the DTB in-place and
129 * to accommodate stblinux bmem/CMA
132 data = /incbin/("<bolt-<version>.dtb");
135 compression = "none";
142 default = "conf@bcm7445";
144 description = "BCM7445 configuration";
146 ramdisk = "ramdisk@1";