All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Gagneraud <chgans@gna.org>
To: meta-arago@arago-project.org
Subject: Re: flashing arago onto beaglebone black emmc
Date: Fri, 23 Aug 2013 12:58:41 +1200	[thread overview]
Message-ID: <5216B3C1.30705@gna.org> (raw)
In-Reply-To: <CADBzu5AZA8NRjTeQGvFDurHEDOx=gaSL90FgYM0-0tf1kdDAmQ@mail.gmail.com>

On 22/08/13 09:36, Nick Gart wrote:
>
> Sorry, I am not sure if my first e-mail went through since I wasn't
> subscribed to the list, please ignore if this is a duplicate.
>
> I'm trying to flash ti-sdk-am335x-evm-06.00.00.00 to the eMMC of a
> beagle bone black.
> I believe I'm successfully partitioning and flashing it, using
> angstrom's emmc flashing
> script(https://raw.github.com/beagleboard/meta-beagleboard/master/contrib/bone-flash-tool/emmc.sh)

Are you running this script from an external SD/MMC card? I assume so, 
Do you have a log? Did you run this script unmodified?


> but upon boot I get the following output:
>
>
> U-Boot SPL 2013.01.01 (Aug 20 2013 - 17:14:40)

It seems the processor was able to load MLO, which in turn loads u-boot 
SPL, but where from? Is your external MMC still in at that stage?
If not, then at least up to there, stuff have been loaded from your eMMC 
VFAT boot partition.

> musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split,
> HB-ISO Rx, HB-ISO Tx, SoftConn)
> musb-hdrc: MHDRC RTL version 2.0
> musb-hdrc: setup fifo_mode 4
> musb-hdrc: 28/31 max ep, 16384/16384 memory
> USB Peripheral mode controller at 47401000 using PIO, IRQ 0
> musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split,
> HB-ISO Rx, HB-ISO Tx, SoftConn)
> musb-hdrc: MHDRC RTL version 2.0
> musb-hdrc: setup fifo_mode 4
> musb-hdrc: 28/31 max ep, 16384/16384 memory
> USB Host mode controller at 47401800 using PIO, IRQ 0
> OMAP SD/MMC: 0

One (e)MMC instance for u-boot SPL (while "full" u-boot sees 2, see 
below)...

> mmc_send_cmd : timeout: No status update

I'm not sure if it's the beginning of your problems, but it seems u-boot 
SPL is having some trouble with (e)MMC ...

> reading u-boot.img
> reading u-boot.img
>
>
> U-Boot 2013.01.01 (Aug 20 2013 - 17:14:40)

... but anyway, u-boot SPL was able to load and run a "full" u-boot, 
again, is it from eMMC? If so, this is looking good.

>
> I2C:   ready
> DRAM:  512 MiB
> WARNING: Caches not enabled
> NAND:  No NAND device found!!!
> 0 MiB
> MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1

2 (e)MMC instances for "full" u-boot (u-boot SPL had only one), looks 
good to me so far.

> *** Warning - readenv() failed, using default environment

If you don't have a uEnv.txt on your boot partition, then this message 
can be ignored, if you have one, it means that u-boot couldn't read it

>
> musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split,
> HB-ISO Rx, HB-ISO Tx, SoftConn)
> musb-hdrc: MHDRC RTL version 2.0
> musb-hdrc: setup fifo_mode 4
> musb-hdrc: 28/31 max ep, 16384/16384 memory
> USB Peripheral mode controller at 47401000 using PIO, IRQ 0
> musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split,
> HB-ISO Rx, HB-ISO Tx, SoftConn)
> musb-hdrc: MHDRC RTL version 2.0
> musb-hdrc: setup fifo_mode 4
> musb-hdrc: 28/31 max ep, 16384/16384 memory
> USB Host mode controller at 47401800 using PIO, IRQ 0
> Net:   <ethaddr> not set. Validating first E-fuse MAC
> cpsw, usb_ether
> Hit any key to stop autoboot:  1 ... 0
> mmc_send_cmd : timeout: No status update
> Card did not respond to voltage select!
> mmc0(part 0) is current device
> mmc_send_cmd : timeout: No status update
> Card did not respond to voltage select!

The eMMC isn't detected, or maybe it's your empty external MMC slot, or 
both, can't tell, I'm not familiar with this :(

> Booting from nand ...

And the BB black doesn't have NAND!

>
> no devices available
> Wrong Image Format for bootm command
> ERROR: can't get kernel image!
> U-Boot#

Game over!

>
> Any ideas on how to proceed?

Did you have a look at u-boot and u-boot SPL source code, especially the 
(e)MMC stuff?

My half-a-cent.
Chris

PS: Can you send plain text email please? See 
http://catb.org/~esr/faqs/smart-questions.html#formats

>
>
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>



      reply	other threads:[~2013-08-23  0:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-21 21:36 flashing arago onto beaglebone black emmc Nick Gart
2013-08-23  0:58 ` Christian Gagneraud [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=5216B3C1.30705@gna.org \
    --to=chgans@gna.org \
    --cc=meta-arago@arago-project.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.