Linus Walleij | aaa9e3d | 2023-04-24 09:38:30 +0200 | [diff] [blame] | 1 | .. SPDX-License-Identifier: GPL-2.0+ |
| 2 | .. Copyright (C) 2023 Linus Walleij <linus.walleij@linaro.org> |
| 3 | |
| 4 | Broadcom Northstar Boards |
| 5 | ========================= |
| 6 | |
| 7 | This document describes how to use U-Boot on the Broadcom Northstar |
| 8 | boards, comprised of the Cortex A9 ARM-based BCM470x and BCM5301x SoCs. These |
| 9 | were introduced in 2012-2013 and some of them are also called StrataGX. |
| 10 | |
| 11 | Northstar is part of the iProc SoC family. |
| 12 | |
| 13 | A good overview of these boards can be found in Jon Mason's presentation |
| 14 | "Enabling New Hardware in U-Boot" where the difference between Northstar |
| 15 | and Northstar Plus and Northstar 2 (Aarch64) is addressed. |
| 16 | |
| 17 | The ROM in the Northstar SoC will typically look into NOR flash memory |
| 18 | for a boot loader, and the way this works is undocumented. It should be |
| 19 | possible to execute U-Boot as the first binary from the NOR flash but |
| 20 | this usage path is unexplored. Please add information if you know more. |
| 21 | |
| 22 | D-Link Boards |
| 23 | ------------- |
| 24 | |
| 25 | When we use U-Boot with D-Link routers, the NOR flash has a boot loader |
| 26 | and web server that can re-flash the bigger NAND flash memory for object |
| 27 | code in the SEAMA format, so on these platforms U-Boot is converted into |
| 28 | a SEAMA binary and installed in the SoC using the flash tool resident in |
| 29 | the NOR flash. Details can be found in the OpenWrt project codebase. |
| 30 | |
| 31 | Configure |
| 32 | --------- |
| 33 | |
| 34 | .. code-block:: console |
| 35 | |
| 36 | $ make CROSS_COMPILE=${CROSS_COMPILE} bcmns_defconfig |
| 37 | |
| 38 | Build |
| 39 | ----- |
| 40 | |
| 41 | .. code-block:: console |
| 42 | |
| 43 | $ make CROSS_COMPILE=${CROSS_COMPILE} |
| 44 | $ ${CROSS_COMPILE}strip u-boot |