Changes between Version 3 and Version 4 of Developer/VirtualMachines/VirtualBox

Jun 10, 2010, 2:29:26 AM (9 years ago)


  • Developer/VirtualMachines/VirtualBox

    v3 v4  
    72 For me this command produces the following output:
     72This command should produce a similar output to the following one:
    9090listening on:
     93Now that we have the tftp server up and running let's go to the next step...
     94= Get the bootloader =
     97Now we must get the bootloader that will fetch our application remotely and boot it. For this purpose
     98we will use the etherboot bootloader.
     100A floppy image with the bootloader can be configured and obtained online. To do so you need to go [ here] and select the most recent production release of gPXE.
     102This will lead to a configuration page with several bootloader options. For the time being just get sure that the first option(Choose an output format:) is in "Floppy bootable image" and press "Get Image".
     103= The virtual machine =
     106Now we must configure a virtual machine for RTEMS use.
     108Start VirtualBox and choose "New".
     112Give a name to the virtual machine and select "Other"/"Other(Unknown)" in the first page of the virtual machine configuration.
     114In the second page you have to select the available memory for RTEMS(eg:128Mb).
     116The third configuration page will allow you to create or select a virtual disk. If you want a virtual harddisk create one and select its size. Creating a Virtual disk is not mandatory, you can still boot RTEMS without having one.
     118Now that we have concluded creating the virtual machine, we will need to change some options. Select the virtual machine in VirtualBox and press "Settings".The virtual machine settings page will open. This page allows to add disks, change allocated memory, change number of processors among other options.
     120Select "Storage" on the right panel and then press "Empty" that is underneath the "Floppy Controller". Now press the Browse button that is in front of "Floppy Device" and a new window will open. Press "Add", then change the "Filter:" option in the browse windows from "Image Files" to "All files" and select the .dsk floppy image file that you downloaded earlier.
     122This is how it should look:
     127In the "Network" options the "Adapter-1" shall be attached to "NAT".
     129Now we are ready to the next step.= First boot =
     132You shall now have the virtual machine configured with the bootloader floppy image and the opentftp server configured and running with the path to your application.
     134In VirtualBox press Start to initiate the virtual machine. The bootloader should start to run, and you have to press "Ctrl+B" to start the gPXE command line.
     136Once in the command line issue:
     139dhcp net0
     146Then a set of network parameters will be printed. Write Down the "gateway" parameter(eg:
     148Now it is the time to test if everything is as expected... Issue the following commands:
     151kernel tftp://
     158Where is the gateway parameter you wrote down earlier and test.exe is the name of your application. If everything is running fine the RTEMS applications should boot.