26.04.2012, Первые слова Альпаки-3
Материал из SRNS
Korogodin (обсуждение | вклад) (→Update 26.04 20:54) |
Korogodin (обсуждение | вклад) (→Update 26.04 20:54) |
||
Строка 112: | Строка 112: | ||
Scanning JFFS2 FS: done. | Scanning JFFS2 FS: done. | ||
+ | |||
+ | VAR-SOM-AM35 # bdinfo | ||
+ | |||
+ | arch_number = 0x00000898 | ||
+ | env_t = 0x00000000 | ||
+ | boot_params = 0x80000100 | ||
+ | DRAM bank = 0x00000000 | ||
+ | -> start = 0x80000000 | ||
+ | |||
+ | -> size = 0x10000000 | ||
+ | DRAM bank = 0x00000001 | ||
+ | -> start = 0x80000000 | ||
+ | -> size = 0x00000000 | ||
+ | ethaddr = F8:DC:7A:00:00:00 | ||
+ | ip_addr = 0.0.0.0 | ||
+ | baudrate = 115200 bps | ||
</source> | </source> | ||
Версия 21:33, 26 апреля 2012
Ребятенок заговорил:
Texas Instruments X-Loader 1.46 (May 11 2011 - 19:45:24)
U-Boot 2009.11 (May 30 2011 - 22:50:27)
OMAP34xx/35xx-GP ES1.0, CPU-OPP2 L3-165MHz
VAR-SOM-AM35xx Board + LPDDR/NAND
I2C: ready
DRAM: 256 MB
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Die ID #2f5000010000000001685a201101d012
Net: davinci_emac_initialize
Ethernet PHY: GENERIC @ 0x00
DaVinci EMAC
VAR-SOM-AM35 #
U-Boot 2009.11 (May 30 2011 - 22:50:27)
OMAP34xx/35xx-GP ES1.0, CPU-OPP2 L3-165MHz
VAR-SOM-AM35xx Board + LPDDR/NAND
I2C: ready
DRAM: 256 MB
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Die ID #2f5000010000000001685a201101d012
Net: davinci_emac_initialize
Ethernet PHY: GENERIC @ 0x00
DaVinci EMAC
VAR-SOM-AM35 #
Для получения результата был сделан шнурок, подключаемый с одной стороны к колодке J16 на baseboard, с другой стороны к USB-Serial хвосту. В Линухе появляется устройство:
ofei@Korogodin-Notebook:~$ ls /dev/ttyUSB0
/dev/ttyUSB0
/dev/ttyUSB0
Скорость по-умолчанию - 115200 бит/с.
Update 26.04 20:54
Линия TX тоже функционирует нормально:
VAR-SOM-AM35 # help
? - alias for 'help'
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
cmp - memory compare
coninfo - print console devices and information
cp - memory copy
crc32 - checksum calculation
dhcp - boot image via network using DHCP/TFTP protocol
echo - echo args to console
editenv - edit environment variable
exit - exit script
ext2load- load binary file from a Ext2 filesystem
ext2ls - list files in a directory (default /)
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
fsinfo - print information about filesystems
fsload - load binary file from a filesystem image
go - start application at address 'addr'
help - print online help
i2c - I2C sub-system
imxtract- extract a part of a multi-image
itest - return true/false on integer compare
loadb - load binary file over serial line (kermit mode)
loads - load S-Record file over serial line
loady - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
ls - list files in a directory (default /)
md - memory display
mm - memory modify (auto-incrementing address)
mmc - MMC sub-system
mtest - simple RAM read/write test
mw - memory write (fill)
nand - NAND sub-system
nandecc - switch OMAP3 NAND ECC calculation algorithm
nboot - boot from NAND device
nfs - boot image via network using NFS protocol
nm - memory modify (constant address)
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
rarpboot- boot image via network using RARP/TFTP protocol
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
showvar - print local hushshell variables
sleep - delay execution for some time
source - run script from memory
test - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
version - print monitor version
VAR-SOM-AM35 # ls /
Scanning JFFS2 FS: done.
VAR-SOM-AM35 # bdinfo
arch_number = 0x00000898
env_t = 0x00000000
boot_params = 0x80000100
DRAM bank = 0x00000000
-> start = 0x80000000
-> size = 0x10000000
DRAM bank = 0x00000001
-> start = 0x80000000
-> size = 0x00000000
ethaddr = F8:DC:7A:00:00:00
ip_addr = 0.0.0.0
baudrate = 115200 bps
? - alias for 'help'
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
cmp - memory compare
coninfo - print console devices and information
cp - memory copy
crc32 - checksum calculation
dhcp - boot image via network using DHCP/TFTP protocol
echo - echo args to console
editenv - edit environment variable
exit - exit script
ext2load- load binary file from a Ext2 filesystem
ext2ls - list files in a directory (default /)
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
fsinfo - print information about filesystems
fsload - load binary file from a filesystem image
go - start application at address 'addr'
help - print online help
i2c - I2C sub-system
imxtract- extract a part of a multi-image
itest - return true/false on integer compare
loadb - load binary file over serial line (kermit mode)
loads - load S-Record file over serial line
loady - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
ls - list files in a directory (default /)
md - memory display
mm - memory modify (auto-incrementing address)
mmc - MMC sub-system
mtest - simple RAM read/write test
mw - memory write (fill)
nand - NAND sub-system
nandecc - switch OMAP3 NAND ECC calculation algorithm
nboot - boot from NAND device
nfs - boot image via network using NFS protocol
nm - memory modify (constant address)
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
rarpboot- boot image via network using RARP/TFTP protocol
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
showvar - print local hushshell variables
sleep - delay execution for some time
source - run script from memory
test - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
version - print monitor version
VAR-SOM-AM35 # ls /
Scanning JFFS2 FS: done.
VAR-SOM-AM35 # bdinfo
arch_number = 0x00000898
env_t = 0x00000000
boot_params = 0x80000100
DRAM bank = 0x00000000
-> start = 0x80000000
-> size = 0x10000000
DRAM bank = 0x00000001
-> start = 0x80000000
-> size = 0x00000000
ethaddr = F8:DC:7A:00:00:00
ip_addr = 0.0.0.0
baudrate = 115200 bps
Статья на вики отвечает на вопрос "Что такое JFFS2?"
[ Хронологический вид ]Комментарии
Круто! Так а что с ядром линуха? Грузится?
В процессе)) Хитрые евреи не стали выкладывать bsp и toolchain в открытый доступ. Только что выпросил логин/пароль на ftp, выкачиваю
Ну так как там хитрые евреи? Ждём BSP с нетерпением...
Войдите, чтобы комментировать.