Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 11111] New: raspberry pi 3 b+: missing BSP for 64-bit kernel
@ 2018-06-24 19:45 bugzilla at busybox.net
  2018-06-25 21:15 ` [Buildroot] [Bug 11111] " bugzilla at busybox.net
  2018-06-30 20:07 ` bugzilla at busybox.net
  0 siblings, 2 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2018-06-24 19:45 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11111

            Bug ID: 11111
           Summary: raspberry pi 3 b+: missing BSP for 64-bit kernel
           Product: buildroot
           Version: 2018.05
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: nospam+busybox at jtang.org
                CC: buildroot at uclibc.org
  Target Milestone: ---

I have been trying to get my RPi3 B+ running with Buildroot, using
configs/raspberrypi3_64_defconfig from the 2018.05 as a starting basis. I had
to make the following changes to get my Pi to boot to a usable HDMI console +
USB keyboard:

1. Updated BR2_LINUX_KERNEL_INTREE_DTS_NAME to also build
"broadcom/bcm2710-rpi-3-b-plus'. This is needed because the built-in USB
Ethernet device is handled by the lan78xx driver.[1]

2. At least for me, the generated output/target/etc/inittab was incorrect. The
file ran getty on both 'console' and 'tty1', but both 'console' and 'tty1'
referred to my HDMI/USB console. As a result, keystrokes were duplicated and
output messages were duplicated. I fixed this by setting
BR2_TARGET_GENERIC_GETTY_PORT to "tty1", but I suspect my hack is not
sufficient.

3. Changed board/raspberrypi/post-image.sh to set 'arm_64bit' instead of
'arm_control'.[2]

I would like for someone else with a RPi3+ to try out these changes before I
formally submit patches. Thanks.

References:

[1] https://patchwork.ozlabs.org/cover/898035/
[2] https://www.raspberrypi.org/documentation/configuration/config-txt/misc.md

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 11111] raspberry pi 3 b+: missing BSP for 64-bit kernel
  2018-06-24 19:45 [Buildroot] [Bug 11111] New: raspberry pi 3 b+: missing BSP for 64-bit kernel bugzilla at busybox.net
@ 2018-06-25 21:15 ` bugzilla at busybox.net
  2018-06-30 20:07 ` bugzilla at busybox.net
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2018-06-25 21:15 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11111

--- Comment #1 from Peter Seiderer <ps.report@gmx.net> ---
(In reply to nospam+busybox from comment #0)

Did try the raspberrypi3_64_defconfig (on buildroot-git master) on rpi3b (no
plus), did work out of the box with functional login on HDMI and serial
console.

The three changes which are post 2018.5 are:

- configs/raspberrypi*: bump kernel version (from 4.14.29 to 4.15.39), see [1]
- configs/raspberrypi3_64_defconfig: add support for rpi3b+, see [2]
- package/rpi-firmware: bump version, see [3]

[1]
https://git.buildroot.net/buildroot/commit/configs/raspberrypi3_64_defconfig?id=b677b490f7055963ac1f5a15856a6eab904ccbc7

[2]
https://git.buildroot.net/buildroot/commit/configs/raspberrypi3_64_defconfig?id=fbb45f6d7f937e503900a04ff920320c411d8f34

[3]
https://git.buildroot.net/buildroot/commit/package/rpi-firmware?id=975fff568f9b5ea99d02b1c24d434ee4cb490864

So no need for 1. and 2.

Suggestion 3. works (as expected), patch welcome ;-)

Regards,
Peter

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 11111] raspberry pi 3 b+: missing BSP for 64-bit kernel
  2018-06-24 19:45 [Buildroot] [Bug 11111] New: raspberry pi 3 b+: missing BSP for 64-bit kernel bugzilla at busybox.net
  2018-06-25 21:15 ` [Buildroot] [Bug 11111] " bugzilla at busybox.net
@ 2018-06-30 20:07 ` bugzilla at busybox.net
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2018-06-30 20:07 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11111

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
Fixed by
https://git.buildroot.org/buildroot/commit/?id=722c11ce7b25a1925498483ef58f59d0931b2ca7.
Thanks!

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

end of thread, other threads:[~2018-06-30 20:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-24 19:45 [Buildroot] [Bug 11111] New: raspberry pi 3 b+: missing BSP for 64-bit kernel bugzilla at busybox.net
2018-06-25 21:15 ` [Buildroot] [Bug 11111] " bugzilla at busybox.net
2018-06-30 20:07 ` bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox