Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-07-15 Thread Julius Werner
> - fuller implementation with more features Is that a good thing? Didn't we just have a long discussion eschewing a heavy-handed, bulky hand-off block design in favor of more simple and flexible structures? I think simplicity is key for this and the bl_aux_params are trying to be about as simple

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-07-15 Thread Simon Glass
Hi François, On Thu, 15 Jul 2021 at 08:25, François Ozog wrote: > > > On Sat, 10 Jul 2021 at 01:07, Julius Werner wrote: > >> > - "bloblist" is a general term for concept of linked list and it's not >> exactly U-boot implementation. The proposed solution will cause some degree >> of changes in

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-07-15 Thread François Ozog
On Sat, 10 Jul 2021 at 01:07, Julius Werner wrote: > > - "bloblist" is a general term for concept of linked list and it's not > exactly U-boot implementation. The proposed solution will cause some degree > of changes in all the participating projects. For backward compatibility > issue, we have

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-07-09 Thread Julius Werner
> - "bloblist" is a general term for concept of linked list and it's not > exactly U-boot implementation. The proposed solution will cause some degree > of changes in all the participating projects. For backward compatibility > issue, we have already though about it and proposed to have build

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-07-09 Thread Manish Pandey2
Stuber ; Boot Architecture Mailman List ; undefined ; Harb Abdulhamid OS ; Simon Glass ; Arjun Khare ; U-Boot Mailing List ; t...@lists.trustedfirmware.org ; Paul Isaac's ; Ron Minnich ; Moe Ammar ; Manish Pandey2 Subject: Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information pas

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-07-09 Thread Daniel Thompson
On Fri, Jul 09, 2021 at 09:05:09AM +0200, François Ozog wrote: > Le ven. 9 juil. 2021 à 03:09, Julius Werner a écrit : > > > > Of course every project would like not to change... > > > > > > For TF-A I wonder whether it will/should in fact use devicetree if there > > is a lot of complex data?

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-07-09 Thread François Ozog
Le ven. 9 juil. 2021 à 03:09, Julius Werner a écrit : > > Of course every project would like not to change... > > > > For TF-A I wonder whether it will/should in fact use devicetree if there > is a lot of complex data? TBD, I suppose. > > Okay, sorry, now I'm a bit confused -- I thought the

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-07-08 Thread Julius Werner
> Of course every project would like not to change... > > For TF-A I wonder whether it will/should in fact use devicetree if there is a > lot of complex data? TBD, I suppose. Okay, sorry, now I'm a bit confused -- I thought the discussion in this thread was about which parameter hand-off

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-07-08 Thread Simon Glass
Hi Julius, On Thu, 8 Jul 2021 at 15:56, Julius Werner wrote: > Thank you all for your feedback. >> >> It appears that in theory we are all happy with using bloblist with few >> implementation details which needs to be taken care of during >> implementation. >> > > Just to clarify: are you using

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-07-08 Thread Julius Werner
> > Thank you all for your feedback. > > It appears that in theory we are all happy with using bloblist with few > implementation details which needs to be taken care of during > implementation. > Just to clarify: are you using "bloblist" as a general term for the concept of a simple linked list

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-07-08 Thread François Ozog
TF-A. > > > Re devicetree, how about we use bloblist for simple things, but use a > devicetree (perhaps in the bloblist) once SDRAM is available. Blobs that > were created pre-SDRAM can continue to be passed on, but anything created > after SDRAM is available should use devicetr

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-07-08 Thread Manish Pandey2
OS ; Joanna Farley ; Madhukar Pappireddy ; Manish Pandey2 ; Moe Ammar ; Okash Khawaja ; Paul Isaac's ; Ron Minnich ; U-Boot Mailing List ; t...@lists.trustedfirmware.org Subject: Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages Le jeu.

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-06-21 Thread François Ozog
Le lun. 21 juin 2021 à 12:32, Alexander Graf a écrit : > > On 20.05.21 18:42, Simon Glass wrote: > > Hi, > > > > Re Jeremy's comment: > >> Using DT to pass platform info at this level is sort of crazy on an ACPI > >> machine which won't have native DTs. Meaning there is an additional > >> level

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-06-21 Thread Alexander Graf
On 20.05.21 18:42, Simon Glass wrote: Hi, Re Jeremy's comment: Using DT to pass platform info at this level is sort of crazy on an ACPI machine which won't have native DTs. Meaning there is an additional level of unnecessary indirection that needs to be converted back into a format which can

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-06-21 Thread François Ozog
+Loic from ST for 32bits perspective. Le ven. 18 juin 2021 à 19:17, Tom Rini a écrit : > On Thu, Jun 17, 2021 at 04:45:48PM -0700, raghu.ncst...@icloud.com wrote: > > [snip] > > I also think it is incorrect to partition platforms into what > u-boot/linux boot/embdedded systems do and what

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-06-18 Thread Simon Glass
List ; Harb Abdulhamid OS < > abdulha...@os.amperecomputing.com>; U-Boot Mailing List < > u-boot@lists.denx.de>; Arjun Khare ; > t...@lists.trustedfirmware.org; Paul Isaac's ; > Ron Minnich ; Moe Ammar > *Subject:* Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) f

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-06-18 Thread Tom Rini
On Thu, Jun 17, 2021 at 04:45:48PM -0700, raghu.ncst...@icloud.com wrote: [snip] > I also think it is incorrect to partition platforms into what u-boot/linux > boot/embdedded systems do and what “UEFI/private code” does. UEFI is a huge > part of the ARM eco-system and is being used fairly

RE: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-06-18 Thread raghu.ncstate
Isaac's ; Ron Minnich ; Moe Ammar Subject: Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages Le jeu. 17 juin 2021 à 21:38, Simon Glass mailto:s...@chromium.org> > a écrit : Hi, On Fri, 11 Jun 2021 at 05:52, Françoi

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-06-17 Thread François Ozog
er SDRAM is available should use devicetree? This would ensure that > complex structures use devicetree rather than C structs, which are of > course harder to extend / describe. > +1 > > Regards, > Simon > > >> >>> Thanks >>> Manish Pandey >>> ---

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-06-17 Thread Simon Glass
t;; Simon Glass >> *Cc:* Harb Abdulhamid OS ; Boot >> Architecture Mailman List ; Ed >> Stuber ; Arjun Khare < >> akh...@amperecomputing.com>; U-Boot Mailing List ; >> Paul Isaac's ; Ron Minnich ; >> Moe Ammar ; t...@lists.trustedfirmware.org < >> t..

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-06-11 Thread François Ozog
e Mailman List ; Ed Stuber > ; Arjun Khare ; > U-Boot Mailing List ; Paul Isaac's < > paul.isa...@linaro.org>; Ron Minnich ; Moe Ammar < > m...@amperecomputing.com>; t...@lists.trustedfirmware.org < > t...@lists.trustedfirmware.org>; Manish Pandey2 > *Subject:* R

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-06-02 Thread Joanna Farley
, Moe Ammar Subject: Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages Hi Everyone, The Manish Pandy and Madhukar Pappireddy of the TF-A team are planning to host another TF-A Tech Forum this Thursday to continue the live discussion

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-06-02 Thread Joanna Farley
Paul Isaac's ; Ron Minnich ; Moe Ammar Subject: Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages Hi, I tried to summarize the discussions in the previous TF-A tech forum regarding the proposal to adopt Hand-off Block

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-05-20 Thread Simon Glass
okash.khaw...@gmail.com>; Simon Glass > Cc: Harb Abdulhamid OS ; Boot > Architecture Mailman List ; Ed Stuber > ; Arjun Khare ; > U-Boot Mailing List ; t...@lists.trustedfirmware.org; > Paul Isaac's ; Ron Minnich ; > Moe Ammar > Subject: Re: [TF-A] Proposal: TF-A to adopt

RE: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-05-20 Thread Julian Hall
gt;> >> https://zoom.us/j/9159704974 >> >> >> >> Meeting ID: 915 970 4974 >> >> >> >> One tap mobile >> >> +16465588656,,9159704974# US (New York) >>

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-05-20 Thread François Ozog
al Message- > From: TF-A On Behalf Of Joanna > Farley via TF-A > Sent: Sunday, May 16, 2021 5:19 AM > To: Okash Khawaja ; Simon Glass > > Cc: Harb Abdulhamid OS ; Boot > Architecture Mailman List ; > t...@lists.trustedfirmware.org; Ed Stuber ; > Arjun Khare ; U-Boot Mailing List <

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-05-20 Thread François Ozog
>> > > >> Bill Fletcher- creator > > >> > > >> • > > >> > > >> t...@lists.trustedfirmware.org > > >> > > >> more details » > > >> > >

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-05-19 Thread Jeremy Linton
st ; Paul Isaac's ; Ron Minnich ; Moe Ammar Subject: Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages Apologies I failed with the recording. Manish/Madhu will reply early next week with the slides and some notes to help with a follow up session

RE: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-05-19 Thread Madhukar Pappireddy
9159704974 >> >> >> >> Meeting ID: 915 970 4974 >> >> >> >> One tap mobile >> >> +16465588656,,9159704974# US (New York) >> >> +16699009128,,9159704974# US (San Jose)

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-05-19 Thread Joanna Farley
oot Architecture Mailman List ; t...@lists.trustedfirmware.org; Ed Stuber ; Arjun Khare ; U-Boot Mailing List ; Paul Isaac's ; Ron Minnich ; Moe Ammar Subject: Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages Apologies I failed with the recor

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-05-19 Thread Joanna Farley
ul Isaac's ; Ron Minnich ; Moe Ammar Subject: Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages Hi, I tried to summarize the discussions in the previous TF-A tech forum regarding the proposal to adopt Hand-off Blocks (HOBs) f

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-05-17 Thread Joanna Farley
>> >> Thanks, >> >> --Harb >> >> >> >> From: Manish Pandey2 >> Sent: Friday, April 30, 2021 8:14 AM >> To: François Ozog >> Cc: Simon Glass ; Julius Werner ; Harb Abdulhamid OS ; Boot Archite

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-05-14 Thread Okash Khawaja
> Thanks, >> >> --Harb >> >> >> >> From: Manish Pandey2 >> Sent: Friday, April 30, 2021 8:14 AM >> To: François Ozog >> Cc: Simon Glass ; Julius Werner ; >> Harb Abdulhamid OS ; Boot Architecture >> Mailman List ; >> t...

RE: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-05-05 Thread Harb Abdulhamid OS
Minnich Subject: Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages Hi All, Please find invite for next TF-A Tech Forum session to continue our discussions on HOB implementation, feel free to forward it to others. The next TF-A Tech Forum

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-05-05 Thread Simon Glass
; *Sent:* Friday, April 30, 2021 8:14 AM > *To:* François Ozog > *Cc:* Simon Glass ; Julius Werner ; > Harb Abdulhamid OS ; Boot Architecture > Mailman List ; > t...@lists.trustedfirmware.org; U-Boot Mailing List ; > Paul Isaac's ; Ron Minnich > *Subject:* Re: [TF-A] Proposal: T

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-04-30 Thread Manish Pandey2
> Sent: Tuesday, March 23, 2021 10:00 AM To: François Ozog mailto:francois.o...@linaro.org>>; Ron Minnich mailto:rminn...@google.com>>; Paul Isaac's mailto:paul.isa...@linaro.org>> Cc: Simon Glass mailto:s...@chromium.org>>; Harb Abdulhamid OS mailto:abdulha...@os.am

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-04-12 Thread François Ozog
Hi, I promised to send my summary of Trusted Substrate architecture council call on HOBs, here it is: Topics where there seem to be consensus - Scope include diverse firmware flows (U-Boot/SPL, TFA, CoreBoot…) on difference architectures (Arm, RiscV) - Definitions: The Hand Over

RE: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-04-08 Thread Harb Abdulhamid OS
...@lists.trustedfirmware.org; U-Boot Mailing List ; Paul Isaac's ; Ron Minnich Subject: Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages Hi, From TF-A project point of view, we prefer to use existing mechanism to pass parameters across boot

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-04-08 Thread Julius Werner
> These structures we are talking about may not be defined by the SiP, and just saying we have SiP specific tags is not good enough. There is enough room in 64-bits to create separate tag spaces for every kind of category you can think of. (In fact, we could also just let every vendor allocate

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-04-08 Thread Mark Kettenis
> From: Simon Glass > Date: Fri, 9 Apr 2021 06:19:08 +1200 > > Here are a few thoughts on UUIDs. > Why a UUID/GUID is probably not the answer > > sjg, 30-Mar-21 > Code is for humans > > Code should be readable, so far as possible. > > This is not readable: > > #define

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-04-08 Thread Simon Glass
gt; > > > Hopefully we can try to sort things out at the next opportunity. > > > > Thanks, > > --Harb > > > > *From:* Manish Pandey2 > *Sent:* Thursday, April 8, 2021 7:56 AM > *To:* Simon Glass ; Julius Werner > *Cc:* Harb Abdulhamid OS ; Boot &g

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-04-08 Thread François Ozog
all today. > > Thanks > Manish P > > -- > *From:* TF-A on behalf of Julius > Werner via TF-A > *Sent:* 25 March 2021 02:43 > *To:* Simon Glass > *Cc:* Harb Abdulhamid OS ; Boot > Architecture Mailman List ; > t...@lists.truste

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-04-08 Thread Manish Pandey2
on Minnich Subject: Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages Just want to point out that TF-A currently already supports a (very simple) mechanism like this: https://review.trustedfirmware.org/plugins/gitiles/TF-A/trusted-firmware-a/+/refs/he

RE: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-03-30 Thread raghu.ncstate
r systems! Thanks Raghu From: Julius Werner Sent: Monday, March 29, 2021 4:48 PM To: raghu.ncst...@icloud.com Cc: Julius Werner ; Simon Glass ; Harb Abdulhamid OS ; Boot Architecture Mailman List ; U-Boot Mailing List ; Paul Isaac's ; Ron Minnich Subject: Re: [TF-A] Proposal: TF-A

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-03-29 Thread Julius Werner
Hi Raghu, > It appears there are opinions you carry around UUID being complicated, > bloated, code being an eyesore, parsing these lists early with MMU/Caches > disabled, calculating checksums etc. While there is certainly a LOT of > truth to those statements, these concerns need to be put into

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-03-29 Thread Simon Glass
Hi Grant, On Mon, 29 Mar 2021 at 23:19, Grant Likely wrote: > > > > On 29/03/2021 08:42, Simon Glass wrote: > > Hi Raghu, > > > > On Sat, 27 Mar 2021 at 03:59, wrote: > > > >> Julius, Simon, > >> > >> > >> > >> It appears there are opinions you carry around UUID being complicated, > >>

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-03-29 Thread Grant Likely
On 29/03/2021 08:42, Simon Glass wrote: > Hi Raghu, > > On Sat, 27 Mar 2021 at 03:59, wrote: > >> Julius, Simon, >> >> >> >> It appears there are opinions you carry around UUID being complicated, >> bloated, code being an eyesore, parsing these lists early with MMU/Caches >> disabled,

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-03-29 Thread Simon Glass
> > > Thanks > > Raghu > > > > *From:* TF-A *On Behalf Of *Julius > Werner via TF-A > *Sent:* Wednesday, March 24, 2021 7:44 PM > *To:* Simon Glass > *Cc:* Harb Abdulhamid OS ; Boot > Architecture Mailman List ; > t...@lists.trustedfirmware.org; U-Boot Maili

RE: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-03-26 Thread raghu.ncstate
; Ron Minnich Subject: Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages Just want to point out that TF-A currently already supports a (very simple) mechanism like this: https://review.trustedfirmware.org/plugins/gitiles/TF-A/trusted

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-03-24 Thread Julius Werner
guid_to_name(const efi_guid_t *guid) > { > struct guid_name *entry; > >for (entry = guid_name; entry->name; entry++) { > if (!guidcmp(guid, >guid)) > return entry->name; >} > >return NULL; > } > > Believe it or not it took a fair b

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-03-24 Thread Simon Glass
during the call… but again, boblist seems like a reasonable starting point > as an alternative to HOB. > Indeed. There is certainly value in both approaches. Regards, Simon > > > Thanks, > > --Harb > > > > *From:* François Ozog > *Sent:* Tuesday,