mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Regarding nandwrite issue for huge files ?
@ 2010-02-12  7:02 R Arun Kumar
  2010-02-12  7:30 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: R Arun Kumar @ 2010-02-12  7:02 UTC (permalink / raw)
  To: barebox


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

Hai,

I am able to successfully port the barebox for my custom IMX31 board and
also boot linux on the same.
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.

Please help or suggest what could be the issue ?

Arun

my log
===============================

barebox 2009.12.0 (Feb 12 2010 - 12:19:11)

Board: Phytec phyCORE-i.MX31
cfi_probe: cfi_flash base: 0xa0000000 size: 0x02000000

NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB
3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 2046 at 0x0ffc0000
Bad eraseblock 2047 at 0x0ffe0000
got MAC address from EEPROM: 00:08:EE:01:86:71
Malloc space: 0x87b00000 -> 0x87f00000 (size  4 MB)
Stack space : 0x87af8000 -> 0x87b00000 (size 32 kB)
envfs: wrong magic on /dev/env0
no valid environment found on /dev/env0. Using default environment
running /env/bin/init...

Hit any key to stop autoboot:  3

type update_kernel nand|nor [<imagename>] to update kernel into flash
type update_root nand|nor [<imagename>] to update rootfs into flash

barebox:/ devinfo
devices:
|----imx_serial0
|----cs0
|----ramfs0
|----devfs0
|----mem0 (defaultenv)
|----mem1 (mem)
|----cfi_flash0 (nor0, self0, env0, nor0.barebox, nor0.bareboxenv,
nor0.kernel, nor0.root)
|----mem2 (sram0)
|----imx_nand0
|----nand0 (nand0, nand_oob0, nand0.kernel, nand0.root)
|----smc911x0
|----miiphy0 (phy0)
|----eth0
|----mem3 (ram0)

drivers:
imx_serial
     ramfs
     devfs
   smc911x
    miiphy
  imx_nand
 cfi_flash
       mem
barebox:/ erase /dev/nand0.kernel.bb
barebox:/
barebox:/
barebox:/ tftp uImage_080210 /dev/nand0.kernel.bb
phy0: Link is up - 100/Full
TFTP from server 192.168.50.247; our IP address is 192.168.50.182

Filename 'uImage_080210'.
Loading: *\b#################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 ###############################
done
Bytes transferred = 1822080 (1bcd80 hex)
barebox:/
barebox:/
barebox:/
barebox:/

barebox:/ erase /dev/nand0.root.bb
Skipping bad block at 0x0ffc0000
Skipping bad block at 0x0ffe0000
barebox:/
barebox:/
barebox:/
barebox:/ tftp root-pcm037.jffs2 /dev/nand0.root.bb
phy0: Link is up - 100/Full
TFTP from server 192.168.50.247; our IP address is 192.168.50.182

Filename 'root-pcm037.jffs2'.
Loading: *\b#################################################################
	 #################################################################
	 #################################################################
	 ############################################################T #####
	 #################################################################
	 #################################################################
	 #####################(hanged)




===============================

[-- Attachment #1.2: Type: text/html, Size: 3726 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

end of thread, other threads:[~2010-02-12  7:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-12  7:02 Regarding nandwrite issue for huge files ? R Arun Kumar
2010-02-12  7:30 ` Sascha Hauer

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