Embedded Handbook/Boards/ACME SYSTEMS Netus G20

From Gentoo Wiki
Jump to:navigation Jump to:search
General topics
Introduction
Compiling with QEMU user chroot
Creating a cross-compiler
Cross-compiling with Portage
Cross-compiling the kernel
Frequently asked questions
Emulators
Qemu
Armulator
Hercules
Bootloaders
Das U-Boot
NeTTrom
RedBoot
SH-LILO

Netus G20 (ARMv5TE) from ACME SYSTEMS.

Documentation

The Netus G20 is a 4x4cm Linux ready core engine based on the Atmel(TM) AT91SAM9G20 (ARMv5TE) and sold by ACME SYSTEMS. It is supported on Gentoo thanks to the vendor and in special to Davide Cantaluppi who maintains it. In fact, Gentoo is the default OS shipped with this device.

ACME SYSTEMS Netus G20 specifications

Board specifications:

CODE
# CPU Atmel AT91SAM9G20 based on ARM926EJ-S with clock speed of 400MHz.
# 64MBytes of SDRAM with 32bit access.
# 8MBytes of Dataflash.
# Size 40x40mm. Weight 10g.
# Operative temperature range: -20º + 70º
# Four 60 pin connectors (0.8mm pitch) with the following signals available on top and bottom sides (see the pinout)
  # One USB 2.0 Full Speed (12 Mbits per second) Device Port.
  # Two USB 2.0 Full Speed (12 Mbits per second) Host Ports.
  # One Ethernet MAC 10/100 Base T Port.
  # Image Sensor Interface (ITU-R BT. 601/656 12 bit).
  # One Two-slot MultiMedia Card Interface (MCI). SDCard/SDIO and MultiMediaCard(TM) Compliant.
  # Four Universal Synchronous/Asynchronous Receiver Transmitters (USART) with RS485 support.
  # Two 2-wire UARTs.
  # Two Master/Slave Serial Peripheral Interfaces (SPI).
  # One Synchronous Serial Controller (SSC). I2S Analog Interface Support.
  # Two Wire Interface
  # Four-channel 10-bit ADC.
  # 80 general purpose I/O lines multiplexed with up to two peripheral I/Os.
    # Individually Programmable Open-drain, Pull-up Resistor and Synchronous Output.
    # All I/O Lines are Schmitt Trigger when programmed as inputs.
    # Input Change Interrupt Capability on Each I/O Line.
  # Serial 2 wire console port.
  # JTAG Console and Boundary Scan on All Digital Pins (IEEE(R) 1149.1).
# Two Three-channel 16-bit Timer/Counters with PWM Generation.
# Watchdog timer.
# Real-time clock (optional external battery backup).
# Very Slow Clock Operating Mode.

/proc/cpuinfo

CPU info:

FILE /proc/cpuinfo
netusg20 / # cat /proc/cpuinfo
Processor    : ARM926EJ-S rev 5 (v5l)
BogoMIPS    : 197.83
Features    : swp half thumb fastmult edsp java
CPU implementer    : 0x41
CPU architecture: 5TEJ
CPU variant    : 0x0
CPU part    : 0x926
CPU revision    : 5

Hardware    : Atmel AT91SAM9G20-EK
Revision    : 0000
Serial        : 0000000000000000

dmesg

Kernel messages:

CODE
Linux version 2.6.31-gentooGentooNETUSembedded (root@localhost) (gcc version
4.3.3 (Gentoo 4.3.3 p1.0, pie-10.1.5) ) #29 Fri Oct 16 12:00:28 CEST 2009
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: Atmel AT91SAM9G20-EK
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 16384
free_area_init_node: node 0, pgdat c04046a0, node_mem_map c0426000
  Normal zone: 128 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 16256 pages, LIFO batch:3
Clocks: CPU 396 MHz, master 132 MHz, main 18.432 MHz
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: mem=64M console=ttyS0,115200 rootdelay=5
root=/dev/mmcblk0p1 rw rootfstype=reiserfs rootflags=data=writeback
init=/sbin/init nodevfs
PID hash table entries: 256 (order: 8, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 60652KB available (3840K code, 256K data, 108K init, 0K highmem)
Hierarchical RCU implementation.
NR_IRQS:192
AT91: 96 gpio irqs in 3 banks
Console: colour dummy device 80x30
console [ttyS0] enabled
Calibrating delay loop... 197.83 BogoMIPS (lpj=989184)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
tcb_clksrc: tc0 at 16.012 MHz
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Bluetooth: Core ver 2.15
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
NET: Registered protocol family 2
Switched to high resolution mode on CPU 0
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: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 4.0 (2009/01/31) Phillip Lougher
NTFS driver 2.1.29 [Flags: R/W].
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
JFS: nTxBlock = 474, nTxLock = 3795
msgmni has been set to 118
io scheduler noop registered
io scheduler deadline registered (default)
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
brd: module loaded
loop: module loaded
ssc ssc.0: Atmel SSC device at 0xc48d8000 (irq 14)
PPP generic driver version 2.4.2
MACB_mii_bus: probed
eth0: Atmel MACB at 0xfffc4000 irq 21 (3a:1f:34:08:54:54)
eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:00,
irq=-1)
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
at91_ohci at91_ohci: AT91 OHCI
at91_ohci at91_ohci: new USB bus registered, assigned bus number 1
at91_ohci at91_ohci: irq 20, io mem 0x00500000
usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: AT91 OHCI
usb usb1: Manufacturer: Linux 2.6.31-gentooGentooNETUSembedded ohci_hcd
usb usb1: SerialNumber: at91
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver libusual
mice: PS/2 mouse device common for all mice
usbcore: registered new interface driver xpad
xpad: X-Box pad driver
at91_rtt: dev (254:0)
rtc-at91sam9 at91_rtt.0: rtc core: registered at91_rtt as rtc0
IRQ 1/rtc0: IRQF_DISABLED is not guaranteed on shared IRQs
i2c /dev entries driver
at24 0-0050: 65536 byte 24c512 EEPROM (writable)
i2c-gpio i2c-gpio: using pins 55 (SDA) and 56 (SCL)
AT91SAM9 Watchdog: sorry, watchdog is disabled
at91_wdt: probe of at91_wdt failed with error -5
Bluetooth: HCI UART driver ver 2.2
Bluetooth: HCI H4 protocol initialized
Bluetooth: HCI BCSP protocol initialized
Bluetooth: HCILL protocol initialized
Bluetooth: Generic Bluetooth USB driver ver 0.5
usbcore: registered new interface driver btusb
at91_mci at91_mci: 4 wire bus mode not supported - using 1 wire
Registered led device: ds5
Registered led device: ds1
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
TCP cubic registered
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
rtc-at91sam9 at91_rtt.0: readtime: 2009-09-19 14:56:38
rtc-at91sam9 at91_rtt.0: setting system clock to 2009-10-19 14:56:38 UTC
(1255964198)
Waiting 5sec before mounting root device...
usb 1-2: new full speed USB device using at91_ohci and address 2
mmc0: host does not support reading read-only switch. assuming write-enable.
mmc0: new SDHC card at address 8fe4
mmcblk0: mmc0:8fe4 SU04G 3.69 GiB
 mmcblk0: p1
usb 1-2: New USB device found, idVendor=1370, idProduct=0323
usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-2: Product: pitchBLACK
usb 1-2: Manufacturer: Swissbit
usb 1-2: SerialNumber: 000010004269FR0002b5
usb 1-2: configuration #1 chosen from 1 choice
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
REISERFS (device mmcblk0p1): found reiserfs format "3.6" with standard
journal
REISERFS (device mmcblk0p1): using writeback data mode
REISERFS (device mmcblk0p1): journal params: device mmcblk0p1, size 8192,
journal first block 18, max trans len 1024, max batch 900, max commit age
30, max trans age 30
REISERFS (device mmcblk0p1): checking transaction log (mmcblk0p1)
REISERFS (device mmcblk0p1): Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) on device 179:1.
Freeing init memory: 108K
eth0: link up (100/Full)
eth0: no IPv6 routers present

External resources


This page is based on a document formerly found on our main website gentoo.org.
The following people contributed to the original document: Mike Frysinger, Ned Ludd, Robin H. Johnson, Alex Tarkovsky, Alexey Shvetsov, Raúl Porcel, Joshua Saddler on April 28, 2013.
They are listed here because wiki history does not allow for any external attribution. If you edit the wiki article, please do not add yourself here; your contributions are recorded on each article's associated history page.