How to get UART console access on Custom oWRT builds (for the spitz/x750)

Hi there.

Quick question.

When building an oWRT image from scratch using the gl-inet repo, it appears that the serial console is disabled. How do i fix this? I would like to be able to use the serial port to get into the device.

Currently, the value is

CONSOLE := null,115200

and i want to know if

  CONSOLE := ttyATH0,115200

or

  CONSOLE := ttyS0,115200

will be the correct value

or is there anything else that i need to do (packages i need to (de)select with make menuconfig) in order to get the UART console login working?

Thanks!

You can using ttyS0

CONSOLE := ttyS0,115200

As I know, the UART is connected to the Bluetooth module. Your firmware will send all the output to the bluetooth module. If you don’t have the module that should be OK.

@luochongjun Thanks. I’ll give that a try. Do you know why it’s ttyATH0 for some units and ttyS0 for others?

@alzhao I am talking about the UART that’s exposed on the PCB as 4 unpopulated pins… next to the SIM slot and the USB port. I thought that the BT module was built in to the radio as i can see the “scan for BT devices” on the web interface… but i never do get any “results” back from a scan :/.

Is that correct? I have an unpopulated portion of the PCB next to the USB port that looks like some sort of module on board could be soldered there… i thought that the area was for the optional zigbee or zwave module.

Is blue tooth optional on this unit, too? Or, is there a way that i can tell what radios the unit has by looking at the model number or serial number or similar?

AR933x is ttyATH0, specific driver implementation

Can you give a photo of the PCB? Pls also tell me where you bought this.

Hi Aunixsystem,
Would you please provide your purchase channel and order number/id ?
Thanks!

@alzhao Here’s the PCB w/ the unpopulated area. I don’t know where it was ordered from… i believe from the gl-inet website, but i would need to confirm with the person that bought it.

It does not have BLE module. Pls check where you bought this.

@alzhao

this was purchased from the gl-inet web shop about 6 weeks ago

If you buy from GL web shop. It is supposed to have BLE. If not, pls just contact cs@gl-inet.com

If anybody else comes across this thread in the future:

It is possible to order the unit w/o a BTLE radio. I saw the section in the UI where you could scan for BTLE devices and assumed that the radio was built into the SoC and figured that the unpopulated section on the board was for zigbee/zwave/lora… etc.

But that assumption was false. The SoC only has wifi radios. This explains why the stock firmware does not support a console via UART.