202306 用 SD 启动,自带内核是能识别 8G。
我自己编译的内核,启动后就成了 4G 。
主板 1.3 版,没有升级过 SPI 。
呃?
改用 202306 的 dtbs 目录,就能识别成 8G 了?
github source repo上的dts配置成4G内存了,不管4G还是8G的板子。不知道是不是为了规避之前内核会把4G版本错误识别为8G内存导致无法启动的问题?
我用202302的内核和dts有一样的问题,手工修改为8G就OK了。
参见之前的帖子:
Armbian Release 03212023
github.com/starfive-tech/VisionFive2
Device trees limit Linux to 4GB of RAM on 8GB devices
1 Like
sorry, 上个帖子笔误了
“之前内核会把8G版本错误识别为4G内存导致无法启动” ----> “之前内核会把4G版本错误识别为8G内存导致无法启动” (原帖已修改)
不知道问题解决了没。刚才看star-five的kernel source repo上还是配置成4G DDR的。
https://github.com/starfive-tech/linux/blob/VF2_v3.0.4/arch/riscv/boot/dts/starfive/jh7110-visionfive-v2.dtsi
memory@40000000 {
device_type = "memory";
reg = <0x0 0x40000000 0x1 0x0>;
};