diff mbox

raspberrypi2: kernel version does no more exist

Message ID 1428480480-6422-1-git-send-email-jezz@sysmic.org
State Accepted
Headers show

Commit Message

Jérôme Pouiller April 8, 2015, 8:08 a.m. UTC
It looks like version 2c4959b of Raspberry kernel does no more exist:

$ git clone https://github.com/raspberrypi/linux.git
[...]
$ cd linux
$ git co 23c76b7f608e51258c6fca02aebeb5d588583149
fatal: reference is not a tree: 23c76b7f608e51258c6fca02aebeb5d588583149

Replace it by lastest version of 3.19 branch

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
---
 configs/raspberrypi2_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jérôme Pouiller April 8, 2015, 8:13 a.m. UTC | #1
On Wednesday 08 April 2015 10:08:00 Jérôme Pouiller wrote:
> It looks like version 2c4959b of Raspberry kernel does no more exist:
I mean 'version 23c76b7' does no more exist.

> 
> $ git clone https://github.com/raspberrypi/linux.git
> [...]
> $ cd linux
> $ git co 23c76b7f608e51258c6fca02aebeb5d588583149
> fatal: reference is not a tree: 23c76b7f608e51258c6fca02aebeb5d588583149
> 
> Replace it by lastest version of 3.19 branch
> 
> Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
> ---
>  configs/raspberrypi2_defconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configs/raspberrypi2_defconfig b/configs/raspberrypi2_defconfig
> index 814e182..6a48b26 100644
> --- a/configs/raspberrypi2_defconfig
> +++ b/configs/raspberrypi2_defconfig
> @@ -15,7 +15,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_19=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="23c76b7f608e51258c6fca02aebeb5d588583149"
> +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="2c4959b772a35d9d459b0a92f39bb066e9a44d37"
>  BR2_LINUX_KERNEL_DEFCONFIG="bcm2709"
>  BR2_LINUX_KERNEL_ZIMAGE=y
>  
>
Thomas Petazzoni April 8, 2015, 9:20 p.m. UTC | #2
Dear Jérôme Pouiller,

On Wed,  8 Apr 2015 10:08:00 +0200, Jérôme Pouiller wrote:
> It looks like version 2c4959b of Raspberry kernel does no more exist:
> 
> $ git clone https://github.com/raspberrypi/linux.git
> [...]
> $ cd linux
> $ git co 23c76b7f608e51258c6fca02aebeb5d588583149
> fatal: reference is not a tree: 23c76b7f608e51258c6fca02aebeb5d588583149
> 
> Replace it by lastest version of 3.19 branch
> 
> Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>

Yeah, the RPi people are annoying, they constantly rebase their
branches so there's no way to have a stable commit. Yann posted an
issue to their github: https://github.com/raspberrypi/linux/issues/915.
Maybe we need to look into what they propose, apparently they have some
stable branches.

I've nonetheless applied your commit, after tweaking the commit log.

(Hint: "does no more exist" isn't proper English as far as I know, you
should say "does not exist anymore" I believe. Though I'm not a native
English speaker, so I might be wrong.)

Thomas
Arnout Vandecappelle April 10, 2015, 8:09 p.m. UTC | #3
On 08/04/15 23:20, Thomas Petazzoni wrote:
> Dear Jérôme Pouiller,
> 
> On Wed,  8 Apr 2015 10:08:00 +0200, Jérôme Pouiller wrote:
>> It looks like version 2c4959b of Raspberry kernel does no more exist:
>>
>> $ git clone https://github.com/raspberrypi/linux.git
>> [...]
>> $ cd linux
>> $ git co 23c76b7f608e51258c6fca02aebeb5d588583149
>> fatal: reference is not a tree: 23c76b7f608e51258c6fca02aebeb5d588583149
>>
>> Replace it by lastest version of 3.19 branch
>>
>> Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
> 
> Yeah, the RPi people are annoying, they constantly rebase their
> branches so there's no way to have a stable commit. Yann posted an
> issue to their github: https://github.com/raspberrypi/linux/issues/915.
> Maybe we need to look into what they propose, apparently they have some
> stable branches.

 In that issue, popcornmix writes:

> The stable branches (e.g. 3.18.y) don't get rebased, so should have a linear history

so perhaps we should stick to the stable 3.18 branch instead? The
raspberry_dt_defconfig is based off the 3.18 branch, so why not do the same for
the RPi2?


 Regards,
 Arnout

> 
> I've nonetheless applied your commit, after tweaking the commit log.
> 
> (Hint: "does no more exist" isn't proper English as far as I know, you
> should say "does not exist anymore" I believe. Though I'm not a native
> English speaker, so I might be wrong.)
> 
> Thomas
>
Thomas Petazzoni April 10, 2015, 8:21 p.m. UTC | #4
Dear Arnout Vandecappelle,

On Fri, 10 Apr 2015 22:09:50 +0200, Arnout Vandecappelle wrote:

>  In that issue, popcornmix writes:
> 
> > The stable branches (e.g. 3.18.y) don't get rebased, so should have a linear history
> 
> so perhaps we should stick to the stable 3.18 branch instead? The
> raspberry_dt_defconfig is based off the 3.18 branch, so why not do the same for
> the RPi2?

Absolutely. I'm hoping to see some patches about this from our RPi
contributors. Yann? :-)

Thomas
Frank Hunleth April 28, 2015, 1:13 p.m. UTC | #5
On Fri, Apr 10, 2015 at 4:21 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Dear Arnout Vandecappelle,
>
> On Fri, 10 Apr 2015 22:09:50 +0200, Arnout Vandecappelle wrote:
>
>>  In that issue, popcornmix writes:
>>
>> > The stable branches (e.g. 3.18.y) don't get rebased, so should have a linear history
>>
>> so perhaps we should stick to the stable 3.18 branch instead? The
>> raspberry_dt_defconfig is based off the 3.18 branch, so why not do the same for
>> the RPi2?
>
> Absolutely. I'm hoping to see some patches about this from our RPi
> contributors. Yann? :-)

I recently tried a Raspberry Pi 2 with the 3.19 kernel from
raspberrypi2_defconfig, and it had issues mounting an ext2 rootfs
(presumably due to not finding mmcblk0p2, but I didn't debug). I
switched to a 3.18 kernel, and everything worked fine.

I don't mind sending a patch to switch to the 3.18 branch, but before
I did so, was there anything I missed on this issue? It looks like
it's been a couple of weeks since this email, and I didn't see other
RPi commits.

Thanks,
Frank
diff mbox

Patch

diff --git a/configs/raspberrypi2_defconfig b/configs/raspberrypi2_defconfig
index 814e182..6a48b26 100644
--- a/configs/raspberrypi2_defconfig
+++ b/configs/raspberrypi2_defconfig
@@ -15,7 +15,7 @@  BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_19=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="23c76b7f608e51258c6fca02aebeb5d588583149"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="2c4959b772a35d9d459b0a92f39bb066e9a44d37"
 BR2_LINUX_KERNEL_DEFCONFIG="bcm2709"
 BR2_LINUX_KERNEL_ZIMAGE=y