mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Holger Schurig <holgerschurig@gmail.com>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: Re: Booting barebox on i.MX6 from SDCARD?
Date: Fri, 27 Jun 2014 11:07:13 +0200	[thread overview]
Message-ID: <CAOpc7mFTyx9FD8Gk2qtMGYN_bA5_wn_zUu_cPuZ7bqUgfwz6CQ@mail.gmail.com> (raw)
In-Reply-To: <20140626194212.GK14257@pengutronix.de>

Hmm, this is really weird.

On my device, I have a WinCE image on a MMC card. When I insert this
MMC card, the hardware boots from it and I see the output of the EBOOT
on the serial port. So I know that the hardware can boot from SDCARD
(e.g. BOOTCFG setup etc). If I remove the card, then the CPU instead
activates serial (USB) boot, as I can see with lsusb/journalctl -f.

Now I use the exact same MMC card and put
barebox/images/barebox-ahs2.img onto it. This is an image that I can
boot via "barebox/scripts/imx/imx-usb-loader -v
barebox/images/barebox-ahs2.img". So I know that this image isn't
totally borked up ...  As I insert this card now and turn the power on
....   nothing happens. The hardware seems dead, even with
CONFIG_DEBUG_LL.

Doesn't seem to matter if I put the image onto the MMC card with or
without bs=512 skip=1 seek=1.

(I also used SDCARD in a Sandisk MMC->SDCARD adapter. But beware: my
sandisk adapter doesn't provide a proper card detect signal ...)

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2014-06-27  9:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-26 10:04 Holger Schurig
2014-06-26 10:11 ` Lucas Stach
2014-06-26 19:42   ` Sascha Hauer
2014-06-27  9:07     ` Holger Schurig [this message]
2014-06-27 10:33       ` Sascha Hauer
2014-06-27 11:17         ` Holger Schurig

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=CAOpc7mFTyx9FD8Gk2qtMGYN_bA5_wn_zUu_cPuZ7bqUgfwz6CQ@mail.gmail.com \
    --to=holgerschurig@gmail.com \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox