mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-12-26 04:58:22 +01:00
Add cubieboard2 support, first work
This commit is contained in:
parent
e7042a339a
commit
1a7f72a8e6
38
conf/machine/cubieboard2.conf
Normal file
38
conf/machine/cubieboard2.conf
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
#@TYPE: Machine
|
||||||
|
#@NAME: CubieBoard
|
||||||
|
#@DESCRIPTION: Machine configuration for the cubieboard, based on allwinner a10 CPU http://cubieboard.org/
|
||||||
|
|
||||||
|
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
|
||||||
|
XSERVER = "xserver-xorg \
|
||||||
|
xf86-input-evdev \
|
||||||
|
xf86-input-mouse \
|
||||||
|
xf86-input-keyboard"
|
||||||
|
|
||||||
|
# Only has DVI connector for external screen
|
||||||
|
GUI_MACHINE_CLASS = "bigscreen"
|
||||||
|
|
||||||
|
require conf/machine/include/tune-cortexa7.inc
|
||||||
|
|
||||||
|
PREFERRED_PROVIDER_virtual/kernel = "linux"
|
||||||
|
PREFERRED_VERSION_linux-libc-headers = "3.4"
|
||||||
|
|
||||||
|
KERNEL_IMAGETYPE = "uImage"
|
||||||
|
|
||||||
|
UBOOT_MACHINE = "cubieboard2"
|
||||||
|
UBOOT_ENTRYPOINT = "0x40008000"
|
||||||
|
UBOOT_LOADADDRESS = "0x40008000"
|
||||||
|
|
||||||
|
SPL_BINARY = "sunxi-spl.bin"
|
||||||
|
|
||||||
|
IMAGE_CLASSES += "sdcard_image-a10"
|
||||||
|
IMAGE_FSTYPES += "ext3 tar.gz a10-sdimg"
|
||||||
|
|
||||||
|
|
||||||
|
# Guesswork
|
||||||
|
SERIAL_CONSOLE = "115200 ttyS0"
|
||||||
|
|
||||||
|
MACHINE_EXTRA_RRECOMMENDS = "\
|
||||||
|
kernel-module-sw-ahci-platform \
|
||||||
|
"
|
||||||
|
|
||||||
|
MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"
|
@ -3,15 +3,16 @@ require u-boot.inc
|
|||||||
LICENSE = "GPL"
|
LICENSE = "GPL"
|
||||||
|
|
||||||
# No patches for other machines yet
|
# No patches for other machines yet
|
||||||
COMPATIBLE_MACHINE = "(mele|olinuxino-a13|cubieboard)"
|
COMPATIBLE_MACHINE = "(mele|olinuxino-a13|cubieboard|cubieboard2)"
|
||||||
|
|
||||||
DEFAULT_PREFERENCE_mele= "1"
|
DEFAULT_PREFERENCE_mele= "1"
|
||||||
DEFAULT_PREFERENCE_olinuxino-a13= "1"
|
DEFAULT_PREFERENCE_olinuxino-a13= "1"
|
||||||
DEFAULT_PREFERENCE_cubieboard="1"
|
DEFAULT_PREFERENCE_cubieboard="1"
|
||||||
|
DEFAULT_PREFERENCE_cubieboard2="1"
|
||||||
|
|
||||||
SRC_URI = "git://github.com/linux-sunxi/u-boot-sunxi.git;protocol=git;branch=sunxi"
|
SRC_URI = "git://github.com/linux-sunxi/u-boot-sunxi.git;protocol=git;branch=sunxi"
|
||||||
|
|
||||||
SRCREV = "234e002000b9e629165a8348aba9986a759e0e55"
|
SRCREV = "8a4621c488f33089d831168bfa5bae210a5684c8"
|
||||||
PR = "r6"
|
PR = "r6"
|
||||||
|
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
|
||||||
|
1218
recipes-kernel/linux/linux/cubieboard2/defconfig
Normal file
1218
recipes-kernel/linux/linux/cubieboard2/defconfig
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user