Request: tester for ipq8064 soc

I need some tester that have a ipq8064 soc... not ipq8065 but ipq8064.
I need to test if the dsa driver qca8k works on these system that has a different switch.

It's needed to build a custom image with my patches.
The changes required are minimal.

I have a couple tp-link c2600's I could test with tomorrow. Could you write up what's needed?

I have an Asrock G10 and Linksys EA8500

I've built a cherry picked build from some of your patches. I can confirm that the cpufreq patch causes a hang on boot https://github.com/Ansuel/openwrt/commit/34cda59af300eeae6d317ff704e6fcb26ddd93fe

and that your MTD patches (with adaptions made to the relevant dts files) don't get rid of all errors and may cause sysupgrade to fail

I am trying to avoid using DSA so basically I have applied these patches and things appear to be working:

I had to edit your second mdio patch to apply to the phy folder instead of the mdio folder that didn't exist

I can try DSA if you really want I guess.

1 Like

the test was really for dsa.
Can you post the log of the mtd patch and the changes done to the dts?

can you build you own image ?

Also have c2600 and ea8500

Of course :blush:

ok i pushed to the repo the changes needed for ea8500 and c2600
Pls take only the qca8k and the mdio patch and the other changes... ignore the cpufreq and mtd patches as they are stil WIP

1 Like

ok will do tomorrow, is there anything specifically you want me to look for ?

1 Like

a logread and switch stability... tell me if you find any problem

Sounds good, stay tuned !

just to make sure... take notice that qca8k was never tested on ar8327 switch so it can be that it doesn't work at all HAHAHA
also ea8500 lacks of led configuration i think so that can be expected...

For compiling, would you prefer that we clone your openwrt repo and build from that, or use openwrt (proper) master, and just pull down the dsa patches you pushed?

you can take the patch, the changes to the image makefile (and files dir) and the dts and add to your buildroot
Should be quicker than cloning and rebuild

1 Like

I'll have to crack it open tonight and attach a serial cable to see what's going on. Off hand, it's either booting and not initializing the switch, or it's getting hung during boot. I ended up just cloning your repo and building off your improve-r7800 branch. Will post boot logs once I have them.

try to remove the patch 100... it's probably hanging on boot... (suspect voltage problem on ipq8064)

It's a brand new unit, so PSU and circuitry should be fresh :slight_smile: I only flashed it a few times a few years ago, has been in the box since. Will do, once I get a terminal into it to see what's going on.

the regulator never worked so any old image never actually scaled the voltage

Recovered through TFTP, removed the 100 patch and am recompiling now...

1 Like

I am testing on a VR2600v:
With patch 100 it hangs here:

...
[    1.764287] ipq806x-gmac-dwmac 37200000.ethernet: IRQ eth_wake_irq not found
[    1.767212] ipq806x-gmac-dwmac 37200000.ethernet: IRQ eth_lpi not found
[    1.775516] ipq806x-gmac-dwmac 37200000.ethernet: PTP uses main clock
[    1.781596] ipq806x-gmac-dwmac 37200000.ethernet: User ID: 0x10, Synopsys ID: 0x37
[    1.787338] ipq806x-gmac-dwmac 37200000.ethernet: 	DWMAC1000
[    1.794692] ipq806x-gmac-dwmac 37200000.ethernet: DMA HW capability register supported
[    1.800598] ipq806x-gmac-dwmac 37200000.ethernet: RX Checksum Offload Engine supported
[    1.808316] ipq806x-gmac-dwmac 37200000.ethernet: COE Type 2
[    1.816217] ipq806x-gmac-dwmac 37200000.ethernet: TX Checksum insertion supported
[    1.821950] ipq806x-gmac-dwmac 37200000.ethernet: Wake-Up On Lan supported
[    1.829434] ipq806x-gmac-dwmac 37200000.ethernet: Enhanced/Alternate descriptors
[    1.836196] ipq806x-gmac-dwmac 37200000.ethernet: Enabled extended descriptors
[    1.843651] ipq806x-gmac-dwmac 37200000.ethernet: Ring mode enabled
[    1.850769] ipq806x-gmac-dwmac 37200000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    1.858287] ipq806x-gmac-dwmac 37400000.ethernet: IRQ eth_wake_irq not found
[    1.865531] ipq806x-gmac-dwmac 37400000.ethernet: IRQ eth_lpi not found
[    1.873476] ipq806x-gmac-dwmac 37400000.ethernet: PTP uses main clock
[    1.879529] ipq806x-gmac-dwmac 37400000.ethernet: User ID: 0x10, Synopsys ID: 0x37
[    1.885613] ipq806x-gmac-dwmac 37400000.ethernet: 	DWMAC1000
[    1.892956] ipq806x-gmac-dwmac 37400000.ethernet: DMA HW capability register supported
[    1.898877] ipq806x-gmac-dwmac 37400000.ethernet: RX Checksum Offload Engine supported
[    1.906596] ipq806x-gmac-dwmac 37400000.ethernet: COE Type 2
[    1.914397] ipq806x-gmac-dwmac 37400000.ethernet: TX Checksum insertion supported
[    1.920308] ipq806x-gmac-dwmac 37400000.ethernet: Wake-Up On Lan supported
[    1.927680] ipq806x-gmac-dwmac 37400000.ethernet: Enhanced/Alternate descriptors
[    1.934362] ipq806x-gmac-dwmac 37400000.ethernet: Enabled extended descriptors
[    1.942038] ipq806x-gmac-dwmac 37400000.ethernet: Ring mode enabled
[    1.949049] ipq806x-gmac-dwmac 37400000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    1.956775] i2c /dev entries driver
[    1.968143] cpuidle: enable-method property 'qcom,kpss-acc-v1' found operations
[    1.968466] cpuidle: enable-method property 'qcom,kpss-acc-v1' found operations
[    1.975224] sdhci: Secure Digital Host Controller Interface driver
[    1.981693] sdhci: Copyright(c) Pierre Ossman
[    1.987930] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.996891] NET: Registered protocol family 10
[    2.000016] Segment Routing with IPv6
[    2.002388] NET: Registered protocol family 17
[    2.007288] 8021q: 802.1Q VLAN Support v1.8
[    2.010376] Registering SWP/SWPB emulation handler
[    2.049883] qcom_rpm 108000.rpm: RPM firmware 3.0.16777342
[    2.080323] s1a: Bringing 0uV into 1050000-1050000uV
[    2.081156] s1a: supplied by regulator-dummy
[    2.084571] s1b: Bringing 0uV into 1050000-1050000uV
[    2.089464] s1b: supplied by regulator-dummy
[    2.093773] s2a: Bringing 0uV into 800000-800000uV
[    2.100184] 8<--- cut here ---
[    2.102413] Unable to handle kernel paging request at virtual address c05d4c0c
[    2.105456] pgd = (ptrval)

Without patch 100 it hangs here:

[    1.775119] ipq806x-gmac-dwmac 37200000.ethernet: IRQ eth_wake_irq not found
[    1.778016] ipq806x-gmac-dwmac 37200000.ethernet: IRQ eth_lpi not found
[    1.786217] ipq806x-gmac-dwmac 37200000.ethernet: PTP uses main clock
[    1.792434] ipq806x-gmac-dwmac 37200000.ethernet: User ID: 0x10, Synopsys ID: 0x37
[    1.798152] ipq806x-gmac-dwmac 37200000.ethernet: 	DWMAC1000
[    1.805503] ipq806x-gmac-dwmac 37200000.ethernet: DMA HW capability register supported
[    1.811407] ipq806x-gmac-dwmac 37200000.ethernet: RX Checksum Offload Engine supported
[    1.819155] ipq806x-gmac-dwmac 37200000.ethernet: COE Type 2
[    1.827024] ipq806x-gmac-dwmac 37200000.ethernet: TX Checksum insertion supported
[    1.832760] ipq806x-gmac-dwmac 37200000.ethernet: Wake-Up On Lan supported
[    1.840242] ipq806x-gmac-dwmac 37200000.ethernet: Enhanced/Alternate descriptors
[    1.847003] ipq806x-gmac-dwmac 37200000.ethernet: Enabled extended descriptors
[    1.854463] ipq806x-gmac-dwmac 37200000.ethernet: Ring mode enabled
[    1.861579] ipq806x-gmac-dwmac 37200000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    1.869116] ipq806x-gmac-dwmac 37400000.ethernet: IRQ eth_wake_irq not found
[    1.876455] ipq806x-gmac-dwmac 37400000.ethernet: IRQ eth_lpi not found
[    1.884308] ipq806x-gmac-dwmac 37400000.ethernet: PTP uses main clock
[    1.890236] ipq806x-gmac-dwmac 37400000.ethernet: User ID: 0x10, Synopsys ID: 0x37
[    1.896416] ipq806x-gmac-dwmac 37400000.ethernet: 	DWMAC1000
[    1.903766] ipq806x-gmac-dwmac 37400000.ethernet: DMA HW capability register supported
[    1.909685] ipq806x-gmac-dwmac 37400000.ethernet: RX Checksum Offload Engine supported
[    1.917405] ipq806x-gmac-dwmac 37400000.ethernet: COE Type 2
[    1.925206] ipq806x-gmac-dwmac 37400000.ethernet: TX Checksum insertion supported
[    1.931115] ipq806x-gmac-dwmac 37400000.ethernet: Wake-Up On Lan supported
[    1.938488] ipq806x-gmac-dwmac 37400000.ethernet: Enhanced/Alternate descriptors
[    1.945173] ipq806x-gmac-dwmac 37400000.ethernet: Enabled extended descriptors
[    1.952842] ipq806x-gmac-dwmac 37400000.ethernet: Ring mode enabled
[    1.959856] ipq806x-gmac-dwmac 37400000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    1.967583] i2c /dev entries driver
[    1.978968] cpuidle: enable-method property 'qcom,kpss-acc-v1' found operations
[    1.979290] cpuidle: enable-method property 'qcom,kpss-acc-v1' found operations
[    1.986190] sdhci: Secure Digital Host Controller Interface driver
[    1.992388] sdhci: Copyright(c) Pierre Ossman
[    1.998771] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.006721] NET: Registered protocol family 10
[    2.010856] Segment Routing with IPv6
[    2.013197] NET: Registered protocol family 17
[    2.018017] 8021q: 802.1Q VLAN Support v1.8
[    2.021182] Registering SWP/SWPB emulation handler
[    2.061830] qcom_rpm 108000.rpm: RPM firmware 3.0.16777342
[    2.091277] s1a: Bringing 0uV into 1050000-1050000uV
[    2.093007] s1a: supplied by regulator-dummy
[    2.095523] s1b: Bringing 0uV into 1050000-1050000uV
[    2.100408] s1b: supplied by regulator-dummy
[    2.104718] s2a: Bringing 0uV into 800000-800000uV
[    7.235326] s2a: failed to enable
[    7.235381] qcom_rpm_reg 108000.rpm:regulators: failed to register s2a
[    7.238534] qcom_rpm_reg: probe of 108000.rpm:regulators failed with error -110

EDIT:
What if I revert this commit: https://github.com/Ansuel/openwrt/commit/34cda59af300eeae6d317ff704e6fcb26ddd93fe ?