Project

General

Profile

console redirection

Added by Scott Whitney almost 13 years ago

Hello,
We are using a MItyDSDPL138 with the MityDSP baseboard. We want to use uart1 on the baseboard to interface with a serial device and redirect console output through uart2. I will need to change the console in both uBoot and in the kernel correct? If I dork up the console in uboot is there any way to reload it if I don't have a console input/output? thanks, Scott


Replies (3)

RE: console redirection - Added by Michael Williamson almost 13 years ago

Hi Scott,

For the kernel, you should only need to change the console argument in the bootargs (assuming the pinmux settings are ok for the other serial port) to point at ttyS2.

For u-boot, if you mess it up, you can recover using the procedure for programming a dead board using the serial flash unity on windows.

-Mike

RE: console redirection - Added by Michael Williamson almost 13 years ago

Hi Scott,

For the kernel, you should only need to change the console argument in the bootargs (assuming the pinmux settings are ok for the other serial port) to point at ttyS2.

For u-boot, if you mess it up, you can recover using the procedure for programming a dead board using the serial flash unity on windows.

-Mike

RE: console redirection - Added by Scott Whitney almost 13 years ago

Mike,
So then I just need to change the bootargs to use ttyS2 instead of ttyS1 and the linux kernel console will be directed out uart2? At this point I will leave uboot output on uart1. It is good to know it shouldn't be too hard to fix a board if I mess it up. thanks, Scott

    (1-3/3)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)