Skip to contentSkip to conversation

arm: Remove ot1200 board

PATCH New Simon Goldschmidt 1 participant 1 message Nov 22, 2018 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 66/93 arm: Remove ot1200 board

[I've shortened the CC list a bit since this might be somewhat off-topic and both gmail warned be about too many CCs]

Quoted 29 lines · Tom Rini
Quoted 22 lines · Simon Goldschmidt

Am Do., 22. Nov. 2018, 14:44 hat Tom Rini <[email protected]> geschrieben:

Quoted 12 lines · Marek Vasut
Quoted 4 lines · Tom Rini
Quoted 3 lines · Christian Gmeiner
Quoted 2 lines

Am Mo., 19. Nov. 2018 um 16:56 Uhr schrieb Simon Glass <

sjg at chromium.org>:

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 3 lines

This board has not been converted to CONFIG_DM_BLK by the deadline. Remove it.

As the board is still mainted I will NAK it for the moment. Are there any hints want needs to be done
to port thie board over to new DM stuff?

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

Yes, as a start you need to switch over to using CONFIG_OF_CONTROL and selecting/providing a dtb file. I see ot1200 is using DWC_AHSATA which needs more work, but this is the board-level work that needs doing.

Wasn't there a possibility to use platform data in board file instead of DT ? Or is DT mandatory now , including the libfdt overhead ?

In short, DT for U-Boot and platform data for SPL is what's recommended, yes.

Quoted 6 lines

This is a little confusing for me. Socfpga gen5 SPL doesn't do that. And it seems a little strange or outdated overall.

Would there be some kind of reference architecture or mach to look at what's the suggested/up-to-date way to implement SPL? Also regarding code flow?

Quoted 8 lines

So, SPL is where things get, ahem, fuzzy. While I don't want to encourage boundless growth in U-Boot proper, we aren't exactly size constrained (but rather, functional/logical constrained). But in SPL, yes, we have many platforms with 32/64/128 kilobyte hard limits (and some smaller) and we can't always shove in a "TPL" before SPL either. So in SPL we do make use of platform data instead. While not the smallest size constraint, am335x_hs_evm is a reasonable thing to look at in this case.

OK. My main concern here is not size regarding DTB or platform data but really code flow. Like what should be done in which function and when. There seem to be some implications of *when* some things are done or in which order. And the socfpga gen5 SPL seems like a "historically grown" one to me. I just wanted to see if there's any example of a "well formed" SPL. I'll have a look at that am335x_hs_evm you mentioned, thanks.

Simon