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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>