Forum Discussion

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

problem with goahead webserver...

i followed alex's steps to port the webserver. everything seems fine but i cant access the demo webpage. i can ping my de2 but cant access it with web browser.

here are some of my questions:

1. must i follow the Buildrootguide to build the toolchain? i'm totally new and i used the BinaryToolchain for newbies.

2. step 9: shud i run that cmd under ~/ws031202/LINUX dir or under ~/uClinux-dist-test/ dir? is it this cmd is suppose to replace the 'make linux image' as in uClinuxDist?

3. step 10: whr shud i run this cmd? i tried the vmlinux file under ~/uClinux-dist-test/linux-2.6.xx/ (<= sry cant remember the numbers...) is it correct?

Pls help. thank you in advance.

ps. i&#39;m totally new n i hope my q doesnt sound stupid. i&#39;ll b glad if u would like to suggest anything.

13 Replies

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

    hippo, i tried your FlashProgrammer guide but i got this error (http://i74.photobucket.com/albums/i248/jwlam1984/console3.jpg).

    <div class='quotetop'>QUOTE </div>

    --- Quote Start ---

    nios2-download - Downloads code to a target processor for debugging or running.[/b]

    --- Quote End ---

    i have a little confusion here... where is the code dowloaded to when we run nios2-download? is it i have NOT been dealing with the onboard cfi flash in your UClinuxDist guide?

    ps. sry for the hassle coz i kinda jump-start in learning fpga stuff by getting dirty thru hands-on straight away.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    you can use nios2-download to write to sdram and sram, etc.

    nios2-download does not write to flash.

    you don&#39;t have to program flash everytime during apps development.

    it is slow and flash have limited write life.

    you should use nfs.

    try program the sof and zImage (with network and nfs support) to epcs.

    then mount nfs from your linux pc,

    put your web server and content on the nfs share,

    and test your apps out there.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by hippo@Jul 26 2006, 10:42 PM

    you can use nios2-download to write to sdram and sram, etc.

    nios2-download does not write to flash.

    you don&#39;t have to program flash everytime during apps development.

    it is slow and flash have limited write life.

    you should use nfs.

    try program the sof and zimage (with network and nfs support) to epcs.

    then mount nfs from your linux pc,

    put your web server and content on the nfs share,

    and test your apps out there.

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

    --- quote end ---

    --- Quote End ---

    i tried ur NFSFileSystem guide and this (http://i74.photobucket.com/albums/i248/jwlam1984/nfs.jpg) is wat i get... oom-killer again...

    hippo, is it possible tat i put my zImage in usb pendrive n boot from thr? do u have any reference or guide on tat? thx!