-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reduced RAM in X96 Max+ A100 -- dtb mistake #602
Comments
The
|
meson-sm1-x96-max-plus-a100.zip I tested the compilation, and it works fine. You can extract the files and upload the DTB file to the |
try again. |
all fine now. Thank you! |
Take a screenshot of the terminal information page where the correctly recognized memory size can be seen. Take photos of the box, both front and back, and share them. Does your A100 have an Android system? If so, please provide a download link, and I will save a copy. |
Thank you for sharing, the file has been added to the upstream kernel repository. |
Photos... Actually my model is "X96Max+ A100", and really corrrespond to described in mode_database.inf, and looks like on photos here ophub/amlogic-s9xxx-armbian#779 |
Screenshots -- harder, my hdmi is burned out, and I still do not know, how to fire up cvbs on armbian/openwrt. I hope you're really do not want them, but info from device. So I attach logs with android boot and with openwrt boot. |
Android --- yes, present. Now is mod by Slimboxtv.ru" based on original fw (only one variant of original i know, available there too). |
don't close thread, I'll check one issue... |
Oh! I see, source dtb (meson-sm1-sei610.dtb) is changed. In compare with mine, from your pre-latest release. The main issue is ok -- memory limit removed. |
So that's all, problem solved. Thank you! |
Device Information | 设备信息
Issue about corresponding dtb.
From model_database.conf:
my model: 505 :X96-Max+_A100
my SoC: s905x3
my fdt file: meson-sm1-sei610.dtb
I noticed, that in openwrt/armbian with that dtb (meson-sm1-sei610.dtb) all running good, but available ram less than 1GB.
Hardware -- 4GB
in meson-sm1-sei610.dtb decompiled memory description:
thus limiting ram to 1073741824 bytes, 1G.
I extract and decompile dtb from firmware. There are 3 dtb's in one, Amlogic multi dtb. Bootloader make desision while boot and select variant 2 (from 0-1-2):
In that variant:
Same way of memory description is in other dtb's in this bundle, and in dtb's from official armbian, LibreELEC, CoreELEC: defined only linux,usable_memory (memory reservation for kernel recovery purposes, afaik)
And only in device tree from running Android system (not extracted from blob, but from runnning /proc filesystem)
we see info about ram size:
It looks lite there is no need to hardcode RAM size in dtb -- system add it for application usage. All difference withing dtb's now is linux,usable-memory. in meson-sm1-sei610.dtb it equals to my orig dtb. But actually it can be ommited as I see no realisation of kernel recovery....
I propose corrected dtb -- without limit of RAM (reg record), hope you add it to build.
meson-sm1-sei610-fullram.dtb.gz
meson-sm1-sei610-fullram.dts.gz
The text was updated successfully, but these errors were encountered: