Jump to content

Enabling UART A on the ODROID N2/N2+


allanmac

Recommended Posts

In my quest to use an ODROID N2 as a time server, I had to figure out how to enable UART_EE_A.

 

Device trees for other boards sometimes enable UART A in the base device tree but the ODROID N2/N2+ does not.

 

I am not sure why device trees don't fully define devices like UART_A and then just leave them disabled instead of partially defining them with missing "pinctrl" entries (as in the N2 device tree).

 

Anyway, I've attached `meson-g12b-odroid-uart-ee-a.dtso` as an example of how to enable UART_EE_A.

 

Additionally:

  • The DT overlays for Meson UARTs (e.g. `/boot/dtb/amlogic/overlay/meson-uartA.dtbo`) are not compatible with the N2.  It's a source of confusion for new users.
  • I noticed a problem in the current `armbian-config` scripting.  I originally named the overlay as `meson-g12b-odroid-uartA` but selecting it would also enable `meson-uartA`.  Probably a regexp/sed issue. 

 

 

meson-g12b-odroid-uart-ee-a.dtso

Link to comment
Share on other sites

Armbian & Khadas are rewarding contributors

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines