Community
cancel
Showing results for 
Search instead for 
Did you mean: 
hhshsh
Beginner
1,513 Views

Unable to read file u-boot.scr

 
0 Kudos
2 Replies
355 Views

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

Fawaz_J_Intel
Employee
355 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