User Tools

Site Tools


de:doc:dev_setupfirmware

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
de:doc:dev_setupfirmware [2014/09/03 19:59] – created wsauerde:doc:dev_setupfirmware [2014/09/13 22:31] (current) wsauer
Line 23: Line 23:
   - Laufwerkstyp (hier: VDI – VirtualBox Disc Image)\\ {{ :doc:dev_vm_p4.png?300 |}} \\ Drücke “Next”   - Laufwerkstyp (hier: VDI – VirtualBox Disc Image)\\ {{ :doc:dev_vm_p4.png?300 |}} \\ Drücke “Next”
   - Speichere das physikalisches Laufwerk (hier: Dynamically allocated)\\ {{ :doc:dev_vm_p5.png?300 |}} \\ Drücke “Next”   - Speichere das physikalisches Laufwerk (hier: Dynamically allocated)\\ {{ :doc:dev_vm_p5.png?300 |}} \\ Drücke “Next”
-  - Wähle den Dateiablageort und die Größe (hier: 8GB Disc Image)\\ {{ :doc:dev_vm_p6.png?300 |}} \\ Press “Create” +  - Wähle den Dateiablageort und die Größe (hier: 8GB Disc Image)\\ {{ :doc:dev_vm_p6.png?300 |}} \\ Drücke “Create” 
-  - New created virtual machine is ready for initial start now\\ {{ :doc:dev_vm_p7.png?300 |}} \\ Highlight “Kubuntu” and double mouse click now to start new virtual machine “Kubuntu”! +  - Die neu erstellte vituelle Maschine ist bereit für den ersten Start \\ {{ :doc:dev_vm_p7.png?300 |}} \\ Highlight “Kubuntu” und doppelter Mausklick um die neue virtuelle Machine “Kubuntu”zu starten
-  - Insert Kubuntu 13.04 CD in CD-ROM of Laptop/PC\\ {{ :doc:dev_vm_p8.png?300 |}} \\ Press “Start” +  - Lege die Kubuntu 13.04 CD in das CD-Laufwerk des Laptop's/PC's\\ {{ :doc:dev_vm_p8.png?300 |}} \\ Drücke “Start” 
-  - Kubuntu Start-Screen after booting Virtualmachine from CD\\ {{ :doc:dev_vm_p9.png?300 |}} \\ Select language and Press “Install Kubuntu” +  - Kubuntu Start-Bildschirm nach dem Starten der Virtuelle Maschine von der CD\\ {{ :doc:dev_vm_p9.png?300 |}} \\ Wähle die Sprache aus und drücke “Install Kubuntu” 
-  - Start installation \\ Select “Install this third-party software” and “Download updates while installing” \\ {{ :doc:dev_vm_p10.png?300 |}} \\ Press “continue” +  - Starte die Installation \\ Wähle “Install this third-party software” und “Download updates while installing” \\ {{ :doc:dev_vm_p10.png?300 |}} \\ Drücke “continue” 
-  - Choose installation type (here: use entire disk) \\ {{ :doc:dev_vm_p11.png?300 |}} \\ Press “Install now” +  - Wähle den Installationstyp (hier: use entire disk) \\ {{ :doc:dev_vm_p11.png?300 |}} \\ Drücke “Install now” 
-  - Confirm Timezone during installation process \\ {{ :doc:dev_vm_p12.png?300 |}} \\ Press “Continue” +  - Bestätige die Zeitzone während des Installationsprozesses \\ {{ :doc:dev_vm_p12.png?300 |}} \\ Drücke “Continue” 
-  - Select you Keyboard layout (here: German) \\ {{ :doc:dev_vm_p13.png?300 |}} \\ Press “Continue” +  - Wähle das Tastaturlayout (hier: German) \\ {{ :doc:dev_vm_p13.png?300 |}} \\ Drücke “Continue” 
-  - Fill-In user data \\ {{ :doc:dev_vm_p14.png?300 |}} \\ Press “Continue” +  - Trage die Nutzerdaten ein \\ {{ :doc:dev_vm_p14.png?300 |}} \\ Drücke “Continue” 
-  - After finishing installation restart Virtual machine by pressing “Restart Now” \\ {{ :doc:dev_vm_p15.png?300 |}} \\ **Hint:** \\  CD is ejected automatically after shutting down and restart+  - Nachdem die Installation fertiggestellt ist drücke  “Restart Now” \um die virtuelle Maschine zu starten\ {{ :doc:dev_vm_p15.png?300 |}} \\ **Hinweis:** \\  Die CD wird nachdem Herunterfahren des Systems ausgeworfen und das System startet erneut
-  - After restart and login the KDE desktop is shown: \\ {{ :doc:dev_vm_p16.png?300 |}} +  - Nach dem Neustart und Einloggen wird der KDE Desktop angezeigt: \\ {{ :doc:dev_vm_p16.png?300 |}} 
  
  
-==== Install Eclipse-CDT with Muon Package Manager ====+==== Installiere die  Eclipse-CDT mit Muon Package Manager ====
  
-  - KDE => Applications => System => Muon Package Manager \\ {{ :doc:dev_vm_p17.png?300 |}} \\ Press “Installation” \\ **Hint: ** \\ “Mark Addition changes?” => Press “OK” \\ Press “Apply Changes” on the top and enter your user password \\ **Hint:** \\ A working Internet connection is necessary now otherwise the installation will fail+  - KDE => Applications => System => Muon Package Manager \\ {{ :doc:dev_vm_p17.png?300 |}} \\ Drücke “Installation” \\ **Hinweis: ** \\ “Mark Addition changes?” => Drücke “OK” \\ Drücke “Apply Changes” als obersten Eintrag und gebe dein Passwort ein \\ **Hinweis:** \\ Eine funktionierende Internetverbindung ist notwendig anderenfalls wird die Installation scheitern
-  - Install Subversion with Muon Package Manager+  - Installiere Subversion mit dem Muon Package Manager
      * KDE => Applications => System => Muon Package Manager \\ {{ :doc:dev_vm_p18.png?300 |}}      * KDE => Applications => System => Muon Package Manager \\ {{ :doc:dev_vm_p18.png?300 |}}
-     Type Subversion in search bar +     Tippe Subversion in das Suchfeld 
-     * Highlight subversion and right click on subversion => Mark for installation => Apply changes+     * Highlight Subversion und mache einen Rechtsklick auf Subversion => Markiere zur Installation => Apply changes
  
  
-==== Installation procedure of Sourcery G++ Lite Edition for ARM EABI ====+==== Installationsprozedur von Sourcery G++ Lite Edition für ARM EABI ====
  
-  - Start Webbrowser (i.e. Firefox from KDE => All Applications => Internet) and get Sourcery CodeBench Lite Edition for ARM EABI – ARM crosscompiler \\ Please download the latest Sourcery G++ Lite version and NOT any “CodeBench” versioni.e.: \\ Release Date 2011-05-02 - Sourcery G++ Lite 2011.03-42 \\ https://sourcery.mentor.com/GNUToolchain/release1802 \\ Release Date 2010-11-10 - Sourcery G++ Lite 2010.09-51 \\ https://sourcery.mentor.com/GNUToolchain/release1592 \\ **Hint:** \\ Don’t use the newer CodeBench version as they won’t work out of the boxi.e.: \\ Release Date 2013-05-07 - Sourcery CodeBench Lite 2013.05-23 \\ https://sourcery.mentor.com/GNUToolchain/release2449 \\ Release Date 2011-12-19 - Sourcery CodeBench Lite 2011.09-69 \\ https://sourcery.mentor.com/GNUToolchain/release2032 \\ **Hint:** \\ Target OS... \\ EABI => IA32 GNU/Linux Installer \\ ... and NOT... \\ GNU/Linux +  - Starte den Webbrowser (z.B. Firefox von KDE => All Applications => Internet) und wähle Sourcery CodeBench Lite Edition für ARM EABI – ARM Crosscompiler \\ Lade die letzte Sourcery G++ Lite Version und NICHT irgendeine “CodeBench” Versionz.B.: \\ Release Date 2011-05-02 - Sourcery G++ Lite 2011.03-42 \\ https://sourcery.mentor.com/GNUToolchain/release1802 \\ Release Date 2010-11-10 - Sourcery G++ Lite 2010.09-51 \\ https://sourcery.mentor.com/GNUToolchain/release1592 \\ **Hinweis:** \\ Nutze nicht eine neuere Version CodeBench weil sie nicht nach einfacher Installation direkt funktioniertz.B.: \\ Release Date 2013-05-07 - Sourcery CodeBench Lite 2013.05-23 \\ https://sourcery.mentor.com/GNUToolchain/release2449 \\ Release Date 2011-12-19 - Sourcery CodeBench Lite 2011.09-69 \\ https://sourcery.mentor.com/GNUToolchain/release2032 \\ **Hinweis:** \\ Target OS... \\ EABI => IA32 GNU/Linux Installer \\ ... und NICHT... \\ GNU/Linux 
-  - Install Sourcery CodeBench Lite Edition for ARM EABI by start Terminal \\ KDE => All applications => System => Terminal \\ ''<hostname>:~$ cd Downloads/'' \\ ''<hostname>:~/Downloads$ chmod 755 arm-2011.03-42-arm-none-eabi.bin'' \\ ''<hostname>:~/Downloads$ sudo dpkg-reconfigure –plow dash'' \\ Configuring dash => Select “No” \\ ''<hostname>:~/Downloads$ sudo ./arm-2011.03-42-arm-none-eabi.bin'' \\ {{ :doc:dev_vm_p19.png?300 |}} \\ Installation procedure: \\ Select… \\ “Next” => \\ “I accecpt the terms of the Licencse Agreement” => “Next” => \\ “Next” => \\ “Minimal” => “Next” => \\ “Choose Install Folder” => change prefix folder to “/opt/CodeSourcery/Sourcery_G++_Lite“ => “Next” => \\ “Modify PATH for current user” => “Next” => \\ “Choose Link Folder” => change prefix folder to “/opt/CodeSourcery/Sourcery_G++_Lite“ => “Next” => \\ “Install” \\ Select “Next” => “Next” \\ {{ :doc:dev_vm_p20.png?300 |}} \\ Installer will be closed automatically now+  - Installiere Sourcery CodeBench Lite Edition für ARM EABI durch das Starten des Terminals \\ KDE => All applications => System => Terminal \\ ''<hostname>:~$ cd Downloads/'' \\ ''<hostname>:~/Downloads$ chmod 755 arm-2011.03-42-arm-none-eabi.bin'' \\ ''<hostname>:~/Downloads$ sudo dpkg-reconfigure –plow dash'' \\ Konfiguriere dash => Wähle “No” \\ ''<hostname>:~/Downloads$ sudo ./arm-2011.03-42-arm-none-eabi.bin'' \\ {{ :doc:dev_vm_p19.png?300 |}} \\ Installations Prozedur: \\ Wähle… \\ “Next” => \\ “I accecpt the terms of the Licencse Agreement” => “Next” => \\ “Next” => \\ “Minimal” => “Next” => \\ “Choose Install Folder” => wähle den Präfix Ordner zu “/opt/CodeSourcery/Sourcery_G++_Lite“ => “Next” => \\ “Modify PATH for current user” => “Next” => \\ “Choose Link Folder” => wähle den Präfix Ordner zu “/opt/CodeSourcery/Sourcery_G++_Lite“ => “Next” => \\ “Install” \\ Wähle “Next” => “Next” \\ {{ :doc:dev_vm_p20.png?300 |}} \\ Die Installationsroutine wird sich nun automatisch beenden
-  - Set PATH in home directory ~/.profile \\ ''sudo vi ~/.profile'' \\ ---add at the end of the file--- \\ ''# set PATH so it includes CodeSourcery bin if it exists'' \\ ''if [ -d "/opt/CodeSourcery/Sourcery_G++/bin" ] ; then'' \\ ''PATH="/opt/CodeSourcery/Sourcery_G++/bin:$PATH"'' \\ ''fi'' +  - Setze die Variable PATH im home Directory auf ~/.profile \\ ''sudo vi ~/.profile'' \\ ---füge ans Ende der Datei--- \\ ''# Setze PATH so das das Binary CodeSourcery falls es existierte'' \\ ''if [ -d "/opt/CodeSourcery/Sourcery_G++/bin" ] ; then'' \\ ''PATH="/opt/CodeSourcery/Sourcery_G++/bin:$PATH"'' \\ ''fi'' 
  
-==== Install GNU Arm Eclipse - Manged build extension for GNU ARM Toolchains ====+==== Installiere GNU Arm Eclipse - Manged build extension für GNU ARM Toolchains ====
  
  
 http://gnuarmeclipse.livius.net/blog/ http://gnuarmeclipse.livius.net/blog/
-  - Start Eclipse \\ KDE => All applications => Development => Eclipse +  - Starte Eclipse \\ KDE => All applications => Development => Eclipse 
-  - Add source to Available Software \\ Eclipse menu: Help => Install software \\ Work with: http://gnuarmeclipse.sourceforge.net/updates \\ Press “Add” \\  {{ :doc:dev_vm_p21.png?300 |}} \\ Add Name and Press “OK” \\ Press “Select All” \\ Press “Next” \\ Press “Next” \\ Select “I accept the terms of the license agreement” \\ Press “Finish” \\ “Security Warning” => Press “OK” \\ After installation is finished => “Software Updates” => Press “Yes” => Eclipse will be restarted+  - Füge eine neue Quelle zur verfügbaren Software \\ Eclipse menu: Help => Install software \\ Arbeite mit: http://gnuarmeclipse.sourceforge.net/updates \\ Press “Add” \\  {{ :doc:dev_vm_p21.png?300 |}} \\ Füge Namen hinzu und Drücke “OK” \\ Drücke “Select All” \\ Drücke “Next” \\ Drücke “Next” \\ Wähle “I accept the terms of the license agreement” \\ Drücke “Finish” \\ “Security Warning” => Drücke “OK” \\ Nachdem die Installation abgeschlossen ist => “Software Updates” => Drücke “Yes” => Eclipse wird erneut gestartet
  
  
 ==== Installation “VBoxGuestAdditions.iso” ==== ==== Installation “VBoxGuestAdditions.iso” ====
  
-  - Right mouse click on CD symbol on tray right bottom corner +  - Rechter Mausklick auf das CD Symbol in der rechten Ecke der Ablage 
-  - Mark entry “VBoxGuestAdditions.iso” +  - Markiere den Eintrag “VBoxGuestAdditions.iso” 
-  - Press “Strg-Alt-F1” to leave KDE and start Terminal+  - Drücke “Strg-Alt-F1” um KDE zu verlassen und starte das Terminal
   - ''cd /media/<username>/VBOXADDITIONS_4.2.12_84980$''   - ''cd /media/<username>/VBOXADDITIONS_4.2.12_84980$''
-  - ''sudo ./VBoxLinuxAdditions.run'' \\  {{ :doc:dev_vm_p22.png?300 |}} \\ Restart Virtual machine to use the Guest Additions+  - ''sudo ./VBoxLinuxAdditions.run'' \\  {{ :doc:dev_vm_p22.png?300 |}} \\ Starte erneut die Virtuelle Maschine um die Guest Additions zu nutzen
  
-==== Mount Shared Folder to Host OS (here: Windows) ====+==== Richte den Shared Folder zum Host Betriebssystem (hier: Windows) ein ====
   - ''sudo mount –t vboxsf V_DRIVE /mnt''   - ''sudo mount –t vboxsf V_DRIVE /mnt''
  
-==== Start and Configuration of Eclipse ====+==== Starten und Konfiguration von Eclipse ====
  
-  - Start Eclipse from the KDE-Menu and use/confirm the default workspace directory in your home directory +  - Starte Eclipse vom KDE-Menu und nutze/bestätige das Default Arbeitsverzeichnis in deinem Homeverzeichnis 
-  - Import OOBD firmware project \\ File => Import \\  {{ :doc:dev_vm_p23.png?300 |}} \\ General => Existing Projects into Workspace => Next \\  {{ :doc:dev_vm_p24.png?300 |}} \\ Select Directory where the firmware is located (Hint: SVN checkout) => Finish  \\ After import of project is finished => Right click on project “DXM1_Firmware” => Build Configurations => Set Active => Release_STM32 \\ \\  {{ :doc:dev_vm_p25.png?300 |}} \\ Right click on project “DXM1_Firmware” => Clean Project (before first build process) \\ Right click on project “DXM1_Firmware” => Build Project \\ If firmware is finished successfully you’ll get a result like: \\  {{ :doc:dev_vm_p26.png?300 |}} \\ The “OOBD_Firmware_CRC.bin” file is located here… \\ ''..\trunk\interface\Designs\CORTEX\STM32F103C8_Eclipse_GCC\D2\app\Release_STM32\'' \\ +  - Import OOBD firmware project \\ File => Import \\  {{ :doc:dev_vm_p23.png?300 |}} \\ General => Existing Projects into Workspace => Next \\  {{ :doc:dev_vm_p24.png?300 |}} \\ Wähle das Verzeichnis in dem die Firmware abgelegt ist (Hinweis: SVN checkout) => Finish  \\ Nachdem der Import des Projekt abgeschlossen ist => Rechtsklick auf das Projekt “DXM1_Firmware” => Build Configurations => Set Active => Release_STM32 \\ \\  {{ :doc:dev_vm_p25.png?300 |}} \\ Rechtsklick auf das Projekt “DXM1_Firmware” => Clean Project (vor dem ersten Buildprozess) \\ Rechtsklick auf das Projekt “DXM1_Firmware” => Build Project \\ Wenn die Firmware erfolgreich abgeschlossen wurde erhälst Du ein Ergebnis wie: \\  {{ :doc:dev_vm_p26.png?300 |}} \\ Die “OOBD_Firmware_CRC.bin” liegt hier… \\ ''..\trunk\interface\Designs\CORTEX\STM32F103C8_Eclipse_GCC\D2\app\Release_STM32\'' \\ 
-after the build process is finished.+nachdem der Buildprozess abgeschlossen ist.
  
 ---- ----
  
-===== Off TopicWhat Eclipse files to check in with a new project =====+===== Abseits des Themas:Welche Eclipsedateien mit einem neuen Projekt eingecheckt werden müssen =====
  
  
-A small notecopied from http://digitaldumptruck.jotabout.com/?p=767+Eine kleine Notizkopiert von http://digitaldumptruck.jotabout.com/?p=767
  
-What Eclipse files to check in with a new project +Welche Eclipsedateien mit einem neuen Projekt eingecheckt werden müssen 
-By Michael Portuesi | Published: November 17, 2010+Von Michael Portuesi | Publiziert: November 17, 2010
  
-This info is available elsewhere on the netbut I am including it here because I have to look it up every time and I’m tired of it.+Diese Information ist überall verfügbar im Netzaber ich binde es hier ein weil ich es immer nachschauen muss und ich bin gelangweilt von Diesem...
 Check in Check in
  
     * ''.project''     * ''.project''
     * ''.classpath''     * ''.classpath''
-    * ''.settings'' Check in these files if you wish to share with the rest of the team+    * ''.settings'' Checke diese Dateien ein wenn Du sie mit dem Rest des Teams teilen möchtest
-          * ''.settings/org.eclipse.jdt.ui.prefs'' – it contains the settings for the import ordering +          * ''.settings/org.eclipse.jdt.ui.prefs'' – es enthält die Einstellungen für den Importvorgang 
-          * ''.settings/org.eclipse.jdt.core.prefs'' – it contains the settings for the compiler version+          * ''.settings/org.eclipse.jdt.core.prefs'' – es enthält die Einstellungen für die Compilerversion
  
-Do not check in+Checke nicht ein
  
-    * ''.metadata'' It contains a bunch of state information for your Eclipse workspacewhich is changing all the time.+    * ''.metadata'' Es enthält eine Reihe von Statusinformationen für deinen Eclipse Arbeitsbereichwelcher sich jederzeit ändert.
  
-When setting up the project on the new machine use File > Import … > General > Existing Project Into Workspace.+Wenn das Projekt auf einer neuen Maschine aufgesetzt wird benutze File > Import … > General > Existing Project Into Workspace.
de/doc/dev_setupfirmware.1409767168.txt.gz · Last modified: 2014/09/03 19:59 by wsauer