mirror of
git://git.yoctoproject.org/meta-rockchip.git
synced 2025-07-04 20:54:48 +02:00
Initial commit
This commit is contained in:
commit
cbaa25c44a
17
COPYING.MIT
Normal file
17
COPYING.MIT
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in
|
||||||
|
all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
|
THE SOFTWARE.
|
19
classes/rockchip-update-img.bbclass
Normal file
19
classes/rockchip-update-img.bbclass
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# Copyright (C) 2014 NEO-Technologies
|
||||||
|
# Released under the MIT license (see COPYING.MIT for the terms)
|
||||||
|
|
||||||
|
inherit image_types
|
||||||
|
|
||||||
|
# This image depends on the rootfs ext3 image
|
||||||
|
IMAGE_TYPEDEF_rockchip-update-img = "ext3"
|
||||||
|
|
||||||
|
IMAGE_CMD_rockchip-update-img () {
|
||||||
|
# Fetch bootloader
|
||||||
|
# TODO
|
||||||
|
|
||||||
|
# Fetch parameter
|
||||||
|
# TODO
|
||||||
|
|
||||||
|
# Build update.img using afptool and img_maker
|
||||||
|
# TODO
|
||||||
|
touch "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.update.img"
|
||||||
|
}
|
18
conf/layer.conf
Normal file
18
conf/layer.conf
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
# Copyright (C) 2014 NEO-Technologies
|
||||||
|
# Released under the MIT license (see COPYING.MIT for the terms)
|
||||||
|
|
||||||
|
# We have a conf and classes directory, add to BBPATH
|
||||||
|
BBPATH .= ":${LAYERDIR}"
|
||||||
|
|
||||||
|
# We have recipes-* directories, add to BBFILES
|
||||||
|
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
|
||||||
|
|
||||||
|
BBFILE_COLLECTIONS += "rockchip"
|
||||||
|
BBFILE_PATTERN_rockchip = "^${LAYERDIR}/"
|
||||||
|
BBFILE_PRIORITY_rockchip = "1"
|
||||||
|
|
||||||
|
# This should only be incremented on significant changes that will
|
||||||
|
# cause compatibility issues with other layers
|
||||||
|
LAYERVERSION_rockchip = "1"
|
||||||
|
|
||||||
|
LAYERDEPENDS_rockchip = "core"
|
20
conf/machine/include/rockchip.inc
Normal file
20
conf/machine/include/rockchip.inc
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# Copyright (C) 2014 NEO-Technologies
|
||||||
|
# Released under the MIT license (see COPYING.MIT for the terms)
|
||||||
|
|
||||||
|
require conf/machine/include/tune-cortexa7.inc
|
||||||
|
|
||||||
|
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-rockchip-3.0"
|
||||||
|
|
||||||
|
IMAGE_CLASSES += "rockchip-update-img"
|
||||||
|
IMAGE_FSTYPES += "ext3 tar.gz rockchip-update-img"
|
||||||
|
|
||||||
|
SERIAL_CONSOLE = "115200 ttyFIQ0"
|
||||||
|
|
11
conf/machine/radxa-rock.conf
Normal file
11
conf/machine/radxa-rock.conf
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
# Copyright (C) 2014 NEO-Technologies
|
||||||
|
# Released under the MIT license (see COPYING.MIT for the terms)
|
||||||
|
|
||||||
|
#@TYPE: Machine
|
||||||
|
#@NAME: Radxa Rock Board
|
||||||
|
#@DESCRIPTION: Machine configuration for the Radxa Rock Board, based on Rockchip RK3188 CPU
|
||||||
|
#http://radxa.com
|
||||||
|
|
||||||
|
require conf/machine/include/rockchip.inc
|
||||||
|
|
||||||
|
PREFERRED_PROVIDER_virtual/kernel = "linux-rockchip-3.0-radxa-rock"
|
8
recipes-kernel/linux/linux-rockchip-3.0-radxa-rock.bb
Normal file
8
recipes-kernel/linux/linux-rockchip-3.0-radxa-rock.bb
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
# Copyright (C) 2014 NEO-Technologies
|
||||||
|
# Released under the MIT license (see COPYING.MIT for the terms)
|
||||||
|
|
||||||
|
require recipes-kernel/linux/linux-rockchip-3.0.inc
|
||||||
|
|
||||||
|
SRCBRANCH = "wip/rockchip-3.0-radxa-rock"
|
||||||
|
|
||||||
|
COMPATIBLE_MACHINE = "(radxa-rock)"
|
10
recipes-kernel/linux/linux-rockchip-3.0.inc
Normal file
10
recipes-kernel/linux/linux-rockchip-3.0.inc
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
# Copyright (C) 2014 NEO-Technologies
|
||||||
|
# Released under the MIT license (see COPYING.MIT for the terms)
|
||||||
|
|
||||||
|
DESCRIPTION = "Linux kernel for Rockchip's ARM platforms"
|
||||||
|
LICENSE = "GPLv2"
|
||||||
|
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
|
||||||
|
|
||||||
|
inherit kernel
|
||||||
|
|
||||||
|
SRC_URI = "git://github.com/linux-rockchip/rockchip-3.0.git;branch=${SRCBRANCH}"
|
Loading…
Reference in New Issue
Block a user