From 68a0b289d232d73558c9354f419b4ca2ca7b0956 Mon Sep 17 00:00:00 2001 From: Tobias Waldekranz Date: Tue, 7 May 2024 14:11:35 +0200 Subject: [PATCH] board/aarch64: Separate board specific documentation This should make it easier to find what you're after as the number of supported boards increase. --- board/aarch64/README.md | 67 ++------------------------- board/aarch64/sparx5-pcb135/README.md | 64 +++++++++++++++++++++++++ 2 files changed, 67 insertions(+), 64 deletions(-) create mode 100644 board/aarch64/sparx5-pcb135/README.md diff --git a/board/aarch64/README.md b/board/aarch64/README.md index e1a3c8a5..ffbf8ae0 100644 --- a/board/aarch64/README.md +++ b/board/aarch64/README.md @@ -1,67 +1,6 @@ aarch64 ======= -Microchip SparX-5i PCB135 (eMMC) --------------------------------- - -At present, only FIT images are supported via the SparX-5i eval -board's U-Boot, which must contain a valid load address. If you are -using this board, after selecting your base configuration, run the -following command to supplement the existing config with the required -FIT options: - - make board-enable-sparx-fit - -### Unbricking - -1. Don't load a corrupt bootloader to begin with -2. Done - -If, for some reason, you didn't manage to follow step 1, you can use -the `FLASH_PROG`(`J4`) connector on the board to access the SPI flash -directly. - -Using a [Bus Blaster][BB3] in combination with [dangerspi][dangerspi], -you can load a new bootloader. The schematic below details how to -connect the Bus Blaster to the board, but the concept should be -portable to any debugger/device based around an FTDI2232 chip. - -``` -Bus Blaster: FLASH_PROG (J4): - .---. .---. - VTG >o o| VTG SCK >o o| GND - TRST |o o| GND MISO |o o| #RESET_FLASH - TDI |o o| GND o o| 3V3 - TMS |o o| GND #CS |o o| #SYSRESET - TCK o o| GND MOSI |o o| GND - RTCK o o| GND '---' - TDO |o o| GND - TSRST |o o| GND - DBGRQ |o o| GND -DBGACK |o o| GND - '---' -``` - -| Bus Blaster | FLASH_PROG | -|-------------|----------------| -| `VTG` | `3V3` | -| `GND` | `GND` | -| | | -| `VTG` | `#RESET_FLASH` | -| `GND` | `#SYSRESET` | -| | | -| `TDI` | `MOSI` | -| `TMS` | `#CS` | -| `TCK` | `SCK` | -| `TDO` | `MISO` | - -With the cable in place, build U-Boot with the correct configuration: - - make fireant_boot_defconfig && make - -To flash it to the board, connect the cable to `J4` and run: - - make board-sparx-flash-uboot - -[BB3]: http://dangerousprototypes.com/docs/Bus_Blaster#Bus_Blaster_v3 -[dangerspi]: https://github.com/wkz/dangerspi +Board Specific Documentation +---------------------------- +- [Microchip SparX-5i PCB135 (eMMC)](sparx5-pcb135/) diff --git a/board/aarch64/sparx5-pcb135/README.md b/board/aarch64/sparx5-pcb135/README.md new file mode 100644 index 00000000..1fdb01a5 --- /dev/null +++ b/board/aarch64/sparx5-pcb135/README.md @@ -0,0 +1,64 @@ +Microchip SparX-5i PCB135 (eMMC) +================================ + +At present, only FIT images are supported via the SparX-5i eval +board's U-Boot, which must contain a valid load address. If you are +using this board, after selecting your base configuration, run the +following command to supplement the existing config with the required +FIT options: + + make board-enable-sparx-fit + +## Unbricking + +1. Don't load a corrupt bootloader to begin with +2. Done + +If, for some reason, you didn't manage to follow step 1, you can use +the `FLASH_PROG`(`J4`) connector on the board to access the SPI flash +directly. + +Using a [Bus Blaster][BB3] in combination with [dangerspi][dangerspi], +you can load a new bootloader. The schematic below details how to +connect the Bus Blaster to the board, but the concept should be +portable to any debugger/device based around an FTDI2232 chip. + +``` +Bus Blaster: FLASH_PROG (J4): + .---. .---. + VTG >o o| VTG SCK >o o| GND + TRST |o o| GND MISO |o o| #RESET_FLASH + TDI |o o| GND o o| 3V3 + TMS |o o| GND #CS |o o| #SYSRESET + TCK o o| GND MOSI |o o| GND + RTCK o o| GND '---' + TDO |o o| GND + TSRST |o o| GND + DBGRQ |o o| GND +DBGACK |o o| GND + '---' +``` + +| Bus Blaster | FLASH_PROG | +|-------------|----------------| +| `VTG` | `3V3` | +| `GND` | `GND` | +| | | +| `VTG` | `#RESET_FLASH` | +| `GND` | `#SYSRESET` | +| | | +| `TDI` | `MOSI` | +| `TMS` | `#CS` | +| `TCK` | `SCK` | +| `TDO` | `MISO` | + +With the cable in place, build U-Boot with the correct configuration: + + make fireant_boot_defconfig && make + +To flash it to the board, connect the cable to `J4` and run: + + make board-sparx-flash-uboot + +[BB3]: http://dangerousprototypes.com/docs/Bus_Blaster#Bus_Blaster_v3 +[dangerspi]: https://github.com/wkz/dangerspi