forked from rarias/nixos-riscv
Add bootrom support
This commit is contained in:
@@ -37,11 +37,14 @@ function setup_meep()
|
||||
# Setup mappings
|
||||
|
||||
# Delta between where we load in the dma device and RAM
|
||||
local delta_addr=-0x60000000
|
||||
local delta_addr=-0x5ffe0000
|
||||
|
||||
# See https://gitlab.bsc.es/hwdesign/fpga/integration-lab/fpga-tools/-/blob/6a63bcea6d1d59df3c7d62311aa4935efd54d3a3/boot_riscv/boot_sa.sh#L36-40
|
||||
export FPGACTL_BOOTLOADER_ADDR=$((0x80000000+$delta_addr))
|
||||
export FPGACTL_KERNEL_ADDR=$((0x84000000+$delta_addr))
|
||||
export FPGACTL_INITRD_ADDR=$((0x8c300000+$delta_addr))
|
||||
export FPGACTL_ROOTFS_ADDR=$((0x100000000+$delta_addr))
|
||||
export FPGACTL_BOOTROM_ADDR=$((0x00000100))
|
||||
}
|
||||
|
||||
hostname=$(hostname)
|
||||
|
||||
Reference in New Issue
Block a user