Hi Stefan,

On Tue, Sep 8, 2015 at 11:34 AM, Stefan Johansson <stefan.johansson@t2data.com> wrote:

Hi,

 

We would need to use UART2 in final stages of A-T-F. (UART0 and UART3 works fine)

We seem to be able to initialize and direct prints but nothing is transmitted at UART2 TX.

Have anybody successfully used UART2 for log prints ?


I've never tried to use UART2 but I found this which might be remotely relevant:
https://github.com/96boards/l-loader/commit/5f9a3a00ab1eeb4be021cda4241d8ad09a675f77

This commit claims that it will initialize UART3. I have no idea why this would belong to l-loader and not to ARM TF and/or UEFI but anyway, I thought maybe something similar is needed for UART2?

HTH,

-- 
Jerome

 

Thanks,

Stefan

 

---

 

/plat/hikey/platform.mk:

-CONSOLE_BASE           :=      PL011_UART3_BASE
-CRASH_CONSOLE_BASE     :=      PL011_UART3_BASE
+CONSOLE_BASE           :=      PL011_UART2_BASE
+CRASH_CONSOLE_BASE     :=      PL011_UART2_BASE

/plat/hikey/hikey_def.h:

+#define PL011_UART2_BASE        0xF7112000

 


_______________________________________________
Dev mailing list
Dev@lists.96boards.org
https://lists.96boards.org/mailman/listinfo/dev