Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Seiderer <ps.report@gmx.net>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] rpi0w: added support for Raspberry Pi Zero W
Date: Thu, 22 Jun 2017 22:19:17 +0200	[thread overview]
Message-ID: <20170622221917.14194409@gmx.net> (raw)
In-Reply-To: <CANv+TVP=7QF6+FRv8jfEtPDVG6jsbWO7cfGu+umEetErAEZHmQ@mail.gmail.com>

Hello Yves, Thomas,

On Wed, 21 Jun 2017 20:35:21 +0000, Yves Deweerdt <yves.deweerdt.linux@gmail.com> wrote:

> Hello Peter, Thomas,
> 
> 
> > > For rpi3, is it correct that it seems that when running in 64bit mode you
> > > should add enable_uart=1 and for 32 bit mode you don't need to add it?
> >
> > Never tried the 64bit mode (yet), any reference for this?
> >
> >
> > Hello Peter, Thomas,
> 
> I just had a closer look to the raspberrypi3 and raspberrypi3_64 story.
> It seems that on the 32 bit version the overlay is being used, which means
> that the console is being put on /dev/ttyS0 in stead of /dev/ttyAMA0, which
> means that /dev/ttyAMA0 is available already if you plan to use bluetooth.
> On the 64 bit version, the console is put on /dev/ttyAMA0, so that means
> that if you want to enable bluetooth, you need to do the same modifications
> again to move console over to /dev/ttyS0 and free up /dev/ttyAMA0 for
> bluetooth.
> 
> I don't know if there are any drawbacks in using the /dev/ttyS0 on the 64
> bit version. If not, I would recommend making the 32 bit version and the 64
> bit version do the same thing, and at that moment the --aarch64 option in
> the post-image.sh script could be completely removed.

The --aarch64 options sets the important 'arm_control=0x200' to enable to
boot the 64bit kernel, this needs to be kept (maybe change the post-image.sh
script to support multiple cmdl options and separate overlay and aarch64)...

But I had no success to enable the serial console for raspberrypi3_64 using
only the overlay, only 'enable_uart=1' worked for me...

Regards,
Peter


> 
> Kind regards,
> 
> Yves
> 
> >
> >

      reply	other threads:[~2017-06-22 20:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-18 19:44 [Buildroot] [PATCH 1/1] rpi0w: added support for Raspberry Pi Zero W Yves Deweerdt
2017-06-19 20:27 ` Thomas Petazzoni
2017-06-19 20:54   ` Peter Seiderer
2017-06-20  9:39     ` Yves Deweerdt
2017-06-20 19:19       ` Peter Seiderer
2017-06-21 17:22         ` Yves Deweerdt
2017-06-21 20:35         ` Yves Deweerdt
2017-06-22 20:19           ` Peter Seiderer [this message]

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=20170622221917.14194409@gmx.net \
    --to=ps.report@gmx.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox