mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-12-27 05:28:22 +01:00
new machine meleg : Add support for mele a1000g and a2000g
This commit is contained in:
parent
a33372936b
commit
3a8616d932
18
conf/machine/meleg.conf
Normal file
18
conf/machine/meleg.conf
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
#@TYPE: Machine
|
||||||
|
#@NAME: Mele a1000g/a2000g
|
||||||
|
#@DESCRIPTION: Machine configuration for the Mele a1000g and a2000g, base on allwinner a10 CPU
|
||||||
|
|
||||||
|
# Only has DVI connector for external screen
|
||||||
|
GUI_MACHINE_CLASS = "bigscreen"
|
||||||
|
|
||||||
|
require conf/machine/include/tune-cortexa8.inc
|
||||||
|
require conf/machine/include/sunxi.inc
|
||||||
|
require conf/machine/include/sunxi-mali.inc
|
||||||
|
|
||||||
|
UBOOT_MACHINE = "mele_a1000g"
|
||||||
|
UBOOT_ENTRYPOINT = "0x40008000"
|
||||||
|
UBOOT_LOADADDRESS = "0x40008000"
|
||||||
|
|
||||||
|
SERIAL_CONSOLE = "115200 ttyS0"
|
||||||
|
|
||||||
|
MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"
|
@ -12,6 +12,7 @@ SRC_URI = "git://github.com/linux-sunxi/sunxi-boards.git;protocol=git"
|
|||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
SUNXI_FEX_FILE_mele = "sys_config/a10/mele_a1000.fex"
|
SUNXI_FEX_FILE_mele = "sys_config/a10/mele_a1000.fex"
|
||||||
|
SUNXI_FEX_FILE_meleg = "sys_config/a10/mele_a1000g.fex"
|
||||||
SUNXI_FEX_FILE_olinuxino-a10s = "sys_config/a10s/a10s-olinuxino-m.fex"
|
SUNXI_FEX_FILE_olinuxino-a10s = "sys_config/a10s/a10s-olinuxino-m.fex"
|
||||||
SUNXI_FEX_FILE_olinuxino-a13 = "sys_config/a13/a13-olinuxino.fex"
|
SUNXI_FEX_FILE_olinuxino-a13 = "sys_config/a13/a13-olinuxino.fex"
|
||||||
SUNXI_FEX_FILE_cubieboard = "sys_config/a10/cubieboard.fex"
|
SUNXI_FEX_FILE_cubieboard = "sys_config/a10/cubieboard.fex"
|
||||||
@ -50,4 +51,4 @@ do_populate_sysroot[noexec] = "1"
|
|||||||
|
|
||||||
# Remember to add machine entry to IMAGE_DEPENDS in sdcard_image-a10.bbclass
|
# Remember to add machine entry to IMAGE_DEPENDS in sdcard_image-a10.bbclass
|
||||||
# when adding new machines.
|
# when adding new machines.
|
||||||
COMPATIBLE_MACHINE = "(mele|olinuxino-a10s|olinuxino-a13|cubieboard|cubieboard2)"
|
COMPATIBLE_MACHINE = "(mele|meleg|olinuxino-a10s|olinuxino-a13|cubieboard|cubieboard2)"
|
||||||
|
@ -4,9 +4,10 @@ LICENSE = "GPLv2"
|
|||||||
LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
||||||
|
|
||||||
# No patches for other machines yet
|
# No patches for other machines yet
|
||||||
COMPATIBLE_MACHINE = "(mele|olinuxino-a13|olinuxino-a10s|cubieboard|cubieboard2)"
|
COMPATIBLE_MACHINE = "(mele|meleg|olinuxino-a13|olinuxino-a10s|cubieboard|cubieboard2)"
|
||||||
|
|
||||||
DEFAULT_PREFERENCE_mele= "1"
|
DEFAULT_PREFERENCE_mele= "1"
|
||||||
|
DEFAULT_PREFERENCE_meleg= "1"
|
||||||
DEFAULT_PREFERENCE_olinuxino-a13= "1"
|
DEFAULT_PREFERENCE_olinuxino-a13= "1"
|
||||||
DEFAULT_PREFERENCE_olinuxino-a10s= "1"
|
DEFAULT_PREFERENCE_olinuxino-a10s= "1"
|
||||||
DEFAULT_PREFERENCE_cubieboard="1"
|
DEFAULT_PREFERENCE_cubieboard="1"
|
||||||
|
@ -5,7 +5,7 @@ INC_PR = "r3"
|
|||||||
|
|
||||||
LIC_FILES_CHKSUM = "file://README;md5=a103ac69c166fcd98a67a9917dd7affd"
|
LIC_FILES_CHKSUM = "file://README;md5=a103ac69c166fcd98a67a9917dd7affd"
|
||||||
|
|
||||||
COMPATIBLE_MACHINE = "(mele|cubieboard|cubieboard2|olinuxino-a13)"
|
COMPATIBLE_MACHINE = "(mele|meleg|cubieboard|cubieboard2|olinuxino-a13)"
|
||||||
|
|
||||||
DEPENDS = "virtual/libx11 libxau libxdmcp libdrm dri2proto libdri2"
|
DEPENDS = "virtual/libx11 libxau libxdmcp libdrm dri2proto libdri2"
|
||||||
|
|
||||||
|
2507
recipes-kernel/linux/linux/meleg/defconfig
Normal file
2507
recipes-kernel/linux/linux/meleg/defconfig
Normal file
File diff suppressed because it is too large
Load Diff
@ -4,7 +4,7 @@ DESCRIPTION = "Linux kernel for Allwinner a10/a20 processors"
|
|||||||
|
|
||||||
KERNEL_IMAGETYPE = "uImage"
|
KERNEL_IMAGETYPE = "uImage"
|
||||||
|
|
||||||
COMPATIBLE_MACHINE = "(mele|olinuxino-a13|olinuxino-a10s|cubieboard|cubieboard2)"
|
COMPATIBLE_MACHINE = "(mele|meleg|olinuxino-a13|olinuxino-a10s|cubieboard|cubieboard2)"
|
||||||
|
|
||||||
PR = "12"
|
PR = "12"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user