peyo
Posts: 2
Joined: Sun Feb 22, 2015 9:00 pm

RPi3 kernel CONFIG_VMSPLIT_3G

Sat Apr 02, 2016 3:14 pm

For some applications, I need user/kernel address split of 3G/1G - rather than default 2G/2G.

Until RPi2, modifying kernel source's (github.com/raspberrypi/linux) bcm2709_defconfig
from CONFIG_VMSPLIT_2G to CONFIG_VMSPLIT_3G, and recompiling the kernel - works fine.

On RPi3, modifying it blocks kernel booting. With VMSPLIT_2G, kernel & OS are working fine.
But with VMSPLIT_3G, kernel shows nothing on HDMI output neither on serial console.

I have tried a few branches - rpi-4.1.y / rpi-4.2.y / rpi-4.5.y - and results were same.
Device tree files were bcm2709-rpi-2-b.dtb & bcm2710-rpi-3-b.dtb for matched RPi boards,
just have been re-built, not modified from the github source.

Does anyone have understanding on this ?
Last edited by peyo on Sun Apr 03, 2016 2:23 am, edited 1 time in total.

phelum
Posts: 72
Joined: Thu Jul 17, 2014 7:05 am
Location: Sydney, AUS

Re: RPi3 kernel CONFIG_VMSPLIT_3G

Sun Apr 03, 2016 1:08 am

Hi,

No answer or even an explanation but I hit the same problem. 2G/2G is the only split that works. I'd also be interested to know why.

Cheers,
Steven

edge0f17
Posts: 17
Joined: Sun Oct 25, 2015 6:55 am

Re: RPi3 kernel CONFIG_VMSPLIT_3G

Sun Apr 03, 2016 3:21 pm

CONFIG_VMSPLIT is used to set the physical address of the RAM, so you have to use the "right" setting. That might be a kernel "bug" that could be fixed.

peyo
Posts: 2
Joined: Sun Feb 22, 2015 9:00 pm

Re: RPi3 kernel CONFIG_VMSPLIT_3G

Wed Apr 06, 2016 3:55 pm

Solution found by posting an issue on github :
https://github.com/raspberrypi/linux/issues/1394

springyulei
Posts: 27
Joined: Wed Jun 01, 2016 5:37 pm

Re: RPi3 kernel CONFIG_VMSPLIT_3G

Wed Jun 01, 2016 5:41 pm

Hey, i have check the github issues discussion, I still do not quite know how to do this. Could anyone provide more details. Thanks

Return to “Advanced users”