Thanks,
I did have <linux/ar8216_platform.h> included in begging but from what I have seen in mach files of other devices that use QCA953X SoC it is sometimes included and sometimes not.
Good catch with MAC init, although I know that mac KSEG1ADDR is not correct.
I simplified the setup based on your mach file.
Much simpler and does the same job
Can you further explain the issue with LEDs?
Also, you are using @pepe2k s modified U-boot?
haven't noticed at first you have tl_ap143_setup which is then called from within cpe210_v2_setup function- this was the code about LEDs and button; now you removed ath79_switch_data.phy4_mii_en = 1; - i don't know if it is needed, cpe has 2 eth ports? my device only 1.
Unfortunately not,but will order one since they are really cheap.
Only got Pi+Flashrom combo and some Pomona clips.
Looks like Flashrom support all of generic 25Q64 SPI Flash chips.
I am trying to port custom u-boot like @psyborg uses so GPIO pins are crucial.
Also @MartinS do RSSI LED use the same pins like in v1 or are they different?
Also @psyborg any chance of helping figuring out how to correctly configure ap143.h GPIO-s?
This is current one:
@psyborg I will try to find out what do GPIO 21 and 22 do.
They are not mentioned in mach file or anywhere else except this PR which looks weird to me since it misses a lot of stuff.
I dont think they are even used https://github.com/pepe2k/u-boot_mod/pull/161
Hm,my bootm adress matches CFG_ENV_ADDR of other devices.
That looks weird to me.
Also, its shame that TP-Link just linked same GPL sources for v2 that they have linked for v1.
They are obviously completely missing ap-143 configuration.
I have asked for real GPL sources, that would really ease this porting.