* [PATCH V2 1/2] ARM: bcm2835: add simple framebuffer to device tree
@ 2013-04-04 2:40 Stephen Warren
2013-04-04 2:40 ` [PATCH V2 2/2] ARM: bcm2835: defconfig updates for simple framebuffer Stephen Warren
2013-05-30 4:10 ` [PATCH V2 1/2] ARM: bcm2835: add simple framebuffer to device tree Stephen Warren
0 siblings, 2 replies; 3+ messages in thread
From: Stephen Warren @ 2013-04-04 2:40 UTC (permalink / raw)
To: linux-arm-kernel
Place a template simple-framebuffer device into the RPi device tree. The
bootloader is expected to fill in all the parameters at boot time.
Hence, disable the device by default, so if the bootloader doesn't do
this, the device isn't activated with invalid parameters.
Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
---
v2: s/dumb/simple/ throughout.
---
arch/arm/boot/dts/bcm2835-rpi-b.dts | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/boot/dts/bcm2835-rpi-b.dts b/arch/arm/boot/dts/bcm2835-rpi-b.dts
index aafda17..09e0d40 100644
--- a/arch/arm/boot/dts/bcm2835-rpi-b.dts
+++ b/arch/arm/boot/dts/bcm2835-rpi-b.dts
@@ -8,6 +8,17 @@
memory {
reg = <0 0x10000000>;
};
+
+ framebuffer {
+ compatible = "simple-framebuffer";
+ status = "disabled";
+ /* The bootloader is expected to fill these in */
+ reg = <0 0>;
+ width = <0>;
+ height = <0>;
+ stride = <0>;
+ format = "";
+ };
};
&gpio {
--
1.7.10.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH V2 2/2] ARM: bcm2835: defconfig updates for simple framebuffer
2013-04-04 2:40 [PATCH V2 1/2] ARM: bcm2835: add simple framebuffer to device tree Stephen Warren
@ 2013-04-04 2:40 ` Stephen Warren
2013-05-30 4:10 ` [PATCH V2 1/2] ARM: bcm2835: add simple framebuffer to device tree Stephen Warren
1 sibling, 0 replies; 3+ messages in thread
From: Stephen Warren @ 2013-04-04 2:40 UTC (permalink / raw)
To: linux-arm-kernel
Enable the simple framebuffer driver, fbconsole, and VT support.
Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
---
v2: s/dumb/simple/
---
arch/arm/configs/bcm2835_defconfig | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/arch/arm/configs/bcm2835_defconfig b/arch/arm/configs/bcm2835_defconfig
index 32b2c84..22242eb 100644
--- a/arch/arm/configs/bcm2835_defconfig
+++ b/arch/arm/configs/bcm2835_defconfig
@@ -55,7 +55,6 @@ CONFIG_DEVTMPFS_MOUNT=y
# CONFIG_INPUT_KEYBOARD is not set
# CONFIG_INPUT_MOUSE is not set
# CONFIG_SERIO is not set
-# CONFIG_VT is not set
# CONFIG_LEGACY_PTYS is not set
# CONFIG_DEVKMEM is not set
CONFIG_SERIAL_AMBA_PL011=y
@@ -69,6 +68,10 @@ CONFIG_SPI=y
CONFIG_SPI_BCM2835=y
CONFIG_GPIO_SYSFS=y
# CONFIG_HWMON is not set
+CONFIG_FB=y
+CONFIG_FB_SIMPLE=y
+CONFIG_FRAMEBUFFER_CONSOLE=y
+CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
# CONFIG_USB_SUPPORT is not set
CONFIG_MMC=y
CONFIG_MMC_SDHCI=y
--
1.7.10.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH V2 1/2] ARM: bcm2835: add simple framebuffer to device tree
2013-04-04 2:40 [PATCH V2 1/2] ARM: bcm2835: add simple framebuffer to device tree Stephen Warren
2013-04-04 2:40 ` [PATCH V2 2/2] ARM: bcm2835: defconfig updates for simple framebuffer Stephen Warren
@ 2013-05-30 4:10 ` Stephen Warren
1 sibling, 0 replies; 3+ messages in thread
From: Stephen Warren @ 2013-05-30 4:10 UTC (permalink / raw)
To: linux-arm-kernel
On 04/03/2013 08:40 PM, Stephen Warren wrote:
> Place a template simple-framebuffer device into the RPi device tree. The
> bootloader is expected to fill in all the parameters at boot time.
> Hence, disable the device by default, so if the bootloader doesn't do
> this, the device isn't activated with invalid parameters.
In the end, I dropped this patch, and decided to just have U-Boot create
this DT node itself from scratch, just like Olof did for the Samsung ARM
Chromebook.
I have however applied patch 2/2, to enable the simplefb driver in
bcm2835_defconfig.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-05-30 4:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-04 2:40 [PATCH V2 1/2] ARM: bcm2835: add simple framebuffer to device tree Stephen Warren
2013-04-04 2:40 ` [PATCH V2 2/2] ARM: bcm2835: defconfig updates for simple framebuffer Stephen Warren
2013-05-30 4:10 ` [PATCH V2 1/2] ARM: bcm2835: add simple framebuffer to device tree Stephen Warren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).