mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-26 19:49:45 +01:00
ba8b9209ce
* Uses Linux kernel released by Microchip - https://github.com/linux4microchip/linux.git - Ver: v5.15 Tag: linux4microchip+fpga-2023.02 * Uses UBoot released by Microchip - Ver: uboot-2022-01 Tag: linux4microchip+fpga-2023.02 To generate NixOS sd image for MICROCHIP icicle-kit refer: https://github.com/tiiuae/ghaf.git Signed-off-by: Ganga Ram <Ganga.Ram@tii.ae>
36 lines
1.2 KiB
YAML
36 lines
1.2 KiB
YAML
#
|
|
# HSS Payload Generator - sample configuration file
|
|
#
|
|
|
|
# First, we can optionally set a name for our image, otherwise one will be created
|
|
# dynamically
|
|
set-name: 'PolarFire-SoC-HSS::U-Boot'
|
|
|
|
#
|
|
# Next, we'll define the entry point addresses for each hart, as follows:
|
|
#
|
|
hart-entry-points: {u54_1: '0x80200000', u54_2: '0x80200000', u54_3: '0x80200000', u54_4: '0x80200000'}
|
|
|
|
#
|
|
# Finally, we'll define some payloads (source ELF files) that will be placed at certain
|
|
# regions in memory
|
|
# The payload section is defined with the keyword payloads, and then a number of
|
|
# individual
|
|
# payload descriptors.
|
|
#
|
|
# Each payload has a name (path to its ELF file), an owner-hart, and optionally 1-3
|
|
# secondary-harts.
|
|
#
|
|
# Additionally, it has a privilege mode in which it will start execution.
|
|
# * Valid privilege modes are PRV_M, PRV_S and PRV_U.
|
|
#
|
|
#
|
|
# In the following example:
|
|
# * test/u-boot-icicle-kit-es-2020.10-r0.bin is the Das U-Boot bootloader (binary +
|
|
# concatenated DTB), and it runs on U54_1, U54_2 and U54_4.
|
|
# It expects to start in PRV_S.
|
|
#
|
|
# Case only matters for the ELF path names, not the keywords.
|
|
#
|
|
payloads:
|
|
u-boot.bin: {exec-addr: '0x80200000', owner-hart: u54_1, secondary-hart: u54_2, secondary-hart: u54_3, secondary-hart: u54_4, priv-mode: prv_s}
|