mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-12-27 05:28:22 +01:00
Factorise sunxi machines definition
This commit is contained in:
parent
16a80ed3ea
commit
9acddf8bb8
@ -2,35 +2,17 @@
|
|||||||
#@NAME: CubieBoard
|
#@NAME: CubieBoard
|
||||||
#@DESCRIPTION: Machine configuration for the cubieboard, based on allwinner a10 CPU http://cubieboard.org/
|
#@DESCRIPTION: Machine configuration for the cubieboard, based on allwinner a10 CPU http://cubieboard.org/
|
||||||
|
|
||||||
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
|
|
||||||
XSERVER = "xserver-xorg \
|
|
||||||
xf86-video-fbturbo \
|
|
||||||
xf86-input-evdev \
|
|
||||||
xf86-input-mouse \
|
|
||||||
xf86-input-keyboard"
|
|
||||||
|
|
||||||
# Only has DVI connector for external screen
|
# Only has DVI connector for external screen
|
||||||
GUI_MACHINE_CLASS = "bigscreen"
|
GUI_MACHINE_CLASS = "bigscreen"
|
||||||
|
|
||||||
require conf/machine/include/tune-cortexa8.inc
|
require conf/machine/include/tune-cortexa8.inc
|
||||||
|
require conf/machine/include/sunxi.inc
|
||||||
require conf/machine/include/sunxi-mali.inc
|
require conf/machine/include/sunxi-mali.inc
|
||||||
|
|
||||||
PREFERRED_PROVIDER_virtual/kernel = "linux"
|
|
||||||
PREFERRED_VERSION_linux-libc-headers = "3.0.8"
|
|
||||||
|
|
||||||
KERNEL_IMAGETYPE = "uImage"
|
|
||||||
|
|
||||||
UBOOT_MACHINE = "cubieboard"
|
UBOOT_MACHINE = "cubieboard"
|
||||||
UBOOT_ENTRYPOINT = "0x40008000"
|
UBOOT_ENTRYPOINT = "0x40008000"
|
||||||
UBOOT_LOADADDRESS = "0x40008000"
|
UBOOT_LOADADDRESS = "0x40008000"
|
||||||
|
|
||||||
SPL_BINARY = "sunxi-spl.bin"
|
|
||||||
|
|
||||||
IMAGE_CLASSES += "sdcard_image-sunxi"
|
|
||||||
IMAGE_FSTYPES += "ext3 tar.gz sunxi-sdimg"
|
|
||||||
|
|
||||||
|
|
||||||
# Guesswork
|
|
||||||
SERIAL_CONSOLE = "115200 ttyS0"
|
SERIAL_CONSOLE = "115200 ttyS0"
|
||||||
|
|
||||||
MACHINE_EXTRA_RRECOMMENDS = "\
|
MACHINE_EXTRA_RRECOMMENDS = "\
|
||||||
|
@ -2,32 +2,17 @@
|
|||||||
#@NAME: CubieBoard2
|
#@NAME: CubieBoard2
|
||||||
#@DESCRIPTION: Machine configuration for the cubieboard2, based on allwinner ar210 CPU http://cubieboard.org/
|
#@DESCRIPTION: Machine configuration for the cubieboard2, based on allwinner ar210 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
|
# Only has DVI connector for external screen
|
||||||
GUI_MACHINE_CLASS = "bigscreen"
|
GUI_MACHINE_CLASS = "bigscreen"
|
||||||
|
|
||||||
require conf/machine/include/tune-cortexa7.inc
|
require conf/machine/include/tune-cortexa7.inc
|
||||||
|
require conf/machine/include/sunxi.inc
|
||||||
|
|
||||||
PREFERRED_PROVIDER_virtual/kernel = "linux"
|
|
||||||
PREFERRED_VERSION_linux-libc-headers = "3.4"
|
|
||||||
|
|
||||||
KERNEL_IMAGETYPE = "uImage"
|
|
||||||
|
|
||||||
UBOOT_MACHINE = "cubieboard2"
|
UBOOT_MACHINE = "cubieboard2"
|
||||||
UBOOT_ENTRYPOINT = "0x40008000"
|
UBOOT_ENTRYPOINT = "0x40008000"
|
||||||
UBOOT_LOADADDRESS = "0x40008000"
|
UBOOT_LOADADDRESS = "0x40008000"
|
||||||
|
|
||||||
SPL_BINARY = "sunxi-spl.bin"
|
|
||||||
|
|
||||||
IMAGE_CLASSES += "sdcard_image-sunxi"
|
|
||||||
IMAGE_FSTYPES += "ext3 tar.gz sunxi-sdimg"
|
|
||||||
|
|
||||||
|
|
||||||
SERIAL_CONSOLE = "115200 ttyS0"
|
SERIAL_CONSOLE = "115200 ttyS0"
|
||||||
|
|
||||||
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS = "\
|
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS = "\
|
||||||
|
16
conf/machine/include/sunxi.inc
Normal file
16
conf/machine/include/sunxi.inc
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
|
||||||
|
XSERVER = "xserver-xorg \
|
||||||
|
xf86-video-fbturbo \
|
||||||
|
xf86-input-evdev \
|
||||||
|
xf86-input-mouse \
|
||||||
|
xf86-input-keyboard"
|
||||||
|
|
||||||
|
PREFERRED_PROVIDER_virtual/kernel = "linux"
|
||||||
|
PREFERRED_VERSION_linux-libc-headers = "3.4.61"
|
||||||
|
|
||||||
|
KERNEL_IMAGETYPE = "uImage"
|
||||||
|
|
||||||
|
SPL_BINARY = "sunxi-spl.bin"
|
||||||
|
|
||||||
|
IMAGE_CLASSES += "sdcard_image-sunxi"
|
||||||
|
IMAGE_FSTYPES += "ext3 tar.gz sunxi-sdimg"
|
@ -2,47 +2,17 @@
|
|||||||
#@NAME: Mele a1000/a2000
|
#@NAME: Mele a1000/a2000
|
||||||
#@DESCRIPTION: Machine configuration for the Mele a1000 and a2000, base on allwinner a10 CPU
|
#@DESCRIPTION: Machine configuration for the Mele a1000 and a2000, base on allwinner a10 CPU
|
||||||
|
|
||||||
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
|
|
||||||
XSERVER = "xserver-xorg \
|
|
||||||
xf86-video-fbturbo \
|
|
||||||
xf86-input-evdev \
|
|
||||||
xf86-input-mouse \
|
|
||||||
xf86-input-keyboard"
|
|
||||||
|
|
||||||
# Only has DVI connector for external screen
|
# Only has DVI connector for external screen
|
||||||
GUI_MACHINE_CLASS = "bigscreen"
|
GUI_MACHINE_CLASS = "bigscreen"
|
||||||
|
|
||||||
require conf/machine/include/tune-cortexa8.inc
|
require conf/machine/include/tune-cortexa8.inc
|
||||||
|
require conf/machine/include/sunxi.inc
|
||||||
require conf/machine/include/sunxi-mali.inc
|
require conf/machine/include/sunxi-mali.inc
|
||||||
|
|
||||||
PREFERRED_PROVIDER_virtual/kernel = "linux"
|
|
||||||
PREFERRED_VERSION_linux-libc-headers = "3.0.8"
|
|
||||||
|
|
||||||
KERNEL_IMAGETYPE = "uImage"
|
|
||||||
|
|
||||||
UBOOT_MACHINE = "mele_a1000"
|
UBOOT_MACHINE = "mele_a1000"
|
||||||
UBOOT_ENTRYPOINT = "0x40008000"
|
UBOOT_ENTRYPOINT = "0x40008000"
|
||||||
UBOOT_LOADADDRESS = "0x40008000"
|
UBOOT_LOADADDRESS = "0x40008000"
|
||||||
|
|
||||||
SPL_BINARY = "sunxi-spl.bin"
|
|
||||||
|
|
||||||
IMAGE_CLASSES += "sdcard_image-sunxi"
|
|
||||||
IMAGE_FSTYPES += "ext3 tar.gz sunxi-sdimg"
|
|
||||||
|
|
||||||
# Guesswork
|
|
||||||
SERIAL_CONSOLE = "115200 ttyS0"
|
SERIAL_CONSOLE = "115200 ttyS0"
|
||||||
|
|
||||||
MACHINE_EXTRA_RRECOMMENDS = "\
|
|
||||||
kernel-module-8192cu \
|
|
||||||
kernel-module-sw-ahci-platform \
|
|
||||||
kernel-module-sndspdif \
|
|
||||||
kernel-module-sun4i-sndspdif \
|
|
||||||
kernel-module-sun4i-spdif \
|
|
||||||
kernel-module-sun4i-spdma \
|
|
||||||
kernel-module-mali \
|
|
||||||
kernel-module-mali-drm \
|
|
||||||
kernel-module-ump \
|
|
||||||
kernel-module-disp-ump \
|
|
||||||
"
|
|
||||||
|
|
||||||
MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"
|
MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"
|
||||||
|
@ -7,21 +7,13 @@
|
|||||||
GUI_MACHINE_CLASS = "bigscreen"
|
GUI_MACHINE_CLASS = "bigscreen"
|
||||||
|
|
||||||
require conf/machine/include/tune-cortexa8.inc
|
require conf/machine/include/tune-cortexa8.inc
|
||||||
|
require conf/machine/include/sunxi.inc
|
||||||
|
|
||||||
PREFERRED_PROVIDER_virtual/kernel = "linux"
|
|
||||||
PREFERRED_VERSION_linux-libc-headers = "3.4.61"
|
|
||||||
|
|
||||||
KERNEL_IMAGETYPE = "uImage"
|
|
||||||
|
|
||||||
UBOOT_MACHINE = "a10s-olinuxino-m"
|
UBOOT_MACHINE = "a10s-olinuxino-m"
|
||||||
UBOOT_ENTRYPOINT = "0x40008000"
|
UBOOT_ENTRYPOINT = "0x40008000"
|
||||||
UBOOT_LOADADDRESS = "0x40008000"
|
UBOOT_LOADADDRESS = "0x40008000"
|
||||||
|
|
||||||
SPL_BINARY = "sunxi-spl.bin"
|
|
||||||
|
|
||||||
IMAGE_CLASSES += "sdcard_image-sunxi"
|
|
||||||
IMAGE_FSTYPES += "ext3 tar.bz2 sunxi-sdimg"
|
|
||||||
|
|
||||||
SERIAL_CONSOLE = "115200 ttyS0"
|
SERIAL_CONSOLE = "115200 ttyS0"
|
||||||
|
|
||||||
MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"
|
MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"
|
||||||
|
@ -3,36 +3,17 @@
|
|||||||
#@DESCRIPTION: Machine configuration for the Olime A13-OLinuXino Board, base on allwinner a13 CPU
|
#@DESCRIPTION: Machine configuration for the Olime A13-OLinuXino Board, base on allwinner a13 CPU
|
||||||
#https://github.com/OLIMEX/OLINUXINO
|
#https://github.com/OLIMEX/OLINUXINO
|
||||||
|
|
||||||
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
|
|
||||||
XSERVER = "xserver-xorg \
|
|
||||||
xf86-input-tslib \
|
|
||||||
tslib-calibrate \
|
|
||||||
tslib-tests \
|
|
||||||
xf86-input-evdev \
|
|
||||||
xf86-input-mouse \
|
|
||||||
xf86-input-keyboard \
|
|
||||||
xf86-video-fbdev \
|
|
||||||
"
|
|
||||||
|
|
||||||
# Only has DVI connector for external screen
|
# Only has DVI connector for external screen
|
||||||
GUI_MACHINE_CLASS = "bigscreen"
|
GUI_MACHINE_CLASS = "bigscreen"
|
||||||
|
|
||||||
require conf/machine/include/tune-cortexa8.inc
|
require conf/machine/include/tune-cortexa8.inc
|
||||||
|
require conf/machine/include/sunxi.inc
|
||||||
|
require conf/machine/include/sunxi-mali.inc
|
||||||
|
|
||||||
PREFERRED_PROVIDER_virtual/kernel = "linux"
|
UBOOT_MACHINE = "mele_a1000"
|
||||||
PREFERRED_VERSION_linux-libc-headers = "3.0.8"
|
|
||||||
|
|
||||||
KERNEL_IMAGETYPE = "uImage"
|
|
||||||
|
|
||||||
UBOOT_MACHINE = "a13_olinuxino"
|
|
||||||
UBOOT_ENTRYPOINT = "0x40008000"
|
UBOOT_ENTRYPOINT = "0x40008000"
|
||||||
UBOOT_LOADADDRESS = "0x40008000"
|
UBOOT_LOADADDRESS = "0x40008000"
|
||||||
|
|
||||||
SPL_BINARY = "sunxi-spl.bin"
|
|
||||||
|
|
||||||
IMAGE_FSTYPES += "tar.bz2 squashfs sunxi-sdimg"
|
|
||||||
|
|
||||||
# Guesswork
|
|
||||||
SERIAL_CONSOLE = "115200 ttyS0"
|
SERIAL_CONSOLE = "115200 ttyS0"
|
||||||
|
|
||||||
MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"
|
MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"
|
||||||
|
Loading…
Reference in New Issue
Block a user