mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* imx23evk NAND support
@ 2013-01-13  3:24 Paul B. Henson
  2013-01-13  5:19 ` Paul B. Henson
  0 siblings, 1 reply; 4+ messages in thread
From: Paul B. Henson @ 2013-01-13  3:24 UTC (permalink / raw)
  To: barebox

I'm working with a freescale i.MX23EVK board prototyping a project that 
is going to need to boot from NAND. I'm trying to get barebox  installed 
on the NAND chip on this board, with the next step being getting a linux 
kernel and filesystem on NAND as well.

I've compiled barebox from git as of today, and successfully booted it 
from SD and USB, but have been unable to get the NAND device recognized.

Booting from SD with the mci driver enabled:


devices:
`---- platform
      `---- stm_serial0
           `---- cs0
      `---- mem0
           `---- 0x00000000-0x01ffffff: /dev/ram0
      `---- mem1
           `---- 0x00000000-0xfffffffe: /dev/mem
      `---- mxs_mci0
           `---- mci0
`---- fs
      `---- ramfs0
      `---- devfs0
`---- global

drivers:
stm_serial
ramfs
devfs
mxs_nand
mci
mxs_mci
mem


Booting from SD without the mci driver:

devices:
`---- platform
      `---- stm_serial0
           `---- cs0
      `---- mem0
           `---- 0x00000000-0x01ffffff: /dev/ram0
      `---- mem1
           `---- 0x00000000-0xfffffffe: /dev/mem
      `---- mxs_mci0
`---- fs
      `---- ramfs0
      `---- devfs0
`---- global

drivers:
stm_serial
ramfs
devfs
mxs_nand
mem


In both cases, it seems to find the mci device, but not the nand device. 
(On a side note, running mci0.probe=1 with the mci driver enabled 
appears to completely lock up the board).

My understanding is that the SD card and the NAND chip cannot be used at 
the same time due to a pin conflict. Considering the possibility that 
perhaps the NAND cannot be accessed if booting from SD, I tried booting 
via USB, with the same result:

devices:
`---- platform
      `---- stm_serial0
           `---- cs0
      `---- mem0
           `---- 0x00000000-0x01ffffff: /dev/ram0
      `---- mem1
           `---- 0x00000000-0xfffffffe: /dev/mem
      `---- mxs_mci0
`---- fs
      `---- ramfs0
      `---- devfs0
`---- global

drivers:
stm_serial
ramfs
devfs
mxs_nand
mem

The SD card device is found, but not the nand device.

Am I missing something? Given its inclusion in barebox, I'm assuming 
*somebody* has gotten the i.mx23 NAND driver working :). Any assistance 
much appreciated, thanks.

I wonder why they didn't hook the SD interface up to SSP1 rather than 
SSP2 to avoid the NAND conflict. It looks like you can't use the SD 
device and the ethernet device simultaneously either :(.

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

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

end of thread, other threads:[~2013-01-15 20:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-13  3:24 imx23evk NAND support Paul B. Henson
2013-01-13  5:19 ` Paul B. Henson
2013-01-13 10:47   ` Juergen Beisert
2013-01-15 20:30     ` Paul B. Henson

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