Skip to content
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

Limited memory on RPi3 is back again #725

Closed
DougieLawson opened this issue Jan 22, 2017 · 16 comments
Closed

Limited memory on RPi3 is back again #725

DougieLawson opened this issue Jan 22, 2017 · 16 comments
Assignees

Comments

@DougieLawson
Copy link

#649 is back.

root@challenger:~# free
             total       used       free     shared    buffers     cached
Mem:        117972      80216      37756       2372       7300      28432
-/+ buffers/cache:      44484      73488
Swap:       102396      47888      54508
root@challenger:~# cat /proc/meminfo
MemTotal:         117972 kB
MemFree:           37672 kB
MemAvailable:      32980 kB
root@challenger:~# vcgencmd get_mem arm
arm=128M
root@challenger:~# vcgencmd get_mem gpu
gpu=128M
root@challenger:~#
@DougieLawson
Copy link
Author

Linux challenger 4.9.4-v7+ #949 SMP Mon Jan 16 18:25:36 GMT 2017 armv7l GNU/Linux
That's with Hexxeh/rpi-firmware@7c1a883

@Legend2015
Copy link

I am having the same problem too. When I run rpi-update without the "BRANCH=next" it reverts to the right memory value and my system runs smooth again. But then i can't boot from my USB device anymore. :(

@DougieLawson
Copy link
Author

BRANCH=master rpi-update which installs Hexxeh/rpi-firmware@a12b699 boots from USB for me and gets the right memory allocation.

@popcornmix
Copy link
Contributor

ping @ghollingworth

@Legend2015
Copy link

For me it booted from USB after doing BRANCH=master rpi-update , but just once, after that it refused to boot again from USB. I loaded a previous version of the update from the next branch: sudo BRANCH=next rpi-update 6c702d55e2637404f03cd6886cf8e8a30fd62eaa and everything started working fine for me.

@ghollingworth
Copy link
Contributor

Is this reproducible?

Are you sure you didn't do something to break it between the two boots?

@ghollingworth ghollingworth self-assigned this Jan 22, 2017
@DougieLawson
Copy link
Author

Nothing bad happened between the two boots (other than BRANCH=next rpi-update).

Give me five minutes and I'll try it again.

@Legend2015
Copy link

In my case, after doing the standard rpi-update from the master branch, the Pi won't boot from the USB. I booted up using a working image from a SD card and then copied over start* , fixup* and bootcode.bin from the next branch on the boot folder of the USB and the Pi booted up from the USB but showed 120MB total memory again. That's when i tried sudo BRANCH=next rpi-update 6c702d55e2637404f03cd6886cf8e8a30fd62eaa and got back the full memory

@DougieLawson
Copy link
Author

root@challenger:~# uname -a; vcgencmd get_mem arm; vcgencmd get_mem gpu
Linux challenger 4.9.4-v7+ #949 SMP Mon Jan 16 18:25:36 GMT 2017 armv7l GNU/Linux
arm=128M
gpu=128M
root@challenger:~# uptime -s
2017-01-22 21:14:43
root@challenger:~# uptime
 21:16:31 up 1 min,  3 users,  load average: 3.06, 1.47, 0.55
root@challenger:~#

Still borken.

@BenChud
Copy link

BenChud commented Jan 22, 2017

Same problem here - upgraded firmware and kernel from master to next branch on rpi2 and total memory drops to 256mb. Reverting firmware back to master and leaving kernel on next restores full 1gb.

@ghollingworth
Copy link
Contributor

Please try again with the newly released next branch firmware...

popcornmix added a commit that referenced this issue Jan 23, 2017
firmware: bootcode: Use correct reference to fixup filename
See: #725

firmware: di_adv: Fix for green artefacts regression
See: http://forum.kodi.tv/showthread.php?tid=304573
popcornmix added a commit to Hexxeh/rpi-firmware that referenced this issue Jan 23, 2017
firmware: bootcode: Use correct reference to fixup filename
See: raspberrypi/firmware#725

firmware: di_adv: Fix for green artefacts regression
See: http://forum.kodi.tv/showthread.php?tid=304573
@Legend2015
Copy link

Ok, just updated. Works fine. Thanks a lot for the quick turnaround.

@DougieLawson
Copy link
Author

Thanks, my RPi3 is booted OK from a USB stick running 4.9.5-v7+

@Ruffio
Copy link

Ruffio commented Jan 26, 2017

@DougieLawson so this issue can be closed?

@ED6E0F17
Copy link

ED6E0F17 commented Feb 8, 2017

EDIT: My mistake - it works a lot better when you download ALL the files......

I have missing memory on Pi2 with mainline firmware:

Feb  8 2017 19:08:31 
Copyright (c) 2012 Broadcom
version d6903a3d6a6dbcc3c03e8ec6facb1af2883951c9 (clean) (release)

@popcornmix
Copy link
Contributor

EDIT: My mistake - it works a lot better when you download ALL the files......

Yes, fixup*.dat is used for implementing the arm/gpu memory split, so with that missing you just get a basic (reduced) memory split.

Closing as I believe this is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants