From: Trevor Woerner <twoerner@gmail.com>
To: "Duran, Randy G" <randy.g.duran@intel.com>
Cc: "meta-intel@yoctoproject.org" <meta-intel@yoctoproject.org>,
"yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: [meta-intel] Installing a Yocto image to emmc
Date: Fri, 17 Mar 2017 20:23:51 -0400 [thread overview]
Message-ID: <20170318002351.GA3773@linux-uys3> (raw)
In-Reply-To: <ECD1212B70630641AD7EB42F3F5E771E36ACE7D3@CRSMSX102.amr.corp.intel.com>
On Fri 2017-03-17 @ 11:19:30 PM, Duran, Randy G wrote:
> Hello, I am trying to get information on software or procedure to flash
> a Yocto image on to a Joule's emmc not using normal steps such using a
> bootlable USB nor sdcard. I am attempting to automate flashing an image
> on to device without any human interventions. I am looking for something
> like Platform/Phone flash tool software equivalent for android devices. Any
> information is appreciated.
Flashing to a board's eMMC instantly puts you into "vendor-specific" country.
Each vendor/board will have its own way of doing it, usually involving vendor
specific software/protocols. If you're lucky the vendor will have implemented
android's fastboot, which makes it more or less non-vendor-specific, unless,
of course, they don't really implement it properly... ;-)
Newer versions of u-boot have fastboot support, so, if enabled, you can
sometimes flash via u-boot.
The toughest part about flashing to eMMC is the procedure required to put the
board into the mode to accept flashing to its eMMC.
The dragonboard, for example, requires you to hold down the "volume down"
button while rebooting, then you can use fastboot. Do you have an easy way to
automate holding down the volume down button while rebooting?
The firefly requires you to hold down the RECOVERY button while pressing the
RESET button. Or you can just use "dd" from within Linux to zero the first
couple sectors of /dev/mmcblk2, then reboot. The protocol to flash its eMMC is
something they came up with, but I think they recently released that code (I
haven't looked at it yet).
It's been a while since I've used a BBB but the last time I checked, one would
create an image using OE and in that image would be an eMMC payload. Once
booting into Linux you'd then write the payload to the eMMC. Not sure if
there's a way to do it "offline".
So if you're working with the Joule, you'll have to find its way of flashing
its eMMC. Hopefully you know someone who works at Intel who can help with the
specifics... ;-)
prev parent reply other threads:[~2017-03-18 0:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-17 23:19 Installing a Yocto image to emmc Duran, Randy G
2017-03-18 0:23 ` Trevor Woerner [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=20170318002351.GA3773@linux-uys3 \
--to=twoerner@gmail.com \
--cc=meta-intel@yoctoproject.org \
--cc=randy.g.duran@intel.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.