![:p :P](./images/smilies/razz.png)
Ils vont chercher des idées de plus en plus loin, chez TI
![:p :P](./images/smilies/razz.png)
root@debian:/home/critor# lsusb
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0451:e003 Texas Instruments, Inc. TI-84 Plus Calculator
root@debian:/home/critor# modprobe usbserial vendor=0x0451 product=0xe003
root@debian:/home/critor# cat /dev/ttyUSB0 &
In: serial usbtty touch keypad
Out: serial usbtty lcd
Err: serial usbtty lcd
omap_toto #
root@debian:/home/critor# echo help > /dev/ttyUSB0
h
? - alias for 'help'
autoscr - run script from memory
base - print or set address offset
bdinfo - print Board Info structure
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootm - boot application image from memory
bootp - boot image via network using BootP/TFTP protocol
chpart - change active partition
cmp - memory compare
coninfo - print console devices and informations
cp - memory copy
crc32 - checksum calculation
deregister - Remove an I/O device from use
dhcp - invoke DHCP client to obtain IP/boot params
echo - echo args to console
erase - erase FLASH memory
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
flinfo - print FLASH memory information
fsinfo - print information about filesystems
fsload - load binary file from a filesystem image
go - start application at address 'addr'
help - print online help
iminfo - print header information for application image
imls - list all images found in flash
loadb - load binary file over serial line (kermit mode)
loads - load S-Record file over serial line
loop - infinite loop on address range
ls - list files in a directory (default /)
md - memory display
mm - memory modify (auto-incrementing)
mmcinit - init mmc card
mtest - simple RAM test
mw - memory write (fill)
nand - NAND sub-system
nboot - boot from NAND device
nm - memory modify (constant address)
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
register - Register an I/O device for use
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
setslink - select device to use for loadb/loads transfers
sleep - delay execution for some time
tftpboot- boot image via network using TFTP protocol
tiboot - boot linux uImage or zImage kernel in a jffs2 partition on Toto board
tidiag - perform Toto board diagnostics
tiinstallos - install OS to Toto board NAND flash
version - print monitor version
omap_toto #
root@debian:/home/critor#
root@debian:/home/critor# echo version > /dev/ttyUSB0
U-Boot 1.0.0 (Jan 13 2004 - 15:33:07)
omap_toto #
root@debian:/home/critor#
root@debian:/home/critor# echo nand info > /dev/ttyUSB0
Device 0: Toshiba TC58256FT/DC at 0x4000000 (32 MB, 16 kB sector)
omap_toto #
root@debian:/home/critor#
root@debian:/home/critor# echo flinfo > /dev/ttyUSB0
Bank # 1: Fujitsu: 1x MBM29LV400TC (4Mbit)
Size: 512 KB in 11 Sectors
Sector Start Addresses:
00000000 (RO) 00010000 (RO) 00020000 (RO) 00030000 (RO) 00040000
00050000 00060000 00070000 (RO) 00078000 (RO) 0007A000 (RO)
0007C000 (RO)
omap_toto #
root@debian:/home/critor#
root@debian:/home/critor# echo mmcinit > /dev/ttyUSB0
Found SD card,1030225920 bytes
omap_toto #
root@debian:/home/critor#
root@debian:/home/critor# echo tidiag > /dev/ttyUSB0
Select the test to run.
<TAB> for utilities. <ESC> to quit.
<0> --------- Backlight ------- not tested!
<1> --------- Piezo ------- not tested!
<2> --------- RTC ------- not tested!
<3> --------- LCD ------- not tested!
<4> --------- USB Client ------- not tested!
<5> --------- Touchscreen ------- not tested!
<6> --------- GPIO/ARMIO ------- not tested!
<7> --------- Memory ------- not tested!
<8> --------- Keypad ------- not tested!
<9> --------- Audio Codec ------- not tested!
<A> --------- Power Down ------- not tested!
<B> --------- Battery Door ------- not tested!
<C> --------- Battery Power ------- not tested!
<D> --------- USB Host ------- not tested!
<F> --------- Wifi connection ------- not tested!
<G> --------- Start RadioScope ------- not tested!
<H> --------- SD/MMC (Internal) ------- not tested!
<I> --------- SD/MMC (External) ------- not tested!
<J> --------- USB Expansion Port ------- not tested!
<K> --------- McBSP1 Expansion ------- not tested!
<L> --------- Comm Port Module ------- not tested!
<W> --------- Update OS from SD/MMC ------- not tested!
Software Version: Jan 13 2004, 15:33:20
root@debian:/home/critor#
root@debian:/home/critor# echo tiboot > /dev/ttyUSB0
NAND read: device 0 offset 0, size 1114112 ...\ 1114112 bytes read: OK
### JFFS2 loading 'uImage' to 0x10600000
Scanning JFFS2 FS: . done.
### JFFS2 load complete: 814142 bytes loaded to 0x10600000
## Booting image at 10600000 ...
Image Name: Linux Kernel Image
Image Type: ARM Linux Kernel Image (gzip compressed)
Data Size: 814078 Bytes = 795 kB
Load Address: 10c08000
Entry Point: 10c08000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...