FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
6129 Discussions

Unable to read file u-boot.scr

hhshsh
Beginner
3,914 Views
 
0 Kudos
2 Replies
KhaiChein_Y_Intel
2,756 Views

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

0 Kudos
Fawaz_Al-Jubori
Employee
2,757 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