AT91RM9200 LINUX LITE

Software e Hardware para linha ARM

Moderadores: 51, guest2003, Renie, gpenga

Mensagempor tcpipchip » 21 Mar 2011 09:44

Ola, inicialmente foi um LPC2138, mas...tive que melhorar o protocolo VT100 (achei um bug durante o uso do VI do LINUX)...e por falta de memória de programa, troquei pelo LPC2148.
Talvez eu faça um kit de baixo custo só com ele...um conversor serial para VGA padrao VT100.
Avatar do usuário
tcpipchip
Dword
 
Mensagens: 6560
Registrado em: 11 Out 2006 22:32
Localização: TCPIPCHIPizinho!

LINUX VERSAO 2.0

Mensagempor tcpipchip » 09 Abr 2011 13:54

O boot do linux vai ser a 19200,nao mais em 115200
O CHIPSET VGA tem muitas regras a seguirem (VT100)...o que está ocasionaldo overrun no recebimento dos dados...
Depois vou ver se aumento.
A versao 2.0 (correções esta indo bem, apenas 3 jumpers), provavelmene sai logo a 2.1
TCPIPCHIP
Avatar do usuário
tcpipchip
Dword
 
Mensagens: 6560
Registrado em: 11 Out 2006 22:32
Localização: TCPIPCHIPizinho!

TESTES...

Mensagempor tcpipchip » 11 Abr 2011 10:32

Só falta agora testes intensivos com o VGA CHIPSET...para certificar que tenha um comportamento idea de um TERMINAL BURRO VT100.
Hoje teste a entrada PS/2 do CHIPSET. Está perfeita.

A idéia é nao usar o PC para testar a placa...um custo a menos em um curso de linux embarcado....
Avatar do usuário
tcpipchip
Dword
 
Mensagens: 6560
Registrado em: 11 Out 2006 22:32
Localização: TCPIPCHIPizinho!

Mensagempor tcpipchip » 11 Abr 2011 15:04

Imagem
Avatar do usuário
tcpipchip
Dword
 
Mensagens: 6560
Registrado em: 11 Out 2006 22:32
Localização: TCPIPCHIPizinho!

Mensagempor tcpipchip » 13 Abr 2011 21:20

Estou começando a ficar desesperado com o VT100....
VI, TOP, PS... :(
Avatar do usuário
tcpipchip
Dword
 
Mensagens: 6560
Registrado em: 11 Out 2006 22:32
Localização: TCPIPCHIPizinho!

Mensagempor tcpipchip » 13 Abr 2011 23:44

VGA VT100 e PS/2 estão prontos!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Ultimos testes amanha com o MODEM GSM :)
Avatar do usuário
tcpipchip
Dword
 
Mensagens: 6560
Registrado em: 11 Out 2006 22:32
Localização: TCPIPCHIPizinho!

Mensagempor B-EAGLE » 14 Abr 2011 01:24

legal! tá quase hein tcp!

parabéns!
B-EAGLE
Word
 
Mensagens: 847
Registrado em: 19 Out 2006 14:12
Localização: Campo Grande - MS

Mensagempor tcpipchip » 14 Abr 2011 06:55

Tks!!!!

Sim, quase...são 6:55, vou dormir...

PS: vai ter que sair a versao 2.1....tem pesquenas correções agora...:(:(:(
Avatar do usuário
tcpipchip
Dword
 
Mensagens: 6560
Registrado em: 11 Out 2006 22:32
Localização: TCPIPCHIPizinho!

Mensagempor B-EAGLE » 14 Abr 2011 10:49

pois é... vi um gato verde no canto direito inferior ali... heheh
B-EAGLE
Word
 
Mensagens: 847
Registrado em: 19 Out 2006 14:12
Localização: Campo Grande - MS

Mensagempor tcpipchip » 14 Abr 2011 10:53

Operando agora somente com teclado ps/2 e VGA :)

Imagem

Vou testar esta semana com a placa BLACKFIN (daugther) que montei...
Avatar do usuário
tcpipchip
Dword
 
Mensagens: 6560
Registrado em: 11 Out 2006 22:32
Localização: TCPIPCHIPizinho!

Mensagempor B-EAGLE » 14 Abr 2011 11:58

tá usando qual distribuição?
boot em quanto tempo?
B-EAGLE
Word
 
Mensagens: 847
Registrado em: 19 Out 2006 14:12
Localização: Campo Grande - MS

Mensagempor tcpipchip » 14 Abr 2011 12:13

VIAJEI...
É COLINUX QUE ESTOU USANDO COM A FAMILIA AT91SAM...
Avatar do usuário
tcpipchip
Dword
 
Mensagens: 6560
Registrado em: 11 Out 2006 22:32
Localização: TCPIPCHIPizinho!

Mensagempor tcpipchip » 12 Mai 2011 22:56

Finalmente conseguimos compilar com python para o AT91SAM :)
# python
Python 2.4.2 (#1, Jul 1 2013, 16:23:47)
[GCC 4.2.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> print "hi asm51"
hi asm51
>>>
Agora sim....voce voce programar e C++ e Python no meu kit :)
Valeu Gadotti pela ajuda!
Avatar do usuário
tcpipchip
Dword
 
Mensagens: 6560
Registrado em: 11 Out 2006 22:32
Localização: TCPIPCHIPizinho!

Mensagempor tcpipchip » 13 Mai 2011 08:46

Código: Selecionar todos
RomBOOT
>
Loading default env

U-Boot 1.2.0 (Aug 18 2010 - 12:16:10)

DRAM:  64 MB

Bank #1
Flash:NAND Numonyx NAND01G-B2B 128MB 1.8V 8-bit
Hardware ECC (ECC data size = 512 bytes)
Nb min erasable unit:   1024
min erasable Size: 131072
Size=134217728 bytes
Logical address: 0x40000000
No bad block detected
Area 0:   40000000 to 403BFFFF (RO)  Primary Bootstrap
Area 1:   403C0000 to 4043FFFF (RO)  U-Boot code
Area 2:   40440000 to 404BFFFF (RO)  U-Boot Environment
Area 3:   404C0000 to 407BFFFF       User Area 1
Area 4:   407C0000 to 47FFFFFF       User Area 2

Using default environment

usbser: usb device port not connected, usb console disabled
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  3  2  1  0
Reading from Flash... done
## Booting image at 20200000 ...
   Image Name:   Linux-2.6.24-rc5-rt1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1028360 Bytes = 1004.3 kB
   Load Address: 20008000
   Entry Point:  20008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Starting kernel ...

Uncompressing Linux.................................................................... done, booting the kernel.
Linux version 2.6.24-rc5-rt1 (root@debian) (gcc version 4.2.1) #1 PREEMPT RT Mon Jul 1 15:22:54 CEST 2013
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: AT91SAMG45
Memory policy: ECC disabled, Data cache writeback
Clocks: Master 480 MHz, main 24.000 MHz
CPU0: D VIVT write-back cache
CPU0: I cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
Real-Time Preemption Support (C) 2004-2007 Ingo Molnar
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: console=ttyS0,115200 mem=64M ver=0x448000 icofat=0x40400 rootfstype=jffs2 root=/dev/mtdblock1 rw mtdparts=at91_nand:7936k(ARMboot)ro,-@7936k(root)
WARNING: experimental RCU implementation.
AT91: 96 gpio irqs in 3 banks
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x30
console [ttyS0] enabled
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total - DDR3
Memory: 62720KB available (1852K code, 204K data, 100K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 76 bytes
NET: Registered protocol family 16
AT91: Power Management (with slow clock mode)
SCSI subsystem initialized
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 3, 57344 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NetWinder Floating Point Emulator V0.97 (double precision)
krcupreemptd setsched 0
  prio = 98
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
io scheduler noop registered (default)
io scheduler anticipatory registered
atmel_usart.0: ttyS0 at MMIO 0xfefff200 (irq = 1) is a ATMEL_SERIAL
atmel_usart.1: ttyS1 at MMIO 0xfffb0000 (irq = 6) is a ATMEL_SERIAL
atmel_usart.2: ttyS2 at MMIO 0xfffb4000 (irq = 7) is a ATMEL_SERIAL
atmel_usart.3: ttyS3 at MMIO 0xfffb8000 (irq = 8) is a ATMEL_SERIAL
atmel_usart.4: ttyS4 at MMIO 0xfffd0000 (irq = 23) is a ATMEL_SERIAL
atmel_usart.5: ttyS5 at MMIO 0xfffd4000 (irq = 24) is a ATMEL_SERIAL
atmel_usart.6: ttyS6 at MMIO 0xfffd8000 (irq = 25) is a ATMEL_SERIAL
RAMDISK driver initialized: 1 RAM disks of 8192K size 1024 blocksize
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
NET: Registered protocol family 24
NAND device: Manufacturer ID: 0x20, Chip ID: 0xa1 (Numonyx NAND 128MB 1,8V 8-bit)
AT91 NAND: 8-bit, Hardware Syndrome ECC (ECC data size = 512 bytes)
Scanning device for bad blocks
2 cmdlinepart partitions found on MTD device at91_nand
Creating 2 MTD partitions on "at91_nand":
0x00000000-0x007c0000 : "ARMboot"
0x007c0000-0x08000000 : "root"
atmel_spi atmel_spi.0: Atmel SPI Controller at 0xfffc8000 (irq 12)
m25p80 spi0.0: unrecognized JEDEC id 000000
m25p80 spi0.2: unrecognized JEDEC id 000000
m25p80 spi0.3: unrecognized JEDEC id 000000
atmel_spi atmel_spi.1: Atmel SPI Controller at 0xfffcc000 (irq 13)
at91_rtc at91_rtc: rtc core: registered at91_rtc as rtc0
AT91SAM9 Real Time Clock driver.
at91sam9_wdt: invalid timeout (must be between 1 and 16)
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
tc_clksrc: tc1 at 12.500 MHz
mmc0: new MMC card at address 0001
mmcblk0: mmc0:0001 STF    125440KiB
VFS: Mounted root (jffs2 filesystem).
Freeing init memory: 100K
 mmcblk0: unknown partition table
Setting DMA Console
init started: BusyBox v1.6.0 (2013-07-01 15:01:50 CEST) multi-call binary

starting pid 246, tty '': '/etc/init.d/rcS'
Initializing mdev dynamic device directory ... done
<6>AT91SAM9 Watchdog disabled
Watchdog card disabled.
AT91SAMG45 GPIO register major 253

starting pid 360, tty '/dev/console': '/bin/sh'
#


1 ETHERNET
2 USB HOST
1 LEITOR MMC
128MB FLASH
64MB RAM
DRIVERS PARA DISPOSITIVOS (TECLADO, I2C, WEBCAM, ETC)
LINUX REAL
1 MODEM GSM/GPRS
10 GPIOS
1 I2C
1 SPI
PINOS PARA ENTRADA E SAIDA DE AUDIO...(NAO INCLUI AMP)
PROGRAMAÇÃO EM C (ECLIPSE) E PYTHON
1 SERIAL PARA DEBUG/UPGRADE
1 SERIAL PARA GPS
1 SERIAL PARA USO GERAL
1 BUZZER
1 SAÍDA VGA 40x80 (MODO TEXTO)
1 ENTRADA PS/2
Avatar do usuário
tcpipchip
Dword
 
Mensagens: 6560
Registrado em: 11 Out 2006 22:32
Localização: TCPIPCHIPizinho!

Mensagempor B-EAGLE » 13 Mai 2011 10:06

parece que agora tá 100%... ou falta alguma coisa tcp?

de qualquer forma, parabéns!!
B-EAGLE
Word
 
Mensagens: 847
Registrado em: 19 Out 2006 14:12
Localização: Campo Grande - MS

AnteriorPróximo

Voltar para ARM

Quem está online

Usuários navegando neste fórum: Google [Bot] e 1 visitante

x