On Tuesday 25 January 2011 14:51, Michal Simek wrote: > Denys Vlasenko wrote: > > On Monday 24 January 2011 21:03, Peter Korsgaard wrote: > >>>>>>> "Jim" == Cathey, Jim <[email protected]> writes: > >> This thread started by Michal, who's trying to use a very slow > >> serial-over-jtag setup on microblaze, and had issues with characters > >> getting lost when getty started up (because of the tcflush), so we > >> wanted to add a tcdrain() instead. > > > > Unfortunately, Michal did not provide much of information: > > what is the speed of his serial link? > > There is no HW setting about baudrate in HW. It is Jtag hw console - > xilinx mdm IP. It is compatible with uartlite Kernel driver. > http://www.xilinx.com/support/documentation/ip_documentation/mdm.pdf
But it does work at SOME speed, right? How many chars per second do you see appearing on the screen? > Some logs below. > > Thanks, > Michal > > > 1. Current behavior: > > [ 42.297299] < 0.417384> Running local start scripts. > [ 42.499939] < 0.202640> Mounting sysfs: > [ 42.912690] < 0.412751> mdev: initialising /dev > [ 43.120934] < 0.208244> Mounting /etc/config: > [ 43.523944] < 0.403010> Populating /etc/config: > [ 44.528967] < 1.005023> flatfsd: Created 8 configuration files (168 net > eth0: Promiscuous mode > disabled. > [ 44.529072] < 0.000105> bytes) > [ 44.736594] < 0.207522> Mounting devpts: > [ 45.137225] < 0.400631> Setting hostname: > [ 45.536748] < 0.399523> Bringing up network interfaces: > [ 45.739614] < 0.202866> udhcpc (v1.18.2) started > [ 46.137376] < 0.397762> Sending discover. > [ 47.229770] < 1.092394> > Xilinx-SP605-LTP-full-WB-pc-msr-next-22-watch-wt-mdm login: > > > > 2. sleep(3): > [ 45.882825] < 0.405516> Bringing up network interfaces: > [ 46.082834] < 0.200009> udhcpc (v1.18.2) started > [ 46.483630] < 0.400796> Sending discover... > [ 46.884336] < 0.400643> Sending select for 192.168.0.100... > [ 47.482714] < 0.598378> Lease of 192.168.0.100 obtained, lease time 7200 > [ 47.878229] < 0.395515> Starting portmap: > [ 47.878281] < 0.000052> > [ 47.878298] < 0.000017> Welcome to > [ 48.474868] < 0.596570> _____ _ _ _ > [ 48.877371] < 0.402503> | ___ \ | | | | (_) > [ 49.264710] < 0.387339> | |_/ / ___ | |_ __ _ | > [ 50.058137] < 0.793427> > Xilinx-SP605-LTP-full-WB-pc-msr-next-22-watch-wt-mdm login: Looks like the speed is less than 100 chars/sec. -- vda _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
