Hi,
We are working a new board which has just come after assembly. We got it from one of our customers who wanted us to port OS to this board. Now are working on porting Uboot, kernel , OS based on Yocto project.
How can we setup serial console so that in boot mode we could able to see the messages.
This board doesn't have serial port (DB9), but has UART also doesn't have any LCD/monitor on board. Is there any way
Hi Srinivasa
one can look at software for Sabre AI (uses UART4) and Sabre SD (UART1),
in particular in uboot../include/configs/mx6qsabreauto.h, mx6sabresd.h
definitions like #define CONFIG_MXC_UART_BASE UART4_BASE,
console kernel boot parameter
also check attached Porting Guide Chapter 3 Registering a New UART Driver
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
HI ,
I am also facing the same problem . The default console given for our board is at UART1 bu I change it to UART 2.For that I made the below changes:
#define CONFIG_MXC_UART_BASE UART2_BASE
#define CONFIG_CONSOLE_DEV "ttymxc1"
also configured the UART in customboard.c file like
iomux_v3_cfg_t const uart1_pads[] = {
MX6_PAD_SD3_DAT7__UART1_TX_DATA | MUX_PAD_CTRL(UART_PAD_CTRL),
MX6_PAD_SD3_DAT6__UART1_RX_DATA | MUX_PAD_CTRL(UART_PAD_CTRL),
MX6_PAD_SD3_DAT1__UART1_RTS_B | MUX_PAD_CTRL(UART_PAD_CTRL),
MX6_PAD_SD3_DAT0__UART1_CTS_B | MUX_PAD_CTRL(UART_PAD_CTRL),
};
static void setup_iomux_uart(void)
{
imx_iomux_v3_setup_multiple_pads(uart1_pads, ARRAY_SIZE(uart1_pads));
imx_iomux_v3_setup_multiple_pads(uart2_pads, ARRAY_SIZE(uart2_pads));
}
int board_early_init_f(void)
{
setup_iomux_uart();
}
After doing all these changes when we connect the board its showing garbage value. Please Suggest the solution.
Regards,
hrushi