FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
5203 Discussions

Unable to read file u-boot.scr

hhshsh
Beginner
1,992 Views
 
0 Kudos
2 Replies
KhaiChein_Y_Intel
834 Views

Could you explain in details? Is there any error messages?

Fawaz_J_Intel
Employee
835 Views

Hello hhshsh,

Would you let me know how did you create this scr file?

I have seen this issue before, and it was due to my wrong compilation of the txt file to scr. I did modify the original scr file and made it unreadable.

 

The script file u-boot.scr was obtained with the following procedure

 

1. On host PC, create text file u-boot.txt with the following contents:

 

fatload mmc 0:1 $fpgadata soc_system.rbf;

fpga load 0 $fpgadata $filesize;

run bridge_enable_handoff;

run mmcload;

run mmcboot;

 

2. Add the U-boot header to the u-boot.txt script file to create the

u-boot.scr file:

 

$mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "My script" -d u-boot.txt u-boot.scr

 

3. Write the file on the SD card.

 

please let me know if this can help. If not, I can send you a sample scr file.

 

Thanks

 

 

 

Reply