All of lore.kernel.org
 help / color / mirror / Atom feed
From: Trevor Woerner <twoerner@gmail.com>
To: Khem Raj <raj.khem@gmail.com>
Cc: Yocto list discussion <yocto@yoctoproject.org>
Subject: Re: [meta-raspberry] Raspberry Pi 3
Date: Fri, 1 Apr 2016 15:17:29 -0400	[thread overview]
Message-ID: <20160401191729.GA25051@linux-yxv0> (raw)
In-Reply-To: <655B9BF4-0067-4E41-9B09-BD74A530B79C@gmail.com>

On Thu 2016-03-31 @ 09:36:16 AM, Khem Raj wrote:
> 
> > On Mar 31, 2016, at 8:26 AM, Trevor Woerner <twoerner@gmail.com> wrote:
> > 
> > On Fri 2016-03-18 @ 10:15:39 AM, David Weisgerber wrote:
> >> Hi,
> >> did anyone succeed in building an image that runs on Raspberry Pi 3? I set my
> >> conf/local.conf to
> >> 
> >> MACHINE ??= "raspberrypi3"
> >> GPU_MEM = "128"
> >> DISABLE_OVERSCAN = "1"
> >> 
> >> and built rpi-basic-image but when booting the Pi 3 up I only see 4
> >> raspberries in the top right but nothing else happens. The image works
> >> perfectly on a Pi 2 though.
> > 
> > I'm able to get a raspi3 image running on my Raspberry Pi 3, but my console is
> > messed up. Everything works fine via the usb+hdmi ports, but plugging a
> > console cable into the GPIO header is messed up.
> > 
> > It looks like what happens when the baud rate is set incorrectly, but I've
> > tried every baud rate in my terminal emulator and it all looks the same
> > (messed up).
> > 
> > Anyone got their console working? The same cable/setup works fine on the
> > raspi2 (ttyAMA0) but doesn't work on my raspi3 (ttyS0).
> 
> did you try
> 
> https://www.mail-archive.com/yocto@yoctoproject.org/msg28476.html

As far as I can tell there are two raspberry pi OE layers which include this
commit:

1. git://git.yoctoproject.org/meta-raspberrypi::master
2. https://github.com/kraj/meta-raspberrypi.git::kraj/master

Building two fresh, from-scratch Poky images using the latest up-to-date
sources for:

	meta-openembedded/meta-oe
	openembedded-core/meta
	meta-poky/meta-poky

and swapping in the two raspberrypi layers (one at a time) I get:

 - Using 1 (the official layer from Andrei) I get an image that boots but the
   console remains messed up (as before).

 - Using 2 (the layer from Khem) I get an image that flashes the rainbow
   pattern on the HDMI monitor, shows the 4 berries, then stops. Nothing else
   happens, no messages on the console.

In both cases I'm building core-image-full-cmdline, and the only tweak in
local.conf is:

	ENABLE_SPI_BUS = "1"

As far as I can tell, the only difference between the two raspberry pi layers
is the kernel. Andrei's uses 4.1 and Khem is using 4.4:

	$ git show-branch kraj/master origin/master 
	* [kraj/master] userland: Fix tearing effect seen with wayland compositors
	 ! [origin/master] userland: Fix tearing effect seen with wayland compositors
	--
	 + [origin/master] userland: Fix tearing effect seen with wayland compositors
	 + [origin/master^] firmware: Update to 20160326
	*  [kraj/master] userland: Fix tearing effect seen with wayland compositors
	*  [kraj/master^] firmware: Update to 20160326
	*  [kraj/master~2] linux-raspberrypi: Make 4.4 default kernel
	*+ [origin/master~2] userland: Implement dispmanx_wrap_buffer

I'll try core-image-minimal and no SPI flag. Unless someone else has
better-sounding ideas?

Best regards,
	Trevor


  reply	other threads:[~2016-04-01 19:17 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-18  9:15 [meta-raspberry] Raspberry Pi 3 David Weisgerber
2016-03-31 15:26 ` Trevor Woerner
2016-03-31 15:29   ` Josep Puigdemont
2016-03-31 16:36   ` Khem Raj
2016-04-01 19:17     ` Trevor Woerner [this message]
2016-04-01 22:46       ` Trevor Woerner
2016-04-01 22:55         ` Khem Raj
2016-04-02  4:03           ` Trevor Woerner
2016-04-02  4:56             ` Michael Dumont
2016-04-02 14:49             ` Tom Doehring
2016-04-04  1:38   ` Trevor Woerner
2016-04-04  2:29     ` Khem Raj
2016-04-04 15:08       ` Trevor Woerner
2016-07-08 13:12 ` Andrei Gherzan
2016-07-08 14:15   ` Khem Raj

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=20160401191729.GA25051@linux-yxv0 \
    --to=twoerner@gmail.com \
    --cc=raj.khem@gmail.com \
    --cc=yocto@yoctoproject.org \
    /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.