Booting barebox on i.MX6 from SDCARD?

Sascha Hauer s.hauer at
Fri Jun 27 03:33:18 PDT 2014

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

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


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

More information about the barebox mailing list