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 <[email protected]>
---
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

Reply via email to