Files
infix/board/aarch64
Tobias Waldekranz ca1467736f common: Refactor persistent storage setup
In the new model, we have three sources of storage:

- /mnt/var: Mountpoint for a disk with the label "var"
- /mnt/cfg: Mountpoint for a disk with the label "cfg"
- /mnt/tmp: Mountpoint for a ramdisk

These sources are used for the following overlays:

- **/cfg, /home, /root**: /mnt/cfg if available, else /mnt/tmp

- **/etc**: /mnt/cfg if available and the boot/etc finit condition is
            set, else /mnt/tmp

- **/var**: /mnt/var if available, else /mnt/tmp

- **/var/lib**: /mnt/var if available, else /mnt/cfg if available,
                else /mnt/tmp

See board/common/rootfs/lib/infix/mnt for more information.
2023-02-07 15:42:35 +01:00
..

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 in combination with 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