mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Re: Porting BareBox to Variscite iMX6 SOM
@ 2013-08-20 18:12 Michael Burkey
  2013-08-21  8:28 ` Sascha Hauer
  0 siblings, 1 reply; 12+ messages in thread
From: Michael Burkey @ 2013-08-20 18:12 UTC (permalink / raw)
  To: barebox

Thank you Sascha for the additional information in your earlier post!

Your comments on the imx-image method got me looking at the menuconfig
options and I located a simple mistake I had made when changing other
options (while manually editing some files, I had somehow managed to
inadvertently disable the "support internal boot" option).

After fixing this, everything now works as I would expect.

So, I now have the Variscite iMX6 SOM booted directly from SD to the
BareBox shell on UART1.

Now I just have to start pulling in all the other devices and getting
them configured properly!

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

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Porting BareBox to Variscite iMX6 SOM
@ 2013-08-21 18:46 Michael Burkey
  2013-08-22  6:55 ` Sascha Hauer
  0 siblings, 1 reply; 12+ messages in thread
From: Michael Burkey @ 2013-08-21 18:46 UTC (permalink / raw)
  To: barebox

Sascha,

You can ignore part of my last post -- I found the
"imx6q-phytec-pbab01" on github (it looks like a lot of the things I
am needing and working on are right on the edge of development where
you are working as well).

I also noticed some posts in the mailing list that you made last month
regarding adding gpmi-nand support for iMX6 (or at least some wrappers
for it). Has the actual gpmi-nand support been completed and
integrated (or will the existing mxs-nand driver from the i.MX23/28
work as-is)?


I've also been doing a lot of reading on devicetree and what it
entails to migrate in that direction (everything I had been doing
previously had been iMX35 based and started from the older Phytec
BSP's, so I hadn't really looked at how devicetree worked). I may have
some more questions on this going forward.

Thanks again,
Michael Burkey

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

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Porting BareBox to Variscite iMX6 SOM
@ 2013-08-21 15:48 Michael Burkey
  0 siblings, 0 replies; 12+ messages in thread
From: Michael Burkey @ 2013-08-21 15:48 UTC (permalink / raw)
  To: barebox

Sascha,

>When doing so please start with a devicetree based board to copy-paste
>from. The imx6q-phytec-pbab01 should be a pretty good example.

Where does said imx6q-phytec-pbab01 example happen to live?

Which brings up another question:

I know you were heavily involved in the bring-up of Barebox on the
Phyflex iMX6 and in the creation of the BSP (which is still based on
2012.02). When working with iMX6 platforms, which is a better starting
point -- the Phytec 2012.02 BSP version, or the current 2013.08
version?

Right now I've been working from the 2013.08 version -- but, unless
I'm missing something, it doesn't look like the Phyflex support has
been incorporated in the mainline Barebox.

Thanks!
Michael Burkey

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

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Porting BareBox to Variscite iMX6 SOM
@ 2013-08-15 18:58 Michael Burkey
  2013-08-16  9:47 ` Sascha Hauer
  0 siblings, 1 reply; 12+ messages in thread
From: Michael Burkey @ 2013-08-15 18:58 UTC (permalink / raw)
  To: barebox

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2013-08-22 21:09 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-20 18:12 Porting BareBox to Variscite iMX6 SOM Michael Burkey
2013-08-21  8:28 ` Sascha Hauer
  -- strict thread matches above, loose matches on Subject: below --
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
2013-08-21 15:48 Michael Burkey
2013-08-15 18:58 Michael Burkey
2013-08-16  9:47 ` Sascha Hauer
2013-08-16 11:37   ` Alexander Aring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox