Skip to contentSkip to conversation

Minecraft_pi now works in Raspbian with arm64 kernel from staging-testing

DISCUSSION Michael Zoran 1 participant 1 message Mar 21, 2017 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Just thought people might find this useful.

I think at this point it might be working from linux-next as well.

Where do I e-mail updated DT bindings to?

Quoted 82 lines · Michael Zoran

So this morning after testing a new firmware release for the RPI, I was
able to get minecraft_pi on ARM 64 to work on Raspbian when built from
the upstream staging-testing tree.

I'm including the DT I used for testing.  The firmware creates the simplefb node that it's been doing for testing on the RPI 3 for a very
long time now.

The only issue is that it appears for now you will need to hard code your display settings in config.txt and you will need to set gpu_mem=128 or something reasonable just like most people would do in Raspbian.

The lastest firmware for the RPI is available at:(Where updates are always available)
https://github.com/raspberrypi/firmware

This is the replacement for arch/arm64/boot/dts/broadcom/bcm2837-rpi- 3-
b.dts

/dts-v1/;
#include "bcm2837.dtsi"
#include "bcm2835-rpi.dtsi"
#include "bcm283x-rpi-smsc9514.dtsi"
#include "bcm283x-rpi-usb-host.dtsi"

/ {
	compatible = "raspberrypi,3-model-b", "brcm,bcm2837";
	model = "Raspberry Pi 3 Model B";

	memory {
		reg = <0 0x40000000>;
	};

	leds {
		act {
			gpios = <&gpio 47 0>;
		};
	};


	soc {

		hvs@7e400000 {
			status = "disabled";
		};

		v3d: v3d@7ec00000 {
			status = "disabled";
		};

		vc4: gpu {
			status = "disabled";
		};

                fb: fb {
                        status = "disabled";
                };

		vchiq: vchiq {
			compatible = "brcm,bcm2835-vchiq";
			reg = <0x7e00b840 0xf>;
			interrupts = <0 2>;
			cache-line-size = <32>;
			firmware = <&firmware>;
		};

		audio: audio {
			compatible = "brcm,bcm2835-audio";
			brcm,pwm-channels = <8>;
		};

	};

	__overrides__ {
		cache_line_size = <&vchiq>, "cache-line-size:0";
	};
Quoted 5 lines

};

&uart1 {
	status = "okay";
};

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html