Commit graph

126 commits

Author SHA1 Message Date
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
Florin Sarbu
d7a56e8803 layers/meta-resin: Update to v2.26.0
Update meta-resin from 2.19.0 to 2.26.0

Changelog-entry: Update the meta-resin submodule from v2.19.0 to v2.26.0
Signed-off-by: Florin Sarbu <florin@balena.io>
2018-11-12 11:04:09 +01:00
Florin Sarbu
f8a22a9693 rtl8189.bb: Update to latest master HEAD
Signed-off-by: Florin Sarbu <florin@balena.io>
2018-11-12 10:59:55 +01:00
Florin Sarbu
87940da538 packagegroup-resin-connectivity: Only add rtl8189 For Orange Pi Plus2
From the list of supported boards, only the Orange Pi Plus2 board has
this WiFi chipset so let's not include it for all.

Changelog-entry: Include the RTL8189ES / RTL8189ETV driver only for the Orange Pi Plus2 board
Signed-off-by: Florin Sarbu <florin@balena.io>
2018-11-12 10:56:16 +01:00
Florin Sarbu
4cd258fe90 layers/meta-resin: Update to v2.19.0
Update meta-resin from 2.14.3 to 2.19.0

Changelog-entry: Update the meta-resin submodule from v2.14.3 to v2.19.0
Signed-off-by: Florin Sarbu <florin@resin.io>
2018-10-09 14:09:12 +02:00
Florin Sarbu
ae4164c044 packagegroup-resin-connectivity.bbappend: Add linux-firmware-bcm43430
This package adds the firmware for a WiFi chipset (AP6212A) present
on a variant of the Nanopi Neo Air.

Signed-off-by: Florin Sarbu <florin@resin.io>
2018-10-09 14:09:12 +02:00
Florin Sarbu
e9dfd398af linux-firmware_%.bbappend: Add and package nvram settings for AP6212A
This WiFi chipset is on a Nanopi Neo Air variant. File is taken from
https://github.com/BPI-SINOVOIP/BPI-files/blob/master/others/brcm/
lib/firmware/ap6212/nvram.txt

Signed-off-by: Florin Sarbu <florin@resin.io>
2018-10-09 14:08:33 +02:00
Florin Sarbu
18a43a8e6a resin-image.inc: Add the SPL in resin-boot for Nanopi Neo Air
This additon is needed for hostOS updates

Signed-off-by: Florin Sarbu <florin@resin.io>
2018-10-09 10:24:59 +02:00
Florin Sarbu
505916c4fb meta-resin-allwinner:layer.conf: Use kernel 4.16.13 for Nanopi Neo Air
For the Nanopi Neo Air we stick to the kernel from the BSP

Signed-off-by: Florin Sarbu <florin@resin.io>
2018-10-09 09:30:39 +02:00
Florin Sarbu
d9db680fbd u-boot_2018.03.bbappend: Integrate with resin-u-boot
Signed-off-by: Florin Sarbu <florin@resin.io>
2018-10-09 09:06:56 +02:00
Florin Sarbu
568484ce19 layers/meta-sunxi: Update to latest sumo
This update adds eMMC support in u-boot and kernel

Changelog-entry: Update the meta-sunxi submodule to latest sumo
Signed-off-by: Florin Sarbu <florin@resin.io>
2018-10-09 09:06:29 +02:00
Florin Sarbu
ea90d9dcba meta-resin-allwinner:layer.conf: Remove missing dtbs for Nanopi Neo Air
We switched the Nanopi Neo Air to the mainline kernel and this kernel
does not yet have these additional dtbs that the armbian kernel has.

Changelog-entry: Do not package missing armbian dtbs for the Nanopi Neo Air
Signed-off-by: Florin Sarbu <florin@resin.io>
2018-09-26 07:33:01 +02:00
Florin Sarbu
940405cbc9 layers/poky: Update to sumo-19.0.1
Changelog-entry: Update the poky submodule to sumo-19.0.1
Signed-off-by: Florin Sarbu <florin@resin.io>
2018-09-19 16:14:11 +02:00
Florin Sarbu
964c612e79 layers/meta-openembedded: Update to latest sumo
Signed-off-by: Florin Sarbu <florin@resin.io>
2018-09-19 16:13:30 +02:00
Florin Sarbu
667edc888f nanopi-neo-air.conf: Delete machine conf from our layer
We will use the nanopi-neo-air.conf machine conf file from the BSP layer

Changelog-entry: Use nanopi-neo-air.conf machine definition from the BSP layer
Signed-off-by: Florin Sarbu <florin@resin.io>
2018-09-10 14:04:07 +02:00
Florin Sarbu
dee12841dd bananapi-m1-plus.conf: Set current kernel version
Kernel version 4.14.15 is not available anymore and 4.17.3
gets built anyway. So let's set 4.17.3 as preferred version
for the Bananapi M1 + to avoid the build complaining 4.14.15
kernel recipe is missing from the layers.

Changelog-entry: Set PREFERRED_VERSION linux-mainline to 4.17.3 for bananapi-m1-plus
Signed-off-by: Florin Sarbu <florin@resin.io>
2018-09-10 13:51:53 +02:00
Florin Sarbu
d10a0dc009 linux_4.14%.bb: Cleanup recipe
With the update to Poky Sumo, there is no longer a need to
include linux-dtb.inc as long as one defines KERNEL_DEVICETREE.

Changelog-entry: Clean-up swap, conf-notes.txt and obsolete kernel recipes
Signed-off-by: Florin Sarbu <florin@resin.io>
2018-09-10 13:48:37 +02:00
Florin Sarbu
8caedbbe18 meta-resin-allwinner/recipes-kernel/linux: Delete obsolete recipes
Signed-off-by: Florin Sarbu <florin@resin.io>
2018-09-10 13:47:26 +02:00
Florin Sarbu
0835414044 meta-resin-allwinner/conf: Remove unneeded files
Signed-off-by: Florin Sarbu <florin@resin.io>
2018-09-10 13:37:12 +02:00
Florin Sarbu
daf849d525 meta-resin-allwinner:layer.conf: Define LAYERSERIES_COMPAT
We avoid in this way a build warning. See:
https://patchwork.openembedded.org/patch/140542/

Changelog-entry: Add LAYERSERIES_COMPAT to yocto in layer.conf
Signed-off-by: Florin Sarbu <florin@resin.io>
2018-09-10 13:33:56 +02:00