tgillett
The standard Quadra device is based on the T95 Mini device which has 16GB eMMC storage and 2GB of RAM memory.

The T95 Max device has 32GB of eMMC storage and 4GB of RAM memory, and is suggested as an alternative target device for those of us who are outside the US and need to build our own Quadra boxes.

The Quadra firmware runs fine on the T95 Max device, except that it can only see 2GB of RAM rather than the full 4GB.

I am wondering what is required to be done to access the extra RAM.

Is this set as part of the firmware build process i.e. a hardware profile definition somewhere?

Thanks in advance for any help on this.
Michael Burmeister-Brown inovato
You can edit:

/boot/extlinux/extlinux.conf

and remove

mem=2048M

However, the H6 SoC can only address 3G of memory.  So you'll get 1G additional, not 2G.
Reply 1 0
tgillett
Thanks Micheal, with that change it now sees 2.9GB of RAM.

root@inovato:~# free -h
total used free shared buff/cache available
Mem: 2.9Gi 600Mi 1.8Gi 117Mi 589Mi 2.1Gi
Swap: 1.5Gi 0B 1.5Gi



Interestingly, Android apps running on the device under the original TV box firmware can see the full 4GB of RAM.
See the attached screenshot taken from the Kodi app.
I guess they are using some software technique to access memory beyond the hardware limit of the H6 chip.
Reply 0 0
Michael Burmeister-Brown inovato
If what I have read on the Armbian forum is true, it simply lies in android.  😉
Reply 0 0
tgillett
Curious.  Seems odd that the manufacturers would waste the extra memory chips.
Reply 0 0
moebius
 Has anyone tried the More RAM app in the Pi-Apps store? It claims to allow the use of more RAM by compressing files that are loaded into the RAM. From the documentation it seemed like it could double or triple the RAM in the Quadra. It claims it could do more than that. I've not had time to try it yet.
Reply 0 0
tgillett
I installed MoreRAM to try it out on a T95Max device with 4GB RAM.

The main difference seems to be that swap has grown from 1.5GB to 11GB.

How this will affect operation of the system remains to be seen.
Swap usage is zero with Firefox running with several tabs playing Youtube videos.
Opening enough tabs gets some swap used, but only 500MB or so.
Performance of FF seems to be limited by CPU rather than RAM.



---------------------------------------------------------------------------------------------
Before installation fdisk shows two zram entries:
  Disk /dev/zram0: 1.46 GiB, 1566310400 bytes, 382400 sectors
  Disk /dev/zram1: 50 MiB, 52428800 bytes, 12800 sectors

After installation fdisk shows three zram entries:
  Disk /dev/zram1: 50 MiB, 52428800 bytes, 12800 sectors
  Disk /dev/zram0: 11.67 GiB, 12530466816 bytes, 3059196 sectors
  Disk /dev/zram2: 11.67 GiB, 12530466816 bytes, 3059196 sectors

And free command shows:
  # free -h
    total used free shared buff/cache available
    Mem: 2.9Gi 738Mi 1.5Gi 90Mi 758Mi 2.0Gi
    Swap: 11Gi 0B 11Gi
Reply 1 0
tgillett
As I understand, the H6 is set up to boot as follows:
1. If the SD card contains a bootable image, boot that image.
2. Otherwise, try to boot from the image in eMMC.

This has been my experience with all the T95 Max devices we have in use at present.
Our default deployment is to simply boot from SD card as this allows us to simply take a new device in the field and plug in a SD card to make it run the system without any elaborate setup process.
(Our usage is running the T95 Max as a Koilbri server on the standard Quadra operating system).

We have not made any changes to make the T95 device boot from SD card by default - this is the hardwired behaviour.

The standard Quadra firmware boots from SD card, then checks to see if a HDMI montor is attached.
If there is a monitor attached, the system will continue to boot from SD card.
If there is no monitor attached, the Quadra firmware will be copied from the SD card to the eMMC, and the system will subsequently boot Quadra from eMMC as long as no bootable SD card is present.

A change that we have made to the standard Quadra firmware is to disable the HDMI test to prevent the installation process to eMMC because we normally want to run the devices as a headless device with no monitor attached.

The only thing I can suggest that may be causing your problem is that the SD card is not being properly recognised by the T95 Max device.

It may be worth loading the Quadra firmware onto a selection of SD cards and trying them out *with* the HDMI monitor attached.
This will ensure that the system simply boots from SD card without trying to load firmware into the eMMC.

Also, if you start the T95 Max with no SD card installed and a HDMI monitor attached, what happens?
It should boot whatever image is loaded in eMMC.
Does it run the original TV Box firmware, or has Quadra been installed on eMMC?

T
Reply 0 0
tgillett
@darkhorse

So I picked up a T95 Max on amazon, because I wanted a device with a bit more RAM than the quadra had... however, I cannot get it to boot the sdcard at all. I opened the device and verified it is a H6 and has eMMC chip and not NAND.

To force boot from the sdcard, I have tried with and without the monitor and also using a toothpick in the AV port to hold down the reset button during power on. I just get a red light and no signal to monitor.
tgillett, was wondering if you had to do anything special on the T95 Max you are using to boot from sdcard? thanks.
Reply 0 0
darkhorse
Thanks tgillett... I decided to pop apart the T95 Max I had purchased... turns out is was a H616 processor and not an H6.  My bad. 

Thanks for the additional details, appreciated.
Reply 0 0
tgillett
@darkhorse
That is so frustrating.

I have purchased several batches from the Amazon link that Michael posted and all have been ok .

As a matter of interest, did yours come from a different source?

T
Reply 0 0
darkhorse
oh, I didn't see the link posted.  I bought this one, says H6.. also the picture is now changed, when I bought they didn't have any kind of clock... they had 32GB of eMMC, but it was a H616 processor. I would just buy more from inovato, but wanted one with 3GB of RAM.  https://www.amazon.com/dp/B07PBWCJZ6
Reply 0 0
tgillett
I wonder if there might be an Armbian image for H616 that will boot up on your device. You might not get all the peripherals, but perhaps the basics.
Reply 0 0
Gerhard

Hi all, same problem with this one: Android TV Box 12.0 2GB RAM 16GB ROM H618 Quad-Core Cortex-A53 Android Box, Unterstützung Ultra HD 6K 4K Auflösung 3D HDR10 H.265, 2.4G/5G WiFi 100M Ethernet Bluetooth 4.0 USB 2.0 TV Box Android 2022: AmazonSmile: Elektronik & Foto

Any solution yet?

Reply 0 0
Michael Burmeister-Brown inovato
The only ones that will work with our firmware have an H6 processor.  
Reply 0 0
Reply