ophub / amlogic-s9xxx-armbian

Support for Armbian in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
5.7k stars 1.83k forks source link

X96mini only has 1G memory #406

Closed toywl closed 2 years ago

toywl commented 2 years ago

The x96mini I am using is 2+16g, After installation, it shows that there is only 1G memory. it is only 921m QQ截图20220704200946

ophub commented 2 years ago

The 5.4/5.15 kernel does not enable u-boot, so some devices will not be fully recognized. You can replace the 5.10/5.18 kernel, or manually copy u-boot yourself

source /etc/ophub-release
[[ -n "${UBOOT_OVERLOAD}" ]] && {
    echo "copy u-boot..."
    cd /boot
    cp -vf ${UBOOT_OVERLOAD} u-boot.ext
    cp -vf ${UBOOT_OVERLOAD} u-boot.emmc
    chmod +x u-boot.ext u-boot.emmc
}
sync && reboot
toywl commented 2 years ago

QQ截图20220705102256 It doesn't seem feasible to manually copy u-boot. After I swiped into the 5.10 kernel, I found that there was only 924m memory.

ophub commented 2 years ago
cat /etc/ophub-release

ls /boot/u-boot* -l
toywl commented 2 years ago

QQ截图20220705124621

ophub commented 2 years ago

All settings are correct. You can try other kernels to see if they can be recognized.

armbian-update 5.18.9

armbian-update 5.4.203
rapdodge commented 2 years ago

x96 mini (2/16) is no issues image

toywl commented 2 years ago

x96 mini (2/16) is no issues image

5.4 is the kernel too old?

rapdodge commented 2 years ago

x96 mini (2/16) is no issues image

5.4 is the kernel too old?

Well, if you take a look on https://kernel.org/category/releases.html, 5.4 is the second longest period of EOL after 5.10

If you're just using for server usages, 5.4 i think still best choice 👍

IMG_20220709_193324.jpg

toywl commented 2 years ago

x96 mini (2/16) is no issues image

5.4 is the kernel too old?

Well, if you take a look on https://kernel.org/category/releases.html, 5.4 is the second longest period of EOL after 5.10

If you're just using for server usages, 5.4 i think still best choice 👍

IMG_20220709_193324.jpg

But I don't know how to compile the kernel. There is no version of the relevant kernel in the project. QQ截图20220709210606

toywl commented 2 years ago

x96 mini (2/16) is no issues image

Can you share your system image file?

rapdodge commented 2 years ago

x96 mini (2/16) is no issues image

Can you share your system image file?

I'm using my own build by forking ophub's repository https://github.com/rapdodge/amlogic-s9xxx-armbian/releases/tag/Armbian_Aml_bullseye_07.04.2302

I'm using prebuilt images from armbian :)

toywl commented 2 years ago

x96 mini (2/16) is no issues image

Can you share your system image file?

I'm using my own build by forking ophub's repository https://github.com/rapdodge/amlogic-s9xxx-armbian/releases/tag/Armbian_Aml_bullseye_07.04.2302

I'm using prebuilt images from armbian :)

thank you.

gcsuri commented 2 years ago

dtc -I dtb -O dts meson-gxl-s905w-p281.dtb |sed -e 's/0x00 0x00 0x00 0x4/0x00 0x00 0x00 0x8/g' | dtc -I dts -O dtb >meson-gxl-s905w2G-p281.dtb it works for me...

toywl commented 2 years ago

dtc -I dtb -O dts meson-gxl-s905w-p281.dtb |sed -e 's/0x00 0x00 0x00 0x4/0x00 0x00 0x00 0x8/g' | dtc -I dts -O dtb >meson-gxl-s905w2G-p281.dtb it works for me...

Thank you. I'll try it later