Commit Graph

16963 Commits

Author SHA1 Message Date
Ricardo Pardini
b48c253f67 inventory-boards-csv: report ATFSOURCE and ATFBRANCH 2026-01-15 20:17:43 +01:00
Ricardo Pardini
edc3dc124d artifact-uboot: hash ATFSOURCE
- if/when we change `ATFSOURCE`, we want u-boot artifacts to be rebuilt
2026-01-15 20:17:43 +01:00
Nikita Maslo
731763297d jethub-burn: add cleanup handlers and partition validation 2026-01-15 18:11:52 +03:00
Nikita Maslo
e1cab845df jethub-burn:
- Add license and copyright header
 - Refactor code and fix trap losetup
2026-01-15 18:11:52 +03:00
Nikita Maslo
0ee6cf8638 Add post-build Armbian extension for burnable JetHub boards
Signed-off-by: Nikita Maslo <nikitamalco203@gmail.com>
2026-01-15 18:11:52 +03:00
rpardini
5182e2a668 Automatic: kernel config rewrite 2026-01-15 02:13:34 +01:00
Ricardo Pardini
4fb20f36db meson64-6.18: de-bork PCIe for 6.18.5, again, again
- Fixes: 4eac206ecf which over-dropped
- meanwhile for increased insanity, patch changed name as it went upstream:
  - ML was `PCI: meson: Remove meson_pcie_link_up() timeout, message, speed check`
  - torvalds got `PCI: meson: Report that link is up while in ASPM L0s and L1 states`
- Greg KH has already queued for 6.18.6 (coming from 6.19-rc5, so torvalds name), so remove this when that is released
2026-01-14 23:58:01 +01:00
Ricardo Pardini
c2fa5b5609 linux-uefi-riscv64-current.config: recover options lost during 6.12 -> 6.18 bump
- ... sorry!
2026-01-14 23:58:01 +01:00
Ricardo Pardini
228dab4371 linux-uefi-riscv64-current: rewrite config against 6.18.5
- I messed up, so normalize first...
2026-01-14 23:58:01 +01:00
Ricardo Pardini
effa4f1e51 linux-uefi-loong64-current.config: recover options lost during 6.12 -> 6.18 bump
- ... sorry!
2026-01-14 23:58:01 +01:00
Ricardo Pardini
304fe065fc linux-uefi-loong64-current: rewrite config against 6.18.5
- I messed up, so normalize first...
2026-01-14 23:58:01 +01:00
Ricardo Pardini
c1893315d9 linux-uefi-arm64-current.config: recover options lost during 6.12 -> 6.18 bump
- ... sorry!
2026-01-14 23:58:01 +01:00
Ricardo Pardini
36f34503d5 linux-uefi-x86-current.config: recover options lost during 6.12 -> 6.18 bump
- ... sorry!
2026-01-14 23:58:01 +01:00
Ricardo Pardini
1f6403cb96 linux-uefi-x86-current: rewrite config against 6.18.5 2026-01-14 23:58:01 +01:00
Ricardo Pardini
9a655b7d33 linux-meson64-current: recover options lost during 6.12 -> 6.18 bump
- ... sorry!
2026-01-14 23:58:01 +01:00
Ricardo Pardini
43524cc6a5 linux-meson64-current: rewrite against 6.18.5
- I messed up, so normalize first...
2026-01-14 23:58:01 +01:00
Ricardo Pardini
2ef2a1e7d9 radxa-e24c: unbreak fragile metadata parser in rewrite job
- yeah, "parsing" bash is not a good idea
  - source in a subshell and echo the var instead
- here, just unbreak for now
2026-01-14 23:58:01 +01:00
Ricardo Pardini
9132473bb7 nanopi-m5: unbreak fragile metadata parser in rewrite job
- yeah, "parsing" bash is not a good idea
  - source in a subshell and echo the var instead
- here, just unbreak for now
2026-01-14 23:58:01 +01:00
Ricardo Pardini
644eb9661e mixtile-blade3: unbreak fragile metadata parser in rewrite job
- yeah, "parsing" bash is not a good idea
  - source in a subshell and echo the var instead
- here, just unbreak for now
2026-01-14 23:58:01 +01:00
Ricardo Pardini
cb36a6b10b lib: drop unused functions/general/downloads.sh (get_urls())
- dead code for a very long time
2026-01-14 20:08:21 +01:00
Ricardo Pardini
acfd9c8dcb "get completely rid of dead code toolchain stuff", pt2
- this stuff has been laying around, unused, for years
2026-01-14 20:08:21 +01:00
Ricardo Pardini
84a7e45f29 u-boot: fix and unify CROSS_COMPILE and PATH after predatory maintenance
- also avoid spurious space in `CROSS_COMPILE` when `CCACHE` is not set
2026-01-14 20:08:21 +01:00
Ricardo Pardini
c51b973217 drop UBOOT_USE_GCC, KERNEL_USE_GCC, ATF_USE_GCC completely
- also `CRUST_USE_GCC`
- those don't serve any purpose and cause confusion
2026-01-14 20:08:21 +01:00
Ricardo Pardini
6889c8c0a4 drop find_toolchains, SKIP_EXTERNAL_TOOLCHAINS and all $toolchain PATH injections
- we've had SKIP_EXTERNAL_TOOLCHAINS=yes for ~5 years now
- drop all usages, mostly through `find_toolchains()`
- drop all manual PATH env injections (we've centralized if ever needed)
2026-01-14 20:08:21 +01:00
sicxnull
0e2fec109e Fix PantherX2 2026-01-14 20:07:49 +01:00
Jianfeng Liu
4cb522e968 rockchip64-current: sync config from edge 2026-01-14 17:03:02 +01:00
Jianfeng Liu
8ced9d8a62 rockchip64-6.18: fix PD negotiation on pbp 2026-01-14 17:03:02 +01:00
Jianfeng Liu
a345becef5 rockchip64-6.19: update rk3399 typec alt mode patch 2026-01-14 17:03:02 +01:00
Jianfeng Liu
30fba6f1b1 rockchip64-6.19: fix PD negotiation on pbp 2026-01-14 17:03:02 +01:00
EvilOlaf
c0e8ba8423 meson64: remove upstreamed patch 2026-01-14 13:24:10 +01:00
EvilOlaf
e145d689c2 mainline: bump to rc5 2026-01-14 13:24:10 +01:00
Ricardo Pardini
1d91ae2ebb mixtile-core3588e: u-boot: v2026.01: add patch for debugging fdt_fixup_ethernet()
- a bit verbose but confirms missing `ethernet0`/`1` alias was the cause of random MACs for at least a few boards
- there's quite a few boards to fix, so we might want to pull this one level up later
2026-01-13 20:39:37 +01:00
Ricardo Pardini
0a0889501b mixtile-core3588e: alias ethernet0 to gmac0 for stable MAC address
- phew. this was all it takes. u-boot does the rest of the magic
2026-01-13 20:39:37 +01:00
Ricardo Pardini
746a3ec5b5 mixtile-core3588e: u-boot: enable ramboot, add usb471/2 to targets 2026-01-13 20:39:37 +01:00
Ricardo Pardini
6a1cfbc613 rockchip64-6.19: arm64: dts: rockchip: describe pcie ethernets on FriendlyElec NanoPC-T6
- By fully describing the pcie hardware for the RTL8125s (rtl8169) present on the
  board, we get to alias them to ethernet0/1. In return, (mainline) u-boot will by
  default patch the runtime FDT though it's fdt_fixup_ethernet() implementation,
  hopefully resulting in fully stable MAC addresses without the need to program
  the RTL NIC's EEPROM; as an added benefit, u-boot MAC & kernel MAC would match,
  facilitating network-boot setups.
2026-01-13 20:39:22 +01:00
Jianfeng Liu
73aab5ff66 rockchip64-edge: enable Verisilicon IOMMU for Rockchip RK3588 2026-01-13 20:39:02 +01:00
Jianfeng Liu
801b4c9e0f rockchip64-6.19: add patches for verisilicon av1 decoder 2026-01-13 20:39:02 +01:00
Jianfeng Liu
9eb346830d rockchip64-current: enable Verisilicon IOMMU for Rockchip RK3588 2026-01-13 20:39:02 +01:00
Jianfeng Liu
2499a2b446 rockchip64-6.18: add patches for verisilicon av1 decoder 2026-01-13 20:39:02 +01:00
igorpecovnik
3295cebe48 Automatic board configs status synchronise 2026-01-13 20:38:51 +01:00
EvilOlaf
fe7b8eee12 orangepizero2: fix bluetooth in edge kernel 2026-01-13 20:38:30 +01:00
Viacheslav Bocharov
43a786c327 JetHub: Update JetHub D2 uboot to 2025.04
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2026-01-13 09:00:36 +03:00
Viacheslav Bocharov
b24a33b917 jethub d2: update device tree files 2026-01-13 09:00:36 +03:00
Patrick Yavitz
3e40fe954b Meson64: Delete patches that are not required
general-input-touchscreen-Add-D-WAV-Multitouch.patch (not enabled)
general-memory-marked-nomap.patch (not required)

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-01-12 19:38:40 -05:00
igorpecovnik
25f6eec773 Automatic board configs status synchronise 2026-01-13 00:05:27 +01:00
Ricardo Pardini
001c65df07 u-boot: run binwalk on all the produced u-boot bins (always)
- optionally, if UBOOT_BINS_TO_OUTPUT=yes, copy them out to output/
- this might reveal differences in binwalk itself more than u-boot
- but better than nothing
2026-01-12 23:37:03 +01:00
Igor Velkov
18848f530d rockchip64: Helios64: fix Type-C PHY and TCPM registration
Problem:
On Helios64 boot, the Type-C PHY (ff7c0000.phy) gets stuck in
"deferred probe" state with unknown reason. This causes:
- USB 3.0 SuperSpeed via Type-C port not working
- DisplayPort via Type-C (Alt Mode) not working

The following messages appear in dmesg:
  platform ff7c0000.phy: deferred probe pending: (reason unknown)
  platform fe800000.usb: deferred probe pending: wait for supplier /phy@ff7c0000/usb3-port
  platform fec00000.dp: deferred probe pending: wait for supplier /phy@ff7c0000/dp-port

Along with dependency cycle warnings:
  /phy@ff7c0000/dp-port: Fixed dependency cycle(s) with /i2c@ff3d0000/typec-portc@22/connector

Root cause:
The Helios64 DTS uses a legacy Type-C connection method:

  &tcphy0 {
      extcon = <&fusb0>;  // Expects extcon from fusb302
  };

However:
1. The FUSB302 driver with TCPM support (since kernel ~4.14) does NOT
   create extcon devices
2. Instead, it uses the Type-C connector class (/sys/class/typec/)
3. The phy-rockchip-typec driver calls extcon_get_edev_by_phandle(),
   fails to find an extcon device at the specified phandle, and
   returns -EPROBE_DEFER
4. The PHY remains in deferred probe indefinitely

The extcon-cables property is present in the DTS, but without a
typec_extcon_bridge node it serves no purpose.

This bug has existed since Type-C support was added to Helios64
(at least since kernel 6.6). It likely worked with older fusb302
driver versions, but broke after the transition to TCPM.

Solution:
Use the typec-extcon-bridge driver (Armbian patch from Ondrej Jirman/megi)
which translates Type-C connector class events to the extcon interface.

The Pinebook Pro patch (board-pbp-add-dp-alt-mode.patch) implements this
correctly: it has a typec_extcon_bridge node, and all extcon references
point to it rather than directly to fusb0.

Changes:
1. Add typec_extcon_bridge node with compatible = "linux,typec-extcon-bridge"
2. Change extcon = <&fusb0> to extcon = <&typec_extcon_bridge> in
   tcphy0, cdn_dp, u2phy0, usbdrd_dwc3_0 nodes
3. Add usb-role-switch, mode-switch, orientation-switch properties
   to fusb0 connector for integration with the bridge
4. Update PDO definitions with DUAL_ROLE and DATA_SWAP flags
5. Convert typec-altmodes property to modern altmodes subnode format
   (required for TCPM port registration)
6. Add extcon,ignore-usb to u2phy0 (following Pinebook Pro pattern)
7. Add snps,usb3-phy-reset-quirk to usbdrd_dwc3_0

After this fix:
- Type-C PHY (ff7c0000.phy) no longer stuck in deferred probe
- USB 3.0 SuperSpeed via Type-C port should work
- DisplayPort via Type-C (Alt Mode) should work
- Correct cable orientation detection
- USB role switching (host/device)

Known remaining issues:
- FUSB302 fails to register TCPM port with error:
    4-0022    typec_fusb302: cannot register tcpm port
  This prevents USB Power Delivery negotiation. The root cause
  appears to be in the connector configuration and requires
  further investigation.
2026-01-12 23:36:43 +01:00
EvilOlaf
b6da7a9b4c rewrite everything 2026-01-12 23:34:35 +01:00
EvilOlaf
3e5da30cc7 rename already independent patch 2026-01-12 23:34:35 +01:00
EvilOlaf
29da31a00d cb1: combine patches 2026-01-12 23:34:35 +01:00