Posts by sk6

    jenseneverest


    thanks for confirming this.


    interestingly, my flash is reported as 256mb


    df


    Filesystem 1K-blocks Used Available Use% Mounted on
    ubi0:rootfs 222144 94852 127292 43% /
    devtmpfs 117092 4 117088 0% /dev
    tmpfs 64 0 64 0% /media
    tmpfs 117208 156 117052 0% /var/volatile
    /dev/sda1 312370688 18004224 293317888 6% /media/hdd

    i just setup my zgemma h2 and noticed that it reports 256mb ram instead of the advertised 512mb.


    i understand that part of the total ram is used by video etc... but the numbers simply don't add up.


    you can check this as follows:-


    -------------------------------------------------------


    ssh root@192.168.0.xx (enter your zgemma ip)


    free


    total used free shared buff/cache available
    Mem: 234416 76092 99804 116 58520 128556
    Swap: 0 0 0


    -----------------------------------------------------------


    cat /proc/meminfo


    MemTotal: 234416 kB
    MemFree: 99820 kB
    MemAvailable: 128600 kB
    Buffers: 976 kB
    Cached: 46012 kB
    SwapCached: 0 kB
    Active: 59636 kB
    Inactive: 42160 kB
    Active(anon): 54844 kB
    Inactive(anon): 76 kB
    Active(file): 4792 kB
    Inactive(file): 42084 kB
    Unevictable: 0 kB
    Mlocked: 0 kB
    SwapTotal: 0 kB
    SwapFree: 0 kB
    Dirty: 0 kB
    Writeback: 0 kB
    AnonPages: 54812 kB
    Mapped: 14724 kB
    Shmem: 116 kB
    Slab: 11560 kB
    SReclaimable: 4764 kB
    SUnreclaim: 6796 kB
    KernelStack: 616 kB
    PageTables: 412 kB
    NFS_Unstable: 0 kB
    Bounce: 0 kB
    WritebackTmp: 0 kB
    CommitLimit: 117208 kB
    Committed_AS: 146536 kB
    VmallocTotal: 1034164 kB
    VmallocUsed: 542620 kB
    VmallocChunk: 480672 kB


    -------------------------------------------------------


    cat /var/log/messages | grep "Memory"


    Jan 1 01:00:34 zgemmash2 user.info kernel: Memory: 234188K/262144K available (6920K kernel code, 346K rwdata, 1384K rodata, 228K init, 126K bss, 27956K reserved, 0K cma-reserved)


    -------------------------------------------------------


    as you can see, all of these are reporting 256mb ram.
    at least the last 2 commands should report the physical memory as 512mb


    so i beleive that the zgemma h2 only has 256mb ram.
    what do yo guys think? am i missing something?