mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-12-27 05:28:22 +01:00
sun50i: add support for aarch64 sun50i SoC family
Follow the same approach as in 32-bit sunxi SoC families: - create sunxi64.inc: umbrella description for aarch64 sunxi -- specify proper u-boot/spl image types -- specify proper kernel image type -- specify u-boot/kernel preferred providers - create basic description of sun50i SoC family -- sun50i SoC family is based on armv8 Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
This commit is contained in:
parent
4d9466c131
commit
3434ae8c66
4
conf/machine/include/sun50i.inc
Normal file
4
conf/machine/include/sun50i.inc
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
require conf/machine/include/sunxi64.inc
|
||||||
|
require conf/machine/include/arm/arch-armv8.inc
|
||||||
|
|
||||||
|
SOC_FAMILY = "sun50i"
|
24
conf/machine/include/sunxi64.inc
Normal file
24
conf/machine/include/sunxi64.inc
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
SOC_FAMILY ??= ""
|
||||||
|
include conf/machine/include/soc-family.inc
|
||||||
|
|
||||||
|
PREFERRED_PROVIDER_virtual/kernel ?= "linux-mainline"
|
||||||
|
PREFERRED_PROVIDER_u-boot ?= "u-boot"
|
||||||
|
PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot"
|
||||||
|
|
||||||
|
KERNEL_IMAGETYPE ?= "Image"
|
||||||
|
|
||||||
|
IMAGE_CLASSES += "sdcard_image-sunxi"
|
||||||
|
IMAGE_FSTYPES += "ext4 tar.gz sunxi-sdimg"
|
||||||
|
|
||||||
|
MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
|
||||||
|
|
||||||
|
UBOOT_LOCALVERSION = "-g${@d.getVar('SRCPV', True).partition('+')[2][0:7]}"
|
||||||
|
|
||||||
|
UBOOT_ENTRYPOINT ?= "0x40008000"
|
||||||
|
UBOOT_LOADADDRESS ?= "0x400080OB00"
|
||||||
|
|
||||||
|
UBOOT_BINARY ?= "u-boot.itb"
|
||||||
|
SPL_BINARY ?= "spl/sunxi-spl.bin"
|
||||||
|
|
||||||
|
SERIAL_CONSOLE ?= "115200 ttyS0"
|
||||||
|
MACHINE_FEATURES ?= "alsa apm keyboard rtc serial screen usbgadget usbhost vfat"
|
Loading…
Reference in New Issue
Block a user