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

On Fri, Jun 27, 2014 at 11:07:13AM +0200, Holger Schurig wrote:
> 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.

Have you tried without DEBUG_LL? It might be that you write to an
uninitialized UART.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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

  reply	other threads:[~2014-06-27 10:33 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
2014-06-27 10:33       ` Sascha Hauer [this message]
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=20140627103318.GO14257@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=holgerschurig@gmail.com \
    /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