Commit Graph

141 Commits

Author SHA1 Message Date
Enrico Butera
df468d72d7
Merge pull request #215 from XevoInc/nanopi-neo-plus2
Add the nanopi neo 2 and plus2
2018-06-10 23:40:08 +02:00
Martin Kelly
cf8eb364a0 add LAYERSERIES_COMPAT declaration
In current Yocto master, it's now a warning not to include
LAYERSERIES_COMPAT in layer.conf. See below for more information:

https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#var-LAYERSERIES_COMPAT

Add this information for all current development and stable releases.

Tested-by: Sergey Matyukevich <geomatsi@gmail.com>
Tested-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Martin Kelly <mkelly@xevo.com>
2018-05-30 09:16:42 -07:00
Martin Kelly
4900e75a6a nanopi-neo2: add new board
Signed-off-by: Martin Kelly <mkelly@xevo.com>
2018-05-01 10:11:57 -07:00
Martin Kelly
c0f804f573 nanopi-neo-plus2: add new board
Signed-off-by: Martin Kelly <mkelly@xevo.com>
2018-04-30 16:54:43 -07:00
Martin Kelly
5e61ba92e3 u-boot: upgrade to 2018.03
This version of u-boot includes nanopi-neo-plus2 support.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
2018-04-12 15:18:56 -07:00
Martin Kelly
17c1731264 nanopi-neo-air: add new board
We have devicetree and u-boot configs for the nanopi-neo-air, so add
them. As a basic test, this boots correctly on my nanopi-neo-air.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
2018-01-10 12:56:57 -08:00
Enrico Butera
2c85181c92 drop DEFAULTTUNE from machine recipes
Signed-off-by: Enrico Butera <ebutera@users.sourceforge.net>
2017-12-21 17:40:55 +01:00
Enrico Butera
f3cba0b6b0
Merge pull request #196 from nandra/nandra-orangepi-pc-plus
Add configuration for orangepi pc plus
2017-12-21 17:39:34 +01:00
Marek Belisko
97ba08e3b6 conf: Added configuration for orangepi pc plus
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
2017-12-20 21:20:03 +01:00
Sergey Matyukevich
72c0f7aa6e orange-pi-zero-plus2: add new board
Orange Pi Zero Plus2 board is based on AllWinner H5 SoC.
For more details on its hardware see linux-sunxi wiki:
http://linux-sunxi.org/Xunlong_Orange_Pi_Zero_Plus_2

This patch enables basic support for orange-pi-zero-plus2 board:
- mainline kernel 4.14.2
- mainline u-boot 2017.11
- dts kernel patch that fixes boot from SD card
- dts kernel patch enabling AP6212 WiFi/BT chip

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
2017-12-03 22:41:36 +03:00
Sergey Matyukevich
684a800c86 u-boot: enable support for sun50i
Add support of sun50i SoC family to u-boot recipe:
- move SPL_BINARY to sunxi.inc and sunxi64.inc
  -- different SoC families have different SPL_BINARY names
- create separate boot.cmd files for arm and aarch64
  -- different kernel image types require different boot commands
- add atf-sunxi dependency
  -- u-boot for aarch64 needs ATF BL31 binary

- add do_compile_sun50i[depends]
  -- make sure that BL31 binary is already deployed before u-boot build

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
2017-12-03 22:24:12 +03:00
Sergey Matyukevich
3434ae8c66 sun50i: add support for aarch64 sun50i SoC family
Follow the same approach as in 32-bit sunxi SoC families:
- create sunxi64.inc: umbrella description for aarch64 sunxi
  -- specify proper u-boot/spl image types
  -- specify proper kernel image type
  -- specify u-boot/kernel preferred providers
- create basic description of sun50i SoC family
  -- sun50i SoC family is based on armv8

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
2017-12-03 22:18:23 +03:00
Sergey Matyukevich
4d9466c131 linux: update kernel recipes
- remove older stable release recipes
- bump stable linux recipe to 4.14.2
- bump git linux recipe to 4.15-rc1
- rename linux to linux-mainline

Renaming kernel recipe from 'linux' to 'linux-mainline' is needed to
get ready for adding aarch64 support. The reason is in the value of
OVERRIDES environment variable. BitBake uses OVERRIDES to control what
variables are overridden after BitBake parses recipes and configuration
files. So packages names are not allowed to take values listed in
OVERRIDES. One of the OVERRIDES values is TARGET_OS:
  TARGET_OS = linux${LIBCEXTENSION}${ABIEXTENSION}
For arm architecture TARGET_OS = "linux-gnueabi". However for aarch64
architecture TARGET_OS = "linux". As a result, in the case of aarch64
kernel package can not be named 'linux'. This patch renames kernel
package name to 'linux-mainline' in order to be able to maintain the
same kernel recipes for both arm and aarch64 boards.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
2017-12-03 21:57:31 +03:00
Sergey Matyukevich
35e264f9fe u-boot: bump version to 2017.11
Remove patch adding OLinuxino-Lime2-eMMC defconfig:
it already merged to uboot mainline.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
2017-12-03 21:44:48 +03:00
Diego Rondini
4b43209a92 linux: update to 4.13.4
Update stable to 4.13.4 version thus removing backported patch and requirement
of git version for several boards (current stable 4.13 is newer than previous
git 4.11).
Additionally update git version to 4.14-rc3.

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
2017-10-02 11:23:06 +00:00
Diego Rondini
0ebd445fbd olinuxino-a20lime2-emmc: add configuration
Add machine configuration file for Olimex A20-OLinuXino Lime2 Board with 4GB
eMMC.

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
2017-04-26 08:46:45 +00:00
Fernando De La Garza
dec3faadd9 Bump versions kernel and u-boot versions for orange pi pc 2017-04-19 17:02:16 -07:00
Fernando De La Garza
6b0661dff2 Add support for Orange Pi PC board 2017-04-19 13:33:50 -07:00
Sergey Matyukevich
7037d13e6a Add support for Orange Pi Zero board
Add machine description for Orange Pi Zero board. Detailed hardware
overview is available at the following linux-sunxi wiki page:
http://linux-sunxi.org/Orange_Pi_Zero

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
2017-04-09 19:13:15 +03:00
Sergey Matyukevich
a6d2bb6b9e Bump versions of kernel and u-boot
Bump preferred u-boot release version and kernel git version:
- kernel 4.11.0-rc5
- u-boot 2017.03

Update preferred versions of u-boot and kernel for all the
boards that are using them: nanopi-neo, orange-pi-one, pcduino.

The purpose of this update is to get the latest features for
sun8i cores including SPI support and orange-pi-zero support

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
2017-04-09 19:13:12 +03:00
Pedro Pinto
7f791bd576 Fix Olimex A20 SOM configuration
* Added missing kernel device tree definition.
* Updated U-Boot definiton.

(cherry picked from commit be22a388db)
2017-01-18 21:39:50 +01:00
James Pettigrew
0a77e55428 Add support for FriendlyARM NanoPi Neo board
Signed-off-by: James Pettigrew <james@innovum.com.au>
2017-01-12 11:24:59 +11:00
Sergey Matyukevich
2b1cafc104 pcduino: bump preferred u-boot and kernel versions
Bump preferred u-boot and kernel versions:
- kernel 4.9
- u-boot 2016.11

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
2016-12-15 23:10:24 +03:00
Sergey Matyukevich
75fe4617ce Add support for Orange Pi One board
Add machine description for Orange Pi One board.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
2016-12-14 22:53:24 +03:00
Sergey Matyukevich
0dcdc4edf9 sun8i: add new SoC family
Add config for sun8i SoC family and specify preferred BSP components.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
2016-12-14 22:49:57 +03:00
Sergey Matyukevich
941e978370 Add support for pcduino devices
Add support for LinkSprite pcDuino1 device and its flavors
including pcduino-lite and pcduino-lite-wifi:

- add pcduino machine description
- enable CONFIG_SPI_SPIDEV in upstream kernel defconfig to provide simple userspace access
  to SPI devices on Arduino shields

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
2016-05-18 22:17:42 +03:00
Enrico Butera
849a2266d5 olinuxino-a20lime2: fix UBOOT_MACHINE
Signed-off-by: Enrico Butera <ebutera@users.sourceforge.net>
2016-02-13 20:01:25 +01:00
Enrico Butera
9ac263ebab Merge pull request #108 from Noxenious/master
Use correct u-boot name for meleg
2015-08-10 16:38:31 +02:00
Jens Lucius
4d45bd5262 add missing _config to meleg
Signed-off-by: Jens Lucius <info@jenslucius.com>
2015-08-10 15:02:07 +02:00
Jens Lucius
2df4c1b23d Use correct u-boot name for meleg
Mainline u-boot uses a different name for the configuration for the Mele G.
Use correct name for mainline, use old name for sunxi u-boot.

Signed-off-by: Jens Lucius <info@jenslucius.com>
2015-08-10 14:11:04 +02:00
Jonathan Liu
c5ee8d779f olinuxino-a20: fix KERNEL_DEVICETREE
Signed-off-by: Jonathan Liu <net147@gmail.com>
2015-07-29 14:29:40 +10:00
Nicolas Aguirre
f4ebd29a50 Remove unused PREFFERED_VERSIONS and let the virtual/kernel preffered provider be overriden. 2015-07-18 16:45:17 +02:00
Jens Lucius
be0e113009 u-boot: add stable 2015.07 mainline
Add new stable 2015.07 mainline u-boot version.
Add correct mainline u-boot names to machine configs.
Add overwrite for different names for old sunxi u-boot.

Signed-off-by: Jens Lucius <info@jenslucius.com>
2015-06-21 18:08:00 +02:00
Elric Milon
966a7cf417 Fix cubieboard2.conf.
Closes #95
2015-06-26 12:16:52 +02:00
Elric Milon
c6b0194806 Fix typo in cubieboard2.conf 2015-06-25 10:34:00 +02:00
Jens Lucius
8107abbdee kernel: fix missing device tree, switch to mainline
- Add back missing device tree definitions in machine files
- Switch to mainline kernel by default
- Add description to switch back to sunxi versions in README

Signed-off-by: Jens Lucius <info@jenslucius.com>
2015-06-16 16:33:57 +02:00
Nicolas Aguirre
4240612f21 Use SOC_FAMILY to avoid the long list of COMPATIBLE_MACHINE
It uses 3 different SOC_FAMILY sun4i,sun5i,sun7i this list come from here http://sunxi.org/Allwinner_SoC_Family
Adding a new machine should be now more easy, as we have now to only create a new machine.conf file, set the right SOC_FAMILY and include the right arch inclue.
2015-06-16 00:45:08 +02:00
Jens Lucius
55b9d9ae5e kernel: don´t set default to mainline 2015-06-10 22:05:01 +02:00
Jens Lucius
b10c844cb2 kernel: move devicetree to machine files, include in sd-card
Move device tree configuration to machine files. Check for device tree
in sd card creation and include device tree file in first partition.

Signed-off-by: Jens Lucius <info@jenslucius.com>
2015-06-10 22:01:24 +02:00
Jens Lucius
90c7651e64 lime2: fix u-boot name
Fix wrong u-boot name in lime2 config.

Signed-off-by: Jens Lucius <info@jenslucius.com>
2015-04-02 14:26:32 +02:00
Jens Lucius
91a61a8de4 set default u-boot to u-boot
Set the PREFERRED_PROVIDER_u-boot and _virtual/bootloader to u-boot.
Preperation for adding mainline u-boot.

Signed-off-by: Jens Lucius <info@jenslucius.com>
2015-03-09 14:13:03 +01:00
Jens Lucius
eeb41f14c8 Add more devices (LimeA10, Lime2, A13SOM, Forfun Q88DB)
Add Olimex Boards Olinuxino A10 Lime, A20 Lime2, A13SOM and Forfun
A13 Tablet. Sort all machine names in recipes alphabetically.
2015-03-03 18:09:46 +01:00
Jens Lucius
2de81b3de0 sunxi: set preferred kernel to 3.4
Set the preferred kernel to 3.4 in sunxi.inc. This makes it easier
to upgrade the kernel in a later commit without breaking build.

Signed-off-by: Jens Lucius <info@jenslucius.com>
2015-03-03 18:03:48 +01:00
Nicolas Aguirre
5727515f10 Add support for banapi machine
Conflicts:
	recipes-bsp/sunxi-board-fex/sunxi-board-fex.bb
	recipes-bsp/u-boot/u-boot_git.bb
	recipes-graphics/libgles/sunxi-mali_git.bb
	recipes-kernel/linux/linux_3.4.bb
2015-02-22 11:59:46 +01:00
Christian Ege
62d877b9e9 Append the shortened git revision to the u-boot version
This add the first 7 characters of the git sha-1 to the compiled in
u-boot version.

With  this change the serial console displays the following version information:

U-Boot 2014.04-gee425f9 (Oct 01 2014 - 22:20:35) Allwinner Technology

Without the version looks like this:

U-Boot 2014.04 (Oct 01 2014 - 21:55:57) Allwinner Technology


Signed-off-by: Christian Ege <k4230r6@gmail.com>
2014-10-01 22:42:20 +02:00
Christian Ege
d5461fdab9 This adds support to build for the Olimex A20-OLinuXino-LIME
- Added a "olinuxino-a20lime" machine configuration

Signed-off-by: Christian Ege <k4230r6@gmail.com>
2014-09-29 22:19:37 +02:00
Jens Lucius
dc03e94587 Update u-boot_git.bb, Correct U-Boot machine names
The latest revision of U-Boot requires changing the U-Boot machine names for
olimex based boards, as these were changed in U-Boot.

U-Boot tested on Olimex A20 Olinuxino

Signed-off-by: Jens Lucius <info@jenslucius.com>
2014-09-18 18:36:25 +02:00
dnmeid
e1969f71e9 olinuxino-a20som: add machine config 2014-09-08 12:16:10 +02:00
Marco Franceschetti
8c6f8c9392 olinuxino-a10.conf: Remove MACHINE_EXTRA_RRECOMMENDS 2014-05-30 20:18:46 +02:00
Koen Kooi
944e8111b8 machines: sync u-boot config name with boards.cfg
Recent u-boots (e.g. 2014.04-rc) need the _config appended to work, so
add that and sync the names with boards.cfg as well.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-04-12 19:14:36 +02:00
Peter Olsson
7f1c185828 Added Olinuxino A10 LIME 2014-03-07 16:05:47 +01:00
Marco Franceschetti
18c0552982 kernel-modules to include are now defined in sunxi.inc 2014-02-12 20:40:02 +01:00
Nicolas Aguirre
c02fbb7b92 Install all modules built in images 2014-02-11 19:36:40 +01:00
Marco Franceschetti
31341dc3ef removed unneeded definition in sunxi.inc 2014-02-05 17:44:59 +01:00
Aguirre
889813ce8a Update olinuxino-a13.conf
Set the right u-boot machine for olinuxino-a13
2014-02-05 17:10:08 +01:00
Jonathan Liu
1b9656c39d linux: compile sunxi-emac into kernel for cubietruck
The network driver needs to be compiled into the kernel for booting from
network over NFS.
2014-02-05 09:10:48 +11:00
Jonathan Liu
e7d8f0c856 linux: compile sunxi-emac into kernel for cubieboard2
The network driver needs to be compiled into the kernel for booting from
network over NFS.
2014-02-05 09:10:33 +11:00
Jonathan Liu
e6cd6c0ff6 linux: compile sunxi-emac into kernel for cubieboard
The network driver needs to be compiled into the kernel for booting from
network over NFS.
2014-02-05 09:09:26 +11:00
Marco Franceschetti
e8ac28f073 set the right uboot-machine 2014-01-01 18:50:31 +01:00
Baodong Chen
db3d191f28 Add support for cubietruck 2013-12-31 10:52:13 +08:00
Marco Franceschetti
c80c4d24b9 Add support for the olinuxino-A20 board 2013-12-11 18:54:31 +01:00
Raoul Hecky
9829ea6fac Fix module requirements 2013-12-11 09:34:53 +01:00
Raoul Hecky
be13b6bf68 fix mali module inclusion 2013-12-10 16:01:49 +01:00
Raoul Hecky
0781dae5ea install mali and mali-drm module 2013-12-10 15:36:08 +01:00
Raoul Hecky
39eec3a80a fix wrong layer name 2013-12-10 15:19:09 +01:00
Raoul Hecky
7b836320a2 add mali dependency to cubieboard2 2013-12-09 18:03:42 +01:00
Nicolas Aguirre
3a8616d932 new machine meleg : Add support for mele a1000g and a2000g 2013-12-02 15:19:18 +01:00
Nicolas Aguirre
a33372936b Add emac driver for cubieboard and try to load it at startup 2013-11-25 08:38:06 +01:00
Nicolas Aguirre
9acddf8bb8 Factorise sunxi machines definition 2013-11-15 18:56:26 +01:00
Nicolas Aguirre
16a80ed3ea Rename a10-sdimg with sunxi-sdimg 2013-11-15 18:45:10 +01:00
Kristof Robot
31b4184017 cubieboard2: added network kernel module as essential dependency
Adding sunxi_emac network driver as recommended *essential* machine dependency, rather than recommended *extra* dependency, to make sure it is included, even if packagegroup-base is not included.

See also https://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-MACHINE_EXTRA_RDEPENDS

Also removed kernel26, as this is deprecated, see http://www.openembedded.org/wiki/Migrating_metadata_to_OE-Core
2013-10-31 13:26:08 +01:00
Raoul Hecky
51fe9392f2 Correctly install mali and fbturbo driver:
- add correct xorg config
- For mali-sunxi driver to work it also need library files from sunxi-mali-dev
  package. Adding sunxi-mali-dev to XSERVER force the installation of
  the -dev
2013-10-29 22:38:45 +01:00
Nicolas Aguirre
33c8f1c32b Use the rightmele machine configuration for u-boot 2013-10-29 08:14:24 +01:00
Tomas Novotny
7d7ff35204 Add support for A10S-OLinuXino-MICRO board 2013-10-23 15:28:55 +02:00
Nicolas Aguirre
1a7f72a8e6 Add cubieboard2 support, first work 2013-10-16 22:12:12 +02:00
Nicolas Aguirre
e7042a339a Use sunxifb driver in xorg conf 2013-10-11 13:48:04 +02:00
Marco Franceschetti
ef43815dfd added MACHINE_EXTRA_RRECOMMENDS 2013-07-10 16:23:16 +02:00
Nicolas Aguirre
74c1713211 Add tar.gz as image format for this machine 2013-06-28 07:12:05 +02:00
Nicolas Aguirre
4e1be83791 Remove DEFAULTTUNE of the MACHINE description as it's a DISTRO decision. 2013-04-03 13:14:32 +02:00
Nicolas Aguirre
9159d1b35e Generate less image types 2013-03-14 23:08:11 +01:00
Nicolas Aguirre
3c48817722 Set right the memory adress for starting kernel 2013-03-14 23:07:41 +01:00
Nicolas Aguirre
7292baa2d9 Add cubieboard machine 2013-03-12 16:12:49 +01:00
Nicolas Aguirre
9bbb6f5d64 More X11 stuff for olinuxino a13 2013-02-24 21:29:04 +01:00
Nicolas Aguirre
84758b7f78 Change machine name ! allwinner-a10 doesn't exists anymore.
Add 2 new machines : olinuxino-a13 for olimex A13 borads
                     mele for Mele a1000/a20000 products
2013-01-16 22:43:26 +01:00
Nicolas Aguirre
213b57e1c8 Use new version of u-boot 2012-11-20 14:23:56 +01:00
Nicolas Aguirre
c56db9e4e6 use hardfp as default version for this machine 2012-11-13 13:15:40 +01:00
Nicolas Aguirre
2e6360bba6 Use linux as preffered provider for kernel 2012-10-07 10:35:46 +02:00
Enrico Butera
af083c262f linux-libc-headers: pin version matching current kernel
Signed-off-by: Enrico Butera <ebutera@users.berlios.de>
2012-06-28 00:50:33 +02:00
Enrico Butera
299a63f0f0 allwinner-a10: serial console is ttyS0
As reported by Henrik Nordström.

Signed-off-by: Enrico Butera <ebutera@users.berlios.de>
2012-06-14 22:26:13 +02:00
Enrico Butera
69bf38bb4b allwinner-a10: add SPL_BINARY
Signed-off-by: Enrico Butera <ebutera@users.berlios.de>
2012-06-07 23:17:36 +02:00
Enrico Butera
0192226c66 allwinner-a10: initial import.
Signed-off-by: Enrico Butera <ebutera@users.berlios.de>
2012-06-03 19:47:57 +02:00