<br><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
bootu is for starting raw kernel images. Do you have such an image?<br>Normally you have an uImage (bootm) or a zImage (bootz)</blockquote><div><br></div><div>Ok so that maybe the solution because I didn't tried with the bootm .... my bad ! But why did I don't have the "Bad magic number" error like when I tried the boot command ??? </div>
<div><br></div><div>Here is the ls /dev result: </div><div><br></div><div><div>barebox:/ ls /dev/</div><div>zero defaultenv mem</div><div>nor0 nand0 nand_oob0</div>
<div>ram0 phy0 self_raw</div><div>self0 env_raw env0</div><div>nor0.barebox nor0.bareboxenv nor0.kernel</div><div>nor0.root nand0.barebox nand0.bareboxenv</div>
<div>nand0.kernel nand0.root <a href="http://nand0.root.bb">nand0.root.bb</a></div><div><a href="http://nand0.kernel.bb">nand0.kernel.bb</a> <a href="http://nand0.bareboxenv.bb">nand0.bareboxenv.bb</a> <a href="http://nand0.barebox.bb">nand0.barebox.bb</a></div>
</div><div><br></div><div><br></div><div> </div><div class="gmail_quote">2011/10/17 Sascha Hauer <span dir="ltr"><<a href="mailto:s.hauer@pengutronix.de">s.hauer@pengutronix.de</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On Mon, Oct 17, 2011 at 06:03:56PM +0200, Kamel BOUHARA wrote:<br>
> Hi all,<br>
><br>
> Im working on my own imx27 designed board and wanted to try barebox on<br>
> it.Actually I'm trying it with the phytec board config and it seems to work<br>
> fine booting on my nfs kernel and rootfs.<br>
> But when Im trying to boot from my 128MiB NAND memory then it doesn't work<br>
> and there is no decompression stage from the kernel.<br>
> Here is what Im getting :<br>
><br>
> Board: Phytec phyCard-i.MX27<br>
> registered netconsole as cs1<br>
> cfi_probe: cfi_flash base: 0xc0000000 size: 0x02000000<br>
> NAND device: Manufacturer ID: 0x2c, Chip ID: 0xac (Micron NAND 512MiB 1,8V<br>
> 8-bit)<br>
> Bad block table found at page 262080, version 0x01<br>
> Bad block table found at page 262016, version 0x01<br>
> Before PHY reset<br>
> After PHY reset<br>
> ULPI Vendor ID 0xffffff92 Product ID 0xffffff92<br>
> No ISP1504 found<br>
> ehci@ehci0: USB EHCI 1.00<br>
> ULPI Vendor ID 0xffffff92 Product ID 0xffffff92<br>
> No ISP1504 found<br>
> ehci@ehci1: USB EHCI 1.00<br>
> Malloc space: 0xa7a00000 -> 0xa7f00000 (size 5 MB)<br>
> Stack space : 0xa79f8000 -> 0xa7a00000 (size 32 kB)<br>
> running /env/bin/init...<br>
><br>
> Hit any key to stop autoboot: 1<br>
> booting kernel of type uImage from /dev/<a href="http://nand0.kernel.bb" target="_blank">nand0.kernel.bb</a><br>
> barebox:/ bootu /dev/<a href="http://nand0.kernel.bb" target="_blank">nand0.kernel.bb</a><br>
<br>
</div></div>bootu is for starting raw kernel images. Do you have such an image?<br>
Normally you have an uImage (bootm) or a zImage (bootz)<br>
<div class="im"><br>
> commandline: console=ttymxc0,115200 video=imxfb:Chimei-LW700AT9003<br>
> arch_number: 1698<br>
><br>
> It seems I'm getting some issues with my nand since when I tried to flash it<br>
> and the erase task failed :<br>
><br>
> erasing partition /dev/<a href="http://nand0.kernel.bb" target="_blank">nand0.kernel.bb</a><br>
><br>
> erase: Invalid argument<br>
<br>
</div>Works here. I can't see how erase could return -EINVAL. can you please<br>
post the output of 'ls /dev/nand0*'?<br>
<br>
Sascha<br>
<font color="#888888"><br>
<br>
<br>
--<br>
Pengutronix e.K. | |<br>
Industrial Linux Solutions | <a href="http://www.pengutronix.de/" target="_blank">http://www.pengutronix.de/</a> |<br>
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: <a href="tel:%2B49-5121-206917-0" value="+4951212069170">+49-5121-206917-0</a> |<br>
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |<br>
</font></blockquote></div><br><br clear="all"><div><br></div>-- <br>__________________________________<br><i><font face="'comic sans ms', sans-serif">Kamel BOUHARA</font></i><div>7 rue Jules César<div>02100 SAINT-QUENTIN<br>
06.17.83.29.04<br><br></div></div><br>