Loading kernel from SPI NOR

Sascha Hauer s.hauer at pengutronix.de
Thu Mar 14 03:26:50 EDT 2013


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 |



More information about the barebox mailing list