staging.inyokaproject.org

Embedded Linux USB Gerät konfigurieren

Status: Ungelöst | Ubuntu-Version: Kubuntu 9.04 (Jaunty Jackalope)
Antworten |

bieri87

Anmeldungsdatum:
6. März 2008

Beiträge: Zähle...

Hallo an alle,

ich habe folgenden Embedded Linux USB Key. http://www.calao-systems.com/articles.php?lng=fr&pg=5930

Ziel ist es, einen kleinen Webserver darauf laufen zu lassen. Dazu gibt es für das Gerät folgende Anleitung: http://www.calao-systems.com//repository/pub/APPLICATION%20NOTES/PF_RMLL_2009.pdf

Erste Frage wäre erstmal: - hat jemand mit so einem Teil schonmal gearbeitet und kann mir etwas helfen, bzw. ein paar Fragen dazu beantworten?

Bin leider kein Guru in Linux, Grundkenntnisse sind aber denke mal vorhanden 😀

EDIT:

Also speziell hängt es erstmal an folgendem Punkt. Ich muss mich mit dem Teil Verbinden über ein Tool namens SAM-BA (SAM Boot Assistent). Das Gerät habe ich an meinem USB Port (IBM T30). Damit muss ich 4 Dateien auf dem Teil ablegen (Bootstrap, Bootloader, Kernelimage, Filesystem). Die Dateien habe ich alle.

Nun gibt es dazu folgende vorgehensweise:

A revision of SAM-BA is ported to Linux. It is at the side of the official SAM-BA ISP revision. SAM-BA Linux uses the USB connexion through CDC usbserial driver to communicate with the device.

USB CDC Serial driver mount procedure :

  • Login with administrator rights

  • Unload usbserial module if it is already running

rmmod usbserial //gibt bei mir aus: ERROR: Module usbserial does not exist in /proc/modules

  • Load usbserial kernel module

modprobe usbserial vendor=0x03eb product=0x6124 //gibt bei mir aus: FATAL: Module usbserial not found

  • Verify that the USB connection is established

lsusb -d 03eb:6124 Bus 004 Device 006: ID 03eb:6124 Atmel Corp

  • Know which USB connection is established

dmesg ... kernel: usb 4-2: new full speed USB device using uhci_hcd and address 5 kernel: usb 4-2: configuration #1 chosen from 1 choice kernel: usbserial_generic 4-2:1.0: generic converter detected kernel: usbserial_generic: probe of 4-2:1.0 failed with error -5 kernel: usbserial_generic 4-2:1.1: generic converter detected kernel: usb 4-2: generic converter now attached to ttyUSBx

you will have to use /dev/ttyUSBx instead of \usb\ARM0 to connect to your board

//soweit ich das beurteilen kann, wird das Gerät erkannt und schonmal per GTKTerm darauf zugreifen.

EDIT:

das spuckt bei mir dmesg aus: [86111.992074] usb 2-2: new full speed USB device using uhci_hcd and address 4 [86112.252799] usb 2-2: configuration #1 chosen from 1 choice [86112.512592] USB Serial support registered for FTDI USB Serial Device [86112.512692] ftdi_sio 2-2:1.0: FTDI USB Serial Device converter detected [86112.512756] usb 2-2: Detected FT2232C [86112.512877] usb 2-2: FTDI USB Serial Device converter now attached to ttyUSB0 [86112.512907] ftdi_sio 2-2:1.1: FTDI USB Serial Device converter detected [86112.512962] usb 2-2: Detected FT2232C [86112.513036] usb 2-2: FTDI USB Serial Device converter now attached to ttyUSB1 [86112.513071] usbcore: registered new interface driver ftdi_sio [86112.513078] ftdi_sio: v1.4.3:USB FTDI Serial Converters Driver

Antworten |