All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] riscv: cv1800b: Milk-V Duo boot fixes
@ 2026-09-30 12:17 Hiago De Franco
  2026-09-30 12:17 ` [PATCH 1/2] board: sophgo: milkv_duo_256m: fix fdtfile quoting Hiago De Franco
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Hiago De Franco @ 2026-09-30 12:17 UTC (permalink / raw)
  To: Leo Yu-Chi Liang, u-boot, Yao Zi
  Cc: Tom Rini, Tim Ouyang, Zhuxu Ran, Kongyang Liu

This series fixes two problems on the Sophgo CV1800B/SG2002 Milk-V Duo
boards.

Patch 1 fixes the fdtfile environment variable of the Milk-V Duo 256M.
CONFIG_DEFAULT_DEVICE_TREE is a quoted string, so the quotes ended up
in the environment.

Patch 2 keeps U-Boot out of the memory reserved for the coprocessor
firmware. The upstream devicetrees reserve the end of DRAM as a no-map
region, but U-Boot relocates to ram_top, which is the end of DRAM, so
it lands inside that region.

This was tested on both Milk-V Duo 64M and 256M (CV1800B and SG2002).

Signed-off-by: Hiago De Franco <hfranco@baylibre.com>
---
Hiago De Franco (2):
      board: sophgo: milkv_duo_256m: fix fdtfile quoting
      riscv: cpu: cv1800b: keep U-Boot out of reserved memory

 arch/riscv/cpu/cv1800b/dram.c                  | 25 +++++++++++++++++++++++++
 board/sophgo/milkv_duo_256m/milkv_duo_256m.env |  2 +-
 2 files changed, 26 insertions(+), 1 deletion(-)
---
base-commit: f8eb3469e1a17c79b047b3fd38ae820e8816a115
change-id: 20260929-256m-fixes-919700ca762f
prerequisite-change-id: 20260702-milkv-duo-upstream-dts-b54aed41fc61:v5
prerequisite-patch-id: b8e6815314b7881a02de0066232864d522c4a26c
prerequisite-patch-id: 0df1fa5db1b2bff402b429809796bad99a517483
prerequisite-patch-id: 49e1e8263cf0a5ba8d63c8b598b6382cde5284b2
prerequisite-patch-id: 86dd30e784f022f0a7bb6fbf125c9699467176d4
prerequisite-patch-id: 49070c05ecf58331ec519a57d1b82f8b2b835a89
prerequisite-patch-id: 6b6881e45cc6de6544aaa4509db21611158f4fa1
prerequisite-patch-id: 7198127d4602eeb14212087ce9bb694d84e71a4c
prerequisite-patch-id: 3a58bd8a061707ff27b8538d4897def3b595dc36
prerequisite-patch-id: 9055ea941b73e35d1e825787d7eca14ffceb8e8b
prerequisite-patch-id: 554c1487e8d596e0099677ca88eee0021b1ffbae

Best regards,
--  
Hiago


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-10-11 14:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-30 12:17 [PATCH 0/2] riscv: cv1800b: Milk-V Duo boot fixes Hiago De Franco
2026-09-30 12:17 ` [PATCH 1/2] board: sophgo: milkv_duo_256m: fix fdtfile quoting Hiago De Franco
2026-09-30 12:17 ` [PATCH 2/2] riscv: cpu: cv1800b: keep U-Boot out of reserved memory Hiago De Franco
2026-10-07 21:46   ` Yao Zi
2026-10-07 21:48 ` [PATCH 0/2] riscv: cv1800b: Milk-V Duo boot fixes Yao Zi
2026-10-09 14:31   ` Hiago De Franco
2026-10-11  7:23     ` Zhuxu Ran

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.