Thanks for the information. Seems like I was on the right path then.
I also tried to change the port for the linux-image (in the defconfig), but it seems like it used the "original" settings. I saw something about DEBUG_LL setting, which I could not find the menuconfig (I could se in the defconfig that it was not set). How to enable this, so I can change the DEBUG port in the linux image? Best regards, Niklas On Mon, Feb 24, 2014 at 7:45 AM, Fabio Estevam <[email protected]> wrote: > On Mon, Feb 24, 2014 at 12:31 PM, Niklas Molin <[email protected]> > wrote: > > Hi. > > > > I'm working on a custom board and basing my image on the SabreSD board. > > We used UART2 as Debug console port and wonder how I change from UART1 to > > UART2 for the DEBUG console port? > > This is more a question to the U-boot list. Not really meta-fsl-arm > related. > > > > > Got u-boot I found mx6sabresd.h and changed CONFIG_MXC_UART_BASE to > > UART2_BASE. > > Do I also need to change CONFIG_CONSOLE_DEV to ttymxc1, or can I still > use > > ttymxc0? > > You need to use ttymxc1. > > > For the Linux-image I found in defconfig: > > CONFIG_CMDLINE(which includes the ttymxc and CONFIG_DEBUG_IMX_UART_PORT, > > which I'll change to 2. > > > > I just wanted to check if this is the right approach? > > > > Do I need to change the ttymxc number or is it enough to change the UART > > port number? > > Make sure you also change the configuration of the UART pads IOMUX to > the correct ones that are used by your hardware. > > Regards, > > Fabio Estevam >
_______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
