Re: [PATCH] ARM: rpi: refactor debug UART Kconfig settings.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4. 03. 19 09:04, Sascha Hauer wrote:
So that said, even with a debug UART enabled for Rpi1 we should still
allow to build for Rpi2/3 although we know it won't work there.

The reason is you might get failures only when multiple SoCs are
selected. In that case you only want to enable early debugging support
(for the SoC you are currently testing on) without changing other things
in the config which might make your errors disappear.

Thanks for the clarification. I've sent another patch series that removes the restriction for board builds and adds the help text.

On the topic of the debug UART, I've also noticed that it's a bit tricky to get it running on Raspberry Pi 3. The problem is that the debug UART is using PL011 hardware, but the console is now using miniuart.

In addition to enabling it in menuconfig, I have to reverse the commit ab76f9d0 (switch to miniuart for stdout in the device tree) and keep "dtoverlay=pi3-miniuart-bt" in "config.txt" (instruction for this was removed in f1330536).

Best regards
Tomaž

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux