Commit graph

145 commits

Author SHA1 Message Date
Alexandru Costache
d7f2ceb484 layers/meta-balena: Update to v2.45.1
Update meta-balena from 2.44.0 to 2.45.1

Changelog-entry: Update meta-balena from v2.44.0 to v2.45.1
Signed-off-by: Alexandru Costache <alexandru@balena.io>
2019-12-17 09:27:06 +01: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
7954383391 linux-mainline_%.bbappend: Add kernel config for configfs
Customer requested i2c and UART enabled on the orange pi
zero. The directory /sys/kernel/config/device-tree
which is used to add overlays at runtime is not present
in the file system.
This patch enables configfs and generation of the needed
directory.

Changelog-entry: Add configs in the kernel to enable configfs
Signed-off-by: Vicentiu Galanopulo <vicentiu@balena.io>
2019-10-30 15:56:48 +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
585566fa26 layers/meta-balena: Update to v2.44.0
Update meta-balena from 2.41.1 to 2.44.0

Changelog-entry: Update meta-balena from v2.41.1 to v2.44.0
Signed-off-by: Vicentiu Galanopulo <vicentiu@balena.io>
2019-10-24 20:58:12 +02:00
Vicentiu Galanopulo
e8b524b74d orange-pi-zero: Add overlay files to RESIN_BOOT_PARTITION_FILES and KERNEL_DEVICETREE
Update the RESIN_BOOT_PARTITION_FILES of resin-image.inc and KERNEL_DEVICETREE
of linux-mainline_%.bbappend for the orange-pi-zero machine.

Changelog-entry: Add overlays for orange-pi-zero
Signed-off-by: Vicentiu Galanopulo <vicentiu@balena.io>
2019-10-24 20:00:16 +02:00
Vicentiu Galanopulo
43735734e1 layers/poky: Checkout to warrior-21.0.1 tag
The poky submodule was on the warrior branch
but not on the latest warrior tag

Changelog-entry: Checkout to warrior-21.0.1 tag
Signed-off-by: Vicentiu Galanopulo <vicentiu@balena.io>
2019-10-17 11:26:00 +02:00
Vicentiu Galanopulo
7d5f1dbda1 recipes-kernel/linux: Remove unused patches and householding
Some patches were part of other linux-mainline
kernel versions but are not anymore part of the
current 4.19.76.

Move 0001-Enable-uart3-for-NanoPi-Neo-Air-used-by-BT.patch
in linux-mainline_4.19.76.bbappend to avoid error
patching file arch/arm/boot/dts/sun8i-h3-nanopi-neo-air.dts
Hunk #2 FAILED at 162.
1 out of 2 hunks FAILED -- rejects in file arch/arm/boot/dts/sun8i-h3-nanopi-neo-air.dts

Place all patches from Armbian in a separate directory and do all the Balena specific
operations in linux-mainline_%.bbappend only.

Changelog-entry: Remove unused patches and cleanup
Signed-off-by: Vicentiu Galanopulo <vicentiu@balena.io>
2019-10-14 09:43:01 +02:00
Vicentiu Galanopulo
72f50b158d recipes-kernel/linux: Remove linux-4.14
The linux-4.14 kernel is not built
anymore by any of the supported Balena machines.

Changelog-entry: Remove linux-4.14 recipe
Signed-off-by: Vicentiu Galanopulo <vicentiu@balena.io>
2019-10-11 11:16:06 +02:00
Vicentiu Galanopulo
73dda90587 recipes-kernel/linux: Remove linux-mainline-4.17.3
The linux-mainline-4.17.3 kernel is not built
anymore by any of the supported Balena machines.

Changelog-entry: Remove linux-mainline-4.17.3 recipe
Signed-off-by: Vicentiu Galanopulo <vicentiu@balena.io>
2019-10-11 10:49:05 +02:00
Vicentiu Galanopulo
35613eccd1 linux-mainline-4.19: Rework for Enable-uart3-for-NanoPi-Neo-Air patch
The 0001-Enable-uart3-for-NanoPi-Neo-Air-used-by-BT.patch fails to
apply over the 4.19.76 mainline kernel, so remove it and apply a
reworked version of it.
Add the correct path for the patches directory, linux-mainline-4.19
instead of linux-4.19 (removed in a previous commit and all it's
content has been placed in linux-mainline-4.19).

Signed-off-by: Vicentiu Galanopulo <vicentiu@balena.io>
2019-10-10 11:50:45 +02:00
Vicentiu Galanopulo
065936bc48 recipes-kernel/linux: Rename linux to linux-mainline
Since the Armbian sources refer to linux 4.19.76 as
being linux-mainline, all the patches from linux-4.19
were moved to linux-mainline_4.19 and the linux_4.19.76
recipes was named accordingly.

This patch makes 4.19.76 as default version for linux

Signed-off-by: Vicentiu Galanopulo <vicentiu@balena.io>
2019-10-10 11:50:45 +02:00
Vicentiu Galanopulo
7a75c752f1 orangepi-plus2.conf: Remove PREFERRED_VERSION for linux
The default version for this machine will be linux
4.19.76

Signed-off-by: Vicentiu Galanopulo <vicentiu@balena.io>
2019-10-10 11:50:43 +02:00
Vicentiu Galanopulo
49ac7c0c93 orange-pi-lite.conf: Remove PREFERRED_VERSION for linux/uboot
The default for this machine will be linux 4.19.76
and u-boot 2019.04

Signed-off-by: Vicentiu Galanopulo <vicentiu@balena.io>
2019-10-10 11:50:43 +02:00
Vicentiu Galanopulo
1544e80ad2 bananapi-m1-plus.conf: Remove PREFERRED_VERSON for linux
Default for this machine will be linux version 4.19.76

Signed-off-by: Vicentiu Galanopulo <vicentiu@balena.io>
2019-10-10 11:50:43 +02: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
169b8cf968 linux: Add dts wifi patch for orangepi-zero
The patch with the same name from meta-sunxi is
not applying anymore so we remove from SRC_URI
and add an updated version in meta-balena-allwiner.

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
57bbde34ec recipes-core/resin-image.inc: Renaming due to warrior update
After the BSP update to warrior, some boot partition files
generated at build time were named differently.
The rename done in this patch was to match the
new names of the generated files.

Signed-off-by: Vicentiu Galanopulo <vicentiu@balena.io>
2019-10-10 11:50:43 +02:00
Vicentiu Galanopulo
a26b58e152 linux_4.14.bbappend: Pack sun8i-h3-fixup.scr file
This patch fixes the error
ERROR linux-4.14.14+gitAUTOINC+9c0bf98471-r0 do_package
Files/directories were installed but not shipped
in any package - /boot/sun8i-h3-fixup.scr

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
b167421e55 recipes-kernel/linux: Add linux_4.19.76.bb/bbappend
Add the latest linux available
from https://github.com/armbian/build
commit de58ac1faac92724c6449db12c22affaeb003875,
tag: sunxi-5.3, alongside all the patches
that it comes with.

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
Vicentiu Galanopulo
0fc579c458 balena-allwiner/conf: Update from sumo to warrior
Changelog-entry: Update balena-allwiner config to using warrior
Signed-off-by: Vicentiu Galanopulo <vicentiu@balena.io>
2019-10-10 11:50:42 +02:00
Vicentiu Galanopulo
156d1fed67 layers/meta-openembedded: Update to warrior
Signed-off-by: Vicentiu Galanopulo <vicentiu@balena.io>
2019-10-10 11:50:42 +02:00
Vicentiu Galanopulo
ddcddc7038 layers/meta-sunxi: Update to warrior
Signed-off-by: Vicentiu Galanopulo <vicentiu@balena.io>
2019-10-10 11:50:42 +02:00
Vicentiu Galanopulo
0d19af989d layers/poky: Update to warrior
Changelog-entry: Update the poky submodule to warrior
Signed-off-by: Vicentiu Galanopulo <vicentiu@balena.io>
2019-10-10 11:50:42 +02:00
Zubair Lutfullah Kakakhel
f8defb420b local.conf: Change TARGET_TAG to SUPERVISOR_TAG
Signed-off-by: Zubair Lutfullah Kakakhel <zubair@balena.io>
2019-09-30 13:02:16 +01:00
Florin Sarbu
001323e134 layers/meta-balena: Update to v2.41.1
Update meta-balena from 2.33.0 to 2.41.1

Changelog-entry: Update the meta-balena submodule from v2.33.0 to v2.41.1
Signed-off-by: Florin Sarbu <florin@balena.io>
2019-09-10 15:43:23 +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
Andrei Gherzan
1d223bb64d layers/meta-rust: Update to include rust 1.33 support
This is needed so that os-config from meta-balena can be updated to 1.1.0.

Changelog-entry: Update rust to 1.33
Signed-off-by: Andrei Gherzan <andrei@balena.io>
2019-05-03 15:19:48 +01:00
Andrei Gherzan
f76405d1ea layers/meta-resin: Update to v2.33.0
Update meta-resin from 2.32.0 to 2.33.0

Changelog-entry: Update meta-resin from v2.32.0 to v2.33.0
Signed-off-by: Andrei Gherzan <andrei@balena.io>
2019-05-03 15:19:48 +01:00
Sebastian Panceac
6b338fffb5 nanopi-air-bt: Load BT firmware according to chip revision
NanoPi Neo Air commes with tho different BT/WiFi chip versions:
AP6212 or AP6212A.
This commit loads a different BT firmware based on the chip
revisions of this board.

Changelog-entry: nanopi-air-bt: Load BT firmware according to chip revision
Signed-off-by: Sebastian Panceac <sebastian@balena.io>
2019-03-25 11:46:52 +01:00
Florin Sarbu
c9402512b9
Merge branch 'master' into nanopi-bt 2019-03-22 15:37:27 +02:00
Alexandru Costache
08fb327695 packagegroup-resin: Add bluetooth utilites for Nanopi Neo Air
Signed-off-by: Sebastian Panceac <sebastian@balena.io>
Signed-off-by: Alexandru Costache <alexandru@balena.io>
2019-03-22 10:59:15 +01:00
Sebastian Panceac
6ac1533c1a Update meta-resin to v2.31.5
Update meta-resin from 2.27.0 to 2.31.5

Changelog-entry: Update meta-resin from v2.27.0 to v2.31.5
Signed-off-by: Sebastian Panceac <sebastian@balena.io>
Signed-off-by: Alexandru Costache <alexandru@balena.io>
2019-03-22 10:48:33 +01:00
Sebastian Panceac
7c0b84fe57 Add nanopi-air-bt package
This package contains an udev rule, an initialization script
and systemd service for the Ampak AP6212 bluetooth module
used on Nanopi Neo Air

Signed-off-by: Sebastian Panceac <sebastian@balena.io>
2019-03-22 10:48:33 +01:00
Sebastian Panceac
e0ba1f500f Add brcm-patchram-plus package
This package is needed to upload firmware on the Ampak AP6212A
bluetooth module, based on Broadcom chip

Signed-off-by: Sebastian Panceac <sebastian@balena.io>
Signed-off-by: Alexandru Costache <alexandru@balena.io>
2019-03-22 10:48:33 +01:00
Sebastian Panceac
7ef064f803 linux-firmware: Add bluetooth firmware for Nanopi Neo Air
Signed-off-by: Sebastian Panceac <sebastian@balena.io>
2019-03-22 10:48:33 +01:00
Sebastian Panceac
5a6e8eb2f4 linux-mainline: Enable UART3 in Nanopi Neo Air device tree
Changelog-entry: Enable UART3 in Nanopi Neo Air device tree for bluetooth
Signed-off-by: Sebastian Panceac <sebastian@balena.io>
2019-03-22 10:48:33 +01:00
Michel Wohlert
5fd7b1467e xradio-firmware.bb: Add xradio firmware
Add xradio firmware blobs for XR819

Changelog-entry: Add xradio firmware for XR819 Chipset
2019-03-22 10:22:03 +01:00
Michel Wohlert
ad124c7a9e xradio.bb: Add xradio driver
Add xradio driver for XR819 Wifi chipsets

Changelog-entry: Add xradio out-of-tree kernel module
2019-03-22 10:20:57 +01:00
Stephen
e0a46306ea resin-image.inc: add support for Orange Pi One device
This adds the possibility to build balenaOS for the Orange Pi One
device.

Changelog-entry: add support for Orange Pi One device
Signed-off-by: Stephen Sorriaux <stephen.sorriaux@gmail.com>
2019-02-24 16:42:55 +01:00
Michel Wohlert
2d397f2576 linux-mainline_%.bbappend: Add RESING_CONFIGS for Orange Pi Zero Wifi
Adds RESIN_CONFIGS wifi for Orange Pi Zero to include CFG80211 support in mainline kernel
2019-02-18 11:57:21 +01:00
Michel Wohlert
7d46428810 resin-supervisor.bbappend: Add LED_FILE for Orange Pi Zero
Added LED_File for Orange Pi Zero to support Activity Indication
2019-02-18 11:57:21 +01:00
Michel Wohlert
086c0520bb packagegroup-resin-connectivity.bbappend: Add xradio for Orange Pi Zero
Only add xradio and xradio firmware for the Orange Pi Zero, since no other device uses this chipset.

Changelog-entry: Add support for XR819 Wifi on Orange Pi Zero board
2019-02-18 11:57:21 +01:00
Michel Wohlert
4c58be8dfa resin-image.inc: add support for Orange Pi Zero device.
This adds the possibility to build balenaOS for the Orange Pi Zero device.

Changelog-entry: Add support for Orange Pi Zero
2019-02-18 11:57:21 +01:00
Florin Sarbu
9b6121bb7b layers/meta-resin: Update to v2.27.0
Update meta-resin from 2.26.0 to 2.27.0

Changelog-entry: Update the meta-resin submodule from v2.26.0 to v2.27.0
Signed-off-by: Florin Sarbu <florin@balena.io>
2018-12-05 14:31:33 +01:00
Florin Sarbu
92bc21430a linux-mainline_%.bbappend: Specify deps for config tasks
We are using newer (4.16+) kernel. For these kernels, we need
to specify additional dependencies for the configme task.

This change can be removed when we update poky to a newer version
that includes 81e8a52e8e40e47c34f900db5d73e69ffc25f5d0.

This change fixes the error we get on the Nanopi NEO Air kernel when
our do kernel_resin_reconfigure task will recreate the .config with the
incorrect kernel config options.

Changelog-entry: Specify deps for kernel config task needed for newer (4.16+) kernels
Signed-off-by: Florin Sarbu <florin@balena.io>
2018-11-12 14:15:44 +01:00