Files
infix/board/aarch64
Joachim Wiberg ccba72b083 Add factory default, all switch ports in group VLAN 1 on br0
This change checks¹ if the system does not have a br0 interface, creates
a default one consisting of all switch ports in VLAN 1 of br0.

On top of br0 a vlan1 management interface is created with DHCP address.

For emulation and test purposes, a way to supply tap interfaces from
Qemu, and pass off as if they were regular switch ports, is added.
____
¹ obviously a better way to detect a factory-reset device is needed,
  not all systems running infix will need or want a br0 interface.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2023-01-03 18:25:18 +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