All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] SPL Platdata howto?
@ 2018-12-19 21:06 Simon Goldschmidt
  2018-12-20 14:49 ` Simon Glass
  0 siblings, 1 reply; 11+ messages in thread
From: Simon Goldschmidt @ 2018-12-19 21:06 UTC (permalink / raw)
  To: u-boot

Hi,

while searching for bytes to save in SPL in order to add FIT signature 
handling, I am currently trying to get socfpga-gen5 to use OF_PLATDATA.

To begin, I stripped down socfpga_socrates_defconfig to absolutely 
nothing but serial drivers in SPL (with some modifications to the 
Kconfig) and enabled DEBUG_UART to see what's going on.

Now while this config runs OK with a dtb (it just won't boot as drivers 
are missing -> "failed to boot from all boot devices"), it does not find 
the serial driver after enabling OF_PLATDATA.

So since serial_rockchip.c already uses OF_PLATDATA and is based on 
ns16550 that my socfpga-gen5 platform is using: what do I have to do 
besides enabling OF_PLATDATA to get this working?

I just seems like uclass_first_device does not find any UCLASS_SERIAL 
deivce when OF_PLATDATA is enabled.

(And when answering this, keep in mind I need to get MMC and QSPI 
drivers working with OF_PLATDATA - I already fixed compiler errors in 
those, nothing more.)

Thanks,
Simon

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-01-11  7:37 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-19 21:06 [U-Boot] SPL Platdata howto? Simon Goldschmidt
2018-12-20 14:49 ` Simon Glass
2018-12-20 15:03   ` Simon Goldschmidt
2018-12-20 17:37     ` Simon Glass
2018-12-20 20:53       ` Simon Goldschmidt
2018-12-20 21:32         ` Simon Goldschmidt
2018-12-21 21:16           ` Simon Glass
2018-12-21 21:20             ` Simon Goldschmidt
2019-01-04  7:15               ` Simon Goldschmidt
2019-01-10 12:56                 ` Simon Glass
2019-01-11  7:37                   ` Simon Goldschmidt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.