/
orangepi-i96.conf
41 lines (29 loc) · 1.14 KB
/
orangepi-i96.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#@TYPE: Machine
#@NAME: OrangePi i96 machine
#@DESCRIPTION: OrangePi i96 machine
require conf/machine/include/arm/armv7a/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"