Commit Graph

787 Commits

Author SHA1 Message Date
Marek Belisko
5d0f71905a Merge pull request #457 from mark-bchoi/feature_orangepi_one_plus
Fix EMAC Probiing error for orangepi one plus
2026-02-24 08:33:42 +01:00
Mark Choi
4a9f1caf6d Fix EMAC Probiing error for orangepi one plus
U-boot probe emac correctly but, kernel does not.

There were two issues.

1. U-boot specified compatible for RTL8211 in dts, but kernel.
 -. https://patchwork.ozlabs.org/project/uboot/patch/20230711003957.658805-2-retpolanne@posteo.net/#3148293

2. Kernel require reset pin for it and controlling.
 -. Add reset pin gpio PD14 and its delays.

[    5.478245] dwmac-sun8i 5020000.ethernet: IRQ eth_wake_irq not found
[    5.520814] dwmac-sun8i 5020000.ethernet: IRQ eth_lpi not found
[    5.538568] dwmac-sun8i 5020000.ethernet: PTP uses main clock
[    5.544627] dwmac-sun8i 5020000.ethernet: Current syscon value is not the default 50846 (expect 50000)
[    5.667069] dwmac-sun8i 5020000.ethernet: No HW DMA feature register supported
[    5.674399] dwmac-sun8i 5020000.ethernet: RX Checksum Offload Engine supported
[    5.674410] dwmac-sun8i 5020000.ethernet: COE Type 2
[    5.674417] dwmac-sun8i 5020000.ethernet: TX Checksum insertion supported
[    5.674424] dwmac-sun8i 5020000.ethernet: Normal descriptors
[    5.674430] dwmac-sun8i 5020000.ethernet: Chain mode enabled
[    5.676599] mdio_bus stmmac-0: MDIO device at address 1 is missing.
[    5.813179] dwmac-sun8i 5020000.ethernet: EMAC reset timeout
[    5.818898] dwmac-sun8i 5020000.ethernet eth0: stmmac_dvr_remove: removing driver
[    5.850571] dwmac-sun8i: probe of 5020000.ethernet failed with error -110

Signed-off-by: Mark Choi <afewgoodman.choi@gmail.com>
2026-02-24 14:43:36 +09:00
Marek Belisko
7ee5f3f733 Merge pull request #456 from mark-bchoi/feature_orangepi_one_plus
Fixed axp 20x pmic probing error
2026-02-13 09:03:46 +01:00
Mark Choi
1813d3d2e4 Fixed axp 20x pmic probing error
Orange pi one plus use axp-805 which compatible with axp-20x.
But, kernel 6.6 used RSB instread i2c for axp-805.

RSB occurred probing error and could not initialize axp 805 correctly,
it sometimes stucked the system on booting kernel.

Upstream revert this to i2c and fixed this issue. but, kernel 6.6 is not applied yet.

torvalds/linux@573f99c

Signed-off-by: Mark Choi <afewgoodman.choi@gmail.com>
2026-02-13 11:48:09 +09:00
Marek Belisko
d5214c790e Merge pull request #450 from asac/fix/scarthgap-kernel-build-orange-pi-3lts
fix orange-pi-3lts kernel build
2025-06-12 11:06:43 +02:00
Alexander Sack
25d90211d9 fix orange-pi-3lts kernel build 2025-06-12 09:05:47 +00:00
Marek Belisko
204836ce5d Merge pull request #449 from okaestne/scarthgap
[Scarthgap] backport PRs for new hardware and fixes
2025-06-10 09:22:22 +02:00
Oliver Kästner
d564c5f776 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-06-10 01:59:52 +02:00
Oliver Kästner
89bbea9aa1 ap6212: add missing leading space to append
Signed-off-by: Oliver Kästner <git@oliver-kaestner.de>
2025-06-10 01:59:33 +02:00
Oliver Kästner
6736fef4ec linux-mainline: bump to 6.6.85
Signed-off-by: Oliver Kästner <git@oliver-kaestner.de>
2025-06-10 01:59:32 +02:00
Oliver Kästner
0c4b7e95d5 chore: drop stale kmeta
drop kmeta for older and removed kernel versions

Signed-off-by: Oliver Kästner <git@oliver-kaestner.de>
2025-06-10 01:59:05 +02:00
Oliver Kästner
e89e6b9483 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-06-10 01:59:05 +02:00
Oliver Kästner
118683a0a9 chore: drop linux-mainline pre-v6.5 patches
Signed-off-by: Oliver Kästner <git@oliver-kaestner.de>
2025-06-10 01:59:05 +02:00
Oliver Kästner
7c14a6d25e chore: drop linux-mainline v6.5.11
Signed-off-by: Oliver Kästner <git@oliver-kaestner.de>
2025-06-10 01:59:04 +02:00
Oliver Kästner
6c60b823ae chore: drop linux-mainline v6.1.9
Signed-off-by: Oliver Kästner <git@oliver-kaestner.de>
2025-06-10 01:59:04 +02:00
Oliver Kästner
54c5cf892a chore: drop linux-mainline v5.15.91
Signed-off-by: Oliver Kästner <git@oliver-kaestner.de>
2025-06-10 01:59:04 +02:00
Oliver Kästner
585df5b396 ap6212: enable bluetooth support 2025-06-10 01:59:04 +02:00
Oliver Kästner
4657eb284f feat: add MACHINE_FEATURE wifi and bluetooth for AP6212 and AP6330 boards
Signed-off-by: Oliver Kästner <git@oliver-kaestner.de>
2025-06-10 01:59:04 +02:00
Oliver Kästner
e1e48022d7 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-06-10 01:59:04 +02:00
Oliver Kästner
2834b7f951 Add BananaPi M2 Berry support
Add `bananapi-m2-berry` machine conf and enable WiFi for it.
2025-06-10 01:59:04 +02:00
Marek Belisko
f5025d0808 sunxi64.inc: Fix wrong UBOOT_LOADADDRESS variable value
Signed-off-by: Marek Belisko <marek.belisko@gmail.com>
2025-06-10 01:59:04 +02:00
Stefan Gloor
1d4cf8ae39 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-06-10 01:59:04 +02:00
Leon Anavi
4e1636e0a4 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>
2025-06-10 01:59:03 +02:00
Leon Anavi
eada1eeb7a 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>
2025-06-10 01:59:03 +02:00
Stefan Gloor
d365a91be3 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>
2025-06-10 01:59:03 +02:00
Ovidiu Panait
7abeeaf707 u-boot: apply ttyS3 patch only for mangopi-mq-t-tt13 builds
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>
2025-06-10 01:59:03 +02:00
Leon Anavi
bb90acac4b xradio-firmware: Add branch to SRC_URI
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>
2025-06-10 01:59:03 +02:00
ludiazv
7f554a1d24 update opi zero 2 with auto load modules for wifi and bt 2025-06-10 01:59:03 +02:00
ludiazv
ebbedb7a97 remove hack for hdmi out 2025-06-10 01:59:03 +02:00
ludiazv
2a808de9d1 fix/improve MAC address management 2025-06-10 01:59:03 +02:00
ludiazv
4ad0f09f13 h616 and h618 patches 2025-06-10 01:59:03 +02:00
ludiazv
993171c995 add opizero 2 to 6.6 2025-06-10 01:59:02 +02:00
alperak
41ade85840 Add Orange Pi Prime machine support
- Ethernet, WiFi, Bluetooth, USBs are working fine but HDMI is working until U-Boot loading the kernel. Then it stop working.
- Tested with core-image-base and kernel mainline 6.6.28

Signed-off-by: alperak <alperyasinak1@gmail.com>
2025-06-10 00:48:19 +02:00
Dan McGregor
0e0525ebfa trusted-firmware: Make append machine specific 2025-06-10 00:48:19 +02:00
Dan McGregor
5790998d9e xserver-xorg: don't unconditionally add xshmfence
This is only required if dri3 is enabled in the server. It shouldn't
be included unconditionally.

Arguably this should be put in openembedded-core, but for now it's
safe to put here.
2025-06-10 00:48:19 +02:00
Dan McGregor
33b02e648d linux-firmware: Only add firmware to sunxi machines
It doesn't make sense to unconditionally include these firmware
files on other machines. Gate it on whether we're a sunxi machine.
2025-06-10 00:45:43 +02:00
Marek Belisko
69c4909d49 u-boot: Fix console for mangopi-mq-r-tt13 board
Signed-off-by: Marek Belisko <marek.belisko@gmail.com>
2025-06-10 00:41:50 +02:00
Marek Belisko
66fd7c960f conf/machine: add support for MangoPi MQ-R T113-S3
Signed-off-by: Leo Soares <leojrfs@gmail.com>
Signed-off-by: Marek Belisko <marek.belisko@gmail.com>
2025-06-10 00:34:33 +02:00
ludiazv
d93a7ff945 add preferred kernel version to sunxi64 2025-06-10 00:34:33 +02:00
ludiazv
834efaa4b8 update opi 3lts machine 2025-06-10 00:34:32 +02:00
ludiazv
894fa97145 add kernel features 2025-06-10 00:34:32 +02:00
ludiazv
f8a51177af update uwe5622 patches 2025-06-10 00:34:32 +02:00
ludiazv
774f0f8649 add kernel patches for orangepi-3lts for 6.1 6.5 kernels(KMETA) 2025-06-10 00:34:32 +02:00
ludiazv
68cc446633 add wifi uwe driver firmware and kernel support(KMETA) 2025-06-10 00:34:31 +02:00
ludiazv
735586e90e add orange-pi-3lts machine config and u-boot support for this board 2025-06-10 00:34:23 +02:00
Marek Belisko
c73c0a2c4a Merge pull request #428 from leon-anavi/scarthgap-sun9i
[Scartgap] Add Merrii A80 Optimus board and Cubieboard 4
2024-12-10 09:32:16 +01:00
Leon Anavi
3be61ac722 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-10 00:10:33 +02:00
Leon Anavi
512fed3281 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-10 00:09:55 +02:00
Leon Anavi
57afbf176f 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-10 00:04:54 +02:00
Leon Anavi
3a42520278 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-10 00:04:50 +02:00