Template:DebianVM Development: Difference between revisions
From Wiki-DB
Jump to navigationJump to search
Line 2: | Line 2: | ||
:* [http://www.vmware.com/go/get-player-de Get the VMware player] | :* [http://www.vmware.com/go/get-player-de Get the VMware player] | ||
:* [ | :* [https://dl.dropbox.com/u/19433555/DHCOM/Debian%20Squeeze%20v1.4pw.zip Debian Squeeze VMware Image (PW: dhelectronics)] <br/>Password for devel user: '''devel'''<br/>Password for root user: '''root''' | ||
:{|class="wikitable" style="width: 800px" | :{|class="wikitable" style="width: 800px" | ||
|- | |- | ||
! Version: !! File: !! Changes: | ! Version: !! File: !! Changes: | ||
|- style="text-align: center" | |||
| v1.4 || Debian Squeeze v1.4pw.zipx || style="text-align: left" | - ELBE v0.3.1<br\>- ELDK 4.2<br\>- Qt Creator 2.6.1 + Qt target libs 4.7.2<br\>- System updates | |||
|- style="text-align: center" | |- style="text-align: center" | ||
| v1.3 || Debian Squeeze v1.3.zipx || style="text-align: left" | - Mono 2.10<br\>- mtd-utils<br\>- System updates | | v1.3 || Debian Squeeze v1.3.zipx || style="text-align: left" | - Mono 2.10<br\>- mtd-utils<br\>- System updates |
Revision as of 17:32, 4 February 2013
Get the virtual machine
- Debian Squeeze VMware Image (PW: dhelectronics)
Password for devel user: devel
Password for root user: root
- Debian Squeeze VMware Image (PW: dhelectronics)
Version: File: Changes: v1.4 Debian Squeeze v1.4pw.zipx - ELBE v0.3.1<br\>- ELDK 4.2<br\>- Qt Creator 2.6.1 + Qt target libs 4.7.2<br\>- System updates v1.3 Debian Squeeze v1.3.zipx - Mono 2.10<br\>- mtd-utils<br\>- System updates v1.2 Debian Squeeze v1.2.zipx - Emdebian Toolchain gcc 4.3 / g++ 4.3 ( arm-linux-gnueabi-...
)<br\>- TortoiseHg + TortoiseHg for Nautilus<br\>- Add Plugin "REST Client" in Iceweaselv1.1 Debian Squeeze v1.1.zipx - Update Eclipse Indigo with CDT 8.0<br\>- Add demo project "crosshelloworld" v1.0 Debian Squeeze.zipx - First Release<br\>- CodeSourcery Toolchain ( arm-none-linux-gnueabi-...
)<br\>- Eclipse Helios & Indigo
Setting up a Eclipse Cross Executable Project:
- Use Eclipse Indigo (version 3.7.1) for your project.
- Create a new C++ Project and choose as Executable Project type Cross-Compile Project and as Toolchains Cross GCC
- Click the Button "Next" and specify under Tool command path the Toolchain path.
- CodeSourcery:
- Folder "
/opt/CodeSourcery/Sourcery_G++_Lite/bin
" - Prefix type "
arm-none-linux-gnueabi-
"
- Emdebian Toolchain:
- Folder "
/usr/bin
" - Prefix type "
arm-linux-gnueabi-
"
Code Examples for Userspace-Applications to Access SPI, I2C, GPIOs, and more:
- The following code samples are designed to get you started quickly with the device interfaces to SPI, I2C, GPIOs and more in Linux userspace applications.
- Within Eclipse you can Import the provided projects:
- Execute ">File>Import ..."
- Navigate to ">General>Existing Projects into Workspace" within the import dialog
- Follow the dialog until you have finished.
- Included Demos:
- SPI
- I2C
- GPIO
- RTC
- UART
- Watchdog
- For further documentation have a look at http://www.kernel.org/doc/Documentation/.
Booting via NFS
- Prepare the virtual machine
- Place the root file system in the folder "
/work/nfsroot
" - Check whether the line below is part of the "
/etc/exports
" file
/tftpboot/nfsroot X.X.X.0/255.255.255.0(rw,no_root_squash,no_subtree_check,insecure)
- The
X
must be substituted by our network settings
- Restart the nfs-server by using this commando
- Place the root file system in the folder "
/etc/init.d/nfs-kernel-server restart
- Prepare the DHCOM module
- Go to the U-Boot console by pressing DEL/BACKSPACE on a RS232 terminal (during startup)
- Change to NFS mode
setenv bootcmd 'run nandbootlinuxnfs'
- (Back to normal with
'run nandbootlinux'
)
- Set the IP address of the nfs-server (normally the IP address of the virtual machine)
- (Back to normal with
setenv serverip X.X.X.X
- The
X
must be substituted by our IP address
- Save environment
- The
saveenv