Forum Discussion

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

frame buffer error part2

After the zImage has been generated, I boot up uClinux but I am unable to run:

nano-X &

nxterm &

and the rest of them...the nio-terminal says bad command or filename

I have followed the directions on your wiki step by step but I get this error:

In file included from

/home/user4/spring07/jk2461/uClinux-dist/user/microwin/src/include/device.h:11,

from fblin8.c:19:

/home/user4/spring07/jk2461/uClinux-dist/user/microwin/src/include/mwtypes.h:242:21:

operator '==' has no left operand

/home/user4/spring07/jk2461/uClinux-dist/user/microwin/src/include/mwtypes.h:245:22:

operator '==' has no left operand

/home/user4/spring07/jk2461/uClinux-dist/user/microwin/src/include/mwtypes.h:248:24:

operator '==' has no left operand

In file included from fblin8.c:19:

12 Replies

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

    --- Quote Start ---

    originally posted by hippo@Apr 6 2007, 12:08 AM

    i didn't check the .tar.gz, but it should be the same.

    did you apply the nios2 patch once?

    can you find uclinux-dist/lib/libjpeg ?

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

    --- quote end ---

    --- Quote End ---

    I check that there is uClinux-dist/lib/libjpeg.

    nios2 patch once?you mean the uClinux-dist-20070130-nios2-02.diff.gz? I apply that once!
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by nick@Apr 6 2007, 02:08 PM

    i see message fb0: altera frame buffer device, using 600k of video memory.

    but when i wrote nano-x & in sdk shell it return [20]. what it means?

    --- Quote End ---

    It is running as process number 20. It should be OK. You can check the VGA screen.

    There should be an arrow cursor on the screeen.

    If you have mouse, you should be able to move the cursor.

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

    --- Quote Start ---

    Also I found some distinction in menuconfig. on my PC:

    Device Drivers --> Character devices --->

    --- Virtual terminal

    [ ] Support for console on virtual terminal

    ...

    But on nioswiki

    Device Drivers --> Character devices --->

    [*] Virtual terminal

    [ ] Support for console on virtual terminal

    so I can&#39;t select virtual terminal in my menucongif.

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

    --- Quote End ---

    [/b]

    --- Quote End ---

    It is OK. It is already selected.