Quantcast
Channel: Altera Forums
Viewing all articles
Browse latest Browse all 19390

Booting VxWorks 7 with U-Boot on Cyclone V, take 2...

$
0
0
So I am having quite a bit of trouble trying to figure out how to get the u-boot going for VxWorks 7 on Cyclone V. I have the Cyclone V devkit BSP from WindRiver’s site and have downloaded the files from Altera for booting VxWorks.

How much of a difference between getting this done is there between VxWorks 6.9 and 7? Here are some questions or statements that I have:

Section: Build a BootROM from a VxWorks Image Project
  1. Create a VxWorks Image project with the profile PROFILE_BOOTAPP.
    • There is no PROFILE_BOOTAPP in VxWorks 7; it is now a configuration option for the VIP called INCLUDE_BOOTAPP (or something similar).

  2. Set the build spec to default_rom.
    • I only have a default spec, does this need to be created?

  3. Build the vxworks.bin target in the project.
  4. Use the vxWorks_rom.bin file in the default_rom build directory in the project.
    • Never mentioned again in the document. Says that vxworks.bin and vxWorks_rom.bin both need to be wrapped using ‘mkimage’ but then doesn’t detail how.



Section: Creating a Bootable Environment using SD/MMC
  1. Set up the board for SD/MMC boot.
    • Instead of telling the reader to orient the board, could’ve just used the pin numbers
    • BSEL0: 1 [2 3]
    • BSEL1: 1 [2 3]
    • BSEL2: [1 2] 3
    • The SoC FPGA Cyclone V dev kit doesn’t look the same as the board this documentation is coming from, I don’t think.

  2. Create an SD/MMC card.
    • Says to unzip ‘sdmmc/cv_140_fat_sdmmc.zip’ and then write the image, cv_140_fat_sdmmc.img, to the SD card using Win32 Disk Imager.

  3. Load the card into your development board and power up.
    • Using PuTTY with the appropriate COM port and baud rate of 115200, I SEE NOTHING using the image provided. Am I doing something wrong?

  4. Build the VxWorks Bootrom.
  5. Add the Altera header to the VxWorks Bootrom.
    • In Wind River’s documentation on u-boot, it uses “-T kernel” rather than “-T firmware”. What is the difference between the two?
    • Another conflict is that there are different addresses used for the ‘-a’ and ‘-e’ options between the Wind River u-boot documentation and the Altera u-boot documentation. Confused by inconsistencies.
    • I don’t have a ‘bootrom.bin’ file; is this where I use the vxWorks.bin file?

  6. Put the VxWorks bootrom on the FAT partition.
  7. Boot the board with the VxWorks Bootrom.


That’s as far as I have gotten. Suggestions?

Viewing all articles
Browse latest Browse all 19390


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>