* [Buildroot] [PATCH 1/2] boards/raspberrypi: update instructions for Raspberry Pi 2
@ 2015-02-24 22:42 Yann E. MORIN
2015-02-24 22:42 ` [Buildroot] [PATCH 2/2] configs/raspberrypi2: update and fix our defconfig Yann E. MORIN
2015-02-26 21:46 ` [Buildroot] [PATCH 1/2] boards/raspberrypi: update instructions for Raspberry Pi 2 Peter Korsgaard
0 siblings, 2 replies; 9+ messages in thread
From: Yann E. MORIN @ 2015-02-24 22:42 UTC (permalink / raw)
To: buildroot
The instructions for the Raspberry Pi 2 (aka model B2) are the same as
the ones for the Raspberry Pi, so:
- state so in the existing readme
- create a symlink raspberrypi2 -> raspberrypi
Also fix typo in spelling of "Raspberry Pi" (two words, not one).
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
board/raspberrypi/readme.txt | 11 ++++++++---
board/raspberrypi2 | 1 +
2 files changed, 9 insertions(+), 3 deletions(-)
create mode 120000 board/raspberrypi2
diff --git a/board/raspberrypi/readme.txt b/board/raspberrypi/readme.txt
index ead9227..917c34a 100644
--- a/board/raspberrypi/readme.txt
+++ b/board/raspberrypi/readme.txt
@@ -1,9 +1,14 @@
-RaspberryPi
+Raspberry Pi
Intro
=====
-To be able to use your RaspberryPi board with the images generated by
+Those instructions apply to all models of the Raspberry Pi:
+ - the original models A and B,
+ - the "enhanced" models A+ and B+,
+ - the model B2 (aka Raspberry Pi 2).
+
+To be able to use your Raspberry Pi board with the images generated by
Buildroot, you have to choose whether you will use:
* Volatile rootfs in RAM (the rootfs is an initramfs) or
@@ -96,7 +101,7 @@ Mount the partitions (adjust 'sdX' to match your SDcard device):
Install the binaries to the SDCard
----------------------------------
-At the root of the boot partition, the RaspberryPi must find the following
+At the root of the boot partition, the Raspberry Pi must find the following
files:
* bcm2708-rpi-b.dtb [2]
diff --git a/board/raspberrypi2 b/board/raspberrypi2
new file mode 120000
index 0000000..fcdafc8
--- /dev/null
+++ b/board/raspberrypi2
@@ -0,0 +1 @@
+raspberrypi
\ No newline at end of file
--
1.9.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [Buildroot] [PATCH 2/2] configs/raspberrypi2: update and fix our defconfig
2015-02-24 22:42 [Buildroot] [PATCH 1/2] boards/raspberrypi: update instructions for Raspberry Pi 2 Yann E. MORIN
@ 2015-02-24 22:42 ` Yann E. MORIN
2015-02-26 21:47 ` Peter Korsgaard
2015-03-31 20:13 ` Bernd Kuhls
2015-02-26 21:46 ` [Buildroot] [PATCH 1/2] boards/raspberrypi: update instructions for Raspberry Pi 2 Peter Korsgaard
1 sibling, 2 replies; 9+ messages in thread
From: Yann E. MORIN @ 2015-02-24 22:42 UTC (permalink / raw)
To: buildroot
Lock to 3.19 kernel headers; and comment about installing DTBs; bump
kernel sha1.
Reported-by: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
configs/raspberrypi2_defconfig | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/configs/raspberrypi2_defconfig b/configs/raspberrypi2_defconfig
index d2f97fb..b523a4a 100644
--- a/configs/raspberrypi2_defconfig
+++ b/configs/raspberrypi2_defconfig
@@ -2,14 +2,24 @@ BR2_arm=y
BR2_cortex_a7=y
BR2_ARM_EABIHF=y
BR2_ARM_FPU_NEON_VFPV4=y
+
BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y
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
+BR2_KERNEL_HEADERS_VERSION=y
+BR2_DEFAULT_KERNEL_VERSION="3.19"
+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="3c9fd364bfa6c0f6ef725d74b72a9b77dd0d0fb4"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="23c76b7f608e51258c6fca02aebeb5d588583149"
BR2_LINUX_KERNEL_DEFCONFIG="bcm2709"
BR2_LINUX_KERNEL_ZIMAGE=y
+
+# Install the DTB files, as the RPi2 uses the Device Tree
BR2_PACKAGE_RPI_FIRMWARE=y
BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS=y
--
1.9.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [Buildroot] [PATCH 1/2] boards/raspberrypi: update instructions for Raspberry Pi 2
2015-02-24 22:42 [Buildroot] [PATCH 1/2] boards/raspberrypi: update instructions for Raspberry Pi 2 Yann E. MORIN
2015-02-24 22:42 ` [Buildroot] [PATCH 2/2] configs/raspberrypi2: update and fix our defconfig Yann E. MORIN
@ 2015-02-26 21:46 ` Peter Korsgaard
2015-02-26 21:51 ` Yann E. MORIN
1 sibling, 1 reply; 9+ messages in thread
From: Peter Korsgaard @ 2015-02-26 21:46 UTC (permalink / raw)
To: buildroot
>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:
> The instructions for the Raspberry Pi 2 (aka model B2) are the same as
> the ones for the Raspberry Pi, so:
> - state so in the existing readme
> - create a symlink raspberrypi2 -> raspberrypi
> Also fix typo in spelling of "Raspberry Pi" (two words, not one).
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> ---
> board/raspberrypi/readme.txt | 11 ++++++++---
> board/raspberrypi2 | 1 +
> 2 files changed, 9 insertions(+), 3 deletions(-)
> create mode 120000 board/raspberrypi2
> diff --git a/board/raspberrypi/readme.txt b/board/raspberrypi/readme.txt
> index ead9227..917c34a 100644
> --- a/board/raspberrypi/readme.txt
> +++ b/board/raspberrypi/readme.txt
> @@ -1,9 +1,14 @@
> -RaspberryPi
> +Raspberry Pi
> Intro
> =====
> -To be able to use your RaspberryPi board with the images generated by
> +Those instructions apply to all models of the Raspberry Pi:
s/Those/These/
> diff --git a/board/raspberrypi2 b/board/raspberrypi2
> new file mode 120000
> index 0000000..fcdafc8
> --- /dev/null
> +++ b/board/raspberrypi2
> @@ -0,0 +1 @@
> +raspberrypi
> \ No newline at end of file
I don't know if it is patchwork, but this ended up as a symlink to 'raspberrypi?'
Committed to next with those issues fixed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] [PATCH 2/2] configs/raspberrypi2: update and fix our defconfig
2015-02-24 22:42 ` [Buildroot] [PATCH 2/2] configs/raspberrypi2: update and fix our defconfig Yann E. MORIN
@ 2015-02-26 21:47 ` Peter Korsgaard
2015-02-26 21:52 ` Yann E. MORIN
2015-03-31 20:13 ` Bernd Kuhls
1 sibling, 1 reply; 9+ messages in thread
From: Peter Korsgaard @ 2015-02-26 21:47 UTC (permalink / raw)
To: buildroot
>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:
> Lock to 3.19 kernel headers; and comment about installing DTBs; bump
> kernel sha1.
> Reported-by: Peter Korsgaard <jacmet@uclibc.org>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Committed to next, thanks.
Will you also send a patch (for master) doing the same for
raspberrypi_dt_defconfig?
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] [PATCH 1/2] boards/raspberrypi: update instructions for Raspberry Pi 2
2015-02-26 21:46 ` [Buildroot] [PATCH 1/2] boards/raspberrypi: update instructions for Raspberry Pi 2 Peter Korsgaard
@ 2015-02-26 21:51 ` Yann E. MORIN
0 siblings, 0 replies; 9+ messages in thread
From: Yann E. MORIN @ 2015-02-26 21:51 UTC (permalink / raw)
To: buildroot
Peter, All,
On 2015-02-26 22:46 +0100, Peter Korsgaard spake thusly:
> >>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:
> > diff --git a/board/raspberrypi2 b/board/raspberrypi2
> > new file mode 120000
> > index 0000000..fcdafc8
> > --- /dev/null
> > +++ b/board/raspberrypi2
> > @@ -0,0 +1 @@
> > +raspberrypi
> > \ No newline at end of file
>
> I don't know if it is patchwork, but this ended up as a symlink to 'raspberrypi?'
Yes, Patchwork is picky with symlinks. This already hapenned quite a few
times recently. Remember the website move?
> Committed to next with those issues fixed, thanks.
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] 9+ messages in thread
* [Buildroot] [PATCH 2/2] configs/raspberrypi2: update and fix our defconfig
2015-02-26 21:47 ` Peter Korsgaard
@ 2015-02-26 21:52 ` Yann E. MORIN
0 siblings, 0 replies; 9+ messages in thread
From: Yann E. MORIN @ 2015-02-26 21:52 UTC (permalink / raw)
To: buildroot
Peter, All,
On 2015-02-26 22:47 +0100, Peter Korsgaard spake thusly:
> >>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:
>
> > Lock to 3.19 kernel headers; and comment about installing DTBs; bump
> > kernel sha1.
>
> > Reported-by: Peter Korsgaard <jacmet@uclibc.org>
> > Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
>
> Committed to next, thanks.
>
> Will you also send a patch (for master) doing the same for
> raspberrypi_dt_defconfig?
I can do so, yes... ;-)
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] 9+ messages in thread
* [Buildroot] [PATCH 2/2] configs/raspberrypi2: update and fix our defconfig
2015-02-24 22:42 ` [Buildroot] [PATCH 2/2] configs/raspberrypi2: update and fix our defconfig Yann E. MORIN
2015-02-26 21:47 ` Peter Korsgaard
@ 2015-03-31 20:13 ` Bernd Kuhls
2015-03-31 20:56 ` Yann E. MORIN
1 sibling, 1 reply; 9+ messages in thread
From: Bernd Kuhls @ 2015-03-31 20:13 UTC (permalink / raw)
To: buildroot
[posted and mailed]
"Yann E. MORIN" <yann.morin.1998@free.fr> wrote in
news:1424817743-3627-2-git-send-email-yann.morin.1998 at free.fr:
> -BR2
_LINUX_KERNEL_CUSTOM_REPO_VERSION="3c9fd364bfa6c0f6ef725d74b72a9b77dd0d0fb4"
> +BR2
_LINUX_KERNEL_CUSTOM_REPO_VERSION="23c76b7f608e51258c6fca02aebeb5d588583149"
Hi Yann,
downloading the kernel source fails seems to be broken:
>>> linux 23c76b7f608e51258c6fca02aebeb5d588583149 Downloading
Doing full clone
Cloning into bare repository 'linux-
23c76b7f608e51258c6fca02aebeb5d588583149'...
POST git-upload-pack (gzip 1074 to 571 bytes)
remote: Counting objects: 4091705, done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 4091705 (delta 0), reused 0 (delta 0), pack-reused 4091697
Receiving objects: 100% (4091705/4091705), 1.14 GiB | 5.51 MiB/s, done.
Resolving deltas: 100% (3373468/3373468), done.
fatal: not a tree object
Regards, Bernd
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] [PATCH 2/2] configs/raspberrypi2: update and fix our defconfig
2015-03-31 20:13 ` Bernd Kuhls
@ 2015-03-31 20:56 ` Yann E. MORIN
2015-03-31 21:22 ` Yann E. MORIN
0 siblings, 1 reply; 9+ messages in thread
From: Yann E. MORIN @ 2015-03-31 20:56 UTC (permalink / raw)
To: buildroot
Bernd, All,
On 2015-03-31 22:13 +0200, Bernd Kuhls spake thusly:
> [posted and mailed]
[That's a bit annoying: when I replied, the reply went to you only, and
the list was not Cc-ed. Could you just use your mailer's "reply-all"
feature?]
> "Yann E. MORIN" <yann.morin.1998@free.fr> wrote in
> news:1424817743-3627-2-git-send-email-yann.morin.1998 at free.fr:
>
> > -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="3c9fd364bfa6c0f6ef725d74b72a9b77dd0d0fb4"
> > +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="23c76b7f608e51258c6fca02aebeb5d588583149"
>
> Hi Yann,
>
> downloading the kernel source fails seems to be broken:
>
> >>> linux 23c76b7f608e51258c6fca02aebeb5d588583149 Downloading
> Doing full clone
> Cloning into bare repository 'linux-
> 23c76b7f608e51258c6fca02aebeb5d588583149'...
> POST git-upload-pack (gzip 1074 to 571 bytes)
> remote: Counting objects: 4091705, done.
> remote: Compressing objects: 100% (8/8), done.
> remote: Total 4091705 (delta 0), reused 0 (delta 0), pack-reused 4091697
> Receiving objects: 100% (4091705/4091705), 1.14 GiB | 5.51 MiB/s, done.
> Resolving deltas: 100% (3373468/3373468), done.
> fatal: not a tree object
Yes, that's not surprising.
The RPi folks are known to rebase their branch rather than merge
upstream.
Also, they do not tag it.
So, we can only use sha1s, and those are prone to disapear from time to
time (rather frequently) and that's a shame.
I'll post an issue on their tracker to ask for tags.
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] 9+ messages in thread
* [Buildroot] [PATCH 2/2] configs/raspberrypi2: update and fix our defconfig
2015-03-31 20:56 ` Yann E. MORIN
@ 2015-03-31 21:22 ` Yann E. MORIN
0 siblings, 0 replies; 9+ messages in thread
From: Yann E. MORIN @ 2015-03-31 21:22 UTC (permalink / raw)
To: buildroot
Bernd, All,
On 2015-03-31 22:56 +0200, Yann E. MORIN spake thusly:
> On 2015-03-31 22:13 +0200, Bernd Kuhls spake thusly:
> > downloading the kernel source fails seems to be broken:
[--SNIP--]
> I'll post an issue on their tracker to ask for tags.
Done:
https://github.com/raspberrypi/linux/issues/915
If you feel it's important to you (and I'm not speaking only to Bernd),
please feel free to voice your concern over there! ;-)
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] 9+ messages in thread
end of thread, other threads:[~2015-03-31 21:22 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-24 22:42 [Buildroot] [PATCH 1/2] boards/raspberrypi: update instructions for Raspberry Pi 2 Yann E. MORIN
2015-02-24 22:42 ` [Buildroot] [PATCH 2/2] configs/raspberrypi2: update and fix our defconfig Yann E. MORIN
2015-02-26 21:47 ` Peter Korsgaard
2015-02-26 21:52 ` Yann E. MORIN
2015-03-31 20:13 ` Bernd Kuhls
2015-03-31 20:56 ` Yann E. MORIN
2015-03-31 21:22 ` Yann E. MORIN
2015-02-26 21:46 ` [Buildroot] [PATCH 1/2] boards/raspberrypi: update instructions for Raspberry Pi 2 Peter Korsgaard
2015-02-26 21:51 ` Yann E. MORIN
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox