freifunk-gluon / gluon

a modular framework for creating OpenWrt-based firmwares for wireless mesh nodes
https://gluon.readthedocs.io
Other
550 stars 324 forks source link

ipq40xx - DSA migration process #2666

Open AiyionPrime opened 2 years ago

AiyionPrime commented 2 years ago

Similar, yet incomparably simpler than #2413 this is tracking the DSA migration following https://github.com/openwrt/openwrt/pull/4721 and related patches.

The workflow would be: find your model, make sure it has DSA support in OpenWrt report back whether it is done or not, needs changes or has no support in OpenWrt and should therefore be dropped.

missing DSA setup

done

blocktrron commented 2 years ago

@AiyionPrime I think the AP-303 as well as 4040 are already migrated? A full re-validation is not necessary downstream, as it is performed upstream. We also didn't do it for neither mt7621 nor xrx200

herbetom commented 2 years ago

Not yet migrated devices were disabled in https://github.com/openwrt/openwrt/commit/db19efee951231b38573cffaadb15fad8f9c058d.

The following are currently also done:

Figuring out wheter the devies were migrated is as easy as locking at the file and checking if they are still commented out with a # Missing DSA Setup comment: target/linux/ipq40xx/image/generic.mk

ecsv commented 1 year ago
AiyionPrime commented 1 year ago

I've got a notifier to monitor these changes in that part of openwrt's tree; once they make it to master, I'll mark them as done.

AiyionPrime commented 1 year ago

updated the tracker, thanks @ecsv!

AiyionPrime commented 1 year ago
rotanid commented 1 year ago

i do own some netgear-ex6150v2, but i'm not sure i can help. maybe @mbaumga ?

AiyionPrime commented 1 year ago
JJWatMyself commented 1 year ago

Aruba ap-303h tests are good and have reported this on the other thread a few minutes ago. There are two items I have identified to address in the future, but not specific to DSA.

I also flagged an invisible font/font color issue on the default theme, but will likely need to log a bug somewhere.

JJWatMyself commented 1 year ago

Ok, DSA for Aruba AP-303H is live in the snapshot and I have verified. I am running dumb AP with many VLANs and wired ports configured to do VLANs also.

https://github.com/openwrt/openwrt/pull/11579#issuecomment-1367888343

image

Djfe commented 1 year ago

I'm going to fix this upstream for the zyxel-wre6606 Maybe also for the netgear-ex6150v2

AiyionPrime commented 1 year ago

Hey there. Any chance you still have access to the device you added support for in OpenWrt? It currently doesn't get built, maybe you can help addressing the issue in an efficient manner.

Djfe commented 1 year ago

I kinda stopped after the Zyxel didn't want to boot anymore (after me flashing master with the changes) and I wasn't able to interrupt boot anymore since then. I'll try to get around to it this weekend but start with the EX6150v2 since it's easy to recover.

steveglennon commented 1 year ago

I still have access. I will look into it. Steve

Sent from my iPhone

On Feb 24, 2023, at 8:03 AM, Felix Baumann @.***> wrote:



I kinda stopped after the Zyxel didn't want to boot anymore and I wasn't able to interrupt boot anymore since then. I'll try to get around to it this weekend but start with the EX6150v2 since it's easy to recover.

— Reply to this email directly, view it on GitHubhttps://github.com/freifunk-gluon/gluon/issues/2666#issuecomment-1443812116, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEBNDKYOC2DGE3UDSI2JNITWZDETDANCNFSM6AAAAAARCVANK4. You are receiving this because you were mentioned.Message ID: @.***>

AiyionPrime commented 1 year ago

@blocktrron committed https://github.com/openwrt/openwrt/commit/bf055fcdca155993b9b6c82f951000eefb13288a

So 6100v2 and 6150v2 are done.

skorpy2009 commented 1 year ago

@AiyionPrime @blocktrron What do I have to do:

https://github.com/openwrt/openwrt/commit/4b280ad91a6b155ac71c417aaa7bb5f4e328712f @skorpy2009 ZyXEL WRE6606

    https://github.com/openwrt/openwrt/blob/master/target/linux/ipq40xx/image/generic.mk#L1194-L1195
Djfe commented 1 year ago

test this https://github.com/Djfe/openwrt/commit/9c2353c61b9b9f2a7aa12c873a5f44b16f2b9fbb I need to recover my device still, else I would have already done a PR. (I only did swport5 and it didn't boot anymore..) One of the swports (switch ports) will come up as an interface, that's the one we need to keep then.

Djfe commented 1 year ago

Update on my part: I finally figured out what broke my Zyxel wre6606 https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=45eb57f12f3a128a1822a20b7e536527ab92ca67 The kernel got too large and the bootloader doesn't load it fully. I might've to increase the compat version so people don't accidentally brick their device by upgrading without adjusting bootcmd first.

Apart from that I still have that pesty issue that the wre6606 isn't reacting to any of my keyboard inputs. While connecting tx to rx on my ttl directly with a cable works just fine. I tested with screen, picocom and gtkterm.

Other devices I used my ttl adapter with so far didn't receive my tx either. Next test: using an openwrt Router with ssh as my ttl Adapter.

mkg20001 commented 1 year ago

I tested hap ac2 (ipq40xx-mikrotik) as it gained dsa aswell. It has an increased compat version so I had to manually increment it in uci system compat_version to install the upgrade. Everything came up after upgrading. No new problems yet.

Djfe commented 1 year ago

did you test openwrt or gluon?

mkg20001 commented 1 year ago

gluon, but installed image via sysupgrade and built from next branch.