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

2021-06-18 Thread Ron Minnich
let's make these values rich in bits, in particular, starting off with abcd_NONE = 0 means you can't tell zero'd memory from a tag. This pattern repeats with every new such project I see. Use those bits, and set them with values unlikely to occur in practice. Use them all, they are there

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

2021-06-18 Thread Simon Glass
Hi Raghu, The thing is, devicetree is already used widely on ARM and it is hard to see a good alternative. Using a C struct to describe something complicated is a pain. Take a look at the x86 setup.bin stuff, or the binary block that PowerPC used to pass to linux. Even the 'atag' tagged structure

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

2021-06-18 Thread raghu.ncstate
My take: Don’t force device tree on platforms. Lets not make decisions about whether SDRAM is sufficient to expose device tree, that is assuming size may be the only problem with device tree. Some platforms don’t want to use device tree just like some platforms don’t want to use UUID’s(which

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

2021-06-18 Thread François Ozog
Le jeu. 17 juin 2021 à 21:38, Simon Glass a écrit : > Hi, > > On Fri, 11 Jun 2021 at 05:52, François Ozog > wrote: > >> >> >> On Thu, 10 Jun 2021 at 23:57, Manish Pandey2 >> wrote: >> >>> Hi Everyone, >>> >>> I have tried to conclude the discussions we had in two of the TF-A tech >>> forum

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

2021-06-18 Thread Simon Glass
Hi, On Fri, 11 Jun 2021 at 05:52, François Ozog wrote: > > > On Thu, 10 Jun 2021 at 23:57, Manish Pandey2 > wrote: > >> Hi Everyone, >> >> I have tried to conclude the discussions we had in two of the TF-A tech >> forum sessions and on mailing list. >> >> The problem we are trying to solve is