Please forgive my rudeness.
Is this post attempting to run native openWrt on IPQ5018 devices?
I have a Xiaomi AX6000 that also uses this CPU, and I would like to receive a hint from here. My current ability is limited to installing Openwrt for devices (such as Redmi AX6000) according to the existing content in the wiki. What do I need to learn? Or what keywords should I search for?
If you could give me some guidance, I would be extremely grateful.
This is the second device that is looking to get accepted by native Openwrt, the first was the Linksys MX5500:
I'd recommend opening your own thread, opening the housing and detailing the serial port, etc.
Thanks for your reply. I'm already opening the housing and upload the images, but, there is no solder joint indicating it is a serial port.
This is my circuit board. I guess the four holes on the angle measurement are serial ports, but I don't know how to test them
jb1 sure looks like a uart header ...have you tested it with multi meter ? It looks like vendor has removed resistor for rx .. you'll need to bridge it with small resistor or a blob of solder
emmm, no, what should I test? Resistance? Voltage? Or what else?
test for voltage, it should be ~1.8v or ~3.3v
EDIT looks to me like it maps like this
jp1
o - rx likely low .. 0v <-- will need to be bridged
o - vcc 1.8 or 3.3v steady
o - gnd
o - tx fluctuates 0-1.8v or 0-3.3v on reboot
board edge
I tried it.
Or I should edit it like this?
j81
o - vcc 1.8 or 3.3v steady
o - gnd
o - rx likely low .. 0v <-- will need to be bridged
o - tx fluctuates 0-1.8v or 0-3.3v on reboot
board edge
I can't clearly gnd and rx...
ok so like this
j81
o - vcc 1.8v
o - rx <-- needs to be bridged
o - gnd
o - tx 1.8v
you need a 1.8v usb ttl converter ..something simular to --> 1.8v / 3.3v / 5v configurable usbttl adapter
Could arduino take on zhis job? Like this
no arduino is uart is 5v, you would need a 5v to 1.8v level shifter. I think results would be flaky at best even with the shifter. you can get a 1.8v ttl for 1-2$ if you look around. I just find the universal one to be the best buy as it covers most all embedded devices.
OK, I bought it, I will reply to you after receiving the goods
windows, driver for the ttl-usb is ready
ok, so upon a second look, i don't think you'll need to connect the missing resistor. Going from what you've provided, you've got power on the pin 1, despite with the missing resistor at point (R6816). With this I would assume the pinout to be
ROUTER <-------------------> TTL
o- vcc ------>No connection
o- rx --------> connect to TX on TTL
o- gnd -----> connect to GND on TTL
o- tx--------> connect to RX on TTL
are you using a linux station or windows ?
windows, driver for the ttl-usb is ready
I got something by putty, what should I sand out?
SSH is unlock , should I restore factory settings?
wouldn't hurt to reset to factory. i would create a backup first...
afterwards grab the complete bootlog from putty and post.
May be useful - I was able to use https://github.com/openwrt-xiaomi/xmir-patcher to get SSH, dump partitions etc after downgrading firmware to 1.0.5.1 (miwifi_ra72_firmware_b0f85_1.0.51.bin). Away from device for a few days but happy to get data from device if needed (also have serial if needed).
Okay, I've captured all the output from power-on until SSH becomes ready (without performing a factory reset - I'll do the factory reset later if needed). What should I send you now? All of them?
Thank you! My device is now accessible via SSH. We're currently working on obtaining native OpenWrt support for it.