Hello!
I work with BusyBox v1.20.2 and iMX53 processor.
Reference board QuickStartBoard-R (QSB) work with UART0 and have follow line in inittab:
::respawn:/sbin/getty -L ttymxc0 115200 vt100

I can't use UART0 because it multiplexed with camera sensor interface (CSI0), I should use another UART and I use UART1.
For this I reconfigure UART in Linux and change inittab on this:
::respawn:/sbin/getty -L ttymxc1 115200 vt100
While board is booting I see Linux output and login prompt, follow console output:
...........................
USB Video Class driver (v0.1.0)
MXC WatchDog Driver 2.0
MXC Watchdog # 0 Timer: initial timeout 60 sec
VPU initialized
gpu mmu enabled
mxsdhci: MXC Secure Digital Host Controller Interface driver
mxsdhci: MXC SDHCI Controller Driver.
mmc0: SDHCI detect irq 0 irq 1 INTERNAL DMA
TCP cubic registered
NET: Registered protocol family 17
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 2
mxc_rtc mxc_rtc.0: setting system clock to 1970-01-01 00:00:00 UTC (0)
Warning: unable to open an initial console. // starting BusyBox output
Freeing init memory: 3640K
g_ether gadget: using random self ethernet address
g_ether gadget: using random host ethernet address
usb0: MAC 5a:90:3c:8f:81:56
usb0: HOST MAC b2:97:85:6d:b9:f1
g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
g_ether gadget: g_ether ready
fsl-usb2-udc: bind to driver g_ether
g_ether gadget: high speed config #1: CDC Ethernet (ECM)
(none) login:

But after login prompt I can't control board via UART, I input command and not see any output or reason on my command. I think BusyBox change control UART or it can't work with another UART.
As quick solve I add ssh server and I can control board via it.

After booting driver create some UART devices:
~ # ls -l /dev/ttymxc*
crw-rw----    1 root     root      207,  16 Jan  1 00:00 /dev/ttymxc0
crw--w----    1 root     root      207,  17 Jan  1 00:01 /dev/ttymxc1
crw-rw----    1 root     root      207,  18 Jan  1 00:00 /dev/ttymxc2
crw-rw----    1 root     root      207,  19 Jan  1 00:00 /dev/ttymxc3
crw-rw----    1 root     root      207,  20 Jan  1 00:00 /dev/ttymxc4

How can I solve this problem?

Thank you and excuse me my bad english.

--
Best regards,
Brilliantov Kirill Vladimirovich
…………………………………………………………………
programmer, technical department
Byterg LLC
…………………………………………………………………
+7(495)221-66-22
http://www.byterg.ru    http://www.bestdvr.ru
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to