[PATCH V2 7/7] riscv: spl: andes: Move the DTB in front of kernel
Leo Liang
ycliang at andestech.com
Tue Oct 17 09:20:05 CEST 2023
On Thu, Oct 12, 2023 at 02:35:09PM +0800, Randolph wrote:
> Originally, u-boot SPL will place the DTB directly after the kernel,
> but the size of the kernel does not include the BSS section, This
> means that u-boot SPL places the DTB in the kernel BSS section causing
> the DTB to be cleared by the kernel BSS initialisation.
>
> Moving the DTB in front of the kernel can avoid this error.
>
> Signed-off-by: Randolph <randolph at andestech.com>
> ---
> board/AndesTech/ae350/ae350.c | 25 +++++++++++++++++++++++++
> 1 file changed, 25 insertions(+)
Reviewed-by: Leo Yu-Chi Liang <ycliang at andestech.com>
More information about the U-Boot
mailing list