Port-RISCV archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Milk-V Mars CM JH7110
My Milk-V Mars CM is no-wifi, 2GB RAM, no-eMMC.
It seems that, for Milk-V Mars CM, mmc1 must be disabled.
% cat > w.dts
#include "jh7110-milkv-mars.dts"
/ { model = "Milk-V Mars CM"; };
&mmc1 { status = "disabled"; };
^D
% cat > Makefile
NETBSDSRCDIR = /somewhere/nb/src
DTSGNUARCH = riscv
DTSSUBDIR = starfive
.include <bsd.dtb.mk>
^D
% make w.dtb
U-Boot is preinstalled on SPI. At that prompt:
StarFive #
StarFive # fatls mmc 0:1
StarFive # fatload mmc 0:1 ${kernel_addr_r} EFI/Boot/bootriscv64.efi
StarFive # fatload mmc 0:1 ${fdt_addr_r} dtb/w.dtb
StarFive # bootefi ${kernel_addr_r} ${fdt_addr_r}
-mochid
Home |
Main Index |
Thread Index |
Old Index