How to connect to console in HiKey970 in Android


#1

Hi all,

I’ve successfully installed official AOSP from 96Boards (I got the images from: https://www.96boards.org/documentation/consumer/hikey/hikey970/downloads/aosp.md.html).

I can see the debug output when I connected to UART6 port via DEBUG_UART6_TXD and DEBUG_UART6_RXD but I can’t send any commands via it.

Could you help me how I can connect to a terminal console of my Android?

Thank you in advance


#2

Which kind of adapter are you using to connect your host computer to the UART?


#3

Im using this one, 1.8V:


#4

+1 on the issue: @Mani did you have any luck with this?
@mikluz what is your board revision?


#5

@ric96 @mikluz No :frowning: I’m also facing the same issue. Will debug more and let you know.


How can you tell if the HiKey 970 is booting up
#6

@mikluz @ric96

So the console input only works with on-board Type C debug UART port (on the left side near LS expansion header). Not on LS-UART1. I’d say that this could be a hardware issue.

The on-board debug UART port will be enumerated as ttyXRUSB.

Hope this helps!

Thanks,
Mani


#7

Yes,
that is correct. UART6 doesn’t provide TX channel, you can only read out messages using RX pin.

So, to be able to see the console output you need to connect to USB-C port. This allows you to read and send commands.


#8

Hi @mikluz. I’ve been trying to debug my hikey970 board using the USB-C port, but TX doesn’t seem to be working. Is there a particular setup you needed to do in order to get this working?

Cheers!


#9

been looking for info on this too.
seems it is not connected or something like that.