All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] configs/raspberrypi3: sync kernel version with rpi/rpi2
@ 2016-04-26 14:27 Oscar Gomez Fuente
  2016-04-26 14:38 ` Peter Korsgaard
  0 siblings, 1 reply; 19+ messages in thread
From: Oscar Gomez Fuente @ 2016-04-26 14:27 UTC (permalink / raw)
  To: buildroot

Hi Peter,

I've tried to compile the repo version:
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="3de232825c9ba5989522b8691eb6ac5df6619458"

with:
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y

For rpi/rpi2 and it doesn't work. The compiling is right but it doesn't
work, I can see the message on /dev/ttyAMA0 terminal:

Uncompressing Linux... done, booting the kernel.

But it's stuck at this point, however in RPi3 works fine.

Oscar Gomez Fuente
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160426/27383839/attachment.html>

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] [git commit] configs/raspberrypi3: sync kernel version with rpi/rpi2
  2016-04-26 14:27 [Buildroot] [git commit] configs/raspberrypi3: sync kernel version with rpi/rpi2 Oscar Gomez Fuente
@ 2016-04-26 14:38 ` Peter Korsgaard
  2016-04-26 15:09   ` Oscar Gomez Fuente
  0 siblings, 1 reply; 19+ messages in thread
From: Peter Korsgaard @ 2016-04-26 14:38 UTC (permalink / raw)
  To: buildroot

>>>>> "Oscar" == Oscar Gomez Fuente <oscargomezf@gmail.com> writes:

 > Hi Peter,
 > I've tried to compile the repo version:
 > BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="3de232825c9ba5989522b8691eb6ac5df6619458"

 > with:
 > BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y

 > For rpi/rpi2 and it doesn't work. The compiling is right but it doesn't
 > work, I can see the message on /dev/ttyAMA0 terminal:

 > Uncompressing Linux... done, booting the kernel.

 > But it's stuck at this point, however in RPi3 works fine.

So you are saying that the current raspberrypi_defconfig /
raspberrypi2_defconfig doesn't boot on your rpi1 / rpi2 boards? That's
odd as I verified raspberrypi_defconfig on my rpi1 (very old B version)
the other day without problems.

Are you sure you did a clean build of everything?

-- 
Venlig hilsen,
Peter Korsgaard 

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] [git commit] configs/raspberrypi3: sync kernel version with rpi/rpi2
  2016-04-26 14:38 ` Peter Korsgaard
@ 2016-04-26 15:09   ` Oscar Gomez Fuente
  2016-04-26 15:30     ` Peter Korsgaard
  0 siblings, 1 reply; 19+ messages in thread
From: Oscar Gomez Fuente @ 2016-04-26 15:09 UTC (permalink / raw)
  To: buildroot

Hi Peter,

The following models have been checked on a custom buildroot branch of mine
(with a few changes), but it's based on the Latest stable release of
buildroot: 2016.02 and before executing a defconfig I executed a make clean

I've changed:
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="3de232825c9ba5989522b8691eb6ac5df6619458"
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y

And these are the results:

i) Raspberry pi 1 B v2.1 (code: 000e): compile ok but it doesn't work. This
is my defconfig:
BR2_arm=y
BR2_arm1176jzf_s=y
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_TARGET_GENERIC_HOSTNAME="tedpi"
BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot 2016.02"
BR2_TARGET_GENERIC_PASSWD_SHA512=y
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_TARGET_GENERIC_ROOT_PASSWD="tedpi"
BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
BR2_SYSTEM_DHCP="eth0"
BR2_ROOTFS_POST_BUILD_SCRIPT="$(TOPDIR)/board/tedpi-1b/post-build.sh"
BR2_ROOTFS_POST_IMAGE_SCRIPT="$(TOPDIR)/board/tedpi-1b/post-image.sh"
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="3de232825c9ba5989522b8691eb6ac5df6619458"
BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi"
BR2_LINUX_KERNEL_ZIMAGE=y
BR2_PACKAGE_BUSYBOX_WATCHDOG=y
BR2_PACKAGE_WIRINGPI=y
BR2_PACKAGE_RPI_FIRMWARE=y
BR2_PACKAGE_RPI_FIRMWARE_INSTALL_VCDBG=y
BR2_PACKAGE_I2C_TOOLS=y
BR2_PACKAGE_LIBRAW1394=y
BR2_PACKAGE_LIBUSB=y
BR2_PACKAGE_DROPBEAR=y
BR2_PACKAGE_NTP=y
BR2_PACKAGE_NANO=y
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_4=y
BR2_PACKAGE_HOST_DOSFSTOOLS=y
BR2_PACKAGE_HOST_GENIMAGE=y
BR2_PACKAGE_HOST_MTOOLS=y

ii) Raspberry pi 2 B v1.1 (code: a01041): compile ok but it doesn't work.
This is my defconfig:
BR2_arm=y
BR2_cortex_a7=y
BR2_ARM_FPU_NEON_VFPV4=y
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_TARGET_GENERIC_HOSTNAME="tedpi"
BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot 2016.02 "
BR2_TARGET_GENERIC_PASSWD_SHA512=y
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_TARGET_GENERIC_ROOT_PASSWD="tedpi"
BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
BR2_SYSTEM_DHCP="eth0"
BR2_ROOTFS_POST_BUILD_SCRIPT="$(TOPDIR)/board/tedpi-2b/post-build-flea3.sh"
BR2_ROOTFS_POST_IMAGE_SCRIPT="$(TOPDIR)/board/tedpi-2b/post-image.sh"
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="3de232825c9ba5989522b8691eb6ac5df6619458"
BR2_LINUX_KERNEL_DEFCONFIG="bcm2709"
BR2_LINUX_KERNEL_ZIMAGE=y
BR2_PACKAGE_BUSYBOX_WATCHDOG=y
BR2_PACKAGE_WIRINGPI=y
BR2_PACKAGE_FLYCAPTURE2_ARM_LIB=y
BR2_PACKAGE_FLYCAPTURE_ENABLE_PASSWORD=y
BR2_PACKAGE_FLYCAPTURE2_ARM_SNAPSHOT=y
BR2_PACKAGE_RPI_FIRMWARE=y
BR2_PACKAGE_RPI_FIRMWARE_INSTALL_VCDBG=y
BR2_PACKAGE_I2C_TOOLS=y
BR2_PACKAGE_DROPBEAR=y
BR2_PACKAGE_NTP=y
BR2_PACKAGE_NANO=y
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_4=y
BR2_PACKAGE_HOST_DOSFSTOOLS=y
BR2_PACKAGE_HOST_GENIMAGE=y
BR2_PACKAGE_HOST_MTOOLS=y

iii) Raspberry pi 3 B v1.1 (code: a02082): compile and works fine (with the
overlay: pi3-disable-bt-overlay.dtb to access to the /dev/ttyAMA0 terminal)

Probably you can see something odd in my defconfig files...


Best regards

[image: photo] ?scar G?mez Fuente
Electronic Engineer & Degree in Physical Sciences
Mobile: 659.28.97.90
Email: oscargomezf at gmail.com
Website: www.oscargomezf.com
<http://facebook.com/oscargomezf>  <http://plus.google.com/oscargomezf>
<http://us.linkedin.com/in/oscargomezf>
<http://twitter.com/oscargomezf_com>

On 26 April 2016 at 16:38, Peter Korsgaard <peter@korsgaard.com> wrote:

> >>>>> "Oscar" == Oscar Gomez Fuente <oscargomezf@gmail.com> writes:
>
>  > Hi Peter,
>  > I've tried to compile the repo version:
>  >
> BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="3de232825c9ba5989522b8691eb6ac5df6619458"
>
>  > with:
>  > BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y
>
>  > For rpi/rpi2 and it doesn't work. The compiling is right but it doesn't
>  > work, I can see the message on /dev/ttyAMA0 terminal:
>
>  > Uncompressing Linux... done, booting the kernel.
>
>  > But it's stuck at this point, however in RPi3 works fine.
>
> So you are saying that the current raspberrypi_defconfig /
> raspberrypi2_defconfig doesn't boot on your rpi1 / rpi2 boards? That's
> odd as I verified raspberrypi_defconfig on my rpi1 (very old B version)
> the other day without problems.
>
> Are you sure you did a clean build of everything?
>
> --
> Venlig hilsen,
> Peter Korsgaard
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160426/b58b8fae/attachment.html>

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] [git commit] configs/raspberrypi3: sync kernel version with rpi/rpi2
  2016-04-26 15:09   ` Oscar Gomez Fuente
@ 2016-04-26 15:30     ` Peter Korsgaard
  2016-04-26 17:51       ` Peter Korsgaard
  0 siblings, 1 reply; 19+ messages in thread
From: Peter Korsgaard @ 2016-04-26 15:30 UTC (permalink / raw)
  To: buildroot

>>>>> "Oscar" == Oscar Gomez Fuente <oscargomezf@gmail.com> writes:

 > Hi Peter,
 > The following models have been checked on a custom buildroot branch of mine
 > (with a few changes), but it's based on the Latest stable release of
 > buildroot: 2016.02 and before executing a defconfig I executed a make clean

 > I've changed:
 > BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="3de232825c9ba5989522b8691eb6ac5df6619458"
 > BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y

Ok, can you please try current git to make sure? We've also updated the
version of rpi-firmware since 2016.02, so that might make a difference.

-- 
Venlig hilsen,
Peter Korsgaard 

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] [git commit] configs/raspberrypi3: sync kernel version with rpi/rpi2
  2016-04-26 15:30     ` Peter Korsgaard
@ 2016-04-26 17:51       ` Peter Korsgaard
  2016-04-26 19:39         ` Peter Seiderer
  0 siblings, 1 reply; 19+ messages in thread
From: Peter Korsgaard @ 2016-04-26 17:51 UTC (permalink / raw)
  To: buildroot

>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:

>>>>> "Oscar" == Oscar Gomez Fuente <oscargomezf@gmail.com> writes:
 >> Hi Peter,
 >> The following models have been checked on a custom buildroot branch of mine
 >> (with a few changes), but it's based on the Latest stable release of
 >> buildroot: 2016.02 and before executing a defconfig I executed a make clean

 >> I've changed:
 >> BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="3de232825c9ba5989522b8691eb6ac5df6619458"
 >> BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y

 > Ok, can you please try current git to make sure? We've also updated the
 > version of rpi-firmware since 2016.02, so that might make a difference.

FYI, I've built the 3 defconfigs using current git head (except that I
used precompiled toolchains) and put them online here for easy testing:

https://buildroot.org/~jacmet/rpi/

Just dd the sdcard.img matching your board variant to a sdcard. I've
verified the rpi1 version here.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] [git commit] configs/raspberrypi3: sync kernel version with rpi/rpi2
  2016-04-26 17:51       ` Peter Korsgaard
@ 2016-04-26 19:39         ` Peter Seiderer
  2016-04-26 20:58           ` Benoît Mauduit
                             ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Peter Seiderer @ 2016-04-26 19:39 UTC (permalink / raw)
  To: buildroot

Hello Peter, Oscar,

On Tue, 26 Apr 2016 19:51:46 +0200, Peter Korsgaard <peter@korsgaard.com> wrote:

> >>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:
> 
> >>>>> "Oscar" == Oscar Gomez Fuente <oscargomezf@gmail.com> writes:
>  >> Hi Peter,
>  >> The following models have been checked on a custom buildroot branch of mine
>  >> (with a few changes), but it's based on the Latest stable release of
>  >> buildroot: 2016.02 and before executing a defconfig I executed a make clean
> 
>  >> I've changed:
>  >> BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="3de232825c9ba5989522b8691eb6ac5df6619458"
>  >> BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y
> 
>  > Ok, can you please try current git to make sure? We've also updated the
>  > version of rpi-firmware since 2016.02, so that might make a difference.
> 
> FYI, I've built the 3 defconfigs using current git head (except that I
> used precompiled toolchains) and put them online here for easy testing:
> 
> https://buildroot.org/~jacmet/rpi/
> 
> Just dd the sdcard.img matching your board variant to a sdcard. I've
> verified the rpi1 version here.
> 


https://buildroot.org/~jacmet/rpi/rpi1/sdcard.img
Boots fine on a Raspberry Pi Model B Rev 2 board (console on HDMI and serial)

https://buildroot.org/~jacmet/rpi/rpi3/sdcard.img
Boots fine on a Raspberry Pi 3 Model B Rev 1.2 (messages on HDMI,
console on HDMI and serial after adding the 'dtoverlay=pi3-disable-bt' fix).

Regards,
Peter

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] [git commit] configs/raspberrypi3: sync kernel version with rpi/rpi2
  2016-04-26 19:39         ` Peter Seiderer
@ 2016-04-26 20:58           ` Benoît Mauduit
  2016-04-27 20:40             ` Peter Korsgaard
  2016-04-27  6:50           ` Peter Korsgaard
  2016-04-27  6:58           ` Oscar Gomez Fuente
  2 siblings, 1 reply; 19+ messages in thread
From: Benoît Mauduit @ 2016-04-26 20:58 UTC (permalink / raw)
  To: buildroot

Hello all,

On 04/26/2016 09:39 PM, Peter Seiderer wrote:
> Hello Peter, Oscar,
> 
> On Tue, 26 Apr 2016 19:51:46 +0200, Peter Korsgaard <peter@korsgaard.com> wrote:
> 
>>>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:
>>
>>>>>>> "Oscar" == Oscar Gomez Fuente <oscargomezf@gmail.com> writes:
>>  >> Hi Peter,
>>  >> The following models have been checked on a custom buildroot branch of mine
>>  >> (with a few changes), but it's based on the Latest stable release of
>>  >> buildroot: 2016.02 and before executing a defconfig I executed a make clean
>>
>>  >> I've changed:
>>  >> BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="3de232825c9ba5989522b8691eb6ac5df6619458"
>>  >> BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y
>>
>>  > Ok, can you please try current git to make sure? We've also updated the
>>  > version of rpi-firmware since 2016.02, so that might make a difference.
>>
>> FYI, I've built the 3 defconfigs using current git head (except that I
>> used precompiled toolchains) and put them online here for easy testing:
>>
>> https://buildroot.org/~jacmet/rpi/
>>
>> Just dd the sdcard.img matching your board variant to a sdcard. I've
>> verified the rpi1 version here.
>>
> 
> 
> https://buildroot.org/~jacmet/rpi/rpi1/sdcard.img
> Boots fine on a Raspberry Pi Model B Rev 2 board (console on HDMI and serial)
> 
> https://buildroot.org/~jacmet/rpi/rpi3/sdcard.img
> Boots fine on a Raspberry Pi 3 Model B Rev 1.2 (messages on HDMI,
> console on HDMI and serial after adding the 'dtoverlay=pi3-disable-bt' fix).
> 

For information, I have successfully built a working Linux kernel for
rpi2 on top of the branch rpi-4.4.y.

BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="e63db5f23b77ba5e2fa7823e9b3254bb65358b69"
Do you think we can move to this branch ?

Thanks,
Beno?t.


> Regards,
> Peter
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
> 

-- 
Beno?t Mauduit
<bmauduit@beneth.fr>
XMPP (Jabber) : <bmauduit@im.beneth.fr>

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] [git commit] configs/raspberrypi3: sync kernel version with rpi/rpi2
  2016-04-26 19:39         ` Peter Seiderer
  2016-04-26 20:58           ` Benoît Mauduit
@ 2016-04-27  6:50           ` Peter Korsgaard
  2016-04-27  8:24             ` Peter Seiderer
  2016-04-27  6:58           ` Oscar Gomez Fuente
  2 siblings, 1 reply; 19+ messages in thread
From: Peter Korsgaard @ 2016-04-27  6:50 UTC (permalink / raw)
  To: buildroot

>>>>> "Peter" == Peter Seiderer <ps.report@gmx.net> writes:

Hi,

 >> Just dd the sdcard.img matching your board variant to a sdcard. I've
 >> verified the rpi1 version here.
 
 > https://buildroot.org/~jacmet/rpi/rpi1/sdcard.img
 > Boots fine on a Raspberry Pi Model B Rev 2 board (console on HDMI and serial)

 > https://buildroot.org/~jacmet/rpi/rpi3/sdcard.img
 > Boots fine on a Raspberry Pi 3 Model B Rev 1.2 (messages on HDMI,
 > console on HDMI and serial after adding the 'dtoverlay=pi3-disable-bt' fix).

Thanks for testing! What is the behaviour without the dtoverlay? Similar
to Oscar, E.G. no serial output and unable to login over HDMI?

-- 
Venlig hilsen,
Peter Korsgaard 

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] [git commit] configs/raspberrypi3: sync kernel version with rpi/rpi2
  2016-04-26 19:39         ` Peter Seiderer
  2016-04-26 20:58           ` Benoît Mauduit
  2016-04-27  6:50           ` Peter Korsgaard
@ 2016-04-27  6:58           ` Oscar Gomez Fuente
  2016-04-27  7:28             ` Oscar Gomez Fuente
  2016-04-27  8:14             ` Peter Seiderer
  2 siblings, 2 replies; 19+ messages in thread
From: Oscar Gomez Fuente @ 2016-04-27  6:58 UTC (permalink / raw)
  To: buildroot

Hi everyone,

I've checked rpi1 sdcard.img and rpi2 sdcard.img images and works fine.
With the rpi3 sdcard.img I can't see the serial port working, I tried to
add overlays/pi3-disable-bt-overlay.dtb and 'dtoverlay=pi3-disable-bt' to
the config.txt file to the boot partition but it doesn't work.

Best regards.

[image: photo] ?scar G?mez Fuente
Electronic Engineer & Degree in Physical Sciences
Mobile: 659.28.97.90
Email: oscargomezf at gmail.com
Website: www.oscargomezf.com
<http://facebook.com/oscargomezf>  <http://plus.google.com/oscargomezf>
<http://us.linkedin.com/in/oscargomezf>
<http://twitter.com/oscargomezf_com>

On 26 April 2016 at 21:39, Peter Seiderer <ps.report@gmx.net> wrote:

> Hello Peter, Oscar,
>
> On Tue, 26 Apr 2016 19:51:46 +0200, Peter Korsgaard <peter@korsgaard.com>
> wrote:
>
> > >>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:
> >
> > >>>>> "Oscar" == Oscar Gomez Fuente <oscargomezf@gmail.com> writes:
> >  >> Hi Peter,
> >  >> The following models have been checked on a custom buildroot branch
> of mine
> >  >> (with a few changes), but it's based on the Latest stable release of
> >  >> buildroot: 2016.02 and before executing a defconfig I executed a
> make clean
> >
> >  >> I've changed:
> >  >>
> BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="3de232825c9ba5989522b8691eb6ac5df6619458"
> >  >> BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y
> >
> >  > Ok, can you please try current git to make sure? We've also updated
> the
> >  > version of rpi-firmware since 2016.02, so that might make a
> difference.
> >
> > FYI, I've built the 3 defconfigs using current git head (except that I
> > used precompiled toolchains) and put them online here for easy testing:
> >
> > https://buildroot.org/~jacmet/rpi/
> >
> > Just dd the sdcard.img matching your board variant to a sdcard. I've
> > verified the rpi1 version here.
> >
>
>
> https://buildroot.org/~jacmet/rpi/rpi1/sdcard.img
> Boots fine on a Raspberry Pi Model B Rev 2 board (console on HDMI and
> serial)
>
> https://buildroot.org/~jacmet/rpi/rpi3/sdcard.img
> Boots fine on a Raspberry Pi 3 Model B Rev 1.2 (messages on HDMI,
> console on HDMI and serial after adding the 'dtoverlay=pi3-disable-bt'
> fix).
>
> Regards,
> Peter
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160427/3b69dc37/attachment.html>

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] [git commit] configs/raspberrypi3: sync kernel version with rpi/rpi2
  2016-04-27  6:58           ` Oscar Gomez Fuente
@ 2016-04-27  7:28             ` Oscar Gomez Fuente
  2016-04-27  8:19               ` Peter Seiderer
  2016-04-27  8:14             ` Peter Seiderer
  1 sibling, 1 reply; 19+ messages in thread
From: Oscar Gomez Fuente @ 2016-04-27  7:28 UTC (permalink / raw)
  To: buildroot

Hi everyone,

I made a git clone from buildroot with the last repo, and It works fine
with rpi1 and rp2. I want to check rpi3 too so I've tried to select DTB
overlays (Target packages > Hardware handling > Firmware > Install DTB
overlays) but it didn't generate the overlay folder in
output/images/rpi-firmware.

Does anyone knows why?

Best regards.

[image: photo] ?scar G?mez Fuente
Electronic Engineer & Degree in Physical Sciences
Mobile: 659.28.97.90
Email: oscargomezf at gmail.com
Website: www.oscargomezf.com
<http://facebook.com/oscargomezf>  <http://plus.google.com/oscargomezf>
<http://us.linkedin.com/in/oscargomezf>
<http://twitter.com/oscargomezf_com>

On 27 April 2016 at 08:58, Oscar Gomez Fuente <oscargomezf@gmail.com> wrote:

> Hi everyone,
>
> I've checked rpi1 sdcard.img and rpi2 sdcard.img images and works fine.
> With the rpi3 sdcard.img I can't see the serial port working, I tried to
> add overlays/pi3-disable-bt-overlay.dtb and 'dtoverlay=pi3-disable-bt' to
> the config.txt file to the boot partition but it doesn't work.
>
> Best regards.
>
> [image: photo] ?scar G?mez Fuente
> Electronic Engineer & Degree in Physical Sciences
> Mobile: 659.28.97.90
> Email: oscargomezf at gmail.com
> Website: www.oscargomezf.com
> <http://facebook.com/oscargomezf>  <http://plus.google.com/oscargomezf>
> <http://us.linkedin.com/in/oscargomezf>
> <http://twitter.com/oscargomezf_com>
>
> On 26 April 2016 at 21:39, Peter Seiderer <ps.report@gmx.net> wrote:
>
>> Hello Peter, Oscar,
>>
>> On Tue, 26 Apr 2016 19:51:46 +0200, Peter Korsgaard <peter@korsgaard.com>
>> wrote:
>>
>> > >>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:
>> >
>> > >>>>> "Oscar" == Oscar Gomez Fuente <oscargomezf@gmail.com> writes:
>> >  >> Hi Peter,
>> >  >> The following models have been checked on a custom buildroot branch
>> of mine
>> >  >> (with a few changes), but it's based on the Latest stable release of
>> >  >> buildroot: 2016.02 and before executing a defconfig I executed a
>> make clean
>> >
>> >  >> I've changed:
>> >  >>
>> BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="3de232825c9ba5989522b8691eb6ac5df6619458"
>> >  >> BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y
>> >
>> >  > Ok, can you please try current git to make sure? We've also updated
>> the
>> >  > version of rpi-firmware since 2016.02, so that might make a
>> difference.
>> >
>> > FYI, I've built the 3 defconfigs using current git head (except that I
>> > used precompiled toolchains) and put them online here for easy testing:
>> >
>> > https://buildroot.org/~jacmet/rpi/
>> >
>> > Just dd the sdcard.img matching your board variant to a sdcard. I've
>> > verified the rpi1 version here.
>> >
>>
>>
>> https://buildroot.org/~jacmet/rpi/rpi1/sdcard.img
>> Boots fine on a Raspberry Pi Model B Rev 2 board (console on HDMI and
>> serial)
>>
>> https://buildroot.org/~jacmet/rpi/rpi3/sdcard.img
>> Boots fine on a Raspberry Pi 3 Model B Rev 1.2 (messages on HDMI,
>> console on HDMI and serial after adding the 'dtoverlay=pi3-disable-bt'
>> fix).
>>
>> Regards,
>> Peter
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160427/425ed6f8/attachment.html>

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] [git commit] configs/raspberrypi3: sync kernel version with rpi/rpi2
  2016-04-27  6:58           ` Oscar Gomez Fuente
  2016-04-27  7:28             ` Oscar Gomez Fuente
@ 2016-04-27  8:14             ` Peter Seiderer
  1 sibling, 0 replies; 19+ messages in thread
From: Peter Seiderer @ 2016-04-27  8:14 UTC (permalink / raw)
  To: buildroot

Hello Oscar,

> Gesendet:?Mittwoch, 27. April 2016 um 08:58 Uhr
> Von:?"Oscar Gomez Fuente" <oscargomezf@gmail.com>
> An:?"Peter Seiderer" <ps.report@gmx.net>
> Cc:?buildroot at busybox.net
> Betreff:?Re: [Buildroot] [git commit] configs/raspberrypi3: sync kernel version with rpi/rpi2
> 
> Hi everyone,
> ?
> I've checked rpi1 sdcard.img and rpi2 sdcard.img images and works fine. With the rpi3 sdcard.img I can't see the serial port > working, I tried to add overlays/pi3-disable-bt-overlay.dtb and 'dtoverlay=pi3-disable-bt' to the config.txt file?to the boot > partition but it doesn't work.
> ?
?
in case your overlay is named 'pi3-disable-bt-overlay.dtb' and not 'pi3-disable-bt-overlay.dtbo' your are using
an old version of the rpi-firmware package..., please update/rebuild (and use patch [1])...

Regards (and excuse for top posting, no proper,
Peter

[1] https://patchwork.ozlabs.org/patch/614715/

> Best regards.
> ?
> 
> ?scar G?mez Fuente
> Electronic Engineer & Degree in Physical Sciences

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] [git commit] configs/raspberrypi3: sync kernel version with rpi/rpi2
  2016-04-27  7:28             ` Oscar Gomez Fuente
@ 2016-04-27  8:19               ` Peter Seiderer
  0 siblings, 0 replies; 19+ messages in thread
From: Peter Seiderer @ 2016-04-27  8:19 UTC (permalink / raw)
  To: buildroot

Hello Oscar,

> Gesendet:?Mittwoch, 27. April 2016 um 09:28 Uhr
> Von:?"Oscar Gomez Fuente" <oscargomezf@gmail.com>
> An:?"Peter Seiderer" <ps.report@gmx.net>
> Cc:?"Peter Korsgaard" <peter@korsgaard.com>, buildroot at busybox.net
> Betreff:?Re: [Buildroot] [git commit] configs/raspberrypi3: sync kernel version with rpi/rpi2
> 
> Hi everyone,
> ?
> I made a git clone from buildroot?with the last repo, and It works fine with rpi1 and rp2. I want to check?rpi3 too so I've > > tried to select DTB overlays (Target packages > Hardware handling > Firmware > Install DTB overlays) but it didn't generate > > the overlay folder in output/images/rpi-firmware.
> ?
> Does anyone knows why?
> ?

You need to rebuild the rpi-firmware package after changing the config option (make rpi-firmware-dirclean; make)
and apply patch [1] first...

Regards,
Peter

[1] https://patchwork.ozlabs.org/patch/614715/


> Best regards.
> ?
> 
> ?scar G?mez Fuente
> Electronic Engineer & Degree in Physical Sciences

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] [git commit] configs/raspberrypi3: sync kernel version with rpi/rpi2
  2016-04-27  6:50           ` Peter Korsgaard
@ 2016-04-27  8:24             ` Peter Seiderer
  2016-04-27 11:47               ` Oscar Gomez Fuente
  2016-04-28  6:53               ` Peter Korsgaard
  0 siblings, 2 replies; 19+ messages in thread
From: Peter Seiderer @ 2016-04-27  8:24 UTC (permalink / raw)
  To: buildroot

Hello Peter,

> Gesendet: Mittwoch, 27. April 2016 um 08:50 Uhr
> Von: "Peter Korsgaard" <peter@korsgaard.com>
> An: "Peter Seiderer" <ps.report@gmx.net>
> Cc: "Oscar Gomez Fuente" <oscargomezf@gmail.com>, buildroot at busybox.net
> Betreff: Re: [git commit] configs/raspberrypi3: sync kernel version with rpi/rpi2
>
> >>>>> "Peter" == Peter Seiderer <ps.report@gmx.net> writes:
> 
> Hi,
> 
>  >> Just dd the sdcard.img matching your board variant to a sdcard. I've
>  >> verified the rpi1 version here.
>  
>  > https://buildroot.org/~jacmet/rpi/rpi1/sdcard.img
>  > Boots fine on a Raspberry Pi Model B Rev 2 board (console on HDMI and serial)
> 
>  > https://buildroot.org/~jacmet/rpi/rpi3/sdcard.img
>  > Boots fine on a Raspberry Pi 3 Model B Rev 1.2 (messages on HDMI,
>  > console on HDMI and serial after adding the 'dtoverlay=pi3-disable-bt' fix).
> 
> Thanks for testing! What is the behaviour without the dtoverlay? Similar
> to Oscar, E.G. no serial output and unable to login over HDMI?

Same/known behaviour as described already in [1]:

  Without the overlay I get boot messages on HDMI, but no login, last messages
  are from USB keyboard/mouse and I can get more messages removing/adding
  keyboard/mouse...., no messages on serial console (but 'ttyS0: 29 input overrun(s)
  message on HDMI output)

And I think the same as Oscar described...

Regards,
Peter

[1] http://lists.busybox.net/pipermail/buildroot/2016-April/159683.html

> 
> -- 
> Venlig hilsen,
> Peter Korsgaard 
> 

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] [git commit] configs/raspberrypi3: sync kernel version with rpi/rpi2
  2016-04-27  8:24             ` Peter Seiderer
@ 2016-04-27 11:47               ` Oscar Gomez Fuente
  2016-04-28  6:53               ` Peter Korsgaard
  1 sibling, 0 replies; 19+ messages in thread
From: Oscar Gomez Fuente @ 2016-04-27 11:47 UTC (permalink / raw)
  To: buildroot

Ok,


With the patch, the rpi-firmware works fine. And the sdcard.img for the
rpi3 with the pi3-disable-bt-overlay.dtbo in the overlays folder of the
boot.vfat partiton works fine too.

I've asked to the mailing list of buildroot, If someone knows how to add
folders with genimage. I would like to add overlays dtbos to create a
sdcard.img with them.


Beat regards.

Oscar Gomez Fuente

On 27 April 2016 at 10:24, Peter Seiderer <ps.report@gmx.net> wrote:

> Hello Peter,
>
> > Gesendet: Mittwoch, 27. April 2016 um 08:50 Uhr
> > Von: "Peter Korsgaard" <peter@korsgaard.com>
> > An: "Peter Seiderer" <ps.report@gmx.net>
> > Cc: "Oscar Gomez Fuente" <oscargomezf@gmail.com>, buildroot at busybox.net
> > Betreff: Re: [git commit] configs/raspberrypi3: sync kernel version with
> rpi/rpi2
> >
> > >>>>> "Peter" == Peter Seiderer <ps.report@gmx.net> writes:
> >
> > Hi,
> >
> >  >> Just dd the sdcard.img matching your board variant to a sdcard. I've
> >  >> verified the rpi1 version here.
> >
> >  > https://buildroot.org/~jacmet/rpi/rpi1/sdcard.img
> >  > Boots fine on a Raspberry Pi Model B Rev 2 board (console on HDMI and
> serial)
> >
> >  > https://buildroot.org/~jacmet/rpi/rpi3/sdcard.img
> >  > Boots fine on a Raspberry Pi 3 Model B Rev 1.2 (messages on HDMI,
> >  > console on HDMI and serial after adding the
> 'dtoverlay=pi3-disable-bt' fix).
> >
> > Thanks for testing! What is the behaviour without the dtoverlay? Similar
> > to Oscar, E.G. no serial output and unable to login over HDMI?
>
> Same/known behaviour as described already in [1]:
>
>   Without the overlay I get boot messages on HDMI, but no login, last
> messages
>   are from USB keyboard/mouse and I can get more messages removing/adding
>   keyboard/mouse...., no messages on serial console (but 'ttyS0: 29 input
> overrun(s)
>   message on HDMI output)
>
> And I think the same as Oscar described...
>
> Regards,
> Peter
>
> [1] http://lists.busybox.net/pipermail/buildroot/2016-April/159683.html
>
> >
> > --
> > Venlig hilsen,
> > Peter Korsgaard
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160427/059cae1d/attachment.html>

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] [git commit] configs/raspberrypi3: sync kernel version with rpi/rpi2
  2016-04-26 20:58           ` Benoît Mauduit
@ 2016-04-27 20:40             ` Peter Korsgaard
  2016-04-27 21:16               ` Benoît Mauduit
  0 siblings, 1 reply; 19+ messages in thread
From: Peter Korsgaard @ 2016-04-27 20:40 UTC (permalink / raw)
  To: buildroot

>>>>> "Beno?t" == Beno?t Mauduit <bmauduit@beneth.fr> writes:

Hi,

 > For information, I have successfully built a working Linux kernel for
 > rpi2 on top of the branch rpi-4.4.y.

 > BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="e63db5f23b77ba5e2fa7823e9b3254bb65358b69"
 > Do you think we can move to this branch ?

Ehh, but we are already using rpi-4.4.y? (3de2328 from April 21st) -
With that said, we can certainly move to e63db5. Care to send a patch to
update raspberry{,2,3}_defconfig?

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] [git commit] configs/raspberrypi3: sync kernel version with rpi/rpi2
  2016-04-27 20:40             ` Peter Korsgaard
@ 2016-04-27 21:16               ` Benoît Mauduit
  2016-04-27 21:37                 ` Peter Korsgaard
  0 siblings, 1 reply; 19+ messages in thread
From: Benoît Mauduit @ 2016-04-27 21:16 UTC (permalink / raw)
  To: buildroot

On 04/27/2016 10:40 PM, Peter Korsgaard wrote:
> 
> Ehh, but we are already using rpi-4.4.y? (3de2328 from April 21st) -
> With that said, we can certainly move to e63db5. Care to send a patch to
> update raspberry{,2,3}_defconfig?
> 

Ouuups, I was already on this 4.4 branch after trying to work on Kodi,
before April 21st, I missed the buildroot change...

Patchs are ready for raspberry{,2,3}_defconfig, I am just waiting a
build to confirm that it is working.

I took the last commit on rpi-4.4.y branch, which is now :
26f3b72a9c049be10e6af196252283e1f6ab9d1f. (Kernel 4.4.8).

Just a question, seeing how buildroot manage defconfig : Is it really
useful to add comments (And re-order Kconfig option) in defconfig ? Some
people read defconfigs ?

Thanks,
Regards,

-- 
Beno?t Mauduit
<bmauduit@beneth.fr>
XMPP (Jabber) : <bmauduit@im.beneth.fr>

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] [git commit] configs/raspberrypi3: sync kernel version with rpi/rpi2
  2016-04-27 21:16               ` Benoît Mauduit
@ 2016-04-27 21:37                 ` Peter Korsgaard
  0 siblings, 0 replies; 19+ messages in thread
From: Peter Korsgaard @ 2016-04-27 21:37 UTC (permalink / raw)
  To: buildroot

>>>>> "Beno?t" == Beno?t Mauduit <bmauduit@beneth.fr> writes:

 > On 04/27/2016 10:40 PM, Peter Korsgaard wrote:
 >> 
 >> Ehh, but we are already using rpi-4.4.y? (3de2328 from April 21st) -
 >> With that said, we can certainly move to e63db5. Care to send a patch to
 >> update raspberry{,2,3}_defconfig?
 >> 

 > Ouuups, I was already on this 4.4 branch after trying to work on Kodi,
 > before April 21st, I missed the buildroot change...

 > Patchs are ready for raspberry{,2,3}_defconfig, I am just waiting a
 > build to confirm that it is working.

Thanks. What about rpi1?

 > I took the last commit on rpi-4.4.y branch, which is now :
 > 26f3b72a9c049be10e6af196252283e1f6ab9d1f. (Kernel 4.4.8).

Ok.

 > Just a question, seeing how buildroot manage defconfig : Is it really
 > useful to add comments (And re-order Kconfig option) in defconfig ? Some
 > people read defconfigs ?

We don't really have any strong policy about it. I do find the commits
are nice for documentation, but it is true that they break 'make
savedefconfig'.

Anybody else having an opinion about this?

-- 
Venlig hilsen,
Peter Korsgaard 

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] [git commit] configs/raspberrypi3: sync kernel version with rpi/rpi2
  2016-04-27  8:24             ` Peter Seiderer
  2016-04-27 11:47               ` Oscar Gomez Fuente
@ 2016-04-28  6:53               ` Peter Korsgaard
  1 sibling, 0 replies; 19+ messages in thread
From: Peter Korsgaard @ 2016-04-28  6:53 UTC (permalink / raw)
  To: buildroot

>>>>> "Peter" == Peter Seiderer <ps.report@gmx.net> writes:

Hi,

 >> > https://buildroot.org/~jacmet/rpi/rpi3/sdcard.img
 >> > Boots fine on a Raspberry Pi 3 Model B Rev 1.2 (messages on HDMI,
 >> > console on HDMI and serial after adding the 'dtoverlay=pi3-disable-bt' fix).
 >> 
 >> Thanks for testing! What is the behaviour without the dtoverlay? Similar
 >> to Oscar, E.G. no serial output and unable to login over HDMI?

 > Same/known behaviour as described already in [1]:

 >   Without the overlay I get boot messages on HDMI, but no login, last messages
 >   are from USB keyboard/mouse and I can get more messages removing/adding
 >   keyboard/mouse...., no messages on serial console (but 'ttyS0: 29 input overrun(s)
 >   message on HDMI output)

Ok. Care to send a patch to add the dtboverlay to the rpi3 defconfig?

-- 
Venlig hilsen,
Peter Korsgaard 

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] [git commit] configs/raspberrypi3: sync kernel version with rpi/rpi2
@ 2016-04-25 12:07 Peter Korsgaard
  0 siblings, 0 replies; 19+ messages in thread
From: Peter Korsgaard @ 2016-04-25 12:07 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=c8c221b08b864f1b9f6bb7b0eb06d3173b71d2e6
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Move to 4.4 series.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 configs/raspberrypi3_defconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/configs/raspberrypi3_defconfig b/configs/raspberrypi3_defconfig
index 80ce908..b30de43 100644
--- a/configs/raspberrypi3_defconfig
+++ b/configs/raspberrypi3_defconfig
@@ -7,13 +7,13 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y
 
 BR2_SYSTEM_DHCP="eth0"
 
-# Linux headers same as kernel, a 4.1 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1=y
+# Linux headers same as kernel, a 4.4 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=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="20fe468af4bb40fec0f81753da4b20a8bfc259c9"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="3de232825c9ba5989522b8691eb6ac5df6619458"
 BR2_LINUX_KERNEL_DEFCONFIG="bcm2709"
 
 # Build the DTB from the kernel sources

^ permalink raw reply related	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2016-04-28  6:53 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-26 14:27 [Buildroot] [git commit] configs/raspberrypi3: sync kernel version with rpi/rpi2 Oscar Gomez Fuente
2016-04-26 14:38 ` Peter Korsgaard
2016-04-26 15:09   ` Oscar Gomez Fuente
2016-04-26 15:30     ` Peter Korsgaard
2016-04-26 17:51       ` Peter Korsgaard
2016-04-26 19:39         ` Peter Seiderer
2016-04-26 20:58           ` Benoît Mauduit
2016-04-27 20:40             ` Peter Korsgaard
2016-04-27 21:16               ` Benoît Mauduit
2016-04-27 21:37                 ` Peter Korsgaard
2016-04-27  6:50           ` Peter Korsgaard
2016-04-27  8:24             ` Peter Seiderer
2016-04-27 11:47               ` Oscar Gomez Fuente
2016-04-28  6:53               ` Peter Korsgaard
2016-04-27  6:58           ` Oscar Gomez Fuente
2016-04-27  7:28             ` Oscar Gomez Fuente
2016-04-27  8:19               ` Peter Seiderer
2016-04-27  8:14             ` Peter Seiderer
  -- strict thread matches above, loose matches on Subject: below --
2016-04-25 12:07 Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.