From: Michael Burkey <mdburkey@gmail.com>
To: barebox@lists.infradead.org
Subject: Porting BareBox to Variscite iMX6 SOM
Date: Thu, 15 Aug 2013 14:58:15 -0400 [thread overview]
Message-ID: <CAJyuEedwD--ZJX0j5vBnb4s495FX=TK2fRkx9fMKWNKh3AVShw@mail.gmail.com> (raw)
I figured I'd throw this question out to everyone (Sascha has already
been very helpful,
but I don't want to pester him too much!).
I have currently been attempting to port BareBox over to a Variscite
SOM with an iMX6Q
on it.
Steps followed so far:
1) Started from current 8.2013 BareBox
2) Started from ARM2 iMX6 version which is a fairly clean/uncluttered version.
3) Migrated the DCD registers from Variscite's known working u-Boot
BSP into flash_header.c
4) (Hopefully) properly verified the flash header information
5) Verified the arm_entry and size in lowlevel.c
6) Updated board.c with a set of reasonable IOMUX settings, etc.
7) Added a few simple commands at the start of xxx_devices_init() to
toggle a GPIO LED
8) Compiled BareBox on Ubuntu 12 w/Linaro tool chain
9) copied image to SD card with dd if=barebox.bin of=/dev/sdb bs=512
seek=2 skip=2 conv=fsync
10) attempted to boot the image from SD with the appropriate GPIO
strappings on BOOT_CFG pins.
The end result is, as far as I can tell, nothing happens. It attempts
to boot the code but never
succeeds in starting BareBox (my LED never changes state).
If I do the exact same operations but with the Variscite version of
u-Boot (with my LED toggle code
added) then everything works as expected.
Does anyone have any suggestions on what to try next or any thing I
may have overlooked?
Has anyone else out there attempted to port BareBox to the Variscite SOM's?
Any and all help would be greatly appreciated!
Thanks,
Michael Burkey
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2013-08-15 18:58 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-15 18:58 Michael Burkey [this message]
2013-08-16 9:47 ` Sascha Hauer
2013-08-16 11:37 ` Alexander Aring
2013-08-20 18:12 Michael Burkey
2013-08-21 8:28 ` Sascha Hauer
2013-08-21 15:48 Michael Burkey
2013-08-21 18:46 Michael Burkey
2013-08-22 6:55 ` Sascha Hauer
2013-08-22 15:49 ` Michael Burkey
2013-08-22 21:06 ` Sascha Hauer
2013-08-22 19:18 ` Michael Burkey
2013-08-22 21:09 ` Sascha Hauer
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='CAJyuEedwD--ZJX0j5vBnb4s495FX=TK2fRkx9fMKWNKh3AVShw@mail.gmail.com' \
--to=mdburkey@gmail.com \
--cc=barebox@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox