Skip to contentSkip to conversation

repurposing uboot's console UART after booting

U-Boot CAIannello 4 participants 4 messages Apr 24, 2011

lore
Share & tools
lore

CAIannello

author
#0 lore raw

Hi Everybody.

I'm fooling around with a Kindle 3G. I have it setup so I can SSH to it via Wifi, and I can also get a shell through the "accessory port" which happens to be the UART (ttymxc0) that U-Boot uses for console IO.

After booting, I would like to use this UART for other things besides shells and U-Boot status. I want to attach custom peripherals to it instead.

I tried killing the ttymxc0's shell process from my ssh session, but another one pops right up.

In case its not obvious, I'm new to linux, but eager to learn. If possible, I'd rather not rebuild/reinstall U-boot on this device. Instead, I would like to try to make U-Boot release the UART programatically after booting.

Any tips?

Thanks in advance for your help,
Craig

Signature · 2 lines
View this message in context: http://old.nabble.com/repurposing-uboot%27s-console-UART-after-booting-tp31463780p31463780.html
Sent from the Uboot - Users mailing list archive at Nabble.com.
#1 lore raw
Quoted 7 lines · CAIannello

I'm fooling around with a Kindle 3G. I have it setup so I can SSH to it via Wifi, and I can also get a shell through the "accessory port" which happens to be the UART (ttymxc0) that U-Boot uses for console IO.

After booting, I would like to use this UART for other things besides shells and U-Boot status. ?I want to attach custom peripherals to it instead.

Quoted 6 lines

I tried killing the ttymxc0's shell process from my ssh session, but another one pops right up.

In case its not obvious, I'm new to linux, but eager to learn. ?If possible, I'd rather not rebuild/reinstall U-boot on this device. ?Instead, I would like to try to make U-Boot release the UART programatically after booting.

this isnt a u-boot issue. once linux boots, u-boot has nothing to do with things. post your question to whoever your distro maker is. -mike

#2 lore raw
In reply to CAIannello
Quoted 5 lines · CAIannello

After booting, I would like to use this UART for other things besides shells and U-Boot status. I want to attach custom peripherals to it instead.

I tried killing the ttymxc0's shell process from my ssh session, but another one pops right up.

This has nothing to do with U-Boot. Linux typically uses the file /etc/inittab to specify whether to spawn login processes on serial lines. Look at that, along with the Linux man page for "init".

Signature · 1 line
Eric Cooper             e c c @ c m u . e d u
#3 lore raw
In reply to CAIannello

Dear CAIannello,

Quoted 6 lines · In message <[email protected]> you wrote:

After booting, I would like to use this UART for other things besides shells and U-Boot status. I want to attach custom peripherals to it instead.

I tried killing the ttymxc0's shell process from my ssh session, but another one pops right up.

CXheck /etc/inittab ...

Quoted 5 lines

In case its not obvious, I'm new to linux, but eager to learn. If possible, I'd rather not rebuild/reinstall U-boot on this device. Instead, I would like to try to make U-Boot release the UART programatically after booting.

Any tips?

Well, try posting on a mailing list that deals with Linux questions. This issue is in no way related to U-Boot.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"A complex system that works is invariably found to have evolved from
a simple system that worked."             - John Gall, _Systemantics_