Skip to contentSkip to conversation

raspberrypi2: kernel version does no more exist

PATCH New Jérôme Pouiller 4 participants 6 messages Apr 8, 2015 – Apr 28, 2015 Broadcom BCM2711/BCM2835 Arm architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 raspberrypi2: kernel version does no more exist

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

---
 configs/raspberrypi2_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configs/raspberrypi2_defconfig +1 -1
index 814e182..6a48b26 100644
@@ -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
 
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 raspberrypi2: kernel version does no more exist

Quoted 1 line · 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.

Quoted 28 lines
$ 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

---
 configs/raspberrypi2_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configs/raspberrypi2_defconfig +1 -1
index 814e182..6a48b26 100644
@@ -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
 
Signature · 3 lines
J?r?me Pouiller, Sysmic
Embedded Linux specialist
http://www.sysmic.fr
#2 lore raw

PATCH 1/1 raspberrypi2: kernel version does no more exist

In reply to Jérôme Pouiller

Dear J?r?me Pouiller,

Quoted 11 lines · J?r?me Pouiller

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

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

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#3 lore raw

PATCH 1/1 raspberrypi2: kernel version does no more exist

Quoted 20 lines · Thomas Petazzoni

Dear J?r?me Pouiller,

Quoted 11 lines · J?r?me Pouiller

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

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.

Quoted 1 line · popcornmix

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

Quoted 9 lines

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

Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
#4 lore raw

PATCH 1/1 raspberrypi2: kernel version does no more exist

Dear Arnout Vandecappelle,

Quoted 7 lines · Arnout Vandecappelle
Quoted 1 line · popcornmix

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

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#5 lore raw

PATCH 1/1 raspberrypi2: kernel version does no more exist

Quoted 6 lines · Thomas Petazzoni

Dear Arnout Vandecappelle,

Quoted 2 lines · Arnout Vandecappelle

In that issue, popcornmix writes:

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

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