Forum Discussion

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

How to build u-boot for cycloneII board?

Hi all,

Can someone tell me the procedure to build u-boot for owner niosII board?

I need u-boot to use it in Altera niosII development kit CycloeII edition and owner design CycloneII board.

Thanks in advance.

11 Replies

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

    Hi posix6973,

    > The NET seems can ping out only

    Correct. u-boot does not respond to pings.

    > when issue ping command the dm9000 LINKACT# pin light up and light off after executed command

    Correct. Each time a network operation is performed, the MAC/PHY is initialized, the operation is performed,

    then the device is shut down.

    > then the Ethernet is broken so I can not ping it form outside.

    The Ethernet is not broken at all, u-boot does not respond to a ping. Remember, u-boot is a boot loader

    and monitor. It has many features that serve two main purposes: (1) hardware initialization/testing and

    (2) loading and executing a kernel. To perform basic testing on your ethernet device you can use ping,

    bootp, dhcp, tftpboot, nfs etc. from the u-boot command line. And all of the network commands

    support booting a kernel via the network -- anything beyond testing/loading is outside the scope of

    u-boot -- which is why u-boot supports "standalone" applications.

    > Would you please help me to patch the dm9000x.c file?

    Sure. But first review the main README on how to submit patches and the following:

    http://sourceforge.net/mailarchive/forum.p...&forum_id=12898 (http://sourceforge.net/mailarchive/forum.php?thread_id=7969201&forum_id=12898)

    Then I'll be glad to help if you have any problems.

    Best Regards,

    --Scott