* [Buildroot] [PATCH 1/2] raspberrypi2: switch Linux kernel to rpi-3.18.y
@ 2015-04-29 13:36 Frank Hunleth
2015-04-29 13:36 ` [Buildroot] [PATCH 2/2] raspberrypi: bump raspberrypi_dt_defconfig kernel Frank Hunleth
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Frank Hunleth @ 2015-04-29 13:36 UTC (permalink / raw)
To: buildroot
This changes the kernel used on the Raspberry Pi 2 from the 3.19 branch
back to the 3.18 branch. This provides a couple of advantages:
1. mmc0 works again. Floris Bos found out that this was due to using
the precompiled DTB files from rpi-firmware. These DTBs were built
using 3.18.
2. The rpi-3.18.y branch is not regularly rebased like rpi-3.19.y
according to popcornmix. See
https://github.com/raspberrypi/linux/issues/915.
Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
---
configs/raspberrypi2_defconfig | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/configs/raspberrypi2_defconfig b/configs/raspberrypi2_defconfig
index 6a48b26..5859749 100644
--- a/configs/raspberrypi2_defconfig
+++ b/configs/raspberrypi2_defconfig
@@ -7,15 +7,15 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_TARGET_GENERIC_GETTY_PORT="tty1"
-# Lock to 3.19 headers as the RPi2 kernel is based off the 3.19 branch
+# Lock to 3.18 headers as the RPi2 kernel is based off the 3.18 branch
BR2_KERNEL_HEADERS_VERSION=y
-BR2_DEFAULT_KERNEL_VERSION="3.19"
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_19=y
+BR2_DEFAULT_KERNEL_VERSION="3.18"
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18=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="2c4959b772a35d9d459b0a92f39bb066e9a44d37"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="2747cc0bde4ca441691260fae1e34c9ef954ccae"
BR2_LINUX_KERNEL_DEFCONFIG="bcm2709"
BR2_LINUX_KERNEL_ZIMAGE=y
--
1.9.1
^ permalink raw reply related [flat|nested] 6+ messages in thread* [Buildroot] [PATCH 2/2] raspberrypi: bump raspberrypi_dt_defconfig kernel
2015-04-29 13:36 [Buildroot] [PATCH 1/2] raspberrypi2: switch Linux kernel to rpi-3.18.y Frank Hunleth
@ 2015-04-29 13:36 ` Frank Hunleth
2015-04-30 14:48 ` [Buildroot] [PATCH 1/2] raspberrypi2: switch Linux kernel to rpi-3.18.y Floris Bos
2015-05-01 8:25 ` Thomas Petazzoni
2 siblings, 0 replies; 6+ messages in thread
From: Frank Hunleth @ 2015-04-29 13:36 UTC (permalink / raw)
To: buildroot
This brings the raspberrypi_dt_defconfig up to the same kernel used by
the raspberrypi2_defconfig. Also changed the git URL to use HTTP for
consistency.
Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
---
configs/raspberrypi_dt_defconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configs/raspberrypi_dt_defconfig b/configs/raspberrypi_dt_defconfig
index c727a7c..991460e 100644
--- a/configs/raspberrypi_dt_defconfig
+++ b/configs/raspberrypi_dt_defconfig
@@ -11,8 +11,8 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18=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="246530ff8a4f302b8666c6d9cf509407d8c1257a"
+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_ZIMAGE=y
--
1.9.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 1/2] raspberrypi2: switch Linux kernel to rpi-3.18.y
2015-04-29 13:36 [Buildroot] [PATCH 1/2] raspberrypi2: switch Linux kernel to rpi-3.18.y Frank Hunleth
2015-04-29 13:36 ` [Buildroot] [PATCH 2/2] raspberrypi: bump raspberrypi_dt_defconfig kernel Frank Hunleth
@ 2015-04-30 14:48 ` Floris Bos
2015-05-01 8:25 ` Thomas Petazzoni
2 siblings, 0 replies; 6+ messages in thread
From: Floris Bos @ 2015-04-30 14:48 UTC (permalink / raw)
To: buildroot
On 04/29/2015 03:36 PM, Frank Hunleth wrote:
> This changes the kernel used on the Raspberry Pi 2 from the 3.19 branch
> back to the 3.18 branch. This provides a couple of advantages:
>
> 1. mmc0 works again. Floris Bos found out that this was due to using
> the precompiled DTB files from rpi-firmware. These DTBs were built
> using 3.18.
> 2. The rpi-3.18.y branch is not regularly rebased like rpi-3.19.y
> according to popcornmix. See
> https://github.com/raspberrypi/linux/issues/915.
>
> Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Can confirm buildroot's raspberrypi2_defconfig now works on a Pi 2
including mmc0, so patch works as intended.
Reviewed-by: Floris Bos <bos@je-eigen-domein.nl>
Did notice the rpi-firmware package itself could use some more work.
Besides the binary device tree files always being installed thing, the
sample config.txt in package/rpi-firmware/config.txt also contains
values that are not that suitable for the Pi 2.
E.g. the Pi 2 normally runs at 900 Mhz but is being downclocked to 700
by "arm_freq=700" there.
Might be better not to have any low level settings like that there, just
"kernel=zImage"
Yours sincerely,
Floris Bos
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 1/2] raspberrypi2: switch Linux kernel to rpi-3.18.y
2015-04-29 13:36 [Buildroot] [PATCH 1/2] raspberrypi2: switch Linux kernel to rpi-3.18.y Frank Hunleth
2015-04-29 13:36 ` [Buildroot] [PATCH 2/2] raspberrypi: bump raspberrypi_dt_defconfig kernel Frank Hunleth
2015-04-30 14:48 ` [Buildroot] [PATCH 1/2] raspberrypi2: switch Linux kernel to rpi-3.18.y Floris Bos
@ 2015-05-01 8:25 ` Thomas Petazzoni
2015-05-01 10:20 ` Frank Hunleth
2 siblings, 1 reply; 6+ messages in thread
From: Thomas Petazzoni @ 2015-05-01 8:25 UTC (permalink / raw)
To: buildroot
Dear Frank Hunleth,
On Wed, 29 Apr 2015 09:36:43 -0400, Frank Hunleth wrote:
> This changes the kernel used on the Raspberry Pi 2 from the 3.19 branch
> back to the 3.18 branch. This provides a couple of advantages:
>
> 1. mmc0 works again. Floris Bos found out that this was due to using
> the precompiled DTB files from rpi-firmware. These DTBs were built
> using 3.18.
> 2. The rpi-3.18.y branch is not regularly rebased like rpi-3.19.y
> according to popcornmix. See
> https://github.com/raspberrypi/linux/issues/915.
>
> Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
> ---
> configs/raspberrypi2_defconfig | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
Applied both patches, thanks.
What about the raspberrypi_defconfig ? Is there any reason to keep it
around using the 3.12 kernel ? Or can we rename
raspberrypi_dt_defconfig to raspberrypi_defconfig ?
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 1/2] raspberrypi2: switch Linux kernel to rpi-3.18.y
2015-05-01 8:25 ` Thomas Petazzoni
@ 2015-05-01 10:20 ` Frank Hunleth
2015-05-01 10:46 ` Thomas Petazzoni
0 siblings, 1 reply; 6+ messages in thread
From: Frank Hunleth @ 2015-05-01 10:20 UTC (permalink / raw)
To: buildroot
On Fri, May 1, 2015 at 4:25 AM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Dear Frank Hunleth,
>
> On Wed, 29 Apr 2015 09:36:43 -0400, Frank Hunleth wrote:
>> This changes the kernel used on the Raspberry Pi 2 from the 3.19 branch
>> back to the 3.18 branch. This provides a couple of advantages:
>>
>> 1. mmc0 works again. Floris Bos found out that this was due to using
>> the precompiled DTB files from rpi-firmware. These DTBs were built
>> using 3.18.
>> 2. The rpi-3.18.y branch is not regularly rebased like rpi-3.19.y
>> according to popcornmix. See
>> https://github.com/raspberrypi/linux/issues/915.
>>
>> Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
>> ---
>> configs/raspberrypi2_defconfig | 8 ++++----
>> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> Applied both patches, thanks.
>
> What about the raspberrypi_defconfig ? Is there any reason to keep it
> around using the 3.12 kernel ? Or can we rename
> raspberrypi_dt_defconfig to raspberrypi_defconfig ?
I've never used raspberrypi_defconfig, so I would be in favor of this.
Regards,
Frank
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 1/2] raspberrypi2: switch Linux kernel to rpi-3.18.y
2015-05-01 10:20 ` Frank Hunleth
@ 2015-05-01 10:46 ` Thomas Petazzoni
0 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2015-05-01 10:46 UTC (permalink / raw)
To: buildroot
Hello,
On Fri, 1 May 2015 06:20:28 -0400, Frank Hunleth wrote:
> > What about the raspberrypi_defconfig ? Is there any reason to keep it
> > around using the 3.12 kernel ? Or can we rename
> > raspberrypi_dt_defconfig to raspberrypi_defconfig ?
>
> I've never used raspberrypi_defconfig, so I would be in favor of this.
Yann, your thought?
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-05-01 10:46 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-29 13:36 [Buildroot] [PATCH 1/2] raspberrypi2: switch Linux kernel to rpi-3.18.y Frank Hunleth
2015-04-29 13:36 ` [Buildroot] [PATCH 2/2] raspberrypi: bump raspberrypi_dt_defconfig kernel Frank Hunleth
2015-04-30 14:48 ` [Buildroot] [PATCH 1/2] raspberrypi2: switch Linux kernel to rpi-3.18.y Floris Bos
2015-05-01 8:25 ` Thomas Petazzoni
2015-05-01 10:20 ` Frank Hunleth
2015-05-01 10:46 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox