Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move boards/ssrc/icicle to boards/mpfs/icicle #550

Merged
merged 1 commit into from
Nov 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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.