Commit graph

10 commits

Author SHA1 Message Date
Florin Sarbu
e116311e0d u-boot: Rename bbappend so that it works with all versions
The bsp now uses upstream u-boot so let's make our append be version
independent.

Signed-off-by: Florin Sarbu <florin@balena.io>
2020-04-03 12:58:51 +02:00
Florin Sarbu
bcc449e60e nanopi-air-bt: Fix bluetooth initialization
Signed-off-by: Florin Sarbu <florin@balena.io>
2020-04-01 13:21:22 +02:00
Vicentiu Galanopulo
e32f34f65b u-boot_2019.04.bbappend: Fix applying of patches
The eMMC patch has been removed because it applies
from meta-sunxi.
The resin-kconfig-integration patch has been removed
and a re-worked version of it has been applied.

Changelog-entry: U-boot patches fixup
Signed-off-by: Vicentiu Galanopulo <vicentiu@balena.io>
2019-10-31 13:23:52 +01:00
Vicentiu Galanopulo
bd839185ed u-boot_2018.09.bbappend: Rename SRC_URI_remove patch
A patch removed with SRC_URI_remove and re-worked was not
applying (no output error, the behavior is as it doesn't
exist), because the re-worked patch had the same name
as the removed one.

Remove 0001-nanopi_neo_air_defconfig-Enable-eMMC-support.patch.
This patch exists in meta-sunxi and it applies over
versions of u-boot.2018.09

Changelog-entry: Rename re-worked patch to have it applied
Signed-off-by: Vicentiu Galanopulo <vicentiu@balena.io>
2019-10-29 15:32:28 +01:00
Vicentiu Galanopulo
f72ae3a47c u-boot_2019.04.bbappend: Inherit pythonnative
Fix for Jenkins error
| scripts/dtc/pylibfdt/libfdt_wrap.c 149 21
fatal error  Python.h  No such file or directory
| compilation terminated.
| error command 'gcc' failed with exit status 1

Signed-off-by: Vicentiu Galanopulo <vicentiu@balena.io>
2019-10-10 11:50:43 +02:00
Vicentiu Galanopulo
b08b47b9cb u-boot_2018.09.bbapp:Add resin-specific-env-integration-kconfig.patch
This patch is a rework of the meta-resin patch with the same
function because the meta-resin patch fails to apply due to
different source context in this u-boot version.

The 0001-nanopi_neo_air_defconfig-Enable-eMMC-support.patch
from meta-sunxi was failing to apply and it needed to be
removed and replaced with the one in this
layer (warrior update).

Signed-off-by: Vicentiu Galanopulo <vicentiu@balena.io>
2019-10-10 11:50:43 +02:00
Vicentiu Galanopulo
b9be331be4 recipes-bsp/u-boot: Add u-boot_2018.09.bbappend
Use the meta-sunxi u-boot version.
This will apply for boards which  do
not set a PREFERRED_VERSION for u-boot.

Signed-off-by: Vicentiu Galanopulo <vicentiu@balena.io>
2019-10-10 11:50:43 +02:00
Vicentiu Galanopulo
a6f018156d u-boot_2017.11.bb: Add patch to fix conflicting types for fdt64_t
When libfdt-devel is installed system-wide, the build of U-Boot host
programs currently fails with lots of:

In file included from tools/../include/../lib/libfdt/libfdt.h:10:0,
                 from tools/../include/libfdt.h:1,
                 from tools/fdt_host.h:11,
                 from tools/imagetool.h:24,
                 from tools/aisimage.c:8:
/usr/include/libfdt_env.h:70:30: error: conflicting types for ‘fdt64_t’
   typedef uint64_t FDT_BITWISE fdt64_t;
                               ^~~~~~~
In file included from <command-line>:0:0:
././include/libfdt_env.h:19:16: note: previous declaration of ‘fdt64_t’ was here
   typedef __be64 fdt64_t;
                 ^~~~~~~
In file included from ././include/libfdt_env.h:12:0,
                  from <command-line>:0:
/usr/include/libfdt_env.h:90:24: error: expected ‘)’ before ‘x’
    static inline uint32_t fdt32_to_cpu(fdt32_t x)
                         ^

This commit adds a fixup in the U-Boot code to fix this problem

Signed-off-by: Vicentiu Galanopulo <vicentiu@balena.io>
2019-10-10 11:50:43 +02:00
Vicentiu Galanopulo
e3c4b204de recipes-bsp/u-boot: Add u-boot_2019.04.bb/bbappend
Add the newest u-boot available in
https://github.com/armbian/build alongside
all the patches that it comes with.

Signed-off-by: Vicentiu Galanopulo <vicentiu@balena.io>
2019-10-10 11:50:42 +02:00
Florin Sarbu
a6654dc76d Rename meta-resin to meta-balena in repository
Changelog-entry: Rename meta-resin to meta-balena in repository
Signed-off-by: Florin Sarbu <florin@balena.io>
2019-09-10 15:42:22 +02:00