Salve a tutti,
sono riuscito a collegare, tramite seriale, il cubo con l'amino debug cable lo schema con i vari componenti li trovate a questo link:http://habrahabr.ru/post/115708/
L'interfaccia va collegata al connettore J18 sul cubo, si trova vicino alla ram sulla scheda superiore, alla destra del dissipatore.
http://img339.imageshack.us/img339/8854/cubo1e.jpg
J18
1 Vcc
2 Rx
3 Tx
4 Gnd
Poi con Hyperterminal sulla porta Com1 ho settato:
bit x secondo: 115200
bit dati: 8
parità: nessuno
bit di stop: 1
controllo di flusso: Nessuno
Collegata l'interfaccia attaccate lo spinotto di alimentazione al cubo, e nella prima fase di accensione, nei primi secondi, premete ctrl-c o invio per interrompere il caricamento del software ed accedere al bootloader.
Questo il dialogo con hyperterminal:
Intel(R) Consumer Electronics Firmware Development Kit (Intel(R) CEFDK)
Copyright (C) 1999-2009 Intel Corporation. All rights reserved.
Build Time (12/08/09 13:49:32).
Loading 8051 MicroCode at 0x40000
Checking for recovery mode request from user...
Splash: BMP found Width 720 Height 576
SATA 0: HitachiHCC543225A7A - 250G
CEFDK - Production Release CE4100 4.003
CEFDK Amino Version 3
CE4100 Stepping: B1
Board: FalconFalls
Version Information -
core : 1
cs_gen4 : 1
Memory configuration -
MemType : DDR3
MemSpeed : 1333
Channels Enabled : A B
Channel Mode : Interleave Mode 1
All A/V devices use IRQ 4.
Fuse bits:
fuse_idcode_version[4:0] - 0101b
fuse_sku_id[6:0] - 1001110b
fuse_device_serial_number1[31:0] - 0x00010001
fuse_device_serial_number2[31:0] - 0x096020AA
fuse_ca_vendor_config[15:8] - 0x00
fuse_ca_vendor_config[7:0] - 0x71
CPU Frequency strapped for 1200Mhz, LCC fusing limit 1200Mhz
Hit a key to start the shell...
shell> cccccc
shell> help
bootata - Boots from the primary master ATA device.
ymodem - Receive a file from serial using YMODEM.
lspci - Displays PCI device info.
ord[2|4] - Read or write to memory.
pci[2|4] - Read or write to PCI configuration space.
port[2|4] - Read or write to I/O port.
mmap - Displays a system memory map.
expflash - Access flash on expansion bus.
nandFTLL - Access NAND flash via FTL-Lite API.
bootflash - Boot redboot from NOR or NAND flash.
bootkernel - Boot Linux kernel from NAND flash.
ata-map - Sets the ATA geometry mapping.
cache - Manipulate the processor cache.
settings - BIOS Settings
help - Displays this screen.
exit - Stops the shell.
shell>
shell> exit
Attempting to boot Redboot from NOR flash ...
Boot from flash ...
+Found device on SATA controller 0
No devices on SATA controller 1
Ethernet eth0: MAC address 00:02:02:3d:38:6a
No IP info for device!
RedBoot(tm) bootstrap and debug environment [RAM]
Non-certified release, version 1 - built 15:17:44, Aug 20 2009
Platform: PC (I386)
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
Copyright (C) 2003, 2004, 2005, 2006 eCosCentric Limited
RAM: 0x00100000-0x04000000, [0x00000000-0x03fdd000] available
FLASH: 0xc0000000 - 0xc1fe0000, 255 blocks of 0x00020000 bytes each.
== Executing boot script in 1.000 seconds - enter ^C to abort
RedBoot> mcopy -s 0xC0320000 -d 0x200000 -l 0x400000 -4
RedBoot> load -v -r -m disk -b 0x200000 hda1:vmlinuz
|
Raw file loaded 0x00200000-0x004f701f, assumed entry at 0x00200000
RedBoot> exec -b 0x200000 -l 0x400000 -c "vmalloc=586M"
Linux version 2.6.33-13.18-cetv (abuild@obs-server) (gcc version 4.4.2 20091027
(MeeGo 4.4.2-7) (GCC) ) #1 PREEMPT Thu Nov 3 14:27:17 UTC 2011
BIOS-provided physical RAM map:
BIOS-e801: 0000000000000000 - 000000000009f000 (usable)
BIOS-e801: 0000000000100000 - 0000000040000000 (usable)
Notice: NX (Execute Disable) protection cannot be enabled: non-PAE kernel!
user-defined physical RAM map:
user: 0000000000000000 - 00000000000a0000 (usable)
user: 0000000000100000 - 000000002c800000 (usable)
DMI not present or invalid.
last_pfn = 0x2c800 max_arch_pfn = 0x100000
x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
init_memory_mapping: 0000000000000000-000000001a5fe000
ACPI Error: A valid RSDP was not found (20091214/tbxfroot-219)
290MB HIGHMEM available.
421MB LOWMEM available.
mapped low ram: 0 - 1a5fe000
low ram: 0 - 1a5fe000
node 0 low ram: 00000000 - 1a5fe000
node 0 bootmap 00008000 - 0000b4c0
(7 early reservations) ==> bootmem [0000000000 - 001a5fe000]
#0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000]
#1 [0001000000 - 0001617ea0] TEXT DATA BSS ==> [0001000000 - 0001617ea0]
#2 [000008fc00 - 0000100000] BIOS reserved ==> [000008fc00 - 0000100000]
#3 [0001618000 - 000161e000] BRK ==> [0001618000 - 000161e000]
#4 [0000001000 - 0000005000] ACPI WAKEUP ==> [0000001000 - 0000005000]
#5 [0000007000 - 0000008000] PGTABLE ==> [0000007000 - 0000008000]
#6 [0000008000 - 000000c000] BOOTMAP ==> [0000008000 - 000000c000]
Zone PFN ranges:
DMA 0x00000000 -> 0x00001000
Normal 0x00001000 -> 0x0001a5fe
HighMem 0x0001a5fe -> 0x0002c800
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
0: 0x00000000 -> 0x000000a0
0: 0x00000100 -> 0x0002c800
Allocating PCI resources starting at 2c800000 (gap: 2c800000:d3800000)
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 180751
Kernel command line: console=ttyS0,115200 e1000.InterruptThrottleRate=2000 root=
/dev/sda2 rw mem=exactmap memmap=640K@0 memmap=711M@1M vmalloc=586M mtdparts=phy
smap-flash.0:384k(CEFDK),640k(config),128k(RedBoot),2048k(splash),28544k(kernel)
,128k(nic),640k(spare),256k(RedBootConfig) vmalloc=586M
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
Initializing HighMem for node 0 (0001a5fe:0002c800)
Memory: 715236k/729088k available (4168k kernel code, 12908k reserved, 1489k dat
a, 304k init, 296968k highmem)
virtual kernel memory layout:
fixmap : 0xfffe6000 - 0xfffff000 ( 100 kB)
pkmap : 0xff800000 - 0xffc00000 (4096 kB)
vmalloc : 0xdadfe000 - 0xff7fe000 ( 586 MB)
lowmem : 0xc0000000 - 0xda5fe000 ( 421 MB)
.init : 0xc1587000 - 0xc15d3000 ( 304 kB)
.data : 0xc14122d3 - 0xc158673c (1489 kB)
.text : 0xc1000000 - 0xc14122d3 (4168 kB)
Checking if this processor honours the WP bit even in supervisor mode...Ok.
SLUB: Genslabs=13, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:16
Console: colour dummy device 80x25
console [ttyS0] enabled
Fast TSC calibration using PIT
Detected 1199.723 MHz processor.
Calibrating delay loop (skipped), value calculated using timer frequency.. 2399.
44 BogoMIPS (lpj=4798892)
Mount-cache hash table entries: 512
mce: CPU supports 5 MCE banks
using mwait in idle threads.
Performance Events: Atom events,
no APIC, boot with the "lapic" boot parameter to force-enable it.
no hardware sampling interrupt available.
Intel PMU driver.
... version: 3
... bit width: 40
... generic registers: 2
... value mask: 000000ffffffffff
... max period: 000000007fffffff
... fixed-purpose events: 3
... event mask: 0000000700000003
CPU: Intel(R) Atom(TM) CPU CE4150 @ 1.20GHz stepping 0a
Checking 'hlt' instruction... OK.
NET: Registered protocol family 16
PCI: Using configuration type 1 for base access
bio: create slab <bio-0> at 0
ACPI: Interpreter disabled.
SCSI subsystem initialized
vgaarb: loaded
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Advanced Linux Sound Architecture Driver Version 1.0.21.
PCI: Probing PCI hardware
pci 0000:00:01.0: PCI bridge to [bus 01-01]
Bluetooth: Core ver 2.15
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource tsc
pnp: PnP ACPI: disabled
unable to get major for memory devs
pci 0000:00:01.0: PCI bridge to [bus 01-01]
pci 0000:00:01.0: bridge window [io disabled]
pci 0000:00:01.0: bridge window [mem 0xc0000000-0xdfffffff]
pci 0000:00:01.0: bridge window [mem pref disabled]
NET: Registered protocol family 2
IP route cache hash table entries: 16384 (order: 4, 65536 bytes)
TCP established hash table entries: 65536 (order: 7, 524288 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 65536 bind 65536)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
platform rtc_cmos: registered platform RTC device (no PNP device found)
microcode: CPU0 sig=0x106ca, pf=0x20, revision=0x106
microcode: Microcode Update Driver: v2.00 <
[email protected]>, Peter O
ruba
highmem bounce pool size: 64 pages
NTFS driver 2.1.29 [Flags: R/O].
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
fuse init (API version 7.13)
msgmni has been set to 818
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler cfq registered (default)
Real Time Clock Driver v1.12b
Linux agpgart interface v0.103
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a GEN3_serial
serial8250: ttyS1 at I/O 0x2f8 (irq = 4) is a GEN3_serial
loop: module loaded
ahci: SSS flag set, parallel bus scan disabled
ahci 0000:01:0e.0: AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl SATA mode
ahci 0000:01:0e.0: flags: 64bit ncq sntf ilck stag pm led clo pmp pio slum part
scsi0 : ahci
scsi1 : ahci
ata1: SATA max UDMA/133 irq_stat 0x00400040, connection status changed irq 4
ata2: SATA max UDMA/133 abar m512@0xdf800400 port 0xdf800580 irq 4
physmap platform flash device: 02000000 at c0000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Using buffer write method
Using auto-unlock on power-up/resume
cfi_cmdset_0001: Erase suspend on write enabled
8 cmdlinepart partitions found on MTD device physmap-flash.0
Creating 8 MTD partitions on "physmap-flash.0":
0x000000000000-0x000000060000 : "CEFDK"
0x000000060000-0x000000100000 : "config"
0x000000100000-0x000000120000 : "RedBoot"
0x000000120000-0x000000320000 : "splash"
0x000000320000-0x000001f00000 : "kernel"
0x000001f00000-0x000001f20000 : "nic"
0x000001f20000-0x000001fc0000 : "spare"
0x000001fc0000-0x000002000000 : "RedBootConfig"
Intel(R) PRO/1000 Network Driver - version 7.3.21-k5-NAPI
Copyright (c) 1999-2006 Intel Corporation.
e1000: 0000:01:0c.0: e1000_validate_option: Interrupt Throttling Rate (ints/sec)
set to 2000
e1000: 0000:01:0c.0: e1000_probe: (PCI:33MHz:32-bit) 00:02:02:3d:38:6a
e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
e1000e: Intel(R) PRO/1000 Network Driver - 1.0.2-k2
e1000e: Copyright (c) 1999 - 2009 Intel Corporation.
Intel(R) PRO/10GbE Network Driver - version 1.0.135-k2-NAPI
Copyright (c) 1999-2008 Intel Corporation.
e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
airo(): Probing for PCI adapters
airo(): Finished probing for PCI adapters
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_hcd 0000:01:0d.0: EHCI Host Controller
ehci_hcd 0000:01:0d.0: new USB bus registered, assigned bus number 1
ehci_hcd 0000:01:0d.0: irq 4, io mem 0xdf810100
ehci_hcd 0000:01:0d.0: USB 0.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.33-13.18-cetv ehci_hcd
usb usb1: SerialNumber: 0000:01:0d.0
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ehci_hcd 0000:01:0d.1: EHCI Host Controller
ehci_hcd 0000:01:0d.1: new USB bus registered, assigned bus number 2
ehci_hcd 0000:01:0d.1: irq 4, io mem 0xdf820100
ehci_hcd 0000:01:0d.1: USB 0.0 started, EHCI 1.00
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: EHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.33-13.18-cetv ehci_hcd
usb usb2: SerialNumber: 0000:01:0d.1
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: No controller found.
mice: PS/2 mouse device common for all mice
Bluetooth: Virtual HCI driver ver 1.3
Bluetooth: HCI UART driver ver 2.2
Bluetooth: HCI H4 protocol initialized
Bluetooth: HCI BCSP protocol initialized
Bluetooth: HCILL protocol initialized
Bluetooth: Broadcom Blutonium firmware driver ver 1.2
usbcore: registered new interface driver bcm203x
Bluetooth: Digianswer Bluetooth USB driver ver 0.10
usbcore: registered new interface driver bpa10x
Bluetooth: BlueFRITZ! USB driver ver 1.2
usbcore: registered new interface driver bfusb
Bluetooth: Generic Bluetooth USB driver ver 0.6
usbcore: registered new interface driver btusb
Bluetooth: Atheros AR30xx firmware driver ver 1.0
usbcore: registered new interface driver ath3k
cpuidle: using governor ladder
cpuidle: using governor menu
wacom driver registered
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
ALSA device list:
No soundcards found.
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 17
Bluetooth: L2CAP ver 2.14
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO (Voice Link) ver 0.6
Bluetooth: SCO socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
lib80211: common routines for IEEE802.11 drivers
registered taskstats version 1
usb 1-1: new high speed USB device using ehci_hcd and address 2
usb 1-1: New USB device found, idVendor=0424, idProduct=2514
usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.00: ATA-8: Hitachi HCC543225A7A380, ESBOA60W, max UDMA/133
ata1.00: 488397168 sectors, multi 0: LBA48 NCQ (depth 31/32), AA
ata1.00: configured for UDMA/133
scsi 0:0:0:0: Direct-Access ATA Hitachi HCC54322 ESBO PQ: 0 ANSI: 5
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 0:0:0:0: [sda] 488397168 512-byte logical blocks: (250 GB/232 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO
or FUA
sda: sda1 sda2 sda3 sda4 < sda5 sda6 >
sd 0:0:0:0: [sda] Attached SCSI disk
usb 1-1.2: new high speed USB device using ehci_hcd and address 3
ata2: SATA link down (SStatus 0 SControl 300)
usb 1-1.2: New USB device found, idVendor=0db0, idProduct=3871
usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.2: Product: 802.11 n WLAN
usb 1-1.2: Manufacturer: Ralink
usb 1-1.2: SerialNumber: 1.0
EXT3-fs (sda2): error: couldn't mount because of unsupported optional features (
240)
EXT2-fs (sda2): error: couldn't mount because of unsupported optional features (
244)
usb 1-1.4: new high speed USB device using ehci_hcd and address 4
usb 1-1.4: New USB device found, idVendor=0424, idProduct=2240
usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.4: Product: Ultra Fast Media
usb 1-1.4: Manufacturer: Generic
usb 1-1.4: SerialNumber: 000000225001
EXT4-fs (sda2): recovery complete
EXT4-fs (sda2): mounted filesystem with ordered data mode
VFS: Mounted root (ext4 filesystem) on device 8:2.
Freeing unused kernel memory: 304k freed
Write protecting the kernel text: 4172k
Write protecting the kernel read-only data: 1248k
usb 1-1.1: new full speed USB device using ehci_hcd and address 5
/etc/rc.d/rc.sysinit: line 25: /sys/devices/virtual/graphics/fbcon/cursor_blink:
No such file or directory
usb 1-1.1: New USB device found, idVendor=0db0, idProduct=a871
usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Welcome to Meego
[ OK ]
MeeGo release 1.0 (MeeGo)
Kernel 2.6.33-13.18-cetv on an i686
localhost.localdomain login: acpid: can't open /proc/acpi/event: No such file or
directory
Se avete dei suggerimenti da fare sono pronto ad ascoltarvi.
Da shell ho dato il comando settings e cosi sono entrato nel bios CEFDK.
Non riesco a copiare l'immagine di hyperterminal, se qualcuno sa come fare le carico per farvele vedere, cosi vi riporto
le voci che sono elencate.
About CEFDK: info sulla versione del processore, la board, ram ecc.
Standard Features: Data, Time, Drive info, Sata0 Sata1, Memory info.
Advanced Features: la più interessante vi riporto le voci
Enable BUnit Buffer: NO
Enable Security Unit: NO
Enable Memory Scrambling: NO
Use DRAM Override: NO
USB A0 FIB: NO
Disable SATA SSC: NO
Automatic boot Redboot: YES
USBKeyboard Detect: NO
Dynamic Rcvn Tuning: YES
Dynamic Read Tuning: NO
Dynamic Write Tuning: NO
Dynamic Write Levelization: NO
Fast Audio Path: YES
Nella pagina iniziale ce anche la possibilità di caricare il firmware:
Esc: Quit <Arrow Keys> : Select Item
F1: Save & Exit Setup
F2: Upgrade Firmware
Forza ragazzi datemi idee.
Allora ho notato che si ha la possibilità di entrare in due modalità la prima in Shell (bios CEFDK), e la seconda in modalità Redboot.
Per accedere a quest'ultima premere Ctrl-C quando appare la scritta Found device on SATA controller.
Con il comando "fconfig" in modalita Redboot si può andare a configurare il BOOTP per accedere via ethernet tramite il protocollo telnet.
Attualmente non è abilitato e le linee degli indirizzi sono vuoti.
Vi riporto lo screen:
RedBoot> fconfig
Run script at boot: true
Boot script:
.. help
Enter script, terminate with empty line
>>
Boot script timeout (1000ms resolution): 1
Use BOOTP for network configuration: false
Gateway IP address:
Local IP address:
Local IP address mask:
Default server IP address:
Console baud rate: 115200
GDB connection port: 9000
Force console for special debug messages: false
Network debug at boot time: false
Update RedBoot non-volatile configuration - continue (y/n)?