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.69k stars 1.83k forks source link

X96 Mini Plus #132

Closed ngowuys closed 2 years ago

ngowuys commented 2 years ago

Hi I got X96 Mini Plus, which using S905W4, 2GB of RAM, I tried some dtb files but all of them only recognize 1GB of RAM. I tried balbes150 images too, they all works fine but this repo is not. So is there anyway to fix that? Thank you for this project.

ophub commented 2 years ago

Which kernel version are you testing with? Is it correct in 5.15?

ngowuys commented 2 years ago

Which kernel version are you testing with? Is it correct in 5.15?

I tested both 5.15 and 5.4, but they still not recognize 2GB of RAM, weird

ophub commented 2 years ago

Did you test on usb? Or write emmc test? Provide what configuration you are using. dtb and u-boot

ngowuys commented 2 years ago

Did you test on usb? Or write emmc test? Provide what configuration you are using. dtb and u-boot

I tested on both usb/sd card and emmc. About dtb I tried with

ophub commented 2 years ago

Which version of the firmware of balbes150 are you using, and which dtb and u-boot are you using?

ophub commented 2 years ago

meson-gxl-s905w-p281.dtb meson-gxl-s905l2-p281.dtb meson-gxl-s905w-tx3-mini.dtb

ngowuys commented 2 years ago

Which version of the firmware of balbes150 are you using, and which dtb and u-boot are you using?

I used meson-glx-p281.dtb and uboot-s905-s912 with armbian-20.10 bullseye. Tried to use them with your firmware but not work, I think they cant work with 5.4 kernel

ophub commented 2 years ago

/boot/dtb/amlogic/meson-glx-p281.dtb You can test it, copy the balbes150‘s dtb, replace my file with the same name, and try again.

ngowuys commented 2 years ago

/boot/dtb/amlogic/meson-glx-p281.dtb You can test it, copy the balbes150‘s dtb, replace my file with the same name, and try again.

Okay I'll try all files then let you know

ngowuys commented 2 years ago

/boot/dtb/amlogic/meson-glx-p281.dtb You can test it, copy the balbes150‘s dtb, replace my file with the same name, and try again.

This one cant boot

meson-gxl-s905w-p281.dtb meson-gxl-s905l2-p281.dtb meson-gxl-s905w-tx3-mini.dtb

These can boot but still 1GB of RAM instead of 2GB of RAM

ophub commented 2 years ago

You copied his dtb under 5.15 is also 1G?

ngowuys commented 2 years ago

You copied his dtb under 5.15 is also 1G?

I tried with both 5.4 and 5.15 and cant boot with that dtb, I think I should try to modify dtb file memory node :/

ngowuys commented 2 years ago

You copied his dtb under 5.15 is also 1G?

Hi, I think I found the problem. So armbian using nearly 50% of RAM for zram swap. Is there anyway to reduce that, can I reduce zram usage and rebuild the image? Thank you for create this project. IMG20220306095541

ophub commented 2 years ago

swap can be adjusted freely:

https://github.com/ophub/amlogic-s9xxx-armbian/blob/main/build-armbian/common-files/files/usr/sbin/armbian-swap