Hai,<br><br>I am able to successfully port the barebox for my custom IMX31 board and also boot linux on the same.<br>I am trying to write the uImage and the root.jffs2 file from barebox and found that even though uImage is written successfully and able to boot from nand flash also. The nand file write for files more than 3.5 mega size is not able to write and the barebox loader is hanged. <br>
<br>Please help or suggest what could be the issue ?<br><br>Arun<br><br>my log<br>===============================<br><pre>barebox 2009.12.0 (Feb 12 2010 - 12:19:11)<br><br>Board: Phytec phyCORE-i.MX31<br>cfi_probe: cfi_flash base: 0xa0000000 size: 0x02000000<br>
<br>NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)<br>Scanning device for bad blocks<br>Bad eraseblock 2046 at 0x0ffc0000<br>Bad eraseblock 2047 at 0x0ffe0000<br>got MAC address from EEPROM: 00:08:EE:01:86:71<br>
Malloc space: 0x87b00000 -> 0x87f00000 (size 4 MB)<br>Stack space : 0x87af8000 -> 0x87b00000 (size 32 kB)<br>envfs: wrong magic on /dev/env0<br>no valid environment found on /dev/env0. Using default environment<br>
running /env/bin/init...<br><br>Hit any key to stop autoboot: 3<br><br>type update_kernel nand|nor [<imagename>] to update kernel into flash<br>type update_root nand|nor [<imagename>] to update rootfs into flash<br>
<br>barebox:/ devinfo <br>devices:<br>|----imx_serial0<br>|----cs0<br>|----ramfs0<br>|----devfs0<br>|----mem0 (defaultenv)<br>|----mem1 (mem)<br>|----cfi_flash0 (nor0, self0, env0, nor0.barebox, nor0.bareboxenv, nor0.kernel, nor0.root)<br>
|----mem2 (sram0)<br>|----imx_nand0<br>|----nand0 (nand0, nand_oob0, nand0.kernel, nand0.root)<br>|----smc911x0<br>|----miiphy0 (phy0)<br>|----eth0<br>|----mem3 (ram0)<br><br>drivers:<br>imx_serial<br> ramfs<br> devfs<br>
smc911x<br> miiphy<br> imx_nand<br> cfi_flash<br> mem<br>barebox:/ erase /dev/<a href="http://nand0.kernel.bb">nand0.kernel.bb</a> <br>barebox:/ <br>barebox:/ <br>barebox:/ tftp uImage_080210 /dev/<a href="http://nand0.kernel.bb">nand0.kernel.bb</a> <br>
phy0: Link is up - 100/Full<br>TFTP from server 192.168.50.247; our IP address is 192.168.50.182<br><br>Filename 'uImage_080210'.<br>Loading: *#################################################################<br>
         #################################################################<br>         #################################################################<br>         #################################################################<br>         #################################################################<br>
         ###############################<br>done<br>Bytes transferred = 1822080 (1bcd80 hex)<br>barebox:/ <br>barebox:/ <br>barebox:/ <br>barebox:/ <br><br>barebox:/ erase /dev/<a href="http://nand0.root.bb">nand0.root.bb</a> <br>
Skipping bad block at 0x0ffc0000<br>Skipping bad block at 0x0ffe0000<br>barebox:/ <br>barebox:/ <br>barebox:/ <br>barebox:/ tftp root-pcm037.jffs2 /dev/<a href="http://nand0.root.bb">nand0.root.bb</a><br>phy0: Link is up - 100/Full<br>
TFTP from server 192.168.50.247; our IP address is 192.168.50.182<br><br>Filename 'root-pcm037.jffs2'.<br>Loading: *#################################################################<br>         #################################################################<br>
         #################################################################<br>         ############################################################T #####<br>         #################################################################<br>         #################################################################<br>
         #####################(hanged)<br><br></pre><br><br><br>===============================<br>