From: Gary Thomas <gary@mlbassoc.com>
To: poky@yoctoproject.org
Subject: Re: RaspberryPi with Poky
Date: Sun, 10 Jun 2012 16:30:10 -0600 [thread overview]
Message-ID: <4FD51FF2.80807@mlbassoc.com> (raw)
In-Reply-To: <8481164.xLq9FblstP@helios>
On 2012-06-10 14:54, Paul Eggleton wrote:
> On Friday 08 June 2012 13:46:09 Tomas Frydrych wrote:
>> On 08/06/12 13:37, Gary Thomas wrote:
>>> First problem: 'core-image-sato-raspberrypi.rpi-sdimg' is broken (no file)
>>
>> I noticed this the the other day; on further investigation the sdimg
>> class in meta-raspberrypi is rather nasty, IIRC you need to set up some
>> stuff by hand on the build machine first and then run the build as root
>> as well. I am not sure there is any need for the sdimg either, you
>> should be able to use the tarball to extract the rootfs onto the SD card.
>
> Yes, I looked at this too. If nobody else gets to it first I might try to
> rework this in a manner similar to our current live images for x86 so that you
> don't have to have loopback devices pre-configured.
Turns out this is a dependency issue. I added this patch to fix it:
diff --git a/recipes-bcm/kernel-image/bcm2835-kernel-image.bb b/recipes-bcm/kernel-image/bcm2835-kernel-image.bb
index ced20b0..0b1a159 100644
--- a/recipes-bcm/kernel-image/bcm2835-kernel-image.bb
+++ b/recipes-bcm/kernel-image/bcm2835-kernel-image.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3
COMPATIBLE_MACHINE = "raspberrypi"
PR = "${MACHINE_KERNEL_PR}.1"
-DEPENDS = "bcm2835-bootfiles bcm2835-mkimage-native"
+DEPENDS = "bcm2835-bootfiles bcm2835-mkimage-native virtual/kernel"
S = "${WORKDIR}"
I also needed this patch to get a working system, otherwise it hangs up
trying to talk to ttyS0:
diff --git a/conf/machine/raspberrypi.conf b/conf/machine/raspberrypi.conf
index f3b33bb..86fd1b8 100755
--- a/conf/machine/raspberrypi.conf
+++ b/conf/machine/raspberrypi.conf
@@ -11,7 +11,7 @@ GUI_MACHINE_CLASS = "bigscreen"
IMAGE_FSTYPES += "tar.bz2 rpi-sdimg"
-SERIAL_CONSOLE = "115200 ttyS0"
+SERIAL_CONSOLE = "115200 ttyAMA0"
PREFERRED_PROVIDER_virtual/kernel = "linux-${MACHINE}"
MACHINE_KERNEL_PR = "r4"
I'm planning on sending a push for these tomorrow (today I have other commitments) :-)
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
prev parent reply other threads:[~2012-06-10 22:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-08 12:37 RaspberryPi with Poky Gary Thomas
2012-06-08 12:46 ` Tomas Frydrych
2012-06-10 20:54 ` Paul Eggleton
2012-06-10 22:30 ` Gary Thomas [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=4FD51FF2.80807@mlbassoc.com \
--to=gary@mlbassoc.com \
--cc=poky@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.