I was able to get UART access and fixed some issues with the install script.
There is one issue that I haven't worked out, but doesn't prevent installation:
IPQ807x# tftpboot 0x44000000 ${factoryimg}
ipq807x_eth_halt: done
eth0 PHY0 Down Speed :10 Half duplex
eth0 PHY1 Down Speed :10 Half duplex
eth0 PHY2 Down Speed :10 Half duplex
eth0 PHY3 up Speed :1000 Full duplex
eth0 PHY4 Down Speed :10 Half duplex
eth0 PHY5 Down Speed :10 Half duplex
ipq807x_eth_init: done
Using eth0 device
TFTP from server 192.168.1.10; our IP address is 192.168.1.250
Filename 'openwrt-ipq807x-generic-dynalink_dl-wrx36-squashfs-nand-factory.ubi'.
Load address: 0x44000000
Loading: *
Got TFTP_OACK: TFTP remote port: changes from 69 to 59542
#################################################################
...
#########################################
3.6 MiB/s
done
Bytes transferred = 22544384 (1580000 hex)
ipq807x_eth_halt: done
IPQ807x# imxtract 0x44000000 ubi
Invalid image type for imxtract
I am wondering if imxtract has been modified to look for a custom header? Either way, this correclty exposes $fileaddr and $filesize that are used by nand write and everything subsequent works as it should.
@robimarko do you have any views on using this install script or a variation of it for the install method?
I dont really have an opinion right now, haven't touched the Dynalink in a while.
imxtract and all other image commands only work on FIT images.
We can actually do what QCA does and that is make a FIT image with a installation script inside
any chance of syncing your repo with the openwrt master (just seen you have done it for ax3600)?
so far all working fine with this device for my use case apart from the reverse order of lan/wan devices that I reported earlier but not a showstopper. All else stable, memory etc ...
System works fantastic! The only thing that does not work on my side is sysupgrade. I always need to tftp the initramfs and ubiformat the factory image ...
I am also not able to switch to mtd20, my system is constantly booting from mtd18 no matter what I do ...
I have been trying to refresh the build with the latest master but having trouble with ath11k starting ..basically get everything started apart from ath11k
I am getting the following
[ 9.207566] ath11k c000000.wifi: ipq8074 hw2.0
[ 9.784091] ath11k c000000.wifi: failed to boot the remote processor Q6
[ 9.789187] ath11k c000000.wifi: failed to power up :-12
[ 9.815897] ath11k c000000.wifi: failed to create soc core: -12
[ 9.815939] ath11k c000000.wifi: failed to init core: -12
[ 9.820759] ath11k: probe of c000000.wifi failed with error -12
any clues on what is hapening?
I pushed a branch with fixed port ordering and partition switching/bootcount in case you want to use it. This is based off robimarko's ipq8074-5.15-pr branch rather than the dynalink one.