All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 11111] New: raspberry pi 3 b+: missing BSP for 64-bit kernel
Date: Sun, 24 Jun 2018 19:45:53 +0000	[thread overview]
Message-ID: <bug-11111-163@https.bugs.busybox.net/> (raw)

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.

             reply	other threads:[~2018-06-24 19:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-24 19:45 bugzilla at busybox.net [this message]
2018-06-25 21:15 ` [Buildroot] [Bug 11111] raspberry pi 3 b+: missing BSP for 64-bit kernel bugzilla at busybox.net
2018-06-30 20:07 ` bugzilla at busybox.net

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-11111-163@https.bugs.busybox.net/ \
    --to=bugzilla@busybox.net \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.