- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello!
I am trying to boot Zephyr on an Intel Agilex5 SoC on a dev board but the BL2 preloader is not working.
As written on the Hard Processor System Booting User Guide for Agilex5 and on Zephyr website, the boot flow is ATF BL2 >> ATF BL31 >> Zephyr.
For the moment I am just focusing on loading the preloader BL2 on the QSPI flash. I expect BL2 to send some log over the serial terminal but nothing appears.
So these are the steps I do (tried both on WSL and on Ubuntu):
- Execute the instructions from the Building Arm Trusted Firmware section of the RocketBoard tutorial.
- Transform the bl2.bin in bl2.hex (I tried also .ihex) using the following command:
aarch64-none-linux-gnu-objcopy -v -I binary -O hex --change-addresses 0x00 bl2.bin bl2.hex
The load address is set to 0x00 since the on-chip RAM is at address 0x00 in the Agilex5.
- Compile the Golden Hardware Reference Design on Quartus (and therefore generate the .sof). This design was taken from https://github.com/ArrowElectronics/ghrd-socfpga
- Create the .jic file with the following command:
quartus_pfg -c project.sof project.jic -o device=MT25QU01G -o flash_loader=A5ED065BB32AE4SR0 -o hps_path=/path/bl2.hex -o mode=ASX4
- Open a serial terminal
- Program the board from Quartus Programmer
- Push the NCONFIG button
Is there anyone who has already booted an OS using BL2 as preloader that can help me?
Thank you!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
The steps that is for the Simulation setup.
Could you please refer to the tested boot example in the link below:
Regards
Jingyang, Teh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Since there are no feedback for this thread, I shall set this thread to close pending. Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.
If you happened to close this thread you might receive a survey. If you think you would rank your support experience less than 4 out of 10, please allow me to correct it before closing or if the problem can’t be corrected, please let me know the cause so that I may improve your future service experience.
Regards
Jingyang, Teh

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page