Commit Graph

93 Commits

Author SHA1 Message Date
Martin Kelly
efe4acdeff machine: use armv8-a, not armv8
In the latest OE, this file has been renamed. Since this board is
ARMv8-A, we should use the armv8-a config instead of the armv8 config.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
2019-03-05 15:35:52 -08:00
Sergey Matyukevich
6b536f1083 u-boot: upgrade to 2018.09
Bump u-boot version. Notes:
- pylibfdt fix is not needed anymore
- add bison and flex as depenedencies
- update license info

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
2018-11-10 21:58:32 +03:00
Enrico Butera
7d770d3061
Merge pull request #225 from mirzak/orange-pi-pc-plus-update-u-boot-version
orange-pi-pc-plus: update preferred U-boot version to v2018.03
2018-09-25 19:34:40 +02:00
Mirza Krak
a28dffd16d machine: sunxi: remove UBOOT_LOADADDRESS
This has been assigned a value containing a typo since 2015, my
assumption is that this is not used and hence we can simply drop
it. The typo is that the address contains a 'O' character instead
of '0', the last one is a zero.

Either way the kernel.bbclass will set a default value, that is:

     UBOOT_LOADADDRESS ?= "${UBOOT_ENTRYPOINT}"

Signed-off-by: Mirza Krak <mirza.krak@northern.tech>
2018-08-06 16:02:13 +02:00
Mirza Krak
47c3e21ace orange-pi-pc-plus: update preferred U-boot version to v2018.03
v2017.03 no longer exists and produces warnings if set as preferred:

NOTE: Resolving any missing task queue dependencies
NOTE: preferred version v2017.03% of u-boot not available (for item virtual/bootloader)
NOTE: versions of u-boot available: 1:2018.01 2:v2018.03+gitAUTOINC+f95ab1fb6e
NOTE: preferred version v2017.03% of u-boot not available (for item u-boot-dev)
NOTE: versions of u-boot available: 1:2018.01 2:v2018.03+gitAUTOINC+f95ab1fb6e
NOTE: preferred version v2017.03% of u-boot not available (for item u-boot)
NOTE: versions of u-boot available: 1:2018.01 2:v2018.03+gitAUTOINC+f95ab1fb6e

Signed-off-by: Mirza Krak <mirza.krak@northern.tech>
2018-08-06 12:50:50 +02: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