Skip to content

Commit

Permalink
Move boards/ssrc/icicle to boards/mpfs/icicle
Browse files Browse the repository at this point in the history
Icicle boards is not really ssrc HW. In addition, we want to add all "ssrc" boards via a separate submodule.

So, move icicle away from "ssrc"

Signed-off-by: Jukka Laitinen <[email protected]>
  • Loading branch information
jlaitine committed Nov 7, 2023
1 parent d8471ac commit 4719a82
Show file tree
Hide file tree
Showing 41 changed files with 6 additions and 6 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
1. build icicle bootloader:

- Set PATH to point to a working riscv64-unknown-elf-gcc
- $ make ssrc_icicle_bootloader
- $ make mpfs_icicle_bootloader

2. flash the icicle bootloader to eNVM

<TODO. add instructions to run fpgenprog as root>

$ cp /build/ssrc_icicle_bootloader/ssrc_icicle_bootloader.elf .
$ sudo SC_INSTALL_DIR=<path to SoftConsole-v2021.1> FPGENPROG=<path to Libero_SoC_v2021.1>/Libero/bin64/fpgenprog java -jar $SC_INSTALL_DIR/extras/mpfs/mpfsBootmodeProgrammer.jar --bootmode 1 ssrc_icicle_bootloader.elf
$ cp /build/mpfs_icicle_bootloader/mpfs_icicle_bootloader.elf .
$ sudo SC_INSTALL_DIR=<path to SoftConsole-v2021.1> FPGENPROG=<path to Libero_SoC_v2021.1>/Libero/bin64/fpgenprog java -jar $SC_INSTALL_DIR/extras/mpfs/mpfsBootmodeProgrammer.jar --bootmode 1 mpfs_icicle_bootloader.elf

3. use px_uploader.py to flash the px4 binary
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
CONFIG_ALLOW_BSD_COMPONENTS=y
CONFIG_ARCH="risc-v"
CONFIG_ARCH_BOARD_CUSTOM=y
CONFIG_ARCH_BOARD_CUSTOM_DIR="../../../../boards/ssrc/icicle/nuttx-config"
CONFIG_ARCH_BOARD_CUSTOM_DIR="../../../../boards/mpfs/icicle/nuttx-config"
CONFIG_ARCH_BOARD_CUSTOM_DIR_RELPATH=y
CONFIG_ARCH_BOARD_CUSTOM_NAME="px4"
CONFIG_ARCH_CHIP="mpfs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# CONFIG_MPFS_MAC_AUTONEG is not set
CONFIG_ARCH="risc-v"
CONFIG_ARCH_BOARD_CUSTOM=y
CONFIG_ARCH_BOARD_CUSTOM_DIR="../../../../boards/ssrc/icicle/nuttx-config"
CONFIG_ARCH_BOARD_CUSTOM_DIR="../../../../boards/mpfs/icicle/nuttx-config"
CONFIG_ARCH_BOARD_CUSTOM_DIR_RELPATH=y
CONFIG_ARCH_BOARD_CUSTOM_NAME="px4"
CONFIG_ARCH_CHIP="mpfs"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
#define BOOTLOADER_SIGNING_ALGORITHM CRYPTO_ED25519
#define BOOTLOADER_VERIFY_UBOOT 0

#define IMAGE_FN "ssrc_icicle.bin"
#define IMAGE_FN "icicle.bin"

#if !defined(ARCH_SN_MAX_LENGTH)
# define ARCH_SN_MAX_LENGTH 16
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 4719a82

Please sign in to comment.