814 Commits

Author SHA1 Message Date
Marek Belisko
5d44189418 Merge pull request #451 from alperak/master
Update to whinlatter release series and adapt to UNPACKDIR changes
2025-10-31 11:22:01 +01:00
Marek Belisko
3bf96b053a Merge pull request #454 from jonte/fix/uboot-devtool-override
u-boot: Unconditionally add files/ to FILESEXTRAPATHS
2025-10-22 14:47:35 +02:00
Jonatan Pålsson
751495a8e8 u-boot: Unconditionally add files/ to FILESEXTRAPATHS
This works around an issue where devtool doesn't find patches for
machines other than the current machine.

"devtool modify" tries to create git branches for each SRC_URI override
(i.e. sunxi, sun9i, mangopi-mq-t-t113). When doing this devtool modifies
the OVERRIDES for do_patch and filters out any other overrides used for
SRC_URI in the current recipe.

Since "sunxi" is used as an SRC_URI override it gets removed from
OVERRIDES when processing e.g. sun9i, leading to FILESEXTRAPATHS not
containing the patch directory for the recipe.

By unconditionally setting FILESEXTRAPATHS without an override specified
we work around this behavior and ensure all patches are always available
when applying patches to the different devtool-override-* branches.

Signed-off-by: Jonatan Pålsson <jonatan@jptk.se>
2025-10-22 14:41:06 +02:00
Marek Belisko
a69afa656d Merge pull request #452 from ovpanait/master
Add support for Olimex A20-SOM204-EVB board
2025-08-15 11:42:22 +02:00
Ovidiu Panait
cd83074dee olinuxino-a20som204.conf: add support for Olimex A20-SOM204-EVB board
Add machine file for Olimex A20-SOM204-EVB board. It is an expansion board
for the Olimex A20-SOM204 SOM that uses the sun7i Allwinner A20 Soc.

It is supported in U-Boot and mainline Linux kernel.

Signed-off-by: Ovidiu Panait <ovidiu.panait.oss@gmail.com>
2025-08-15 12:22:33 +03:00
Ovidiu Panait
afae76b548 pya20: fix COMPATIBLE_MACHINE regex
The current regex in COMPATIBLE_MACHINE will also match machine
names which are not in the list, such as 'olinuxino-a20som204'.
Since 'olinuxino-a20som204' SOM is newer, a mapping.h file is not
available for it in upstream pya20, so there is no need to build
the recipe for it.

Add "^$" to the regex in order to restrict the pya20 recipe only to
those machines that have a mapping.h file.

Signed-off-by: Ovidiu Panait <ovidiu.panait.oss@gmail.com>
2025-08-15 12:22:29 +03:00
Alper Ak
904b3e043e Remove consecutive blank lines
Some of them were introduced by mass-removal of S = WORKDIR/git assignments;
rather than try to fix up (or redo) just these, I've run this sed command over
the whole tree:

sed -i -z -E 's/([ \t\f\v\r]*\n){3,}/\n\n/g' `find . -name *.bb -o -name *.inc`

The rationale is that more than one empty line is wasting vertical screen space, and
does nothing for readability.

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
2025-06-23 13:34:57 +03:00
Alper Ak
f78f6ff2b7 set S from UNPACKDIR in recipes that use only local files
There is no need to have two assignments; also setting S from UNPACKDIR (and not vice versa)
is more logical as unpack task comes first, and tasks that come after unpack use S to access unpack results.

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
2025-06-20 20:06:32 +03:00
Alper Ak
98af1d6d7e set S to be in UNPACKDIR in recipes that explicitly set S
https://git.openembedded.org/openembedded-core/commit/?id=46480a5e66747a673041fe4452a0ab14a1736d5e

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
2025-06-20 20:03:40 +03:00
Alper Ak
d0295bdf84 remove S in recipes that fetch from git via setting BB_GIT_DEFAULT_DESTSUFFIX
Removing all the S = ${WORKDIR}/git assignments works because BB_GIT_DEFAULT_DESTSUFFIX
is set to match S from bitbake.conf (which itself is set to match typical tarball
releases).

https://git.openembedded.org/openembedded-core/commit/?id=f80c07019ddadaf9c5fb890faabfda7920ecd15e
https://git.openembedded.org/openembedded-core/commit/?id=46480a5e66747a673041fe4452a0ab14a1736d5e

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
2025-06-20 19:44:55 +03:00
Alper Ak
05dc63a888 layer.conf: Update to whinlatter release series
Since there are currently multiple breaking changes, update to a new
release series for the next release so layers can show compatibility
correctly.

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
2025-06-20 19:31:18 +03:00
Marek Belisko
8052a49f1e Merge pull request #447 from leon-anavi/feature/support-walnascar
Support Walnascar
2025-04-05 23:06:08 +02:00
Marek Belisko
eaa81c64b9 Merge pull request #443 from okaestne/chore/kernel-cleanup
chore: clean up old kernel versions and fix KERNEL_DEVICETREE handling
2025-04-05 23:04:32 +02:00
Leon Anavi
ac38a90036 linux.inc: virtual/XXX-gcc to virtual/cross-cc
Switch from virtual/XXX-gcc to virtual/cross-cc (and c++/binutils)
as in Poky commit 90e0a0f7f4536e1aeb311ab2b061be71b4129e4e:
https://web.git.yoctoproject.org/poky/commit/?id=90e0a0f7f4536e1aeb311ab2b061be71b4129e4e

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2025-04-04 18:21:35 +03:00
Leon Anavi
bd41971e70 conf/layer.conf: Support Walnascar
Support Yocto release Walnascar.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2025-04-04 18:21:30 +03:00
Oliver Kästner
cabb64ab12 linux-mainline: fix spacing with KERNEL_FEATURES:prepend
Prepends should always end with a space char. Fix that by just turning
it into an append. Change the second prepend to an append for
consistency.

Signed-off-by: Oliver Kästner <git@oliver-kaestner.de>
2025-03-31 12:31:50 +02:00
Oliver Kästner
d7b7bc10b1 ap6212: add missing leading space to append
Signed-off-by: Oliver Kästner <git@oliver-kaestner.de>
2025-03-31 12:31:50 +02:00
Marek Belisko
561c1211f8 Merge pull request #444 from okaestne/feat/linux-6.6.85
linux-mainline: bump to 6.6.85
2025-03-31 12:21:15 +02:00
Oliver Kästner
ef3adc7f53 linux-mainline: bump to 6.6.85
Signed-off-by: Oliver Kästner <git@oliver-kaestner.de>
2025-03-30 00:56:00 +01:00
Oliver Kästner
57aeb9103d chore: drop stale kmeta
drop kmeta for older and removed kernel versions

Signed-off-by: Oliver Kästner <git@oliver-kaestner.de>
2025-03-27 23:52:14 +01:00
Oliver Kästner
3c1d2b073b fix handling KERNEL_DEVICETREE with allwinner/ prefix
Since linux 6.5, .dts files live in vendor subdirs. Fix all
`KERNEL_DEVICETREE` definitions to contain the `allwinner` subdir as
prefix and drop code that previously added the prefix on demand.
On the other hand, drop the prefix for `BOOT_IMAGE_FILES`, which
searches the .dtb within `DEPLOY_DIR`.

Signed-off-by: Oliver Kästner <git@oliver-kaestner.de>
2025-03-24 18:26:14 +01:00
Oliver Kästner
5e74f7e4d7 chore: drop linux-mainline pre-v6.5 patches
Signed-off-by: Oliver Kästner <git@oliver-kaestner.de>
2025-03-24 18:26:14 +01:00
Oliver Kästner
2acdec5212 chore: drop linux-mainline v6.5.11
Signed-off-by: Oliver Kästner <git@oliver-kaestner.de>
2025-03-24 18:26:14 +01:00
Oliver Kästner
9b81e35f15 chore: drop linux-mainline v6.1.9
Signed-off-by: Oliver Kästner <git@oliver-kaestner.de>
2025-03-24 18:26:14 +01:00
Oliver Kästner
820f782db6 chore: drop linux-mainline v5.15.91
Signed-off-by: Oliver Kästner <git@oliver-kaestner.de>
2025-03-24 18:26:14 +01:00
Marek Belisko
1c14532fed Merge pull request #441 from okaestne/feat/ap6212-bt
ap6212: enable bluetooth support
2025-03-21 11:06:38 +01:00
Oliver Kästner
992691c2bc ap6212: enable bluetooth support 2025-03-21 00:39:11 +01:00
Marek Belisko
d58e8c36d7 Merge pull request #440 from okaestne/feat/machine-feature-wifi-bt
feat: add MACHINE_FEATURE wifi and bluetooth for AP6212 and AP6330 boards
2025-03-17 21:33:07 +01:00
Oliver Kästner
dcd6baa7cf feat: add MACHINE_FEATURE wifi and bluetooth for AP6212 and AP6330 boards
Signed-off-by: Oliver Kästner <git@oliver-kaestner.de>
2025-03-17 21:03:59 +01:00
Marek Belisko
e828ec13be Merge pull request #439 from okaestne/fix/opi0-dts-mmc
linux-mainline: dts: orangepi-zero: add mmc aliases for consistent enumeration
2025-03-17 09:00:57 +01:00
Oliver Kästner
2998db9ab3 linux-mainline: dts: orangepi-zero: add mmc aliases for consistent enumeration
This fixes random boot failures.
Same workaround as in the other patches.

Signed-off-by: Oliver Kästner <git@oliver-kaestner.de>
2025-03-16 23:56:47 +01:00
Marek Belisko
3d4bcd1c54 Merge pull request #437 from okaestne/master
Add BananaPi M2 Berry support
2025-01-20 09:22:56 +01:00
Oliver Kästner
682a3dffc7 Add BananaPi M2 Berry support
Add `bananapi-m2-berry` machine conf and enable WiFi for it.
2025-01-19 01:24:09 +01:00
Marek Belisko
363feb2ce8 Merge pull request #435 from linux-sunxi/fix-u-boot-loadaddr
sunxi64.inc: Fix wrong UBOOT_LOADADDRESS variable value
2025-01-07 22:15:54 +01:00
Marek Belisko
a34349d67b sunxi64.inc: Fix wrong UBOOT_LOADADDRESS variable value
Signed-off-by: Marek Belisko <marek.belisko@gmail.com>
2025-01-07 10:02:40 +01:00
Marek Belisko
a00dc47b24 Merge pull request #432 from stgloorious/stgloor/mmc-alias
recipes-kernel/linux-mainline: add MMC alias for Olinuxino A20
2025-01-01 20:17:20 +01:00
Stefan Gloor
a03d4270a1 recipes-kernel/linux-mainline: add MMC alias for Olinuxino A20
Add patch that adds MMC aliases to device tree for consistent
enumeration of SD cards.

Signed-off-by: Stefan Gloor <code@stefan-gloor.ch>
2025-01-01 16:35:41 +00:00
Marek Belisko
ca60ffbc53 Merge pull request #430 from leon-anavi/master-fix-u-boot-a80
u-boot_%.bbappend: Fix U-Boot for sun9i
2024-12-19 10:40:25 +01:00
Leon Anavi
ab9690a0c1 u-boot_%.bbappend: Fix U-Boot for sun9i
Use a proper fix instead of reverting U-Boot commit ffb0294.
After reporting this issue to the U-Boot mailing list, a patch
that works on Allwinner A80 machines like Merrii A80 Optimus board
was proposed by Andre Przywara:
https://lists.denx.de/pipermail/u-boot/2024-December/575050.html

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2024-12-14 13:41:31 +02:00
Marek Belisko
f2f4c6a0bc Merge pull request #429 from leon-anavi/master-ap6330
Enable AMPAK AP6330 WiFi and Bluetooth
2024-12-12 08:10:14 +01:00
Leon Anavi
0724baeaaf Enable AMPAK AP6330 WiFi and Bluetooth
Enable AMPAK AP6330 that combines Broadcom Wifi (BCM4330) and
Bluetooth 4.0 (BCM40183) chips for sun9i devices such as Merrii A80
Optimus and Cubieboard 4.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2024-12-12 01:12:31 +02:00
Marek Belisko
c877916982 Merge pull request #426 from stgloorious/stgloor/setuptools-pr
recipes/devtools: replace distutils3*.bbclass with setuptools3*.bbclass
2024-12-10 08:35:02 +01:00
Stefan Gloor
dbf43ca34a recipes/devtools: replace distutils3*.bbclass with setuptools3*.bbclass
distutils3 is deprecated and its use produces warnings during build:

WARNING: distutils-common-base.bbclass is deprecated, please use setuptools3-base.bbclass instead
WARNING: distutils3-base.bbclass is deprecated, please use setuptools3-base.bbclass instead
WARNING: distutils3.bbclass is deprecated, please use setuptools3.bbclass instead

setuptools3 should be a drop-in replacement.

Signed-off-by: Stefan Gloor <code@stefan-gloor.ch>
2024-12-10 01:02:21 +00:00
Marek Belisko
80c3f3ee74 Merge pull request #425 from leon-anavi/cubieboard4
cubieboard4.conf: Add machine
2024-12-09 22:03:47 +01:00
Leon Anavi
4145ca429f cubieboard4.conf: Add machine
Add machine cubieboard4 for Cubieboard 4 with Allwinner A80 SoC
from the sun9i family with mainline U-Boot and Linux kernel.

Thanks to Lazar Hristov for testing core-image-base on the machine.

Tested-by: Lazar Hristov <lhristov@gmail.com>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2024-12-09 22:51:27 +02:00
Marek Belisko
3d37166570 Merge pull request #424 from leon-anavi/merrii-a80-optimus
Add Merrii A80 Optimus board
2024-12-09 21:00:38 +01:00
Leon Anavi
cfd534a0e0 u-boot_%.bbappend: Fix for sun9i
Temporary revert commit ffb0294 from 12 Nov 2023 for device with
Allwinner A80 SoC (aka sun9i):

sunxi: board: simplify early PMIC setup conditions

On Merrii A80 Optimus this git commit causes U-Boot to hang at:

Starting kernel ...

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2024-12-09 19:14:03 +02:00
Leon Anavi
43d1e49c0e sun9i/defconfig: Default kernel defconfig
Add a default Linux kernel defconfig for devices from the sun9i
family with Allwinner A80 SoC such as Merrii A80 Optimus board.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2024-12-09 18:54:19 +02:00
Leon Anavi
dabffb137c merrii-a80-optimus.conf: Add machine
Add machine merrii-a80-optimus for Merrii A80 Optimus development
board that is supported by U-Boot and mainline Linux kernel.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2024-12-09 18:51:14 +02:00
Leon Anavi
2f6e00210b sun9i.inc: Add SoC family sun9i
Create SoC family sun9i for machines with Allwinner A80 that are
supported by mainline U-Boot and mainline Linux kernel.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2024-12-09 18:03:21 +02:00