Re: [RESEND,0/2] rpi: Copy eth PHY address from fw DT to loaded DT

2023-01-09 Thread Jian-Hong Pan
dtb to the loaded dtb > rpi: Copy eth PHY address from fw DT to loaded DT > > board/raspberrypi/rpi/rpi.c | 51 + > 1 file changed, 51 insertions(+) Thanks!!! These patches help u-boot boot Endelss OS on RPi 400. Tested-by: Jian-Hong Pan

Re: Status of dma-range issues with BCM2711

2023-01-09 Thread Jian-Hong Pan
ps://lists.denx.de/pipermail/u-boot/2022-August/491455.html Endless OS chooses this patch series into downstream u-boot. It boots up Endless OS system on RPi 400 correctly. Jian-Hong Pan

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

2022-10-28 Thread Jian-Hong Pan
27;s not a nice > experience for users if they're not aware of the differences/problems. > > Peter > > [1] https://lists.denx.de/pipermail/u-boot/2022-August/491455.html Great! This patch series looks nice, too. Jian-Hong Pan > On Wed, Oct 26, 2022 at 12:23 PM Jian-Hong P

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

2022-10-26 Thread Jian-Hong Pan
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: copy the EMMC controller configuration from firmware-supplied DT" [1] basically. I only add the message and some

[PATCH] rpi: Redefine memory offsets for increased kernel image size

2022-03-15 Thread Jian-Hong Pan
large (roughly 40.5M) kernels. Also, moves the other offset addresses. Buglink: https://lists.denx.de/pipermail/u-boot/2021-February/439578.html Signed-off-by: Jian-Hong Pan --- include/configs/rpi.h | 23 --- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/in

Re: [BUG] U-Boot makes Linux kernel boot failed with "mmc1: invalid bus width" on RPi 400

2021-07-19 Thread Jian-Hong Pan
Jian-Hong Pan 於 2021年7月7日 週三 下午12:23寫道: > > Hi, > > I tried to boot Linux next kernel at tag 5.13.0-next-20210701 from > latest U-Boot at commit 1311dd37ec ("Merge branch > '2021-07-01-update-CI-containers'") on Raspberry Pi 400. > * U-Boot goes with the

[BUG] U-Boot makes Linux kernel boot failed with "mmc1: invalid bus width" on RPi 400

2021-07-07 Thread Jian-Hong Pan
it/tree/drivers/mmc/core/sd.c?h=next-20210701#n239 [3] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/drivers/mmc/core/sd_ops.c?h=next-20210701#n297 Thanks, Jian-Hong Pan

U-Boot hangs and only shows a big rainbow square on RPi 4B if UART is not enabled

2021-04-06 Thread Jian-Hong Pan
debug this issue? [1] https://github.com/raspberrypi/firmware/tree/1.20210303/boot Jian-Hong Pan

[QUESTION] Kernel 5.10 image might be too big to be loaded by U-Boot on RPi 4B

2021-01-28 Thread Jian-Hong Pan
Hi, We have tried to boot the Ubuntu kernel 5.10 [1] (arm64) with U-Boot 2020.10 on RPi 4B. That includes the source code and build config. The kernel's build config enables not only Broadcom chips, but also many other platforms: Amlogic, MediaTek, Realtek, Rockchip ... by default. Here is the o

[U-Boot] [PATCH v2] rpi4: fix dram bank initialization

2019-11-07 Thread Jian-Hong Pan
x27;s reg in FDT for Raspberry Pi 4. Fixes: commit 9de5b89e4c89 ("rpi4: enable dram bank initialization") Signed-off-by: Jian-Hong Pan --- v2: - Add FDT memory related information into commit message - Add memory reg array's length constraint to prevent memory overflow copyi

Re: [U-Boot] [PATCH] rpi4: fix dram bank initialization

2019-11-07 Thread Jian-Hong Pan
Matthias Brugger 於 2019年11月7日 週四 下午4:02寫道: > > Hi Jiang, > > On 07/11/2019 08:00, Jian-Hong Pan wrote: > > Raspberry Pi's memory address & size cells are defined in FDT's root > > node. So, original fdtdec_decode_ram_size() having the cells in memory &g

[U-Boot] [PATCH] rpi4: fix dram bank initialization

2019-11-07 Thread Jian-Hong Pan
size() to parse the memory's reg in FDT for Raspberry Pi 4. Fixes: commit 9de5b89e4c89 ("rpi4: enable dram bank initialization") Signed-off-by: Jian-Hong Pan --- board/raspberrypi/rpi/rpi.c | 60 +++-- 1 file changed, 58 insertions(+), 2 deletions(-) diff -