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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>