Re: [PATCH RFC 0/2] board: visionfive2: Select fdtfile based on revision

2023-09-14 Thread Shengyu Qu
Hello Jami, I made a fix for memory size problem based on your series, but I can't try that because I'm using 4GB version. Could you test this? https://github.com/Headcrabed/u-boot/tree/ddr_fix_v1 Best regards, Shengyu From: Jami Kettunen Currently booting a mainline Linux kernel via extl

Re: [PATCH RFC 0/2] board: visionfive2: Select fdtfile based on revision

2023-09-11 Thread Shengyu Qu
Hello Jami, For DDR size problem, I think we could enable CONFIG_OF_BOARD_SETUP, then use ft_board_setup() to apply fdt_fixup_memory()? Just like what they did in spl.c: https://patchwork.ozlabs.org/project/uboot/patch/20230615093652.23161-12-yanhong.w...@starfivetech.com/ Best regards, Shengyu (

[PATCH RFC 0/2] board: visionfive2: Select fdtfile based on revision

2023-09-11 Thread Jami Kettunen
From: Jami Kettunen Currently booting a mainline Linux kernel via extlinux with fdtdir set doesn't load a proper DTB but passes on the U-Boot one to the kernel which as far as I know is very incorrect and prevents user (normally distro) provided DTB usage in a sensible/generic way. A uEnv.txt or