bootgen icon indicating copy to clipboard operation
bootgen copied to clipboard

Query regarding split command

Open Sriram-JI opened this issue 1 year ago • 2 comments

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

Sriram-JI avatar Jul 17 '23 12:07 Sriram-JI

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. 1. Boot Header + Image Headers + Partition Headers + Bootloader 2. Partiton1 3. Partition2 ... Please run "bootgen -bif_help split" for more details.

RamyaDarapuneni avatar Jul 17 '23 12:07 RamyaDarapuneni

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

Sriram-JI avatar Jul 17 '23 12:07 Sriram-JI