Changeset 3618


Ignore:
Timestamp:
Mar 16, 2013, 12:27:46 AM (2 years ago)
Author:
quozl
Message:

OLPC XO-1.5 - add serial terminal

Location:
cpu/x86/pc/olpc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpu/x86/pc/olpc/terminal.fth

    r3575 r3618  
    183183;
    184184
     185\
     186\ FIXME: XO-1, seen only once, ukey? did stop returning true, and ukey
     187\ therefore hung waiting for ukey?
     188\
     189\ condition was cleared by  0 uart@  despite ukey? returning false
     190\
     191\ when it occurs again, try looking at fifo error summary bit, and
     192\ line status reg, and consider comment from 16550.fth:
     193\
     194\ "I have seen conditions where a UART will report, via an interrupt,
     195\ that a character is available, but the line status register won't
     196\ report it."
     197\
     198
    185199: use-uart
    186200   uart-console-off
     
    201215: usb-open  ( -- )
    202216   " /usb/serial" open-dev ?dup if  to serial-ih  exit  then
    203 [ifdef] olpc-cl1
    204    " /usb@f,4/serial" open-dev ?dup if  to serial-ih  exit  then
    205    " /usb@f,5/serial" open-dev ?dup if  to serial-ih  exit  then
    206 [then]
     217   [ifdef] olpc-cl1
     218      \ XO-1.5
     219      " /usb@10/serial" open-dev ?dup if  to serial-ih  exit  then
     220      \ XO-1
     221      " /usb@f,4/serial" open-dev ?dup if  to serial-ih  exit  then
     222      " /usb@f,5/serial" open-dev ?dup if  to serial-ih  exit  then
     223   [then]
    207224   true abort" can't open USB serial adapter"
    208225;
  • cpu/x86/pc/olpc/via/fw.bth

    r3545 r3618  
    744744fload ${BP}/cpu/x86/pc/olpc/charge.fth     \ Fancy battery charge logger
    745745fload ${BP}/cpu/x86/pc/olpc/diskspeed.fth  \ Mass storage speed test
     746fload ${BP}/cpu/x86/pc/olpc/terminal.fth   \ Serial terminal emulator
    746747fload ${BP}/cpu/x86/pc/olpc/apt.fth        \ Common developer utilities
    747748
Note: See TracChangeset for help on using the changeset viewer.