All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Raspberry Pi Compute Module 1 mini-UART
@ 2019-11-25 20:47 edrose
  2019-11-26 18:09 ` Matthias Brugger
  0 siblings, 1 reply; 5+ messages in thread
From: edrose @ 2019-11-25 20:47 UTC (permalink / raw)
  To: u-boot

Hi,

I'm working on a project that uses the Raspberry Pi Compute Module 1. Much
like the CM 3, the CM 1 has two UART interfaces - the main UART at ttyAMA0,
and a second "mini-UART" at ttyS0. The project uses the main UART since it
works better at high speeds, so the console has been bumped over to the
mini-UART. This works fine for kernel messages and as a TTY console for
logging in and interacting with the device, however I've been unable to get
u-boot to present it's console over the mini-UART.

I've worked deep enough into this to know that u-boot doesn't use the device
tree that is set-up in config.txt, so the parameters that I've put in there
to activate and remap the mini-UART (UART1 in dts files) to pins 40/41
doesn't apply to u-boot. I'm using the bcm2835-rpi-b dts file currently
since it's the best fit for the hardware, but it leaves the mini-UART port
disabled. I've tried playing around with the dts files to enable/remap the
mini-UART port however I've been unsuccessful.

Can anyone give me any pointers as to how I modify the dts files to enable
and map the second UART for u-boot to be able to use it?

Kindest regards,
Ed



--
Sent from: http://u-boot.10912.n7.nabble.com/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-12-03 20:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-25 20:47 [U-Boot] Raspberry Pi Compute Module 1 mini-UART edrose
2019-11-26 18:09 ` Matthias Brugger
2019-11-27 10:56   ` edrose
2019-11-29 16:34     ` edrose
2019-12-03 20:14       ` edrose

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.