1. U-boot für UART0 konfigurieren
/bsproot/platform-MBa335x/u-bootxxxxx/board/tqc/boards.cfg
Zeile 253 wie folgt abändern
tqma335x arm armv7 tqma335x tqc am33xx tqma335x:SERIAL1,CONS_INDEX=1

2. Kernel Log auf UART0 anzeigen Entweder uEnv.txt auf SD Karte anlegen und folgendes hineinschreiben
console=ttyO0,115200n8
oder /bsproot/platform-MBa335x/u-bootxxxxx/include/configs/tqma335x.h ändern.

3. Shell auf UART0 umlegen ptxdist platformconfig → Console Options

R1911 und R1918 müssen auf dem MBa335x ausgelötet werden sonst funktioniert die Schnittstelle in Senderichtung nicht


Über den Anschluss X9 kann man das Starterkit per Micro USB Kabel mit dem PC verbinden.
Es muss nichts zusätzlich im Kernel konfiguriert werden.
Nach dem Booten muss ein backing file im rootfs erstellt werden, dieses File muss dann noch partitioniert und formatiert werden. Informationen dazu hier :

http://www.linux-usb.org/gadget/file_storage.html

nach dem Systemstart muss das Gadget Modul noch geladen werden.

modprobe g_mass_storage file=/backing_file


  • RTC0 = RTC TQMa335x
  • RTC1 = RTC PMIC

Befehle zum Einstellen der RTC0 bzw. RTC1

$ hwclock -w hwclock -f /dev/rtc0 -w
$ hwclock -w hwclock -f /dev/rtc1 -w

Befehle zum Abfragen der RTC0 bzw. RTC1

$ hwclock -f /dev/rtc0 --show
$ hwclock -f /dev/rtc1 –-show

Um mit dem STKa335x und dem SBC aufnehmen zu können muss folgende Befehlzeile unter Linux abgesetzt werden.

amixer set 'Right Input Mixer IN1_R P' unmute; amixer set 'Left Input Mixer IN1_L P' unmute; amixer set 'ADCFGA Right Mute' mute; amixer set 'ADCFGA Left Mute' mute
  • Gestestet mit BSP REV.0109

Der Buzzer auf dem MBa335x über den GPIO2_2 angesteuert werden.

echo 66 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio66/direction
echo 1 /sys/class/gpio/gpio66/value
echo 0 /sys/class/gpio/gpio66/value
cat > /dev/watchdog 

Danach Zeichen auf der Tastatur eingeben und warten bis Watchdog auslöst (60 Sek)

  • I2C0 Bus auslesen
i2cdetect -y -r 0
  • I2C1 Bus auslesen
i2cdetect -y -r 1

Disclaimer
TQ-Systems GmbH provides the Board Support Packages (BSP) free of charge. The software included in the shipment has been configured individually for the starter kits. The software is only intended to evaluate the module. The use of the Board Support Packages (BSP) is only allowed within the scope of functionality described by TQ-Systems GmbH. TQ-Systems GmbH does not accept any liability for all further changes of the Board Support Package and for any damage resulting from its use.