I've got OpenWRT running on rootfs, now attempting to get the NICs working properly. Long way to go, no idea what I'm actually doing besides attempting some existing settings from other similar devices into this one. I'd appreciate some guidance
Thanks, this one and the Xiaomi AX3000 are the ones I've taking parts from. I will keep trying but still no results. The only NIC adapter on ifconfig is still the loopback. Am I missing something?
have you started a git repo to prepare the pr so we can take a look ?
have you added entries in 02_network and or 11_ath11k_caldata ? Have you adjusted the dts to openwrt format ? ... have you harvested the board bdfs and added them and entries for them to ipq-wifi ?
Its hard to say when i have no idea of what you've done to this point. As i suggested, go through a successfully merged pr for a similar device. You'll almost certainly have to add/edit the same files with the pertinent info from your device as the mock device. Perhaps look at my thread on adding the gl-b3000, its lengthy but all the info needed to do the port and how to use the certain tools necessary to accomplish it can be found within in somewhat layman terms.
Make the effort, and ask questions when you're stuck and I'll help out when i can .. as will others
I can boot into openwrt that does nothing and switch back to rootfs_1 with the factory image.
I've been flashing it using the patcher with the generated initrams.ubi based on latest openwrt (main branch) just because it has ipq5018 related files.
Currently looking into @hostle changes while also setting up a repo.
Thanks for jumping in, I have almost no idea of what I'm doing or looking for so it is quite hard to ask specifics. Following your topic structure and repo request:
if you go thru the pr's there is only about 9-12 files that need to be modified or added in most cases. I would recommend you start on the dts. The will be the biggest part of the port, but on the other hand will help fill in the blanks in the other files that need to be modified later on.
Its a lot of work, but its very doable if you take the time read thru the forums and gather the bits of info you need to fill in the blanks as you go.
If you decided to take it on, your work flow should be something like the following ..
1. save boot logs and backup each partition on your device
2. prepare the openwrt style dts for your device using the original dts to compare against the
dts of a supported device, most similar to yours
3. determine the proper board bdf's by searching from them being downloaded in the stock boot log
4. locate the board bdf's in the wifi partition of your backups and use the bdf tool to prepare them for use in openwrt
5. add the entry for your device in the ipq-wifi makefile and place the bdfd's in the src folder within the ipq-wifi package
6. add the entry for your device in uboot-envtools
7. add the entries for your device in 02_network and ath11k_caldata
at this point you are ready to start testing firmware ...