mirror of
https://github.com/Fishwaldo/meta-riscv.git
synced 2025-03-17 12:31:29 +00:00
58 lines
1.3 KiB
Text
58 lines
1.3 KiB
Text
#@TYPE: Machine
|
|
#@NAME: ae350-ax45mp
|
|
#@SOC: AE350 AX45MP
|
|
#@DESCRIPTION: Machine configuration for the AE350 Platfrom (AX45MP)
|
|
|
|
require conf/machine/include/riscv/tune-riscv.inc
|
|
|
|
MACHINE_FEATURES = "screen keyboard ext2 ext3 serial"
|
|
|
|
KERNEL_CLASSES = "kernel-fitimage"
|
|
KERNEL_IMAGETYPE = "fitImage"
|
|
KERNEL_DEVICETREE ?= "andes/ae350_ax45mp.dtb"
|
|
|
|
PREFERRED_PROVIDER_virtual/kernel ?= "linux-ae350-ax45mp-dev"
|
|
PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot"
|
|
|
|
EXTRA_IMAGEDEPENDS += "opensbi"
|
|
RISCV_SBI_PLAT = "andes/ae350"
|
|
RISCV_SBI_FDT ?= "ae350_ax45mp.dtb"
|
|
|
|
SERIAL_CONSOLES = "38400;ttyS0"
|
|
|
|
MACHINE_EXTRA_RRECOMMENDS += " kernel-modules"
|
|
|
|
IMAGE_FSTYPES ?= "wic.gz wic.bmap ext4"
|
|
|
|
|
|
EXTRA_IMAGEDEPENDS += "u-boot"
|
|
UBOOT_MACHINE = "ae350_rv64_spl_xip_defconfig"
|
|
|
|
# U-Boot SPL
|
|
SPL_BINARY ?= "spl/u-boot-spl.bin"
|
|
|
|
# U-Boot ITB (FIT image with U-Boot S-mode, OpenSBI FW_DYNAMIC, DTB [from
|
|
# U-Boot source code tree])
|
|
UBOOT_SUFFIX ?= "itb"
|
|
|
|
UBOOT_ENTRYPOINT = "0x600000"
|
|
UBOOT_DTB_LOADADDRESS = "0x20000000"
|
|
|
|
## wic default support
|
|
WKS_FILE_DEPENDS ?= " \
|
|
u-boot \
|
|
opensbi \
|
|
e2fsprogs-native \
|
|
bmap-tools-native \
|
|
"
|
|
|
|
IMAGE_BOOT_FILES ?= " \
|
|
${KERNEL_IMAGETYPE} \
|
|
${RISCV_SBI_FDT} \
|
|
boot.scr.uimg \
|
|
uEnv.txt \
|
|
u-boot.itb \
|
|
u-boot-spl.bin \
|
|
"
|
|
|
|
WKS_FILE ?= "ae350-ax45mp-spl.wks"
|