Commit Graph

759 Commits

Author SHA1 Message Date
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
Aguirre
cb66c3eafb Merge pull request #91 from Noxenious/master
Add mainline linux
2015-06-16 00:19:37 +02:00
Aguirre
c7adafe8ac Merge pull request #90 from whirm/upstream_u-boot
Upstream u-boot recipe
2015-06-16 00:18:43 +02:00
Elric Milon
dfb9413049 Rename u-boot_git.bb to u-boot-sunxi.bb.
So upstream recipe takes precedence.
2015-06-11 14:52:29 +02:00
Elric Milon
d5fa6bc501 Add boot.scr to sdcard image's boot/ if found. 2015-06-11 14:51:54 +02:00
Elric Milon
46c2d5d4a1 New recipe for upstream u-boot
Also add a basic boot.cmd with support for both uImage and zImage.
2015-06-11 14:51:54 +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
38edd14b04 Revert "kernel: use make defconfig for mainline"
This reverts commit 5c7ffb35f2.
2015-06-10 12:18:51 +02:00
Jens Lucius
5c7ffb35f2 kernel: use make defconfig for mainline
Always use the sunxi_defconfig supplied by the kernel.

Signed-off-by: Jens Lucius <info@jenslucius.com>
2015-06-09 18:33:43 +02:00
Jens Lucius
82d0172433 kernel: use sunxi_defconfig for all boards
Do not use individual files for mainline kernel config but
sunxi_defconfig.

Signed-off-by: Jens Lucius <info@jenslucius.com>
2015-06-09 15:55:36 +02:00
Jens Lucius
d271c8130a Add mainline linux
Add recipe and configuration files for mainline linux.

Signed-off-by: Jens Lucius <info@jenslucius.com>
2015-06-08 13:56:40 +02:00
Enrico Butera
59437d24b1 Merge pull request #89 from Noxenious/master
Fixes for lime2 board and set default u-boot to u-boot
2015-04-28 14:05:25 +02:00
Jens Lucius
091001b76d lime2: remove double kernel config entry
An earlier patch introduced a double kernel config line. Remove it.

Signed-off-by: Jens Lucius <info@jenslucius.com>
2015-04-02 14:27:42 +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
7b424b6ec9 lime2: fix gmac vs emac kernel issue
The Olimex lime2 has gigabit ethernet instead of fast ethernet of other
limes. So it uses the gmac driver instead of the emac driver in linux
kernel.
2015-03-09 12:42:58 +01:00
Aguirre
4f66286422 Merge pull request #87 from Noxenious/master
Add support for more boards and prepare for mainline kernel
2015-03-04 07:39:53 +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
Jens Lucius
c27b5d3555 pyA20: Add more olimex boards
pyA20 allows controlling gpio via python. Add more olimex boards:
- A10 Lime
- A20 Lime
- A20 Lime2
- A13 SOM

Signed-off-by: Jens Lucius <info@jenslucius.com>
2015-03-02 16:39:10 +01:00
Aguirre
e8e6552b17 Merge pull request #86 from Noxenious/master
linux: add linux.inc again
2015-03-02 08:46:44 +01:00
Jens Lucius
196f800f7d linux: add linux.inc again
Removing the linux.inc introduced an unnecessary dependency on meta-oe.
Add the latest linux.inc from meta-oe to the layer and change path.

Signed-off-by: Jens Lucius <info@jenslucius.com>
2015-03-02 01:05:58 +01:00
Aguirre
732bb19214 Merge pull request #84 from KristofRobot/linux-remove
linux: replacing custom linux.inc by openembedded linux.inc reference (r...
2015-02-22 12:01:07 +01:00
Nicolas Aguirre
c663594470 Use u-boot.inc from OpenEmbedded directory instead of our own file 2015-02-22 11:59:46 +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
Enrico Butera
9a8031a8c2 Merge pull request #82 from KristofRobot/uImage-fix
sdcard_image-sunxi.bbclass: reverting to deploy dir instead of staging d...
2015-02-14 19:48:14 +01:00
Kristof Robot
e25b18fd0b linux: replacing custom linux.inc by openembedded linux.inc reference (resolves #79) 2015-02-02 20:16:53 +01:00
Kristof Robot
a27c9aa7e4 sdcard_image-sunxi.bbclass: reverting to deploy dir instead of staging dir (resolves #81)
To resolve the race condition described in #15,
a patch was introduced to use the kernel source from staging dir
rather than deploy dir.

After the reorganization of the kernel source location by
6a1ff0e7ea
this no longer works.

Reverting the previous patch,
and introducing explicit rootfs dependency instead.

Signed-off-by: Kristof Robot <krirobo@gmail.com>
2015-02-01 13:22:11 +01:00
Aguirre
5b875e911c Merge pull request #77 from Noxenious/master
python: added pyA20 for controlling GPIO
2014-12-06 17:38:44 +01:00
Jens Lucius
31b7c4c8e2 python: pyA20 depend on python and only for olimex boards
Add dependency on python and COMPATIBLE_MACHINE as pyA20 is only
compatible to three olimex boards right now.

Signed-off-by: Jens Lucius <info@jenslucius.com>
2014-11-28 17:37:09 +01:00
Jens Lucius
5699690a98 python: pyA20 added different GPIO mappings
Unfortunately there is a difference between different boards when using pyA20
- the GPIO mappings.
Olimex tried to solve this by providing different packages for different boards.
Just made the receipe use different mappings.h, so it can be easily adjusted
to different boards in one receipe.

Signed-off-by: Jens Lucius <info@jenslucius.com>
2014-11-28 12:23:22 +01:00
Jens Lucius
339dc8af45 python: added pyA20 for controlling GPIO
pyA20 allows controlling GPIO, SPI and I2C on Allwinner boards from python.
Although it is named A20 it should work on A10, A13 and other CPUs.
Provided by Olimex for their boards but should work for others as well.
Tested on A20-OLinuXino-MICRO.

Signed-off-by: Jens Lucius <info@jenslucius.com>
2014-11-28 09:22:02 +01:00
Enrico Butera
0ed1eadb95 libdri2: added missing pkgconfig inherit
Signed-off-by: Enrico Butera <ebutera@users.sourceforge.net>
2014-11-11 19:55:32 +01:00
Aguirre
715f2ace5b Merge pull request #74 from cybertux/fixed_u-boot_version
Append the shortened git revision to the u-boot version
2014-10-02 07:29:39 +02:00
Aguirre
56f00d5e20 Merge pull request #75 from net147/master
sunxi-mali: fix typos in COMPATIBLE_MACHINE
2014-10-02 07:29:25 +02:00
Jonathan Liu
2c587ebf73 sunxi-mali: fix typos in COMPATIBLE_MACHINE 2014-10-02 13:20:57 +10: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
Enrico Butera
998cbf3544 Merge pull request #73 from cybertux/olimex-a20-lime_v3
This adds support to build for the Olimex A20-OLinuXino-LIME
2014-10-01 11:34:43 +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
Aguirre
0dc2ccf234 Merge pull request #69 from net147/master
sunxi-mali: set LICENSE to Proprietary
2014-09-25 22:07:04 +02:00
Jonathan Liu
edd823ca05 sunxi-mali: set LICENSE to Proprietary
Fixes the following warning:
"WARNING: sunxi-mali: No generic license file exists for:
proprietary-binary in any provider"

Signed-off-by: Jonathan Liu <net147@gmail.com>
2014-09-25 21:50:00 +10:00
Enrico Butera
a743b7d5e5 Merge pull request #68 from Noxenious/master
Update u-boot_git.bb, Correct U-Boot machine names
2014-09-24 11:47:11 +02:00
Enrico Butera
049349756c Merge pull request #67 from net147/master
Use FILESEXTRAPATHS_prepend for correct assignment
2014-09-24 11:46:52 +02:00
Enrico Butera
2b7341d260 Merge pull request #66 from dnmeid/master
Add support for Olimex A20 SOM
2014-09-21 15:12:42 +02:00
Jens Lucius
c8782fa7fd Removed double KERNEL_IMAGETYPE
KERNEL_IMAGETYPE is defined in kernel (linux_3.4.bb) and machine
(conf/machine/include/sunxi.inc). This can lead to problems when
trying to change the image type. Removed from kernel.

Signed-off-by: Jens Lucius <info@jenslucius.com>
2014-09-18 19:39:38 +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
dfe5e55274 Update u-boot_git.bb 2014-09-15 19:33:01 +02:00
dnmeid
e1969f71e9 olinuxino-a20som: add machine config 2014-09-08 12:16:10 +02:00
dnmeid
537386dcfc olinuxino-a20som: add fex file 2014-09-08 12:16:10 +02:00