Commit Graph

33598 Commits

Author SHA1 Message Date
68eceded45
fixing things 2026-06-17 05:43:54 -04:00
e88d27b264
cal phy 12->13 2026-06-17 05:25:32 -04:00
9a2e403f67
fixing things 2026-06-17 04:32:23 -04:00
c9b4ef916a
fixing things 2026-06-17 04:14:26 -04:00
cf7f16b5cc
fuck me if leo is hallucinating :3 2026-06-17 03:47:37 -04:00
3ad9b58fbf
all ports exist, but crash on bringup lan3-8 2026-06-17 03:23:41 -04:00
bf63abe311
the fix? 2026-06-16 13:59:02 -04:00
b24d4f7e1e
the fix? 2026-06-16 12:34:44 -04:00
7e74b3ded9
the fix? 2026-06-16 12:25:22 -04:00
d7fba5c9d1
removed delete-node on our CPU PORT >.< 2026-06-16 10:52:19 -04:00
3f418cea29
whoops... status okay 2026-06-16 10:13:23 -04:00
53740be46a
reconfigured gmac & switches 2026-06-16 09:57:20 -04:00
19732afd10
switch work 2026-06-16 09:29:10 -04:00
cb230207f5
switch work 2026-06-16 08:06:16 -04:00
a9693fa8ff
switch work 2026-06-16 05:24:45 -04:00
f1f4940207
brain + 10 wrinkles added mdio pins assumed from hardware lineage 2026-06-16 01:10:09 -04:00
66831e86ca
compileable, unsure if working 2026-06-15 23:42:31 -04:00
0a66e440fe
commit first switch attempt, starting point 2026-06-15 22:20:07 -04:00
9b04d9eb3a
brain -5 wrinkles from ai correcting human 2026-06-15 22:04:54 -04:00
2492345313
brain +15 wrinkles from inline thinking breakthrough - re: reverse engineering / parallel reconstruction 2026-06-15 20:54:02 -04:00
db7494a98c
brain +15 wrinkles from inline thinking breakthrough - re: reverse engineering / parallel reconstruction 2026-06-15 20:50:19 -04:00
055763f312
brain +15 wrinkles from inline thinking breakthrough - re: reverse engineering / parallel reconstruction 2026-06-15 20:44:08 -04:00
fae78f3823
brain +15 wrinkles from inline thinking breakthrough - re: reverse engineering / parallel reconstruction 2026-06-15 20:31:30 -04:00
ea18b36d36
brain +5 wrinkles from inline thinking breakthroughs 2026-06-15 20:01:43 -04:00
bc28daaf0e
brain +5 wrinkles from inline thinking breakthroughs 2026-06-15 19:37:03 -04:00
6640928e30
brain +5 wrinkles from inline thinking breakthroughs 2026-06-15 19:32:55 -04:00
380fe229c9
brain +5 wrinkles from inline thinking breakthroughs 2026-06-15 19:29:24 -04:00
412928ebd6
brain +5 wrinkles from inline thinking breakthroughs 2026-06-15 19:20:39 -04:00
99d113d0e2
brain +5 wrinkles from inline thinking breakthroughs 2026-06-15 19:15:13 -04:00
fc0e6d3d1a
brain +2 wrinkles from inline thinking breakthroughs 2026-06-15 18:52:16 -04:00
aff963d26d
brain +1 wrinkle from inline thinking breakthroughs 2026-06-15 18:49:04 -04:00
55046c13b5
inline thought breakthrough aqcuired... 2026-06-15 18:43:14 -04:00
5fb1bb5969
update to inline thinking... 2026-06-15 18:21:02 -04:00
e6031426e1
update to inline thinking... 2026-06-15 18:12:16 -04:00
718b3af114
update to inline thinking... 2026-06-15 18:09:11 -04:00
e43c15a7c3
more inline thinking... 2026-06-15 17:56:03 -04:00
6bf54e27df
thinking... 2026-06-14 23:45:38 -04:00
2cd51e474e
thinking... 2026-06-14 22:58:07 -04:00
7750904cb1
fixed art->art_part 2026-06-14 17:51:14 -04:00
23ac153d57
dts - wifi updated 2026-06-14 17:32:50 -04:00
edaff9f631
update 2026-06-14 00:32:37 -04:00
c39f3c1a89
updated qcom-ipq4019-tew-829dru.dts 2026-06-11 10:33:54 -04:00
f303fe6dbb
updated .gitignore, generic.mk 2026-06-11 09:51:02 -04:00
9b130b63a2
updated dts - spi flash works 2026-06-11 09:46:43 -04:00
17f091d59d
added wifi back, removed nand nodes - crashing 2026-06-11 02:02:30 -04:00
c8480bdb10
updated dts 2026-06-10 15:35:33 -04:00
cad39f2d5b
commit dts 2026-06-04 17:42:51 -04:00
311573b886
restoring workspace... 2026-06-04 17:30:32 -04:00
Robert Marko
601e0674ae mvebu: cortexa53: uDPU/eDPU: update active bootscript as well
Currently, sysupgrade will only upgrade the unused slot, however since the
whole dual firmware logic is in the bootscript U-boot will just use the
first bootscript it finds.

So, in a case that you are running slot A it will upgrade slot B, however
that means that slot B will be still booted by the old bootscript that came
with the previous firmware version.

This is an issue if you need to change anything, so lets add a custom
function that upgrades the active bootscript as well after flashing the
slot firmware.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
(cherry picked from commit fb7787803c)
2026-05-28 11:19:50 +02:00
Robert Marko
fbf01b4d62 mvebu: cortexa53: uDPU/eDPU convert to dual firmware (A/B)
Methode uDPU and eDPU devices are one of the rare ones with a completely
custom image format being used with custom partition table with F2FS.

Instead of converting the boards to dual firmware (A/B style) and further
expand the already convoluted custom scripts, especially considering that
dual firmware conversion is a breaking change anyway, lets convert to using
the generic eMMC sysupgrade based images.

F2FS ZSTD compression is preserved thanks to fstools now supporting its use
on overlays.

Dual firmware support is implemented via U-Boot scripts so no U-Boot
upgrade is required.

Since there is a partition table layout change, eMMC must be wiped and
reflashed with the generated GPT image from OpenWrt initramfs.

Then on each sysupgrade the firmware slot will be altered.

Instructions:
1. Boot into OpenWrt initramfs
2. Copy openwrt-mvebu-cortexa53-methode_edpu-squashfs-emmc-gpt.img.gz to
the device into /tmp
3. Erase eMMC:
dd if=/dev/zero of=/dev/mmcblk0 bs=1M
4. Extract image
gzip -d /tmp/openwrt-mvebu-cortexa53-methode_edpu-squashfs-emmc-gpt.img.gz
5. Flash image
dd if=/tmp/openwrt-mvebu-cortexa53-methode_edpu-squashfs-emmc-gpt.img of=/dev/mmcblk0
6. Reboot

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
(cherry picked from commit ada2753d6a)
2026-05-28 11:19:50 +02:00