raspberrypi-cm.conf: Add dummy machine for CM1 (alias for RPi1)
PATCH 1/5 raspberrypi-cm.conf: Add dummy machine for CM1 (alias for RPi1)
Signed-off-by Andrei Gherzan <[email protected]>
--- conf/machine/raspberrypi-cm.conf | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 conf/machine/raspberrypi-cm.conf
conf/machine/raspberrypi-cm.conf new file +6 -0
@@ -0,0 +1,6 @@ +#@TYPE: Machine +#@NAME: RaspberryPi Compute Module (CM1) +#@DESCRIPTION: Machine configuration for the RaspberryPi Compute Module (CM1) + +MACHINEOVERRIDES = "raspberrypi:${MACHINE}" +include conf/machine/raspberrypi.conf
Signature · 1 line
2.7.4
PATCH 2/5 raspberrypi-cm3.conf: Add dummy machine for CM3 (alias for RPi2)
Signed-off-by Andrei Gherzan <[email protected]>
--- conf/machine/raspberrypi-cm3.conf | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 conf/machine/raspberrypi-cm3.conf
conf/machine/raspberrypi-cm3.conf new file +6 -0
@@ -0,0 +1,6 @@ +#@TYPE: Machine +#@NAME: RaspberryPi Compute Module 3 (CM3) +#@DESCRIPTION: Machine configuration for the RaspberryPi Compute Module 3 (CM3) + +MACHINEOVERRIDES = "raspberrypi2:${MACHINE}" +include conf/machine/raspberrypi2.conf
Signature · 1 line
2.7.4
PATCH 3/5 raspberrypi*.conf: Minor tweaks
In reply to Andrei GherzanSigned-off-by Andrei Gherzan <[email protected]>
--- conf/machine/raspberrypi.conf | 1 - conf/machine/raspberrypi0.conf | 1 - conf/machine/raspberrypi2.conf | 1 - conf/machine/raspberrypi3.conf | 4 +--- 4 files changed, 1 insertion(+), 6 deletions(-)
conf/machine/raspberrypi.conf +0 -1
@@ -11,4 +11,3 @@ SERIAL_CONSOLE = "115200 ttyAMA0" UBOOT_MACHINE = "rpi_config" VC4_CMA_SIZE_raspberrypi ?= "cma-64" -
conf/machine/raspberrypi0.conf +0 -1
@@ -7,4 +7,3 @@ include conf/machine/raspberrypi.conf SERIAL_CONSOLE = "115200 ttyAMA0" VC4_CMA_SIZE ?= "cma-128" -
conf/machine/raspberrypi2.conf +0 -1
@@ -11,4 +11,3 @@ SERIAL_CONSOLE = "115200 ttyAMA0" UBOOT_MACHINE = "rpi_2_config" VC4_CMA_SIZE ?= "cma-256" -
conf/machine/raspberrypi3.conf +1 -3
@@ -3,11 +3,9 @@ #@DESCRIPTION: Machine configuration for the RaspberryPi 3 MACHINEOVERRIDES = "raspberrypi2:${MACHINE}" +include conf/machine/raspberrypi2.conf MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-bcm43430" -include conf/machine/raspberrypi2.conf - SERIAL_CONSOLE = "115200 ttyS0" VC4_CMA_SIZE ?= "cma-256" -
Signature · 1 line
2.7.4
PATCH 4/5 rpi-base.inc: Include dtb file for CM1 and CM3
In reply to Andrei GherzanSigned-off-by Andrei Gherzan <[email protected]>
--- conf/machine/include/rpi-base.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
conf/machine/include/rpi-base.inc +2 -1
@@ -13,12 +13,13 @@ XSERVER = " \ ${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "xf86-video-modesetting", "xf86-video-fbdev", d)} \ " -# Really supported starting from linux-raspberrypi 3.18.y only KERNEL_DEVICETREE ?= " \ bcm2708-rpi-b.dtb \ bcm2708-rpi-b-plus.dtb \ bcm2709-rpi-2-b.dtb \ bcm2710-rpi-3-b.dtb \ + bcm2708-rpi-cm.dtb \ + bcm2710-rpi-cm3.dtb \ \ overlays/hifiberry-amp.dtbo \ overlays/hifiberry-dac.dtbo \
Signature · 1 line
2.7.4
PATCH 5/5 README: Mention CM1 and CM3 support
In reply to Andrei GherzanSigned-off-by Andrei Gherzan <[email protected]>
--- README | 2 ++ 1 file changed, 2 insertions(+)
README +2 -0
@@ -79,6 +79,8 @@ c. Set MACHINE in local.conf to one of the supported boards: - raspberrypi0 - raspberrypi2 - raspberrypi3 + - raspberrypi-cm (dummy alias for raspberrypi) + - raspberrypi-cm3 (dummy alias for raspberrypi2) d. bitbake rpi-hwup-image e. dd to a SD card the generated sdimg file (use xzcat if rpi-sdimg.xz is used) f. Boot your RPI.
Signature · 1 line
2.7.4
Quoted 19 lines · Andrei Gherzan
Signed-off-by Andrei Gherzan <[email protected]>--- conf/machine/raspberrypi-cm.conf | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 conf/machine/raspberrypi-cm.confconf/machine/raspberrypi-cm.conf new file +6
-1@@ -0,0 +1,6 @@ +#@TYPE: Machine +#@NAME: RaspberryPi Compute Module (CM1) +#@DESCRIPTION: Machine configuration for the RaspberryPi Compute Module (CM1) + +MACHINEOVERRIDES = "raspberrypi:${MACHINE}" +include conf/machine/raspberrypi.conf --
Quoted 2 lines
2.7.4
Merged the entire patch set in master.
--
Andrei Gherzan