Template:DebianVM Development: Difference between revisions

From Wiki-DB
Jump to navigationJump to search
(Created page with "=== Get the Virtual machine === :* [http://www.vmware.com/go/get-player-de Get the VMware player] :* [http://dl.dropbox.com/u/19433555/Debian%20Squeeze%20v1.3.zipx Debian Squeez...")
 
No edit summary
Line 1: Line 1:
=== Get the Virtual machine ===
=== Get the virtual machine ===
:* [http://www.vmware.com/go/get-player-de Get the VMware player]
:* [http://www.vmware.com/go/get-player-de Get the VMware player]


Line 10: Line 10:
| 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
|- style="text-align: center"
|- style="text-align: center"
| v1.2 || Debian Squeeze v1.2.zipx || style="text-align: left" | - Emdebian Toolchain gcc 4.3 / g++ 4.3 (arm-linux-gnueabi-...)<br\>- TortoiseHg + TortoiseHg for Nautilus<br\>- Add Plugin "REST Client" in Iceweasel
| v1.2 || Debian Squeeze v1.2.zipx || style="text-align: left" | - Emdebian Toolchain gcc 4.3 / g++ 4.3 (<code>arm-linux-gnueabi-...</code>)<br\>- TortoiseHg + TortoiseHg for Nautilus<br\>- Add Plugin "REST Client" in Iceweasel
|- style="text-align: center"
|- style="text-align: center"
| v1.1 || Debian Squeeze v1.1.zipx || style="text-align: left" | - Update Eclipse Indigo with CDT 8.0<br\>- Add demo project "crosshelloworld"
| v1.1 || Debian Squeeze v1.1.zipx || style="text-align: left" | - Update Eclipse Indigo with CDT 8.0<br\>- Add demo project "crosshelloworld"
|- style="text-align: center"
|- style="text-align: center"
| v1.0 || Debian Squeeze.zipx || style="text-align: left" | - First Release<br\>- CodeSourcery Toolchain (arm-none-linux-gnueabi-...)<br\>- Eclipse Helios & Indigo
| v1.0 || Debian Squeeze.zipx || style="text-align: left" | - First Release<br\>- CodeSourcery Toolchain (<code>arm-none-linux-gnueabi-...</code>)<br\>- Eclipse Helios & Indigo
|}
|}


Line 22: Line 22:
:* Click the Button "Next" and specify under '''Tool command path''' the Toolchain path.
:* Click the Button "Next" and specify under '''Tool command path''' the Toolchain path.
::*CodeSourcery:
::*CodeSourcery:
:::Folder "'''/opt/CodeSourcery/Sourcery_G++_Lite/bin'''"
:::Folder "'''<code>/opt/CodeSourcery/Sourcery_G++_Lite/bin'''</code>"
:::Prefix type "'''arm-none-linux-gnueabi-'''"
:::Prefix type "<code>'''arm-none-linux-gnueabi-'''</code>"
::*Emdebian Toolchain:
::*Emdebian Toolchain:
:::Folder "'''/usr/bin'''"
:::Folder "<code>'''/usr/bin'''</code>"
:::Prefix type "'''arm-linux-gnueabi-'''"
:::Prefix type "<code>'''arm-linux-gnueabi-'''</code>"
 
=== Booting via NFS ===
:* Prepare the virtual machine
::* Place the root file system in the folder "<code>'''/work/nfsroot'''</code>"
::* Check whether the line below is part of the "<code>'''/etc/exports'''</code>" file
::: <code>'''/tftpboot/nfsroot X.X.X.0/255.255.255.0(rw,no_root_squash,no_subtree_check,insecure)'''</code>
::: The <code>'''X'''</code> must be substituted by our network settings
::* Restart the nfs-server by using this commando
:::{| class="wikitable"
|<code>''/etc/init.d/nfs-kernel-server restart''</code>
|}
:* Prepare the DHCOM module
::* Go to the U-Boot console by pressing '''DEL''' on a RS232 terminal (during startup)
::* Change to NFS mode
:::{| class="wikitable"
|<code>''setenv bootcmd 'run nandbootlinuxnfs'''</code>
|}
:::(Back to normal with <code>'run nandbootlinux'</code>)
::* Set the IP address of the nfs-server (normally the IP address of the virtual machine)
:::{| class="wikitable"
|<code>''setenv serverip X.X.X.X''</code>
|}
:::The <code>X</code> must be substituted by our network settings
::* Save environment
:::{| class="wikitable"
|<code>''saveenv''</code>
|}

Revision as of 16:45, 23 July 2012

Get the virtual machine

Version: File: Changes:
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 Iceweasel
v1.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-"

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
/etc/init.d/nfs-kernel-server restart
  • Prepare the DHCOM module
  • Go to the U-Boot console by pressing DEL 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)
setenv serverip X.X.X.X
The X must be substituted by our network settings
  • Save environment
saveenv