Xilinx / bootgen

bootgen source code
Other
34 stars 42 forks source link

Query regarding split command #28

Open Sriram-JI opened 1 year ago

Sriram-JI commented 1 year ago

Hi, We have been using bootgen for a while, need to split the boot images as 3 partitions ( 1st partition -> FSBL - Uboot; 2nd partition -> Linux Kernel; 3rd partition -> RootFS).

Can we authenticate all partitions via eFUSE keys after being splited into three partitions??

Thanks, Sriram

RamyaDarapuneni commented 1 year ago

Hi @Sriram-JI, could you please elaborate a little? Do you mean splitting into different boot images? If the question is regarding the split command available, it works as below: Slave boot mode splits as below.

  1. Boot Header + Bootloader
  2. Image and Partition Headers
  3. Rest of the partitions. Normal mode splits as below.
  4. Boot Header + Image Headers + Partition Headers + Bootloader
  5. Partiton1
  6. Partition2 ... Please run "bootgen -bif_help split" for more details.
Sriram-JI commented 1 year ago

Hi Ramya,

       Thanks for your reply.
       My Scenario would be like assume I am using normal mode to split.
       So I  will be having 3 partitions:
       Partition 1 -> BH + IH + PH + FSBL
       Partition 2 -> Linux Kernel
       Partition 3 -> RootFS
       using 3 respective .bif files.

       Output:
       partition1.bin
       partition2.bin
       partition3.bin

       Can we able to load these .bin's as plain image? Also can we sign these bin's & authenticate using eFUSE keys?

Sriram