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>
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>
there was the following error,
ERROR: No recipes in default available for:
/home/gye/yocto/meta-sunxi/recipes-graphics/mesa/mesa-gl_%.bbappend
/home/gye/yocto/meta-sunxi/recipes-graphics/mesa/mesa_%.bbappend
so i renamed mesa_%.bbappend to mesa.bbappend,
and mesa-gl_%.bbappend to mesa-gl.bbappend
For all boards except mangopi-mq-t-tt13, switch back the serial console to
ttyS0. Apply the ttyS3 patch added in commit [1] only when building for the
mangopi-mq-t-tt13 board.
Boot tested on orangepi-zero2 board - the kernel logs are again printed to
the debug serial console.
[1] 9edbede7bc ("u-boot: Fix console for mangopi-mq-r-tt13 board")
Signed-off-by: Ovidiu Panait <ovidiu.panait.oss@gmail.com>
Explicitly specify a branch parameter and fix the warning:
The future default branch used by tools and repositories is
uncertain and we will therefore soon require this is set in
all git urls.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>