* [Buildroot] [PATCH 01/11] rpi-firmware: allow disabling installation of binary DTBs
2015-06-28 22:25 [Buildroot] [pull request] raspberrypi: update packages and defconfigs Yann E. MORIN
@ 2015-06-28 22:25 ` Yann E. MORIN
2015-06-28 22:25 ` [Buildroot] [PATCH 02/11] package/rpi-firmware: add option to install DTB overlays Yann E. MORIN
` (10 subsequent siblings)
11 siblings, 0 replies; 18+ messages in thread
From: Yann E. MORIN @ 2015-06-28 22:25 UTC (permalink / raw)
To: buildroot
From: Floris Bos <bos@je-eigen-domein.nl>
The binary .dtb files are not suitable for everyone as they are
kernel-version specific.
Reintroduce BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS option.
Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
[yann.morin.1998 at free.fr: don't install DTBs if kernel builds
its own; fix default; rephrase help text]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Pascal de Bruijn <pmjdebruijn@pcode.nl>
---
Changes v1 -> v2:
- hide if kernel installs a DTB
- fix default for bool
- rephrasing
---
package/rpi-firmware/Config.in | 12 ++++++++++++
package/rpi-firmware/rpi-firmware.mk | 2 ++
2 files changed, 14 insertions(+)
diff --git a/package/rpi-firmware/Config.in b/package/rpi-firmware/Config.in
index cd45be4..179fb47 100644
--- a/package/rpi-firmware/Config.in
+++ b/package/rpi-firmware/Config.in
@@ -45,4 +45,16 @@ config BR2_PACKAGE_RPI_FIRMWARE_BOOT
default "_x" if BR2_PACKAGE_RPI_FIRMWARE_X
default "_cd" if BR2_PACKAGE_RPI_FIRMWARE_CD
+config BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS
+ bool "Install Device Tree Blobs (DTBs)"
+ depends on !BR2_LINUX_KERNEL_DTS_SUPPORT
+ default y
+ help
+ If you are using a Linux kernel <= 3.18, you should say 'y' here.
+
+ If you are using a Linux kernel >= 3.19, you should say 'n' here,
+ and enable BR2_LINUX_KERNEL_DTS_SUPPORT to let the kernel build
+ the DTB.
+
+
endif # BR2_PACKAGE_RPI_FIRMWARE
diff --git a/package/rpi-firmware/rpi-firmware.mk b/package/rpi-firmware/rpi-firmware.mk
index cbcf790..9cccb38 100644
--- a/package/rpi-firmware/rpi-firmware.mk
+++ b/package/rpi-firmware/rpi-firmware.mk
@@ -13,6 +13,7 @@ RPI_FIRMWARE_INSTALL_IMAGES = YES
RPI_FIRMWARE_DEPENDENCIES += host-rpi-firmware
+ifeq ($(BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS),y)
define RPI_FIRMWARE_INSTALL_DTB
$(INSTALL) -D -m 0644 $(@D)/boot/bcm2708-rpi-b.dtb $(BINARIES_DIR)/rpi-firmware/bcm2708-rpi-b.dtb
$(INSTALL) -D -m 0644 $(@D)/boot/bcm2708-rpi-b-plus.dtb $(BINARIES_DIR)/rpi-firmware/bcm2708-rpi-b-plus.dtb
@@ -21,6 +22,7 @@ define RPI_FIRMWARE_INSTALL_DTB
$(INSTALL) -D -m 0644 $${ovldtb} $(BINARIES_DIR)/rpi-firmware/overlays/$${ovldtb##*/} || exit 1; \
done
endef
+endif
define RPI_FIRMWARE_INSTALL_IMAGES_CMDS
$(INSTALL) -D -m 0644 $(@D)/boot/bootcode.bin $(BINARIES_DIR)/rpi-firmware/bootcode.bin
--
1.9.1
^ permalink raw reply related [flat|nested] 18+ messages in thread* [Buildroot] [PATCH 02/11] package/rpi-firmware: add option to install DTB overlays
2015-06-28 22:25 [Buildroot] [pull request] raspberrypi: update packages and defconfigs Yann E. MORIN
2015-06-28 22:25 ` [Buildroot] [PATCH 01/11] rpi-firmware: allow disabling installation of binary DTBs Yann E. MORIN
@ 2015-06-28 22:25 ` Yann E. MORIN
2015-06-28 22:25 ` [Buildroot] [PATCH 03/11] package/rpi-firmware: add option to install vcdbg Yann E. MORIN
` (9 subsequent siblings)
11 siblings, 0 replies; 18+ messages in thread
From: Yann E. MORIN @ 2015-06-28 22:25 UTC (permalink / raw)
To: buildroot
Currently, Buildroot does not support building the overlays that are
bundled in the Linux kernel, so all we can do is install the ones
pre-built in rpi-firmware.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Floris Bos <bos@je-eigen-domein.nl>
Cc: Pascal de Bruijn <pmjdebruijn@pcode.nl>
---
package/rpi-firmware/Config.in | 8 ++++++++
package/rpi-firmware/rpi-firmware.mk | 6 ++++++
2 files changed, 14 insertions(+)
diff --git a/package/rpi-firmware/Config.in b/package/rpi-firmware/Config.in
index 179fb47..a060b4e 100644
--- a/package/rpi-firmware/Config.in
+++ b/package/rpi-firmware/Config.in
@@ -56,5 +56,13 @@ config BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS
and enable BR2_LINUX_KERNEL_DTS_SUPPORT to let the kernel build
the DTB.
+config BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS
+ bool "Install DTB overlays"
+ depends on BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS \
+ || BR2_LINUX_KERNEL_DTS_SUPPORT
+ default y
+ help
+ Say 'y' here if you need to load one or more of the DTB overlays,
+ to support HATs (Hardware Attached on Top, add-on modules).
endif # BR2_PACKAGE_RPI_FIRMWARE
diff --git a/package/rpi-firmware/rpi-firmware.mk b/package/rpi-firmware/rpi-firmware.mk
index 9cccb38..0533588 100644
--- a/package/rpi-firmware/rpi-firmware.mk
+++ b/package/rpi-firmware/rpi-firmware.mk
@@ -18,6 +18,11 @@ define RPI_FIRMWARE_INSTALL_DTB
$(INSTALL) -D -m 0644 $(@D)/boot/bcm2708-rpi-b.dtb $(BINARIES_DIR)/rpi-firmware/bcm2708-rpi-b.dtb
$(INSTALL) -D -m 0644 $(@D)/boot/bcm2708-rpi-b-plus.dtb $(BINARIES_DIR)/rpi-firmware/bcm2708-rpi-b-plus.dtb
$(INSTALL) -D -m 0644 $(@D)/boot/bcm2709-rpi-2-b.dtb $(BINARIES_DIR)/rpi-firmware/bcm2709-rpi-2-b.dtb
+endef
+endif
+
+ifeq ($(BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS),y)
+define RPI_FIRMWARE_INSTALL_DTB_OVERLAYS
for ovldtb in $(@D)/boot/overlays/*.dtb; do \
$(INSTALL) -D -m 0644 $${ovldtb} $(BINARIES_DIR)/rpi-firmware/overlays/$${ovldtb##*/} || exit 1; \
done
@@ -31,6 +36,7 @@ define RPI_FIRMWARE_INSTALL_IMAGES_CMDS
$(INSTALL) -D -m 0644 package/rpi-firmware/config.txt $(BINARIES_DIR)/rpi-firmware/config.txt
$(INSTALL) -D -m 0644 package/rpi-firmware/cmdline.txt $(BINARIES_DIR)/rpi-firmware/cmdline.txt
$(RPI_FIRMWARE_INSTALL_DTB)
+ $(RPI_FIRMWARE_INSTALL_DTB_OVERLAYS)
endef
# We have no host sources to get, since we already
--
1.9.1
^ permalink raw reply related [flat|nested] 18+ messages in thread* [Buildroot] [PATCH 03/11] package/rpi-firmware: add option to install vcdbg
2015-06-28 22:25 [Buildroot] [pull request] raspberrypi: update packages and defconfigs Yann E. MORIN
2015-06-28 22:25 ` [Buildroot] [PATCH 01/11] rpi-firmware: allow disabling installation of binary DTBs Yann E. MORIN
2015-06-28 22:25 ` [Buildroot] [PATCH 02/11] package/rpi-firmware: add option to install DTB overlays Yann E. MORIN
@ 2015-06-28 22:25 ` Yann E. MORIN
2015-06-29 3:19 ` Baruch Siach
2015-06-29 20:16 ` Thomas Petazzoni
2015-06-28 22:25 ` [Buildroot] [PATCH 04/11] package/rpi-firmware: bump version Yann E. MORIN
` (8 subsequent siblings)
11 siblings, 2 replies; 18+ messages in thread
From: Yann E. MORIN @ 2015-06-28 22:25 UTC (permalink / raw)
To: buildroot
vcdbg is a tool to help debug the communication with the GPU.
It comes as a binary-only, and in two flavours: one for the hard
floating point ABI, one for the software floating poitn ABI.
Unfortunately, we have no source code for that tool, only a binary
that was dynamically linked with glibc and libraries from rpi-userland.
So, just install that executable, and let's hope there is no symbol
issue at runtime.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc; Floris Bos <bos@je-eigen-domein.nl>
Cc: Pascal de Bruijn <pmjdebruijn@pcode.nl>
---
package/rpi-firmware/Config.in | 9 +++++++++
package/rpi-firmware/rpi-firmware.mk | 7 +++++++
2 files changed, 16 insertions(+)
diff --git a/package/rpi-firmware/Config.in b/package/rpi-firmware/Config.in
index a060b4e..d1856f0 100644
--- a/package/rpi-firmware/Config.in
+++ b/package/rpi-firmware/Config.in
@@ -65,4 +65,13 @@ config BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS
Say 'y' here if you need to load one or more of the DTB overlays,
to support HATs (Hardware Attached on Top, add-on modules).
+config BR2_PACKAGE_RPI_FIRMWARE_INSTALL_VCDBG
+ bool "vcdbg"
+ depends on BR2_PACKAGE_RPI_USERLAND
+ help
+ Install vcdbg, to help debug communication with the GPU.
+
+comment "vcdbg needs rpi-userland"
+ depends on !BR2_PACKAGE_RPI_USERLAND
+
endif # BR2_PACKAGE_RPI_FIRMWARE
diff --git a/package/rpi-firmware/rpi-firmware.mk b/package/rpi-firmware/rpi-firmware.mk
index 0533588..65ee6fb 100644
--- a/package/rpi-firmware/rpi-firmware.mk
+++ b/package/rpi-firmware/rpi-firmware.mk
@@ -29,6 +29,13 @@ define RPI_FIRMWARE_INSTALL_DTB_OVERLAYS
endef
endif
+ifeq ($(BR2_PACKAGE_RPI_FIRMWARE_INSTALL_VCDBG),y)
+define RPI_FIRMWARE_INSTALL_TARGET_CMDS
+ $(INSTALL) -d -m 0700 $(@D)/$(if BR2_ARM_EABIHF,hardfp/)opt/vc/bin/vcdbg \
+ $(TARGET_DIR)/usr/sbin/vcdbg
+endef
+endif # INSTRALL_VCDBG
+
define RPI_FIRMWARE_INSTALL_IMAGES_CMDS
$(INSTALL) -D -m 0644 $(@D)/boot/bootcode.bin $(BINARIES_DIR)/rpi-firmware/bootcode.bin
$(INSTALL) -D -m 0644 $(@D)/boot/start$(BR2_PACKAGE_RPI_FIRMWARE_BOOT).elf $(BINARIES_DIR)/rpi-firmware/start.elf
--
1.9.1
^ permalink raw reply related [flat|nested] 18+ messages in thread* [Buildroot] [PATCH 03/11] package/rpi-firmware: add option to install vcdbg
2015-06-28 22:25 ` [Buildroot] [PATCH 03/11] package/rpi-firmware: add option to install vcdbg Yann E. MORIN
@ 2015-06-29 3:19 ` Baruch Siach
2015-06-29 16:52 ` Yann E. MORIN
2015-06-29 20:16 ` Thomas Petazzoni
1 sibling, 1 reply; 18+ messages in thread
From: Baruch Siach @ 2015-06-29 3:19 UTC (permalink / raw)
To: buildroot
Hi Yann,
On Mon, Jun 29, 2015 at 12:25:12AM +0200, Yann E. MORIN wrote:
> +config BR2_PACKAGE_RPI_FIRMWARE_INSTALL_VCDBG
> + bool "vcdbg"
> + depends on BR2_PACKAGE_RPI_USERLAND
There must be a good reason for doing 'depends' instead of 'select' here. Can
you add a comment explaining that?
> + help
> + Install vcdbg, to help debug communication with the GPU.
> +
> +comment "vcdbg needs rpi-userland"
> + depends on !BR2_PACKAGE_RPI_USERLAND
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
^ permalink raw reply [flat|nested] 18+ messages in thread* [Buildroot] [PATCH 03/11] package/rpi-firmware: add option to install vcdbg
2015-06-29 3:19 ` Baruch Siach
@ 2015-06-29 16:52 ` Yann E. MORIN
2015-06-29 20:16 ` Thomas Petazzoni
0 siblings, 1 reply; 18+ messages in thread
From: Yann E. MORIN @ 2015-06-29 16:52 UTC (permalink / raw)
To: buildroot
Baruch, All,
On 2015-06-29 06:19 +0300, Baruch Siach spake thusly:
> On Mon, Jun 29, 2015 at 12:25:12AM +0200, Yann E. MORIN wrote:
> > +config BR2_PACKAGE_RPI_FIRMWARE_INSTALL_VCDBG
> > + bool "vcdbg"
> > + depends on BR2_PACKAGE_RPI_USERLAND
>
> There must be a good reason for doing 'depends' instead of 'select' here. Can
> you add a comment explaining that?
OK, I can add a comment.
Here's the reason: vcdbg is a debug utility, and I don't see selecting
the whole of rpi-userland just for the one or two libraries that vcdbg
xfr.org/requires.
Thanks! :-)
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Buildroot] [PATCH 03/11] package/rpi-firmware: add option to install vcdbg
2015-06-29 16:52 ` Yann E. MORIN
@ 2015-06-29 20:16 ` Thomas Petazzoni
0 siblings, 0 replies; 18+ messages in thread
From: Thomas Petazzoni @ 2015-06-29 20:16 UTC (permalink / raw)
To: buildroot
Dear Yann E. MORIN,
On Mon, 29 Jun 2015 18:52:40 +0200, Yann E. MORIN wrote:
> On 2015-06-29 06:19 +0300, Baruch Siach spake thusly:
> > On Mon, Jun 29, 2015 at 12:25:12AM +0200, Yann E. MORIN wrote:
> > > +config BR2_PACKAGE_RPI_FIRMWARE_INSTALL_VCDBG
> > > + bool "vcdbg"
> > > + depends on BR2_PACKAGE_RPI_USERLAND
> >
> > There must be a good reason for doing 'depends' instead of 'select' here. Can
> > you add a comment explaining that?
>
> OK, I can add a comment.
>
> Here's the reason: vcdbg is a debug utility, and I don't see selecting
> the whole of rpi-userland just for the one or two libraries that vcdbg
> xfr.org/requires.
Well, still, I believe a 'select' is more appropriate here. I don't
think we generally introduce a "depends on" because the dependency is a
little big. We really only do it when the dependency is quite obvious:
X.org, Python, etc.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Buildroot] [PATCH 03/11] package/rpi-firmware: add option to install vcdbg
2015-06-28 22:25 ` [Buildroot] [PATCH 03/11] package/rpi-firmware: add option to install vcdbg Yann E. MORIN
2015-06-29 3:19 ` Baruch Siach
@ 2015-06-29 20:16 ` Thomas Petazzoni
1 sibling, 0 replies; 18+ messages in thread
From: Thomas Petazzoni @ 2015-06-29 20:16 UTC (permalink / raw)
To: buildroot
Dear Yann E. MORIN,
On Mon, 29 Jun 2015 00:25:12 +0200, Yann E. MORIN wrote:
> +ifeq ($(BR2_PACKAGE_RPI_FIRMWARE_INSTALL_VCDBG),y)
> +define RPI_FIRMWARE_INSTALL_TARGET_CMDS
> + $(INSTALL) -d -m 0700 $(@D)/$(if BR2_ARM_EABIHF,hardfp/)opt/vc/bin/vcdbg \
> + $(TARGET_DIR)/usr/sbin/vcdbg
> +endef
> +endif # INSTRALL_VCDBG
INSTRALL -> INSTALL
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Buildroot] [PATCH 04/11] package/rpi-firmware: bump version
2015-06-28 22:25 [Buildroot] [pull request] raspberrypi: update packages and defconfigs Yann E. MORIN
` (2 preceding siblings ...)
2015-06-28 22:25 ` [Buildroot] [PATCH 03/11] package/rpi-firmware: add option to install vcdbg Yann E. MORIN
@ 2015-06-28 22:25 ` Yann E. MORIN
2015-06-28 22:25 ` [Buildroot] [PATCH 05/11] package/rpi-userland: " Yann E. MORIN
` (7 subsequent siblings)
11 siblings, 0 replies; 18+ messages in thread
From: Yann E. MORIN @ 2015-06-28 22:25 UTC (permalink / raw)
To: buildroot
Misc enhancements and fixes all over the place, most notably:
- FW: fix overclocking, better prioritise sound, fix CMA L1 cache,
improved DTB/DTB-overlay support, SDcard freq fixes,
voltages...
- video: fix decoding weird stuff, fix stereo output...
- camera: raw image capture, HDR (really?)
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Floris Bos <bos@je-eigen-domein.nl>
Cc: Pascal de Bruijn <pmjdebruijn@pcode.nl>
---
package/rpi-firmware/rpi-firmware.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/rpi-firmware/rpi-firmware.mk b/package/rpi-firmware/rpi-firmware.mk
index 65ee6fb..6299b04 100644
--- a/package/rpi-firmware/rpi-firmware.mk
+++ b/package/rpi-firmware/rpi-firmware.mk
@@ -4,7 +4,7 @@
#
################################################################################
-RPI_FIRMWARE_VERSION = b9fac65dd9ff607d0c2c4ea1bbba2bbf3fbc4a10
+RPI_FIRMWARE_VERSION = 856e2e1907a7f7058289c30268515c8cbf3fa5e3
RPI_FIRMWARE_SITE = $(call github,raspberrypi,firmware,$(RPI_FIRMWARE_VERSION))
RPI_FIRMWARE_LICENSE = BSD-3c
RPI_FIRMWARE_LICENSE_FILES = boot/LICENCE.broadcom
--
1.9.1
^ permalink raw reply related [flat|nested] 18+ messages in thread* [Buildroot] [PATCH 05/11] package/rpi-userland: bump version
2015-06-28 22:25 [Buildroot] [pull request] raspberrypi: update packages and defconfigs Yann E. MORIN
` (3 preceding siblings ...)
2015-06-28 22:25 ` [Buildroot] [PATCH 04/11] package/rpi-firmware: bump version Yann E. MORIN
@ 2015-06-28 22:25 ` Yann E. MORIN
2015-06-28 22:25 ` [Buildroot] [PATCH 06/11] configs/raspberrypi: update the DT-enabled config Yann E. MORIN
` (6 subsequent siblings)
11 siblings, 0 replies; 18+ messages in thread
From: Yann E. MORIN @ 2015-06-28 22:25 UTC (permalink / raw)
To: buildroot
Misc fixes and improvements all over the place...
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Floris Bos <bos@je-eigen-domein.nl>
Cc: Pascal de Bruijn <pmjdebruijn@pcode.nl>
---
package/rpi-userland/rpi-userland.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/rpi-userland/rpi-userland.mk b/package/rpi-userland/rpi-userland.mk
index 20a6af0..1a1c9c6 100644
--- a/package/rpi-userland/rpi-userland.mk
+++ b/package/rpi-userland/rpi-userland.mk
@@ -4,7 +4,7 @@
#
################################################################################
-RPI_USERLAND_VERSION = 8f542a1647e6f88f254eadd9ad6929301c81913b
+RPI_USERLAND_VERSION = b834074d0c0d9d7e64c133ab14ed691999cee990
RPI_USERLAND_SITE = $(call github,raspberrypi,userland,$(RPI_USERLAND_VERSION))
RPI_USERLAND_LICENSE = BSD-3c
RPI_USERLAND_LICENSE_FILES = LICENCE
--
1.9.1
^ permalink raw reply related [flat|nested] 18+ messages in thread* [Buildroot] [PATCH 06/11] configs/raspberrypi: update the DT-enabled config
2015-06-28 22:25 [Buildroot] [pull request] raspberrypi: update packages and defconfigs Yann E. MORIN
` (4 preceding siblings ...)
2015-06-28 22:25 ` [Buildroot] [PATCH 05/11] package/rpi-userland: " Yann E. MORIN
@ 2015-06-28 22:25 ` Yann E. MORIN
2015-06-28 22:25 ` [Buildroot] [PATCH 07/11] configs/raspberrypi_plus: new defconfig Yann E. MORIN
` (5 subsequent siblings)
11 siblings, 0 replies; 18+ messages in thread
From: Yann E. MORIN @ 2015-06-28 22:25 UTC (permalink / raw)
To: buildroot
Update to the latest stable kernel version; build an in-tree DTB; use
a in-tree defconfig; enable C++ (to match what we have in the non-DT
variant
Note: this makes it a defconfig specific to the "old" RPi variant, i.e.
the models A and B, not the A+ and B+ (for which a defconfig will be
submitted shortly).
Drop our custom linux defconfig file now we use an in-tree one.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Floris Bos <bos@je-eigen-domein.nl>
Cc: Pascal de Bruijn <pmjdebruijn@pcode.nl>
---
board/raspberrypi/linux-3.18-rpi-dt.defconfig | 204 --------------------------
configs/raspberrypi_dt_defconfig | 21 ++-
2 files changed, 14 insertions(+), 211 deletions(-)
delete mode 100644 board/raspberrypi/linux-3.18-rpi-dt.defconfig
diff --git a/board/raspberrypi/linux-3.18-rpi-dt.defconfig b/board/raspberrypi/linux-3.18-rpi-dt.defconfig
deleted file mode 100644
index 69c0fa3..0000000
--- a/board/raspberrypi/linux-3.18-rpi-dt.defconfig
+++ /dev/null
@@ -1,204 +0,0 @@
-# CONFIG_LOCALVERSION_AUTO is not set
-CONFIG_KERNEL_XZ=y
-# CONFIG_SWAP is not set
-CONFIG_SYSVIPC=y
-CONFIG_POSIX_MQUEUE=y
-CONFIG_FHANDLE=y
-CONFIG_NO_HZ_IDLE=y
-CONFIG_HIGH_RES_TIMERS=y
-CONFIG_IKCONFIG=m
-CONFIG_IKCONFIG_PROC=y
-CONFIG_LOG_BUF_SHIFT=21
-# CONFIG_UTS_NS is not set
-# CONFIG_IPC_NS is not set
-# CONFIG_PID_NS is not set
-# CONFIG_NET_NS is not set
-CONFIG_RELAY=y
-# CONFIG_COMPAT_BRK is not set
-CONFIG_JUMP_LABEL=y
-CONFIG_MODULES=y
-CONFIG_MODULE_UNLOAD=y
-# CONFIG_BLK_DEV_BSG is not set
-# CONFIG_IOSCHED_DEADLINE is not set
-# CONFIG_IOSCHED_CFQ is not set
-CONFIG_ARCH_BCM2708=y
-CONFIG_BCM2708_DT=y
-CONFIG_PREEMPT=y
-CONFIG_AEABI=y
-CONFIG_KSM=y
-CONFIG_UACCESS_WITH_MEMCPY=y
-# CONFIG_ATAGS is not set
-CONFIG_KEXEC=y
-CONFIG_AUTO_ZRELADDR=y
-CONFIG_CPU_FREQ=y
-CONFIG_CPU_FREQ_STAT=m
-CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE=y
-CONFIG_CPU_FREQ_GOV_POWERSAVE=m
-CONFIG_CPU_FREQ_GOV_USERSPACE=m
-CONFIG_CPU_FREQ_GOV_ONDEMAND=m
-CONFIG_VFP=y
-CONFIG_BINFMT_MISC=m
-# CONFIG_SUSPEND is not set
-CONFIG_NET=y
-CONFIG_PACKET=y
-CONFIG_PACKET_DIAG=m
-CONFIG_UNIX=y
-CONFIG_UNIX_DIAG=m
-CONFIG_INET=y
-CONFIG_SYN_COOKIES=y
-# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
-# CONFIG_INET_XFRM_MODE_TUNNEL is not set
-# CONFIG_INET_XFRM_MODE_BEET is not set
-# CONFIG_INET_LRO is not set
-CONFIG_INET_DIAG=m
-CONFIG_INET_UDP_DIAG=m
-# CONFIG_IPV6 is not set
-CONFIG_NETLINK_DIAG=y
-CONFIG_BPF_JIT=y
-# CONFIG_WIRELESS is not set
-CONFIG_DEVTMPFS=y
-CONFIG_DEVTMPFS_MOUNT=y
-# CONFIG_FIRMWARE_IN_KERNEL is not set
-CONFIG_CONNECTOR=y
-CONFIG_BLK_DEV_LOOP=m
-CONFIG_BLK_DEV_RAM=m
-CONFIG_SCSI=m
-# CONFIG_SCSI_PROC_FS is not set
-CONFIG_BLK_DEV_SD=m
-# CONFIG_SCSI_LOWLEVEL is not set
-CONFIG_NETDEVICES=y
-CONFIG_DUMMY=m
-# CONFIG_ETHERNET is not set
-CONFIG_USB_USBNET=m
-# CONFIG_USB_NET_AX8817X is not set
-# CONFIG_USB_NET_AX88179_178A is not set
-# CONFIG_USB_NET_CDCETHER is not set
-# CONFIG_USB_NET_CDC_NCM is not set
-CONFIG_USB_NET_SMSC95XX=m
-# CONFIG_USB_NET_NET1080 is not set
-# CONFIG_USB_NET_CDC_SUBSET is not set
-# CONFIG_USB_NET_ZAURUS is not set
-# CONFIG_WLAN is not set
-CONFIG_INPUT_SPARSEKMAP=m
-CONFIG_INPUT_EVDEV=m
-# CONFIG_INPUT_KEYBOARD is not set
-# CONFIG_INPUT_MOUSE is not set
-# CONFIG_SERIO is not set
-# CONFIG_LEGACY_PTYS is not set
-# CONFIG_DEVKMEM is not set
-CONFIG_SERIAL_AMBA_PL011=y
-CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
-CONFIG_HW_RANDOM_BCM2708=m
-CONFIG_I2C=m
-CONFIG_I2C_CHARDEV=m
-CONFIG_I2C_BCM2835=m
-CONFIG_I2C_BCM2708=m
-CONFIG_SPI=y
-CONFIG_SPI_BCM2835=m
-CONFIG_SPI_BCM2708=m
-CONFIG_SPI_BITBANG=m
-CONFIG_GPIO_SYSFS=y
-CONFIG_GPIO_GENERIC_PLATFORM=y
-# CONFIG_HWMON is not set
-CONFIG_THERMAL=y
-CONFIG_THERMAL_BCM2835=y
-CONFIG_WATCHDOG=y
-CONFIG_SOFT_WATCHDOG=m
-CONFIG_BCM2708_WDT=m
-CONFIG_REGULATOR=y
-CONFIG_REGULATOR_FIXED_VOLTAGE=m
-CONFIG_REGULATOR_USERSPACE_CONSUMER=m
-CONFIG_FB=y
-CONFIG_FIRMWARE_EDID=y
-CONFIG_FB_MODE_HELPERS=y
-CONFIG_FB_BCM2708=y
-CONFIG_FRAMEBUFFER_CONSOLE=y
-CONFIG_LOGO=y
-# CONFIG_LOGO_LINUX_MONO is not set
-# CONFIG_LOGO_LINUX_VGA16 is not set
-CONFIG_SOUND=m
-CONFIG_SND=m
-CONFIG_SND_SEQUENCER=m
-CONFIG_SND_SEQ_DUMMY=m
-CONFIG_SND_MIXER_OSS=m
-CONFIG_SND_PCM_OSS=m
-CONFIG_SND_SEQUENCER_OSS=y
-CONFIG_SND_HRTIMER=m
-# CONFIG_SND_SUPPORT_OLD_API is not set
-CONFIG_SND_DUMMY=m
-CONFIG_SND_BCM2835=m
-# CONFIG_SND_SPI is not set
-CONFIG_SND_USB_AUDIO=m
-CONFIG_HIDRAW=y
-CONFIG_UHID=y
-CONFIG_HID_PID=y
-CONFIG_USB_HIDDEV=y
-CONFIG_USB=y
-CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
-CONFIG_USB_DYNAMIC_MINORS=y
-CONFIG_USB_DWCOTG=y
-CONFIG_USB_STORAGE=m
-CONFIG_USB_STORAGE_REALTEK=m
-CONFIG_USB_STORAGE_DATAFAB=m
-CONFIG_USB_STORAGE_FREECOM=m
-CONFIG_USB_STORAGE_ISD200=m
-CONFIG_USB_STORAGE_USBAT=m
-CONFIG_USB_STORAGE_SDDR09=m
-CONFIG_USB_STORAGE_SDDR55=m
-CONFIG_USB_STORAGE_JUMPSHOT=m
-CONFIG_USB_STORAGE_ALAUDA=m
-CONFIG_USB_STORAGE_ONETOUCH=m
-CONFIG_USB_STORAGE_KARMA=m
-CONFIG_USB_STORAGE_CYPRESS_ATACB=m
-CONFIG_USB_STORAGE_ENE_UB6250=m
-CONFIG_MMC=y
-CONFIG_MMC_SDHCI=y
-CONFIG_MMC_SDHCI_PLTFM=y
-CONFIG_MMC_BCM2835=y
-CONFIG_MMC_BCM2835_DMA=y
-CONFIG_NEW_LEDS=y
-CONFIG_LEDS_CLASS=y
-CONFIG_LEDS_GPIO=m
-CONFIG_LEDS_TRIGGERS=y
-CONFIG_LEDS_TRIGGER_TIMER=m
-CONFIG_LEDS_TRIGGER_ONESHOT=m
-CONFIG_LEDS_TRIGGER_HEARTBEAT=m
-CONFIG_LEDS_TRIGGER_BACKLIGHT=m
-CONFIG_LEDS_TRIGGER_CPU=y
-CONFIG_LEDS_TRIGGER_GPIO=m
-CONFIG_LEDS_TRIGGER_DEFAULT_ON=m
-CONFIG_LEDS_TRIGGER_TRANSIENT=m
-CONFIG_LEDS_TRIGGER_CAMERA=m
-# CONFIG_IOMMU_SUPPORT is not set
-CONFIG_EXT2_FS=m
-CONFIG_EXT3_FS=m
-# CONFIG_EXT3_FS_XATTR is not set
-CONFIG_EXT4_FS=y
-CONFIG_FANOTIFY=y
-CONFIG_MSDOS_FS=m
-CONFIG_VFAT_FS=m
-CONFIG_FAT_DEFAULT_CODEPAGE=850
-CONFIG_FAT_DEFAULT_IOCHARSET="utf8"
-CONFIG_TMPFS=y
-CONFIG_TMPFS_POSIX_ACL=y
-CONFIG_CONFIGFS_FS=m
-# CONFIG_MISC_FILESYSTEMS is not set
-# CONFIG_NETWORK_FILESYSTEMS is not set
-CONFIG_NLS_DEFAULT="utf8"
-CONFIG_NLS_CODEPAGE_437=m
-CONFIG_NLS_CODEPAGE_850=m
-CONFIG_NLS_ASCII=m
-CONFIG_NLS_ISO8859_1=m
-CONFIG_NLS_ISO8859_15=m
-CONFIG_NLS_UTF8=m
-CONFIG_PRINTK_TIME=y
-CONFIG_STRIP_ASM_SYMS=y
-CONFIG_PANIC_ON_OOPS=y
-# CONFIG_RCU_CPU_STALL_VERBOSE is not set
-CONFIG_STRICT_DEVMEM=y
-CONFIG_DEBUG_USER=y
-CONFIG_CRYPTO_MANAGER=m
-# CONFIG_CRYPTO_MANAGER_DISABLE_TESTS is not set
-CONFIG_CRYPTO_NULL=m
-# CONFIG_CRYPTO_ANSI_CPRNG is not set
-# CONFIG_CRYPTO_HW is not set
diff --git a/configs/raspberrypi_dt_defconfig b/configs/raspberrypi_dt_defconfig
index 991460e..67adbde 100644
--- a/configs/raspberrypi_dt_defconfig
+++ b/configs/raspberrypi_dt_defconfig
@@ -3,18 +3,25 @@ BR2_arm1176jzf_s=y
BR2_TARGET_GENERIC_GETTY_PORT="tty1"
-# Lock to 3.18 headers as the RPi kernel with
-# DT support is based off the 3.18 branch
+# Lock to 4.0 headers as the RPi kernel stable tree is
+# based off the 4.0 branch
BR2_KERNEL_HEADERS_VERSION=y
-BR2_DEFAULT_KERNEL_VERSION="3.18"
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18=y
+BR2_DEFAULT_KERNEL_VERSION="4.0.6"
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_0=y
+
+BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_GIT=y
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/raspberrypi/linux.git"
-BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="2747cc0bde4ca441691260fae1e34c9ef954ccae"
-BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
-BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/raspberrypi/linux-3.18-rpi-dt.defconfig"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="9ef19eae373337b18759152fd9ca94788c8fe11c"
+BR2_LINUX_KERNEL_USE_DEFCONFIG=y
+BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi"
BR2_LINUX_KERNEL_ZIMAGE=y
+# Build the DTB from the kernel sources
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2708-rpi-b"
+
BR2_PACKAGE_RPI_FIRMWARE=y
+# BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS is not set
--
1.9.1
^ permalink raw reply related [flat|nested] 18+ messages in thread* [Buildroot] [PATCH 07/11] configs/raspberrypi_plus: new defconfig
2015-06-28 22:25 [Buildroot] [pull request] raspberrypi: update packages and defconfigs Yann E. MORIN
` (5 preceding siblings ...)
2015-06-28 22:25 ` [Buildroot] [PATCH 06/11] configs/raspberrypi: update the DT-enabled config Yann E. MORIN
@ 2015-06-28 22:25 ` Yann E. MORIN
2015-06-28 22:25 ` [Buildroot] [PATCH 08/11] configs/raspberrypi2: update our defconfig Yann E. MORIN
` (4 subsequent siblings)
11 siblings, 0 replies; 18+ messages in thread
From: Yann E. MORIN @ 2015-06-28 22:25 UTC (permalink / raw)
To: buildroot
Same defconfig as the one just submitted, but with the DTB for the Plus
variants A+ and B+.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Floris Bos <bos@je-eigen-domein.nl>
Cc: Pascal de Bruijn <pmjdebruijn@pcode.nl>
---
configs/raspberrypi_plus_dt_defconfig | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
create mode 100644 configs/raspberrypi_plus_dt_defconfig
diff --git a/configs/raspberrypi_plus_dt_defconfig b/configs/raspberrypi_plus_dt_defconfig
new file mode 100644
index 0000000..2587f58
--- /dev/null
+++ b/configs/raspberrypi_plus_dt_defconfig
@@ -0,0 +1,27 @@
+BR2_arm=y
+BR2_arm1176jzf_s=y
+
+BR2_TARGET_GENERIC_GETTY_PORT="tty1"
+
+# Lock to 4.0 headers as the RPi kernel stable tree is
+# based off the 4.0 branch
+BR2_KERNEL_HEADERS_VERSION=y
+BR2_DEFAULT_KERNEL_VERSION="4.0.6"
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_0=y
+
+BR2_TOOLCHAIN_BUILDROOT_CXX=y
+
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_GIT=y
+BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/raspberrypi/linux.git"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="9ef19eae373337b18759152fd9ca94788c8fe11c"
+BR2_LINUX_KERNEL_USE_DEFCONFIG=y
+BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi"
+BR2_LINUX_KERNEL_ZIMAGE=y
+
+# Build the DTB from the kernel sources
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2708-rpi-b-plus"
+
+BR2_PACKAGE_RPI_FIRMWARE=y
+# BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS is not set
--
1.9.1
^ permalink raw reply related [flat|nested] 18+ messages in thread* [Buildroot] [PATCH 08/11] configs/raspberrypi2: update our defconfig
2015-06-28 22:25 [Buildroot] [pull request] raspberrypi: update packages and defconfigs Yann E. MORIN
` (6 preceding siblings ...)
2015-06-28 22:25 ` [Buildroot] [PATCH 07/11] configs/raspberrypi_plus: new defconfig Yann E. MORIN
@ 2015-06-28 22:25 ` Yann E. MORIN
2015-06-28 22:25 ` [Buildroot] [PATCH 09/11] config/raspberrypi: remove non-DT defconfig Yann E. MORIN
` (3 subsequent siblings)
11 siblings, 0 replies; 18+ messages in thread
From: Yann E. MORIN @ 2015-06-28 22:25 UTC (permalink / raw)
To: buildroot
Update to the latest stable kernel version (4.0.y); build an in-tree DTB.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Floris Bos <bos@je-eigen-domein.nl>
Cc: Pascal de Bruijn <pmjdebruijn@pcode.nl>
---
configs/raspberrypi2_defconfig | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/configs/raspberrypi2_defconfig b/configs/raspberrypi2_defconfig
index 5859749..d3fe328 100644
--- a/configs/raspberrypi2_defconfig
+++ b/configs/raspberrypi2_defconfig
@@ -7,16 +7,22 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_TARGET_GENERIC_GETTY_PORT="tty1"
-# Lock to 3.18 headers as the RPi2 kernel is based off the 3.18 branch
+# Lock to 4.0 headers as the RPi kernel stable tree is
+# based off the 4.0 branch
BR2_KERNEL_HEADERS_VERSION=y
-BR2_DEFAULT_KERNEL_VERSION="3.18"
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18=y
+BR2_DEFAULT_KERNEL_VERSION="4.0.6"
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_0=y
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_GIT=y
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/raspberrypi/linux.git"
-BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="2747cc0bde4ca441691260fae1e34c9ef954ccae"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="9ef19eae373337b18759152fd9ca94788c8fe11c"
BR2_LINUX_KERNEL_DEFCONFIG="bcm2709"
-BR2_LINUX_KERNEL_ZIMAGE=y
+BR2_LINUX_KERNEL_ZIMAGE=yo
+
+# Build the DTB from the kernel sources
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2709-rpi-2-b"
BR2_PACKAGE_RPI_FIRMWARE=y
+# BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS is not set
--
1.9.1
^ permalink raw reply related [flat|nested] 18+ messages in thread* [Buildroot] [PATCH 09/11] config/raspberrypi: remove non-DT defconfig
2015-06-28 22:25 [Buildroot] [pull request] raspberrypi: update packages and defconfigs Yann E. MORIN
` (7 preceding siblings ...)
2015-06-28 22:25 ` [Buildroot] [PATCH 08/11] configs/raspberrypi2: update our defconfig Yann E. MORIN
@ 2015-06-28 22:25 ` Yann E. MORIN
2015-06-28 22:25 ` [Buildroot] [PATCH 10/11] config/raspberrypi: rename our defconfig files Yann E. MORIN
` (2 subsequent siblings)
11 siblings, 0 replies; 18+ messages in thread
From: Yann E. MORIN @ 2015-06-28 22:25 UTC (permalink / raw)
To: buildroot
The RPi is slowly but surely dropping support for booting without a DTB,
so just ditch our old defconfig now that we have up-to-date DT-enabled
defconfigs for all RPi models (save for the compute module).
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Floris Bos <bos@je-eigen-domein.nl>
Cc: Pascal de Bruijn <pmjdebruijn@pcode.nl>
---
configs/raspberrypi_defconfig | 21 ---------------------
1 file changed, 21 deletions(-)
delete mode 100644 configs/raspberrypi_defconfig
diff --git a/configs/raspberrypi_defconfig b/configs/raspberrypi_defconfig
deleted file mode 100644
index f9b8a1c..0000000
--- a/configs/raspberrypi_defconfig
+++ /dev/null
@@ -1,21 +0,0 @@
-BR2_arm=y
-BR2_arm1176jzf_s=y
-
-BR2_TOOLCHAIN_BUILDROOT_CXX=y
-
-BR2_TARGET_GENERIC_GETTY_PORT="tty1"
-
-BR2_PACKAGE_RPI_FIRMWARE=y
-
-# Lock to 3.12 headers as the RPi kernel is based off the 3.12 branch
-BR2_KERNEL_HEADERS_VERSION=y
-BR2_DEFAULT_KERNEL_VERSION="3.12.28"
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_12=y
-
-BR2_LINUX_KERNEL=y
-BR2_LINUX_KERNEL_CUSTOM_GIT=y
-BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://github.com/raspberrypi/linux.git"
-BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="c256eb9968c8997dce47350d2075e42f1b3991d3"
-BR2_LINUX_KERNEL_USE_DEFCONFIG=y
-BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi_quick"
-BR2_LINUX_KERNEL_ZIMAGE=y
--
1.9.1
^ permalink raw reply related [flat|nested] 18+ messages in thread* [Buildroot] [PATCH 10/11] config/raspberrypi: rename our defconfig files
2015-06-28 22:25 [Buildroot] [pull request] raspberrypi: update packages and defconfigs Yann E. MORIN
` (8 preceding siblings ...)
2015-06-28 22:25 ` [Buildroot] [PATCH 09/11] config/raspberrypi: remove non-DT defconfig Yann E. MORIN
@ 2015-06-28 22:25 ` Yann E. MORIN
2015-06-28 22:25 ` [Buildroot] [PATCH 11/11] boards/raspberrypi: update instructions Yann E. MORIN
2015-06-29 20:22 ` [Buildroot] [pull request] raspberrypi: update packages and defconfigs Thomas Petazzoni
11 siblings, 0 replies; 18+ messages in thread
From: Yann E. MORIN @ 2015-06-28 22:25 UTC (permalink / raw)
To: buildroot
Since we no longer have a non-DT defconfig, and we no longer want to
advertise such a possibility (non-DT is being phased out), just rename
our defconfig files.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Floris Bos <bos@je-eigen-domein.nl>
Cc: Pascal de Bruijn <pmjdebruijn@pcode.nl>
---
configs/{raspberrypi_dt_defconfig => raspberrypi_defconfig} | 0
configs/{raspberrypi_plus_dt_defconfig => raspberrypi_plus_defconfig} | 0
2 files changed, 0 insertions(+), 0 deletions(-)
rename configs/{raspberrypi_dt_defconfig => raspberrypi_defconfig} (100%)
rename configs/{raspberrypi_plus_dt_defconfig => raspberrypi_plus_defconfig} (100%)
diff --git a/configs/raspberrypi_dt_defconfig b/configs/raspberrypi_defconfig
similarity index 100%
rename from configs/raspberrypi_dt_defconfig
rename to configs/raspberrypi_defconfig
diff --git a/configs/raspberrypi_plus_dt_defconfig b/configs/raspberrypi_plus_defconfig
similarity index 100%
rename from configs/raspberrypi_plus_dt_defconfig
rename to configs/raspberrypi_plus_defconfig
--
1.9.1
^ permalink raw reply [flat|nested] 18+ messages in thread* [Buildroot] [PATCH 11/11] boards/raspberrypi: update instructions
2015-06-28 22:25 [Buildroot] [pull request] raspberrypi: update packages and defconfigs Yann E. MORIN
` (9 preceding siblings ...)
2015-06-28 22:25 ` [Buildroot] [PATCH 10/11] config/raspberrypi: rename our defconfig files Yann E. MORIN
@ 2015-06-28 22:25 ` Yann E. MORIN
2015-06-29 20:22 ` [Buildroot] [pull request] raspberrypi: update packages and defconfigs Thomas Petazzoni
11 siblings, 0 replies; 18+ messages in thread
From: Yann E. MORIN @ 2015-06-28 22:25 UTC (permalink / raw)
To: buildroot
Now that we have a sanitised set of defconfig files, and we no longer
support non-DT setups, update and simplify the board readme file.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Floris Bos <bos@je-eigen-domein.nl>
Cc: Pascal de Bruijn <pmjdebruijn@pcode.nl>
---
board/raspberrypi/readme.txt | 48 ++++++++++++++++++++++----------------------
1 file changed, 24 insertions(+), 24 deletions(-)
diff --git a/board/raspberrypi/readme.txt b/board/raspberrypi/readme.txt
index 4ead046..ad1ae88 100644
--- a/board/raspberrypi/readme.txt
+++ b/board/raspberrypi/readme.txt
@@ -22,17 +22,18 @@ How to build it
Configure Buildroot
-------------------
-The raspberrypi_defconfig configuration is a minimal configuration with
-all that is required to bring the Raspberry Pi up. You should base your
-work on this defconfig:
+There are three RaspberryPi defconfig files in Buildroot, one for each
+major variant, which you should base your work on:
+
+For models A and B (not A+ nor B+):
$ make raspberrypi_defconfig
-Alternatively, if you want to test support for the Device Tree:
+For models A+ or B+:
- $ make raspberrypi_dt_defconfig
+ $ make raspberrypi_plus_defconfig
-For Raspberry Pi 2 use a different defconfig:
+And for model 2 B:
$ make raspberrypi2_defconfig
@@ -64,20 +65,23 @@ Result of the build
After building, you should obtain this tree:
output/images/
- +-- rootfs.tar [0]
+ +-- rootfs.tar [0]
+-- rpi-firmware/
- | +-- bcm2708-rpi-b.dtb
- | +-- bcm2708-rpi-b-plus.dtb
- | +-- bcm2709-rpi-2-b.dtb
| +-- bootcode.bin
| +-- config.txt
| +-- fixup.dat
| `-- start.elf
+ +-- bcm2708-rpi-b.dtb [1]
+ +-- bcm2708-rpi-b-plus.dtb [1]
+ +-- bcm2709-rpi-2-b.dtb [1]
`-- zImage
[0] Note for Volatile: rootfs.tar will only be there if you kept
"tar the root filesystem" option selected in "Filesystem images".
+[1] Only one of them will be present, depending on the RaspberryPi
+model you are using.
+
Prepare you SDCard
==================
@@ -105,30 +109,26 @@ Install the binaries to the SDCard
At the root of the boot partition, the Raspberry Pi must find the following
files:
- * bcm2708-rpi-b.dtb [1]
- * bcm2708-rpi-b-plus.dtb [2]
- * bcm2709-rpi-2-b.dtb [3]
+ * bcm2708-rpi-b.dtb [2]
+ * bcm2708-rpi-b-plus.dtb [3]
+ * bcm2709-rpi-2-b.dtb [4]
* bootcode.bin
* config.txt
* fixup.dat
* start.elf
* zImage
-[1] For models A and B
-[2] For models A+ and B+
-[3] For model 2
+[2] For models A and B
+[3] For models A+ and B+
+[4] For model 2
For example:
- $ cp output/images/rpi-firmware/* /mnt/mountpointboot
-
-If your kernel does *not* have support for the Device Tree, then install
-it with:
-
- $ cp output/images/zImage /mnt/mountpointboot
+ $ cp output/images/rpi-firmware/* /mnt/mountpointboot
+ $ cp output/images/*.dtb /mnt/mountpointboot
-If your kernel *does* have support for the Device Tree, then install it
-with:
+The kernel image must be marked with a special header so that the
+bootloader of the RaspberryPi knows it supports Device Tree:
$ ./output/host/usr/bin/mkknlimg output/images/zImage /mnt/mountpointboot/zImage
--
1.9.1
^ permalink raw reply related [flat|nested] 18+ messages in thread* [Buildroot] [pull request] raspberrypi: update packages and defconfigs
2015-06-28 22:25 [Buildroot] [pull request] raspberrypi: update packages and defconfigs Yann E. MORIN
` (10 preceding siblings ...)
2015-06-28 22:25 ` [Buildroot] [PATCH 11/11] boards/raspberrypi: update instructions Yann E. MORIN
@ 2015-06-29 20:22 ` Thomas Petazzoni
2015-06-29 20:26 ` Yann E. MORIN
11 siblings, 1 reply; 18+ messages in thread
From: Thomas Petazzoni @ 2015-06-29 20:22 UTC (permalink / raw)
To: buildroot
Yann,
On Mon, 29 Jun 2015 00:25:14 +0200, Yann E. MORIN wrote:
> Floris Bos (1):
> rpi-firmware: allow disabling installation of binary DTBs
Applied.
>
> Yann E. MORIN (10):
> package/rpi-firmware: add option to install DTB overlays
Applied.
> package/rpi-firmware: add option to install vcdbg
Marked as Changes Requested, see my comments.
> package/rpi-firmware: bump version
> package/rpi-userland: bump version
Both applied.
> configs/raspberrypi: update the DT-enabled config
> configs/raspberrypi_plus: new defconfig
> configs/raspberrypi2: update our defconfig
> config/raspberrypi: remove non-DT defconfig
> config/raspberrypi: rename our defconfig files
> boards/raspberrypi: update instructions
Marked as Changes Requested: I'd like to have a single defconfig for
RPi A/B and RPi A+/B+ by simply building two DTBs.
Can you respin the patches 3 and 6-11 ?
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 18+ messages in thread* [Buildroot] [pull request] raspberrypi: update packages and defconfigs
2015-06-29 20:22 ` [Buildroot] [pull request] raspberrypi: update packages and defconfigs Thomas Petazzoni
@ 2015-06-29 20:26 ` Yann E. MORIN
0 siblings, 0 replies; 18+ messages in thread
From: Yann E. MORIN @ 2015-06-29 20:26 UTC (permalink / raw)
To: buildroot
Thomas, All,
On 2015-06-29 22:22 +0200, Thomas Petazzoni spake thusly:
> On Mon, 29 Jun 2015 00:25:14 +0200, Yann E. MORIN wrote:
> > package/rpi-firmware: add option to install vcdbg
> Marked as Changes Requested, see my comments.
OK, will use a select.
> > configs/raspberrypi: update the DT-enabled config
> > configs/raspberrypi_plus: new defconfig
> > configs/raspberrypi2: update our defconfig
> > config/raspberrypi: remove non-DT defconfig
> > config/raspberrypi: rename our defconfig files
> > boards/raspberrypi: update instructions
>
> Marked as Changes Requested: I'd like to have a single defconfig for
> RPi A/B and RPi A+/B+ by simply building two DTBs.
>
> Can you respin the patches 3 and 6-11 ?
Yup, already on it! :-)
Thanks!
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 18+ messages in thread