Re: [PATCH] rpi: copy the eMMC controller configuration from firmware-supplied DT

2022-10-28 Thread Jian-Hong Pan
el. > > Link: https://lists.denx.de/pipermail/u-boot/2021-September/462006.html > Fixed: https://bugzilla.kernel.org/show_bug.cgi?id=213753 > Signed-off-by: Ilya Katsnelson > Signed-off-by: Jian-Hong Pan > --- > The code of this patch comes from "[RFC PATCH] rpi

Re: [PATCH] rpi: copy the eMMC controller configuration from firmware-supplied DT

2022-10-27 Thread Peter Robinson
tps://bugzilla.kernel.org/show_bug.cgi?id=213753 > Signed-off-by: Ilya Katsnelson > Signed-off-by: Jian-Hong Pan > --- > The code of this patch comes from "[RFC PATCH] rpi: copy the EMMC > controller configuration from firmware-supplied DT" [1] basically. > I

[PATCH] rpi: copy the eMMC controller configuration from firmware-supplied DT

2022-10-26 Thread Jian-Hong Pan
: https://bugzilla.kernel.org/show_bug.cgi?id=213753 Signed-off-by: Ilya Katsnelson Signed-off-by: Jian-Hong Pan --- The code of this patch comes from "[RFC PATCH] rpi: copy the EMMC controller configuration from firmware-supplied DT" [1] basically. I only add the message and some modifcati

Re: [RFC PATCH] rpi: copy the EMMC controller configuration from firmware-supplied DT

2021-09-29 Thread François Ozog
On Wed, 29 Sept 2021 at 14:51, Ilya K wrote: > Now that you mention EBBR: I've actually looked at what TianoCore does > here, and they report different ACPI tables based on the SoC revision as > well. It's probably a better option in the long run, but we already have > people running NixOS on

Re: [RFC PATCH] rpi: copy the EMMC controller configuration from firmware-supplied DT

2021-09-29 Thread François Ozog
On Wed, 29 Sept 2021 at 14:29, Ilya K wrote: > There is no DTB embedded in U-Boot here - the DTB comes from the > distribution that U-Boot is booting (in my case NixOS, but it's likely > other similar setups are affected as well). > That's exactly what we (Arm/Linaro) try to avoid from now on

Re: [RFC PATCH] rpi: copy the EMMC controller configuration from firmware-supplied DT

2021-09-29 Thread François Ozog
Hi It looks real strange to ignore the authoritative entity and try to patch a wrong DTB embedded in U-Boot. Arm SystemReady is definitively aligning to the authoritative entities in the platform to give U-Boot the right basis on which it can apply additional overlays (providing it has a way to

[RFC PATCH] rpi: copy the EMMC controller configuration from firmware-supplied DT

2021-09-29 Thread K900
We need this to boot with a custom DTB on BCM2711C0-based Pi 4s Signed-off-by: Ilya Katsnelson --- board/raspberrypi/rpi/rpi.c | 63 + 1 file changed, 63 insertions(+) diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c index