mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Loading kernel from SPI NOR
@ 2013-03-13 23:28 Jeff Horn
  2013-03-14  7:26 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Horn @ 2013-03-13 23:28 UTC (permalink / raw)
  To: barebox


[-- Attachment #1.1: Type: text/plain, Size: 590 bytes --]

Hi,

I have a custom board based on the i.MX53.  We are using barebox 2012.05.0
and booting the Freescale 2.6.35.3 kernel.  Our board has SPI NOR (m25p32)
and I saw there is a driver in a more recent barebox.  I pulled 2013.01.0
and added our board files but I can't seem to get the kernel to load.  I
used the uimage tool and the -i option reported back that it can read the
kernel and the -v option reported ok.  When I try and boot I see
arch_number and then nothing.

I'm continuing to dig in to see what I can find.  Any pointers to where I
can look is much appreciated.

Thanks,
Jeff

[-- Attachment #1.2: Type: text/html, Size: 1269 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

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

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

* Re: Loading kernel from SPI NOR
  2013-03-13 23:28 Loading kernel from SPI NOR Jeff Horn
@ 2013-03-14  7:26 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2013-03-14  7:26 UTC (permalink / raw)
  To: Jeff Horn; +Cc: barebox

Hi Jeff,

On Wed, Mar 13, 2013 at 04:28:33PM -0700, Jeff Horn wrote:
> Hi,
> 
> I have a custom board based on the i.MX53.  We are using barebox 2012.05.0
> and booting the Freescale 2.6.35.3 kernel.  Our board has SPI NOR (m25p32)
> and I saw there is a driver in a more recent barebox.  I pulled 2013.01.0
> and added our board files but I can't seem to get the kernel to load.  I
> used the uimage tool and the -i option reported back that it can read the
> kernel and the -v option reported ok.  When I try and boot I see
> arch_number and then nothing.
> 
> I'm continuing to dig in to see what I can find.  Any pointers to where I
> can look is much appreciated.

The first thing you should check is whether your kernel is stored
correctly on the NOR flash. try a:

erase /dev/nor0
cp /someimage /dev/nor0
crc32 -f /someimage
ls -l /someimage
crc32 -f /dev/nor0 0+x

(with x being the size of /someimage as output by ls -l)

Sascha

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

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

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

end of thread, other threads:[~2013-03-14  7:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-13 23:28 Loading kernel from SPI NOR Jeff Horn
2013-03-14  7:26 ` Sascha Hauer

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