Altera_Forum
Honored Contributor
8 years agoBooting VxWorks 7 with U-Boot on Cyclone V, take 2...
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- 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).
- Set the build spec to default_rom.
- I only have a default spec, does this need to be created?
- Build the vxworks.bin target in the project.
- 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.
- 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
- BSEL1: 1
- BSEL2:
- The SoC FPGA Cyclone V dev kit doesn’t look the same as the board this documentation is coming from, I don’t think.
- 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.
- 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?
- Build the VxWorks Bootrom.
- 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?
- Put the VxWorks bootrom on the FAT partition.
- Boot the board with the VxWorks Bootrom.