mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-11-16 18:28:23 +01:00
Added NextThingCo C.H.I.P machine configuration
Signoff: Rikard Söderström <rikard.soderstrom@gmail.com>
This commit is contained in:
parent
a2ab5f30ec
commit
8e30f9cbae
@ -1,16 +1,15 @@
|
|||||||
#@TYPE: Machine
|
#@TYPE: Machine
|
||||||
#@NAME: NextThing Co Allwinner a13 C.H.I.P
|
#@NAME: NextThing Co C.H.I.P - Allwinner R8
|
||||||
#@DESCRIPTION: Machine configuration for the NexThing Co C.H.I.P Board, base on allwinner a13 CPU
|
#@DESCRIPTION: Machine configuration for the NexThing Co C.H.I.P Board, based on Allwinner R8
|
||||||
#https://github.com/NextThingCo/CHIP-u-boot
|
#https://github.com/NextThingCo/CHIP-u-boot
|
||||||
#https://github.com/NextThingCo/CHIP-linux
|
#https://github.com/NextThingCo/CHIP-linux
|
||||||
|
|
||||||
PREFERRED_PROVIDER_virtual/kernel ?= "linux-chip"
|
PREFERRED_PROVIDER_virtual/kernel ?= "linux-chip"
|
||||||
PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-chip"
|
PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-chip"
|
||||||
PREFERRED_VERSION_linux-chip ?= "4.1.0"
|
PREFERRED_VERSION_linux-chip ?= "4.3.0"
|
||||||
PREFFERED_VERSION_u-boot-chip ?= "v2015.04%"
|
PREFFERED_VERSION_u-boot-chip ?= "v2015.10%"
|
||||||
|
|
||||||
require conf/machine/include/sun5i.inc
|
require conf/machine/include/sun5i.inc
|
||||||
|
|
||||||
KERNEL_DEVICETREE = "sun5i-r8-chip.dtb"
|
KERNEL_DEVICETREE = "sun5i-r8-chip.dtb"
|
||||||
UBOOT_MACHINE_chip = "CHIP_config"
|
UBOOT_MACHINE_chip = "CHIP_config"
|
||||||
SUNXI_FEX_FILE = "sys_config/a13/a13-olinuxino.fex"
|
|
||||||
|
35
recipes-bsp/u-boot/u-boot-chip_2015.10.bb
Normal file
35
recipes-bsp/u-boot/u-boot-chip_2015.10.bb
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
DESCRIPTION="U-Boot port for NextThing Co C.H.I.P"
|
||||||
|
|
||||||
|
require recipes-bsp/u-boot/u-boot.inc
|
||||||
|
|
||||||
|
DEPENDS += "dtc-native"
|
||||||
|
|
||||||
|
LICENSE = "GPLv2"
|
||||||
|
|
||||||
|
LIC_FILES_CHKSUM = "\
|
||||||
|
file://Licenses/Exceptions;md5=338a7cb1e52d0d1951f83e15319a3fe7 \
|
||||||
|
file://Licenses/bsd-2-clause.txt;md5=6a31f076f5773aabd8ff86191ad6fdd5 \
|
||||||
|
file://Licenses/bsd-3-clause.txt;md5=4a1190eac56a9db675d58ebe86eaf50c \
|
||||||
|
file://Licenses/eCos-2.0.txt;md5=b338cb12196b5175acd3aa63b0a0805c \
|
||||||
|
file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
||||||
|
file://Licenses/ibm-pibs.txt;md5=c49502a55e35e0a8a1dc271d944d6dba \
|
||||||
|
file://Licenses/isc.txt;md5=ec65f921308235311f34b79d844587eb \
|
||||||
|
file://Licenses/lgpl-2.0.txt;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
|
||||||
|
file://Licenses/lgpl-2.1.txt;md5=4fbd65380cdd255951079008b364516c \
|
||||||
|
"
|
||||||
|
|
||||||
|
COMPATIBLE_MACHINE = "(chip)"
|
||||||
|
|
||||||
|
DEFAULT_PREFERENCE_chip="1"
|
||||||
|
|
||||||
|
SRC_URI = " \
|
||||||
|
git://github.com/NextThingCo/CHIP-u-boot.git;protocol=git;branch=nextthing/2015.10/chip \
|
||||||
|
file://uboot-env-chip"
|
||||||
|
|
||||||
|
SRCREV = "79e0a6e1bb9003e43c756c0cacfc99b2a9c76b88"
|
||||||
|
|
||||||
|
PV = "v2015.10${SRCPV}"
|
||||||
|
|
||||||
|
PE = "1"
|
||||||
|
|
||||||
|
SPL_BINARY="u-boot-sunxi-with-spl.bin"
|
25
recipes-kernel/linux/linux-chip_4.3.0.bb
Normal file
25
recipes-kernel/linux/linux-chip_4.3.0.bb
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
SECTION = "kernel"
|
||||||
|
DESCRIPTION = "NextThingCo CHIP Linux kernel"
|
||||||
|
LICENSE = "GPLv2"
|
||||||
|
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
|
||||||
|
COMPATIBLE_MACHINE = "(chip)"
|
||||||
|
|
||||||
|
inherit kernel siteinfo
|
||||||
|
|
||||||
|
require recipes-kernel/linux/linux-dtb.inc
|
||||||
|
|
||||||
|
INC_PR = "r0"
|
||||||
|
LOCALVERSION ?= ""
|
||||||
|
PACKAGES =+ "kernel-headers"
|
||||||
|
FILES_kernel-headers = "${exec_prefix}/src/linux*"
|
||||||
|
|
||||||
|
# Pull in the devicetree files into the rootfs
|
||||||
|
RDEPENDS_kernel-base += "kernel-devicetree"
|
||||||
|
|
||||||
|
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
|
||||||
|
|
||||||
|
SRC_URI = "git://github.com/NextThingCo/CHIP-linux.git;protocol=git;branch=nextthing/4.3/chip"
|
||||||
|
|
||||||
|
SRCREV = "713c5d272aa0db19ba6440597bcb32b68cb2ab2f"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/git"
|
Loading…
Reference in New Issue
Block a user