[U-Boot] UBOOT port to i.MX27ADS - Network and NAND issues

Sascha Hauer s.hauer at pengutronix.de
Mon Sep 15 14:12:21 CEST 2008


Hi,

On Mon, Sep 15, 2008 at 04:25:33PM +0530, Tiju wrote:
> Hi All,
> 
> I downloaded u-boot-v2 files and compiled it. 
> 
> There seems to be some issues with the ethernet. When I do a ping, it shows me:
> 
>   
> U-Boot 2.0.0-rc5-git (Sep 15 2008 - 12:18:48)
> Board: Freescale i.MX27 ADS
> cfi_probe: cfi_flash base: 0xc0000000 size: 0x02000000
> chip id: [1,882,1,01d]
> mpll:     265999329 Hz
> spll:     239999725 Hz
> arm:      177332886 Hz
> perclk1:    8866644 Hz
> perclk2:   17733288 Hz
> perclk3:   44333221 Hz
> perclk4:   17733288 Hz
> clkin26:   26000000 Hz
> ahb:       44333221 Hz
> ipg:       22166610 Hz
> Malloc space: 0xa7b00000 -> 0xa7f00000 (size  4 MB)
> Stack space : 0xa7af8000 -> 0xa7b00000 (size 32 kB)
> running /env/bin/init...
> set parameter: Invalid argument
> Hit any key to stop autoboot:  3 2 1
> set parameter: Invalid argument
> phy0: Link is up - 10/Half
> *** ERROR: `eth0.ethaddr' not set
> phy0: Link is up - 10/Half
> *** ERROR: `eth0.ethaddr' not set
> Bad Magic Number
> 
> uboot:/ ping 199.63.38.1
> phy0: Link is up - 10/Half
> *** ERROR: `eth0.ethaddr' not set
> ping failed; host 199.63.38.1 is not alive
> 
> The environment variables are as follows:
> uboot:/ printenv
> locals:
> kernel=net
> root=net
> ip=dhcp
> uimage=uImage-mx27ads
> jffs2=root-mx27ads.jffs2
> autoboot_timeout=3
> nfsroot=/tmp/imx27ads
> bootargs=console=ttymxc0,115200
> mtdparts=128k(uboot)ro,128k(ubootenv),1536k(kernel),-(root)
> rootpart=/dev/mtdblock3
> globals:
> PATH=/env/bin
> 1. How could I set the eth0.ethaddr or is it that I am missing something here?

eth0.ethaddr=80:81:...

I removed the MAC addresses from the default environments since it was a
very bad idea.

> 2. Is it possible to do a NAND boot on i.mx27ads board with uboot? If so how can I do it?

NAND support (including booting from NAND) has been tested on the
phycore i.MX27 module. So the NAND driver inself is in place, only the
board specific bits are missing. You can use board/pcm038 as a template.

Regards,
 Sascha


-- 
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9


More information about the U-Boot mailing list