[Buildroot] [PATCH v3 0/7] Add rpi3 b+ support

Martin Bark martin at barkynet.com
Mon Mar 19 18:18:39 UTC 2018


Hi,

On 19 March 2018 at 17:14, Peter Seiderer <ps.report at gmx.net> wrote:
> Hello Martin,
>
> On Fri, 16 Mar 2018 23:35:48 +0100, Thomas Petazzoni <thomas.petazzoni at bootlin.com> wrote:
>
>> Hello,
>>
>> On Fri, 16 Mar 2018 21:06:52 +0000, Martin Bark wrote:
>>
>> > The only reason for this seems to be the use of the pi3-miniuart-bt
>> > overlay.  Personally i never use this overlay, I set enable_uart=1 in
>> > config.txt (the same as raspi-config does).  Is there a reason
>> > buildroot favours the pi3-miniuart-bt overlay?
>>
>> I am not familiar with those configuration details of the RPi platform,
>> but I remember they have been discussed in the past. Perhaps you can
>> check the commit log for some details about them.
>>
>> Especially this commit log:
>>
>> commit 1e03cc2290f98fc7434254d2abd9afd504de8360
>> Author: Peter Seiderer <ps.report at gmx.net>
>> Date:   Mon May 2 22:25:44 2016 +0200
>>
>>     raspberrypi3: fix serial console (load pi3-miniuart-bt overlay)
>>
>>     - enable BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS in raspberrypi3_defconfig
>>     - add copy of rpi-firmware/overlays directory to boot partition in genimage-raspberrypi3.cfg
>>     - enhance post-image.sh script to add 'dtoverlay=pi3-miniuart-bt' on request
>>     - add BR2_ROOTFS_POST_SCRIPT_ARGS="--add-pi3-miniuart-bt-overlay" in raspberrypi3_defconfig
>>
>>     Signed-off-by: Peter Seiderer <ps.report at gmx.net>
>>     Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
>>
>
> And the full discussion about the different solutions, see [1]...
>
> I am still in prefer the overlay solutions ;-)
>
> Regards,
> Peter
>
>
> [1] https://patchwork.ozlabs.org/patch/617683/

Ok i remember this conversation now.

As a matter of interest has anyone actually tried using bluetooth with
the pi3-miniuart-bt overlay?  I have not.  According to [1]
pi3-miniuart-bt overlay requires core_freq=250 to work (which makes
sense) and buildroot does not set this.  I'm not sure the current way
pi3-miniuart-bt overlay is setup even works.

Thanks

Martin

[1] https://github.com/raspberrypi/linux/blob/rpi-4.14.y/arch/arm/boot/dts/overlays/README

>> Best regards,
>>
>> Thomas
>


More information about the buildroot mailing list