Commit graph

13 commits

Author SHA1 Message Date
Kyle Harding
fdfce1de2d balena-allwinner: Rename resin image types to balena
Rename resin image types to balena and replace RESIN_ env vars

Changelog-entry: Rename resin image types to balena
Signed-off-by: Kyle Harding <kyle@balena.io>
2021-03-11 13:57:45 +01:00
Florin Sarbu
e5ce0b5ddb linux-mainline_%.bbappend: Re-allow to build dtb overlays
The upstream kernel reworked how dtbs are generated:
https://github.com/torvalds/linux/commit/
37c8a5fafa3bb7dcdd51774be353be6cb2912b86

This broke how we built the dtb overlays from yocto so let's do a
partial revert of the above upstream kernel commit so we can still build
the overlays in the same way.

Signed-off-by: Florin Sarbu <florin@balena.io>
2020-04-06 17:20:51 +02:00
Florin Sarbu
0f92a73cd0 linux-mainline_%.bbappend: Add back patches for configfs of, bt
Since we dropped the big chunk of armbian patches let's add back the
patches that enabled configfs of uart3 for bluetooth on NanoPi Neo Air.
The patches are taken from
https://github.com/armbian/build/tree/sunxi-5.5/patch/kernel/sunxi-current

Signed-off-by: Florin Sarbu <florin@balena.io>
2020-04-06 11:42:30 +02:00
Florin Sarbu
bb8a811d94 linux-mainline_%.bbappend: Rework faulty eMMC patch
This patch needs to be redone for the newer kernel the BSP layer now
has. We'll just make sure we remove the BSP version and add the reworked
one.

Signed-off-by: Florin Sarbu <florin@balena.io>
2020-04-03 20:50:31 +02:00
Florin Sarbu
21e8c3a749 linux-mainline: Remove the heap of patches from armbian
These patches were too many to actually be easy to follow when we
needed to update the kernel. So let's remove them altogether and just
rely on the kernel recipe from the BSP. In case we'll need patches from
armbian in the future we will just port here the ones we strictly need.

Signed-off-by: Florin Sarbu <florin@balena.io>
2020-04-03 12:58:51 +02:00
Florin Sarbu
7be1daa647 linux-mainline: Add missing kernel module bluetooth dependency
Changelog-entry: Add missing kernel module bluetooth dependency for NanoPi Neo Air
Signed-off-by: Florin Sarbu <florin@balena.io>
2020-04-01 17:41:41 +02:00
Florin Sarbu
82b17bc6bf linux-mainline: Enable bluetooth on NanoPi Neo Air
Also we delete since the changes there are already added by
board-nanopiair-h3-camera-wifi-bluetooth-otg.patch

Changelog-entry: Enable bluetooth on NanoPi Neo Air
Signed-off-by: Florin Sarbu <florin@balena.io>
2020-04-01 13:21:04 +02:00
Vicentiu Galanopulo
9dd20d1c02 linux-mainline: Add wifi kernel configs
Add the wifi kernel config values to
have the wlan0 interface created

Changelog-entry: Add wifi kernel configs in linux-mainline_%bbappend
Signed-off-by: Vicentiu Galanopulo <vicentiu@balena.io>
2020-01-10 15:23:01 +01:00
Vicentiu Galanopulo
73f0a8828e linux-mainline_%.bbappend: Add NFLX-2019-001 patches
Add remaining patches for multiple TCP-based remote denial
of service vulnerabilities identified by Netflix.
Patch source:
https://github.com/Netflix/security-bulletins/blob/master/advisories/third-party/2019-001.md

Change-type: patch
Changelog-entry: Add remaining Netflix patches
Signed-off-by: Vicentiu Galanopulo <vicentiu@balena.io>
2020-01-08 11:19:09 +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
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
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
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
Renamed from layers/meta-resin-allwinner/recipes-kernel/linux/linux-mainline_%.bbappend (Browse further)