UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor raghup17
Visitor
8,087 Views
Registered: ‎03-26-2014

Splitting BOOT.BIN into its constituent files

Hi all,

 

Is there a tool/method I can use to split a BOOT.BIN file into its constituent elements, like the FSBL elf, bitstream, u-boot elf etc? I have a BOOT.BIN file handed down from a previous project, and was wondering if I could make minimal changes by reusing most of it. The given BOOT.BIN does not have a bitstream - it only has an FSBL elf and u-boot elf. 

I want to create a new BOOT.BIN by reusing the old FSBL, adding a bitstream and reusing the old u-boot. 

 

Thanks,

Raghu

0 Kudos
1 Reply
Xilinx Employee
Xilinx Employee
8,069 Views
Registered: ‎03-13-2012

Re: Splitting BOOT.BIN into its constituent files

Basically bootgen can split those images by using the -split option. But you cannot restore the original files from the boot.bin. The boot.bin does not contain elf or bit files but just binaries. IOW: Running bootgen is a lossy process. There is also a discussion going into that direction here: http://forums.xilinx.com/t5/Embedded-Linux/change-u-boot-on-flash-mtd-with-flashcp/m-p/537707/highlight/true#M11067 .

The conclusion was pretty much that it is safer to just re-generate the whole boot.bin.

0 Kudos