All of lore.kernel.org
 help / color / mirror / Atom feed
* Installing a Yocto image to emmc
@ 2017-03-17 23:19 Duran, Randy G
  2017-03-18  0:23 ` [meta-intel] " Trevor Woerner
  0 siblings, 1 reply; 2+ messages in thread
From: Duran, Randy G @ 2017-03-17 23:19 UTC (permalink / raw)
  To: yocto, meta-intel-bounces, meta-intel

[-- Attachment #1: Type: text/plain, Size: 416 bytes --]

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.

Thanks,

-Randy


[-- Attachment #2: Type: text/html, Size: 2355 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [meta-intel] Installing a Yocto image to emmc
  2017-03-17 23:19 Installing a Yocto image to emmc Duran, Randy G
@ 2017-03-18  0:23 ` Trevor Woerner
  0 siblings, 0 replies; 2+ messages in thread
From: Trevor Woerner @ 2017-03-18  0:23 UTC (permalink / raw)
  To: Duran, Randy G; +Cc: meta-intel, yocto

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... ;-)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-18  0:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-17 23:19 Installing a Yocto image to emmc Duran, Randy G
2017-03-18  0:23 ` [meta-intel] " Trevor Woerner

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.