Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (29 sloc) 1.13 KB
#@TYPE: Machine
#@NAME: OrangePi i96 machine
#@DESCRIPTION: OrangePi i96 machine
require conf/machine/include/tune-cortexa5.inc
PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
XSERVER ?= "xserver-xorg \
mesa-driver-swrast \
xf86-input-evdev \
xf86-video-fbdev \
"
MACHINE_FEATURES = "usbhost usbgadget alsa screen wifi bluetooth ext2"
PREFERRED_PROVIDER_virtual/kernel ?= "linux-orangepi-i96"
KERNEL_IMAGETYPE = "zImage"
#KERNEL_DEVICETREE = "currently-uses-a-concatenated-dt"
UBOOT_MACHINE = "rda8810_config"
UBOOT_SUFFIX = "rda"
# TODO: Switch this to LS-UART1 and reduce to 115200 (921600 is needed
# on ttyS0 in order to match speeds with the boot ROM output
SERIAL_CONSOLES = "921600;ttyS0"
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "\
u-boot-orangepi-i96 \
"
CMDLINE_ROOT_EMMC = "mmcblk0p2"
CMDLINE ?= "console=ttyS0,921600 root=/dev/${CMDLINE_ROOT_EMMC} rootwait rw quiet"
# Fastboot expects an ext4 image, which needs to be 4096 bytes aligned
IMAGE_FSTYPES_append = " ext4.gz"
IMAGE_ROOTFS_ALIGNMENT = "4096"
EXTRA_IMAGECMD_ext4 += " -L rootfs "
EXTRA_IMAGEDEPENDS = "u-boot-orangepi-i96"
You can’t perform that action at this time.