Skip to contentSkip to conversation

How to change UART1 to UART3 on i.M6Q?

Buildroot Julia Ding 2 participants 3 messages Feb 23, 2018 – Feb 26, 2018

lore
Share & tools
lore
#1 lore raw

Hi Julia,

Quoted 7 lines · Julia Ding

I'm using 'imx6-sabresd_qt5_defconfig' this config.

I want to change UART1 to UART3.

Don't know how to change it.

Can someone give me some clue? Thanks.

I assume that you you want the console over UART3 instead of UART1.

At the Buildroot configuration you only need to change the value of BR2_TARGET_GENERIC_GETTY_PORT from ttymxc0 to ttymxc2.

Whether this works or not depends also on the kernel device-tree. Specifically, pin-control, pin-mux, and UART settings. You might also need to change the U-Boot configuration. This is just a clue, as you asked. The details are not in scope for this list.

baruch

Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -