New: raspberry pi 3 b+: missing BSP for 64-bit kernel
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
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 11111] raspberry pi 3 b+: missing BSP for 64-bit kernel
https://bugs.busybox.net/show_bug.cgi?id=11111
--- Comment #1 from Peter Seiderer <[email protected]> --- (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]
So no need for 1. and 2.
Suggestion 3. works (as expected), patch welcome ;-)
Regards,
Peter
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 11111] raspberry pi 3 b+: missing BSP for 64-bit kernel
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=11111
Thomas Petazzoni <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED--- Comment #2 from Thomas Petazzoni <[email protected]> --- Fixed by
https://git.buildroot.org/buildroot/commit/?id=722c11ce7b25a1925498483ef58f59d0931b2ca7.
Thanks!
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.