doc:dev_setupfirmware
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| doc:dev_setupfirmware [2014/02/25 06:51] – created admin | doc:dev_setupfirmware [2014/03/01 09:27] (current) – [Kubuntu for VirtualBox with IDE Eclipse and Sourcery ARM Toolchain] admin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| + | ===== Kubuntu for VirtualBox with IDE Eclipse and Sourcery ARM Toolchain ===== | ||
| - | ===== System Setup ===== | + | * The OOBD-Firmware Build process is based on [[http:// |
| + | * The Development environment is running within a virtual machine based on [[http:// | ||
| + | * The used Guest OS itself is the Linux distribution [[http:// | ||
| - | ==== Installing the development environment on a Virtual maschine ==== | ||
| - | In case it is wanted to have the development environment in a virtual machine (which is optional), here are the steps: | + | ==== Download software ==== |
| - | - install Virtualbox (4.1.8) (tested on Host-OS Windows 7, 64bit) | + | |
| - | - install Fedora 16 netinst (32 or 64bit, depending on your Host-OS) | + | |
| - | - install Virtualbox Guest Additions | + | |
| - | ==== Set up Eclipse ==== | + | * Get latest |
| - | - install Eclipse Classic (3.7.1, Indigo) (Linux, 32bit) 64bit version of Eclipse didn't work) | + | |
| - | - add the CDT Plugin | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| + | ==== Virtualbox installation on Windows Host ==== | ||
| - | ===== Compiling ===== | + | Start “Virtual |
| + | - Create new virtual machine: \\ New or Ctrl-N | ||
| + | - Memory size (here: 1024MB)\\ {{ : | ||
| + | - Create a virtual hard drive now \\ {{ : | ||
| + | - Hard drive file type (here: VDI – VirtualBox Disc Image)\\ {{ : | ||
| + | - Storage on physical hard drive (here: Dynamically allocated)\\ {{ : | ||
| + | - Select file location and size (here: 8GB Disc Image)\\ {{ : | ||
| + | - New created virtual machine is ready for initial start now\\ {{ : | ||
| + | - Insert Kubuntu 13.04 CD in CD-ROM of Laptop/PC\\ {{ : | ||
| + | - Kubuntu Start-Screen after booting Virtualmachine from CD\\ {{ : | ||
| + | - Start installation \\ Select “Install this third-party software” and “Download updates while installing” \\ {{ : | ||
| + | - Choose installation type (here: use entire disk) \\ {{ : | ||
| + | - Confirm Timezone during installation process \\ {{ : | ||
| + | - Select you Keyboard layout (here: German) \\ {{ : | ||
| + | - Fill-In user data \\ {{ : | ||
| + | - After finishing installation restart Virtual machine by pressing “Restart Now” \\ {{ : | ||
| + | - After restart and login the KDE desktop is shown: \\ {{ : | ||
| - | Use " | + | ==== Install Eclipse-CDT with Muon Package Manager ==== |
| + | |||
| + | - KDE => Applications => System => Muon Package Manager \\ {{ : | ||
| + | - Install Subversion with Muon Package Manager | ||
| + | * KDE => Applications => System => Muon Package Manager \\ {{ : | ||
| + | * Type Subversion in search bar | ||
| + | * Highlight subversion and right click on subversion => Mark for installation => Apply changes | ||
| + | |||
| + | |||
| + | ==== Installation procedure of Sourcery G++ Lite Edition for 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” version, i.e.: \\ Release Date 2011-05-02 - Sourcery G++ Lite 2011.03-42 \\ https:// | ||
| + | - Install Sourcery CodeBench Lite Edition for ARM EABI by start Terminal \\ KDE => All applications => System => Terminal \\ ''< | ||
| + | - Set PATH in home directory ~/.profile \\ '' | ||
| + | |||
| + | ==== Install GNU Arm Eclipse - Manged build extension for GNU ARM Toolchains ==== | ||
| + | |||
| + | |||
| + | http:// | ||
| + | - Start Eclipse \\ KDE => All applications => Development => Eclipse | ||
| + | - Add source to Available Software \\ Eclipse menu: Help => Install software \\ Work with: http:// | ||
| + | |||
| + | |||
| + | ==== Installation “VBoxGuestAdditions.iso” ==== | ||
| + | |||
| + | - Right mouse click on CD symbol on tray right bottom corner | ||
| + | - Mark entry “VBoxGuestAdditions.iso” | ||
| + | - Press “Strg-Alt-F1” to leave KDE and start Terminal | ||
| + | - '' | ||
| + | - '' | ||
| + | |||
| + | ==== Mount Shared Folder to Host OS (here: Windows) ==== | ||
| + | - '' | ||
| + | |||
| + | ==== Start and Configuration of Eclipse ==== | ||
| + | |||
| + | - Start Eclipse from the KDE-Menu and use/confirm the default workspace directory in your home directory | ||
| + | - Import OOBD firmware project \\ File => Import \\ {{ : | ||
| + | …after | ||
| ---- | ---- | ||
| + | |||
| + | ===== Off Topic: What Eclipse files to check in with a new project ===== | ||
| + | |||
| A small note, copied from http:// | A small note, copied from http:// | ||
| Line 47: | Line 101: | ||
| When setting up the project on the new machine use File > Import … > General > Existing Project Into Workspace. | When setting up the project on the new machine use File > Import … > General > Existing Project Into Workspace. | ||
| - | ---- | ||
| - | |||
| - | something about the STM32 Bootloader http:// | ||
doc/dev_setupfirmware.1393307492.txt.gz · Last modified: 2014/02/25 06:51 (external edit)
