Hi all,

Im working on my own imx27 designed board and wanted to try barebox on it.Actually I'm trying it with the phytec board config and it seems to work fine booting on my nfs kernel and rootfs.
But when Im trying to boot from my 128MiB NAND memory then it doesn't work and there is no decompression stage from the kernel.
Here is what Im getting :

Board: Phytec phyCard-i.MX27
registered netconsole as cs1
cfi_probe: cfi_flash base: 0xc0000000 size: 0x02000000
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xac (Micron NAND 512MiB 1,8V 8-bit)
Bad block table found at page 262080, version 0x01
Bad block table found at page 262016, version 0x01
Before PHY reset
After PHY reset
ULPI Vendor ID 0xffffff92    Product ID 0xffffff92
No ISP1504 found
ehci@ehci0: USB EHCI 1.00
ULPI Vendor ID 0xffffff92    Product ID 0xffffff92
No ISP1504 found
ehci@ehci1: USB EHCI 1.00
Malloc space: 0xa7a00000 -> 0xa7f00000 (size  5 MB)
Stack space : 0xa79f8000 -> 0xa7a00000 (size 32 kB)
running /env/bin/init...

Hit any key to stop autoboot:  1
booting kernel of type uImage from /dev/nand0.kernel.bb
barebox:/ bootu /dev/nand0.kernel.bb 
commandline: console=ttymxc0,115200 video=imxfb:Chimei-LW700AT9003
arch_number: 1698

It seems I'm getting some issues with my nand since when I tried to flash it and the erase task failed :

erasing partition /dev/nand0.kernel.bb

erase: Invalid argument

flashing uImage-apf27 to /dev/nand0.kernel.bb

TFTP from server 192.168.0.2 ('uImage-apf27' -> '/dev/nand0.kernel.bb')
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #

How can I fix that ?
Thanks for the help. 



--
__________________________________
Kamel BOUHARA
7 rue Jules César
02100 SAINT-QUENTIN
06.17.83.29.04