Forum Discussion

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

How to build uclinux to DE2 board ,please help!

hi,everybody,

I have a DE2 board and I want to install uclinux onto the board as the OS,but

I got some difficulties,would you please info me some files or give me some links

that about the whole process of the installation.Including the boarc hardware drives

will be better.

Thank you very much.

16 Replies

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

    1. nfs problem,

    on the server, disable firewall, disable SElinux.

    try mount nfs to the server from another Linux PC.

    2. same program in different submenu

    some programs provide integration of several commands, eg, busybox, sash, tinylogin.

    there are standalone program, too.

    there are many options, depend on features and size.

    integration saves disk space, but dose not save memory space.

    for nfs mount, you should use the mount in busybox with nfs mount enabled.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by lonsta@Jul 20 2006, 10:46 AM

    ...

    />mount -t nfs -n -o nolock,rsize=1024,wsize=1024 192.168.11.17:/home/mxp/nios2 /mnt/nfs

    mount:rpc: unable to receive ;error = no route to host

    mount:nfsmount failed; bad file descriptor

    mount:mount on .168.11.17:/home/mxp/nios2 /mnt/nfs failed

    />busybox mount //it's okey,but added with the parameters

    //it got the same error msg like above.

    ...

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

    --- quote end ---

    --- Quote End ---

    It looks like you have a problem on the command line. it reports:

    mount:mount on .168.11.17:/home/mxp/nios2 /mnt/nfs failed

    instead of:

    mount:mount on 192.168.11.17:/home/mxp/nios2 /mnt/nfs failed

    Not sure but you might check it....
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thanks for your reply.

    When I config my kernel of "net" part(module), a problem puzzled me ,that is ..

    when I choose Networking options ----------->packet socket:mapped io ,an error occured : net/packet/af_packet.c file in line 1700.(I checked it ) ,a function ""vm_insert_page()"" does not declare

    it is in the function of packet_mmap();but when I disable(leave it blank ) this ooption ,make successfully.

    while configing kernel ,I refer to another book about arm linux kernel -compile .so I want to know the reason of this different ,what&#39;s this option for ?

    Thanks in advance. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by lonsta@Jul 21 2006, 11:17 AM

    thanks for your reply.

    when i config my kernel of "net" part(module), a problem puzzled me ,that is ..

    when i choose networking options ----------->Packet socket:mapped IO[/b] ,an error occured : net/packet/af_packet.c file in line 1700.(I checked it ) ,a function ""vm_insert_page()"" does not declare

    it is in the function of packet_mmap();but when I disable(leave it blank ) this ooption ,make successfully.

    while configing kernel ,I refer to another book about arm linux kernel -compile .so I want to know the reason of this different ,what&#39;s this option for ?

    Thanks in advance. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif

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

    --- Quote End ---

    [/b]

    --- Quote End ---

    I&#39;m not expert with this sort of thing, but my guess would be that this isn&#39;t implemented on a uCLinux system. There are no "pages" to be inserted as we&#39;re dealing with an MMUless sytem.

    Cheers,

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

    Hello everybody, I am configuring the kernel for the DE2 board and there are ALOT of options and applications. How should I configure the kernel to make use of the DE2_NET project?

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

    --- Quote Start ---

    originally posted by bigpunx@Nov 8 2006, 02:30 AM

    hello everybody, i am configuring the kernel for the de2 board and there are alot of options and applications. how should i configure the kernel to make use of the de2_net project?

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

    --- quote end ---

    --- Quote End ---

    Please start a new thread for your question. Use "new topic" .