Skip to content

Add generic FDT memory bank decoding and gd initialization

Michal Simek u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 3 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/3] Add generic FDT memory bank decoding and gd initialization
Quoted 15 lines · Mike Looijmans
Quoted 7 lines

I am not marketing guy to say how often there are designs with only different DDR size like Mike's example but in fpga world you are not buying this chip to have only static part but you want to use fpga part and for that you need to use design tools. Because every design is unique you can generate device tree description directly from design tools which covers your target and this is what I believe people use.

Well, I can't speak for everyone...

Most people don't want to write (or even compile) a new bootloader for each and every project. For our Miami SOMs, there are already more full-custom carrier boards than evaluation boards. If we had to build a bootloader for each such design, there'd be dozens of them.

Quoted 4 lines

What we try to do is just use the generic bootloader to get the SOM up and running, and then provide all the project hardware details in the kernel's final devicetree. That includes changing pinmuxing and clocks and stuff, which is easy to do.

That's nothing against what I have said. Having as much flexibility you need is great. We should support several method how to setup stuff and it is up to user if this method is suitable for you or not and doing these selection via Kconfig is the way we need to go.
For all these autodetection algorithms you have to be sure that it is working fine on your platform based on testing.

Thanks,
Michal