Forum
[PROBLEM] New RPi Model B shows only 122 MB ram! - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Installation (/forum-16.html)
+--- Thread: [PROBLEM] New RPi Model B shows only 122 MB ram! (/thread-1327.html)



New RPi Model B shows only 122 MB ram! - igmi - 7th Sep, 2013 04:56 PM

Hi Guys,

I have also the newest RPi model B 512.

Revision 000e

it wouldn't start with default xbian install. Only when replacing the start.elf and bootcode.bin it will boot.

i've setup the config txr gpu_mem_512 from 128 to 256 but the free -h still shows 122MB.

it should be showing 256, right?

Can anyone explain this to me?

Thanks in advance!

These are my settings and systeminfo:

Config.txt
initramfs initramfs.gz 0x00a00000
gpu_mem_256=128
gpu_mem_512=256
arm_freq=950
core_freq=450
sdram_freq=450
over_voltage=2
disable_overscan=1
disable_splash=1

xbian@XBIAN ~ $ cat /proc/meminfo
MemTotal: 125592 kB
MemFree: 23800 kB
Buffers: 32 kB
Cached: 46488 kB
SwapCached: 1544 kB
Active: 40480 kB
Inactive: 38260 kB
Active(anon): 16052 kB
Inactive(anon): 16188 kB
Active(file): 24428 kB
Inactive(file): 22072 kB
Unevictable: 32 kB
Mlocked: 32 kB
SwapTotal: 163832 kB
SwapFree: 145644 kB
Dirty: 64 kB
Writeback: 0 kB
AnonPages: 31728 kB
Mapped: 10960 kB
Shmem: 20 kB
Slab: 5524 kB
SReclaimable: 2524 kB
SUnreclaim: 3000 kB
KernelStack: 760 kB
PageTables: 752 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 226628 kB
Committed_AS: 276816 kB
VmallocTotal: 892928 kB
VmallocUsed: 8660 kB
VmallocChunk: 655372 kB
xbian@XBIAN ~ $

xbian@XBIAN ~ $ free -h
total used free shared buffers cached
Mem: 122M 99M 23M 0B 32K 45M
-/+ buffers/cache: 53M 68M
Swap: 159M 17M 142M
xbian@XBIAN ~ $

xbian@XBIAN ~ $ cat /proc/cpuinfo
processor : 0
model name : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS : 2.00
Features : swp half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xb76
CPU revision : 7

Hardware : BCM2708
Revision : 000e

xbian@XBIAN ~ $


RE: New RPi Model B shows only 122 MB ram! - IriDium - 7th Sep, 2013 10:22 PM

Can you reinstall xbian - using the latest image (it has been updated to include the newest RPi) and see if that helps.

If not - use the standard /boot/config.txt and try again. If none of these work, can you post the output from #dmesg via pastebin.com as explained in my signature.

If possible can you post a photo of your model. Tnx

There also seems to be a difference in the start.elf from the one downloaded to the one in the latest xbian Beta 1.1 image. So if it is a kernel issue, this might solve the problem.


RE: New RPi Model B shows only 122 MB ram! - mk01 - 8th Sep, 2013 07:47 AM

(7th Sep, 2013 04:56 PM)igmi Wrote:  Hi Guys,

I have also the newest RPi model B 512.

Revision 000e

it wouldn't start with default xbian install. Only when replacing the start.elf and bootcode.bin it will boot.

is it somehow possible that you used plain "start.elf" and "fixup.dat" instead of "start_x.elf" and "fixup_x.dat" and renaming them to start.elf and fixup.dat respectively?

you didn't post the source of your manually replaced firmware files.

mk


RE: New RPi Model B shows only 122 MB ram! - Vorms - 14th Sep, 2013 02:15 AM

hello,
This afternoon, i tested the total ram with the free commande.
I see also 122 MB of ram !!!!!!!!!!!!!!!!

I have a new raspberry pi with normaly 512 MO of ram and the fimrware patch for the new ram


RE: New RPi Model B shows only 122 MB ram! - IriDium - 14th Sep, 2013 04:17 AM

@Vorms - can you follow the instructions in Post 2 & 3.

As none of the developers have the new model - it's difficult for them to test, so we need as much information as possible.

It's possible Igmi has fixed it as it's been a while since this problem was first posted.


RE: New RPi Model B shows only 122 MB ram! - mk01 - 15th Sep, 2013 09:51 AM

btw: at last this was a bug in rpi firmware. reported and solved, but don't know which commit exactly.

@Vorms
so you have package xbian-package-firmware 1.4.5 ?


RE: New RPi Model B shows only 122 MB ram! - Vorms - 15th Sep, 2013 11:08 PM

(15th Sep, 2013 09:51 AM)mk01 Wrote:  btw: at last this was a bug in rpi firmware. reported and solved, but don't know which commit exactly.

@Vorms
so you have package xbian-package-firmware 1.4.5 ?

Hello,
thanks for your reply.
I don't undertand exactly.
When I build a SD crd, I install the version 1.0 beta 1.1 that I downloaded fiew weeks before. Because I have new raspberry, I replace 2 files by new one found in the forom.
Is that exact ?
Is the version 1.0 beta 1.1 updated and now compatibe with new raspberry ?
How can I know the xbian-package-firmware version ?
Is the xbian-package-firmware corresponding with the 2 files I have to replace ?
Sorry for the confusing, best regard and thanks for your help


RE: New RPi Model B shows only 122 MB ram! - mk01 - 16th Sep, 2013 02:11 AM

@Vorms,

XBian Beta1.1 should be able to boot from the new RPIs. Updated firmware is part of the img file which is copied to SD card during install.

But with the fix for new model, people started to to report problems with reported (and used) available system memory specially with 512MB Ram RPIs.

Here is firmware from RPI dated Sep. 20th. Can you test it? Do:
Code:
sudo -i
wget http://ivka57.dyndns-ip.com/others/xbian-package-firmware1.4-6.deb
dpkg -i xbian-package-firmware1.4-6.deb

version you have you can check with
Code:
apt-cache policy xbian-package-firmware

or in xbian-config under packages


RE: New RPi Model B shows only 122 MB ram! - Vorms - 16th Sep, 2013 03:23 AM

Hello,
Thanks for your reply.
I build a new card, from the windows installer version 1.0 betta 1.1
Ok it can start the rasberry with new ram.
I install de new firmware 1.4.6, I install the IPTV XBMC add on and configure it.
I install vlan package
Reboot.
And now the boot process is blocked and the TV show "card resize"
I get this problem several time.
Do you know with step cause the problem ?

Many thanks in advance.

Thierry

A good point is with the new firmware, the ram size problem is solved.
Many thanks.
Thierry


RE: New RPi Model B shows only 122 MB ram! - mk01 - 16th Sep, 2013 03:32 AM

(16th Sep, 2013 03:23 AM)Vorms Wrote:  And now the boot process is blocked and the TV show "card resize"
I get this problem several time.

can you please remove "splash" from cmdline.txt and post result?

btw: ad-card resize should not be run twice. card is resized (should be) during _first_ boot, then it should not try again (if partition at max size - resized in step 1))

with the "splash" out of the cmdline.txt, please check whether you get into "Moving root" stage.


RE: New RPi Model B shows only 122 MB ram! - Vorms - 16th Sep, 2013 10:25 PM

Hello,
I removed the splash and now it's work ! may be a new installer version with new firmware will be welcome...
Many thanks for your help in any case
.
I just see that some HD TV channel work a short time and hang.
In this case the CPU is a 100%, the raspberry is not blocked, i can change the channel.
I have the mpeg licence activeted.
Can I do something ?
Many thanks for your help.
Thierry


RE: New RPi Model B shows only 122 MB ram! - koper89 - 20th Jan, 2014 07:39 AM

My bad I thought I got 512MB but in real i got B 256MB...


RE: New RPi Model B shows only 122 MB ram! - IriDium - 21st Jan, 2014 05:25 AM

@igmi - Can you confirm this is solved. If so can you change the status from Problem to Solved.