AnsweredAssumed Answered

bf70x/implementing ssl from init code

Question asked by sgeorge on Jul 4, 2016
Latest reply on Jul 22, 2016 by Jithul_Janardhanan

Hi,

 

Is there a way to implement ssl (second stage loader) from init code for bf707 (SPI master boot from flash)? For bf548 i've used:

 

void initcode(ADI_BOOT_DATA* pBS) {
     pBS->pSource = ADDR_OF_SECOND_DXE_IN_SPI_FLASH;
}

 

but for bf707 similar approach doesnt work.

 

void initcode(ADI_ROM_BOOT_CONFIG* pBootStruct) {
     pBootStruct->pSource = ADDR_OF_SECOND_DXE_IN_SPI_FLASH; <<< Error here
}

 

It is a part of modified example for BLIP2.

 

Address of pBootStruct is 0x1 when i'm debugging.

Outcomes