[PATCH] riscv: sifive: unmatched: migrate to text environment

2023-12-05 Thread Yong-Xuan Wang
Migrate to the new environment format and drop most of the config.h. Signed-off-by: Yong-Xuan Wang --- board/sifive/unmatched/unmatched.env | 19 ++ configs/sifive_unmatched_defconfig | 2 +- include/configs/sifive-unmatched.h | 37 3 files changed

Re: [PATCH 1/1] board: sifive: unmatched: move kernel load address to 0x80200000

2023-11-02 Thread Yong-Xuan Wang
Hi Tom, On Tue, Oct 31, 2023 at 7:54 PM Tom Rini wrote: > > On Tue, Oct 31, 2023 at 03:56:45PM +0800, Yong-Xuan Wang wrote: > > > Hi Tom, > > > > 0x8020 comes from the result of the relocated_addr in booti_setup() > > on HiFive Unmatched board. If we load

Re: [PATCH 1/1] board: sifive: unmatched: move kernel load address to 0x80200000

2023-10-31 Thread Yong-Xuan Wang
e the header of the Image. Regards, Yong-Xuan On Sat, Oct 28, 2023 at 12:43 AM Tom Rini wrote: > > On Thu, Oct 26, 2023 at 03:22:52AM +, Yong-Xuan Wang wrote: > > > U-boot initially loads the kernel image to the kernel_addr_r, and > > subsequently relocates it to memory a

[PATCH 1/1] board: sifive: unmatched: move kernel load address to 0x80200000

2023-10-25 Thread Yong-Xuan Wang
U-boot initially loads the kernel image to the kernel_addr_r, and subsequently relocates it to memory address 0x8020. Setting kernel_addr_r to 0x8020 can eliminate one copy operation. Signed-off-by: Yong-Xuan Wang --- include/configs/sifive-unmatched.h | 2 +- 1 file changed, 1