Skip to content

Commit

Permalink
allwinner-a10: initial import.
Browse files Browse the repository at this point in the history
Signed-off-by: Enrico Butera <[email protected]>
  • Loading branch information
Enrico Butera committed Jun 3, 2012
1 parent 770eab6 commit 0192226
Show file tree
Hide file tree
Showing 8 changed files with 2,072 additions and 1 deletion.
17 changes: 17 additions & 0 deletions COPYING.MIT
Original file line number Diff line number Diff line change
@@ -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.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
meta-allwinner
==============

UNOFFICIAL OE-core layer for Allwinner A10 boards
UNOFFICIAL OE-core layer for Allwinner A10 boards

Author: Enrico Butera <[email protected]>

This layer depends on the additional layer:

meta-openembedded: git://git.openembedded.org/meta-openembedded

Build tested with core-image-base.
9 changes: 9 additions & 0 deletions conf/layer.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# We have a conf and classes directory, append to BBPATH
BBPATH .= ":${LAYERDIR}"

# We have a recipes directory, add to BBFILES
BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend"

BBFILE_COLLECTIONS += "meta-allwinner"
BBFILE_PATTERN_meta-allwinner := "^${LAYERDIR}/"
BBFILE_PRIORITY_meta-allwinner = "10"
29 changes: 29 additions & 0 deletions conf/machine/allwinner-a10.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#@TYPE: Machine
#@NAME: Allwinner A10 machine
#@DESCRIPTION: Machine configuration for the Allwinner A10 boards

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-cortexa8.inc

PREFERRED_PROVIDER_virtual/kernel = "linux-allwinner"

KERNEL_IMAGETYPE = "uImage"

UBOOT_MACHINE = "sun4i"

IMAGE_FSTYPES += "tar.bz2"

# Guesswork
SERIAL_CONSOLE = "115200 ttyS2"

#EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x40000 -s 4096"

MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"
19 changes: 19 additions & 0 deletions recipes-bsp/u-boot/u-boot_git.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
require recipes-bsp/u-boot/u-boot.inc

LICENSE = "GPL"

# No patches for other machines yet
COMPATIBLE_MACHINE = "allwinner-a10"

DEFAULT_PREFERENCE_allwinner-a10 = "1"

SRC_URI = "git://github.com/hno/uboot-allwinner.git;protocol=git;branch=sun4i \
"

# 2012/05/31: Rename spl loader to sun4i-spl.bin for now
SRCREV = "e5eb03e7cd61ebcf552f6c809783d025786cdb24"
PR = "r1"

LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"

S = "${WORKDIR}/git"
Loading

0 comments on commit 0192226

Please sign in to comment.