From: Gary Thomas <gary@mlbassoc.com>
To: meta-freescale@yoctoproject.org
Subject: Re: Booting fido on sabrelite through u-boot
Date: Wed, 28 Oct 2015 16:03:18 -0600 [thread overview]
Message-ID: <56314626.2090805@mlbassoc.com> (raw)
In-Reply-To: <B8566816E8A1DD46A7FB3479830A432B56A5403A@XMB122CNC.rim.net>
On 2015-10-28 14:51, Maciej Tucholski wrote:
> Hi
>
> I’m using a sabrelite board (https://boundarydevices.com/product/sabre-lite-imx6-sbc/)
>
> I used it in the past for QNX and linux, this time I am trying to get yocto 1.8 (aka fido) running on it.
>
> I was able to get fido to build on an Ubuntu machine, and I have the images, rootfs .dtb etc etc, however
>
> I am not able to boot the kernel on the board.
>
> I made several different attempts via SD card, and TFTP
>
> What I was able to find out is that in order to boot using an SD card, the u-boot stored in SPI needs to be tweaked like so:
>
> mw.l 0x020d8040 0x3040 && mw.l 0x020d8044 0x10000000
>
> reset
>
> or replaced with SPI to SD loader (https://wiki.linaro.org/Boards/MX6QSabreLite)
>
> However no luck with either approach.
>
> Currently I am xfering the fido zImage via tftp, and I am trying to get the bootz command to load it, but it hangs up on “Starting kernel ...”
>
> I am not sure if I didn’t build this right, or what exactly is going on, but I’m stuck and can’t figure this out.
>
> If I could get the kernel to build, then perhaps I can use the SD card, or nfs for the rootfs.
>
> Apologizes for any missing information, I’m new to this scene, but I worked with the board and u-boot quite a bit
Most likely, the reason it hangs is because of missing bits.
Did you load the appropriate DTB image?
Did you set the boot params?
Both of these are normally set via a script loaded from the SD card
and executed as part of the boot process.
It's not clear to me why you can't just boot from the SD card?
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
next prev parent reply other threads:[~2015-10-28 22:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-28 20:51 Booting fido on sabrelite through u-boot Maciej Tucholski
2015-10-28 22:03 ` Gary Thomas [this message]
2015-10-29 13:05 ` Gary Bisson
2015-10-29 20:38 ` Maciej Tucholski
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=56314626.2090805@mlbassoc.com \
--to=gary@mlbassoc.com \
--cc=meta-freescale@yoctoproject.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.