Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

U-BOOT PROBLEM!!!

My board "Nios II Development Kit, Cyclone II Edition (2C35)"!

I compile U-BOOT1.14! Download into flash 0X0!

But get error:

U-Boot 1.1.4 (Aug 28 2006 - 13:57:06)
CPU   : Nios-II
SYSID : 8d9e207b, Fri May 13 18:37:17 2005
BOARD : Altera EP-2C35
*** Warning - bad CRC, using default environment
==> bdi
mem start   = 0x04000000
mem size    = 0x02000000
flash start = 0x00000000
flash size  = 0x01000000
flash offset= 0x00000000
sram start  = 0x02000000
sram size   = 0x00200000
ethaddr     = 08:00:3E:26:0A:5B
ip_addr     = 192.168.2.21
baudrate    = 115200 bps
==>

==> printenv
baudrate=115200
ethaddr=08:00:3e:26:0a:5b
ipaddr=192.168.2.21
serverip=192.168.2.16
netmask=255.255.255.0
stdin=serial
stdout=serial
stderr=serial
Environment size: 147/65532 bytes

when i ping other host,

==> ping 192.168.2.1
SMC91111:PHY reset timed out
Warning: MAC addresses don't match:
        HW MAC address:  01:FF:EF:FF:FF:FF
        "ethaddr" value: 08:00:3E:26:0A:5B
Using MAC Address 08:00:3E:26:0A:5B
SMC91111: Memory allocation failed.

Then host down!!!

Who can help me? Thank you very much!

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by topgun@Aug 30 2006, 01:40 AM

    my board "nios ii development kit, cyclone ii edition (2c35)"!

    i compile u-boot1.14! download into flash 0x0!

    but get error:

    u-boot 1.1.4 (aug 28 2006 - 13:57:06)
    cpu   : nios-ii
    sysid : 8d9e207b, fri may 13 18:37:17 2005
    board : altera ep-2c35
    *** warning - bad crc, using default environment
    ==> bdi
    mem start   = 0x04000000
    mem size    = 0x02000000
    flash start = 0x00000000
    flash size  = 0x01000000
    flash offset= 0x00000000
    sram start  = 0x02000000
    sram size   = 0x00200000
    ethaddr     = 08:00:3e:26:0a:5b
    ip_addr     = 192.168.2.21
    baudrate    = 115200 bps
    ==>

    ==> printenv
    baudrate=115200
    ethaddr=08:00:3e:26:0a:5b
    ipaddr=192.168.2.21
    serverip=192.168.2.16
    netmask=255.255.255.0
    stdin=serial
    stdout=serial
    stderr=serial
    environment size: 147/65532 bytes

    when i ping other host,

    ==> ping 192.168.2.1
    smc91111:phy reset timed out
    warning: mac addresses don't match:
            hw mac address:  01:ff:ef:ff:ff:ff
            "ethaddr" value: 08:00:3e:26:0a:5b
    using mac address 08:00:3e:26:0a:5b
    smc91111: memory allocation failed.

    then host down!!!

    who can help me? thank you very much!

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=17945)</div>

    --- Quote End ---

    the problem is the Memory allocation failed
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by topgun@Sep 1 2006, 03:15 AM

    but how to fix?

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=18001)

    --- quote end ---

    --- Quote End ---

    Are not the solutions it and I&#39;m sorry.

    I also am coming the same phenomenon.

    And, the source read.

    Then, these kind of things were written in about the 600th line smc91111.c

    /* FIXME: the ALLOC_INT bit never gets set *

    * so the following will always give a *

    * memory allocation error. *

    * same code works in armboot though *

    * -ro

    */

    However, it is not understood what the "same code" is.

    armboot Reference

    http://armboot.sourceforge.net/ (http://armboot.sourceforge.net/)