Hello everyone , based on information from this topic , I was able to run the firmware on my archer c6u (RU version) with a working switch , I needed to edit reset.c , dts file and also edit tplink_safeloader.c to add the special_id from my device , but I don't understand how to add my edits to the pull request , and so I left a comment in conversation about this pull request , but even this I didn't succeed , so I have a request to correctly issue these patches so that soon you can already build firmwarte without any problems
Link on my comment: https://github.com/openwrt/openwrt/pull/3757#issuecomment-771599191
It is not common for a pull request to have commits from multiple authors.
when the pull request is accepted, you are welcome to create a new pull request that adds a profile to the makefile and the special_id to tplink_safeloader.c for your RU version.
but my device is the same, just with a different special_id, and I suppose that most likely ethernet in the dts file would also be worth registering for both versions (RU and EN), although of course it would be worth checking for the EN version first before confirming, but unfortunately I do not have it, otherwise the configuration, as far as I can tell, is identical , otherwise, I would of course try to create a new pull request
I understood correctly that the pull request that i commented on was rejected , which means that i can add my own pull request? And has anyone posted a patch that reigns reset.c ?
Sysupgrade of Openwrt is broken in development or main branch,
- watchdog -
killall: telnetd: no process killed
Wed Feb 3 17:46:05 UTC 2021 upgrade: Sending TERM to remaining processes ... logd rpcd sh ubus hostapd wpa_supplicant netifd odhcpd uhttpd ntpd[262483.902962] device wlan0 left promiscuous mode
dnsmasq[262483.907783] br-lan: port 6(wlan0) entered disabled state
ubusd urngdsh: S: out of range
sh: S: out of range
[262483.970913] device wlan1 left promiscuous mode
[262483.975639] br-lan: port 5(wlan1) entered disabled state
Wed Feb 3 17:46:08 UTC 2021 upgrade: Sending KILL to remaining processes ...sh: S: out of range
sh: S: out of range
[262488.081822] sh (13246): drop_caches: 3
Wed Feb 3 17:46:09 UTC 2021 upgrade: Switching to ramdisk...
Wed Feb 3 17:46:12 UTC 2021 upgrade: Performing system upgrade...
[262490.959932] sh (13246): drop_caches: 3
Could not open mtd device: firmware
Can't open device for writing!
cat: write error: Broken pipe
[262490.979479] reboot: Restarting system
sysupgrade aborted with return code: 256
yes it was not defined, as we are maintaining OS and Rootfs different partitions. Merging them had some other issue, OEM/Bootloader changing partition table, and bricking the device.
@mpratt14 will give a try. TP-link-safeloader.c partition table is from the dump of OEM firmware using tp-link tool available in scripts folder. But Operwrt partition layout was similar to C6U, as lengths were same.