Re: [PATCH] hw/riscv: boot: Support 64bit fdt address.

2022-04-20 Thread Alistair Francis
On Tue, Apr 19, 2022 at 10:03 PM Dylan Jhong wrote: > > The current riscv_load_fdt() forces fdt_load_addr to be placed at a dram > address within 3GB, > but not all platforms have dram_base within 3GB. > > This patch adds an exception for dram base not within 3GB, > which will place fdt at dram_e

Re: [PATCH] hw/riscv: boot: Support 64bit fdt address.

2022-04-20 Thread Alistair Francis
On Tue, Apr 19, 2022 at 10:03 PM Dylan Jhong wrote: > > The current riscv_load_fdt() forces fdt_load_addr to be placed at a dram > address within 3GB, > but not all platforms have dram_base within 3GB. > > This patch adds an exception for dram base not within 3GB, > which will place fdt at dram_e

[PATCH] hw/riscv: boot: Support 64bit fdt address.

2022-04-19 Thread Dylan Jhong
The current riscv_load_fdt() forces fdt_load_addr to be placed at a dram address within 3GB, but not all platforms have dram_base within 3GB. This patch adds an exception for dram base not within 3GB, which will place fdt at dram_end align 16MB. riscv_setup_rom_reset_vec() also needs to be modif