Find the answer to your Linux question:
Results 1 to 5 of 5
Hi everybody, first of all I apologize if i didn't post my thread in the right place! I am trying to compile uClinux for my ARM Atmel board (AT91SAM7). On ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2009
    Posts
    8

    uClinux problem


    Hi everybody,

    first of all I apologize if i didn't post my thread in the right place!

    I am trying to compile uClinux for my ARM Atmel board (AT91SAM7). On "make", i get the following error:

    as: unrecognized option `-marmv4'
    init/main.c: In function `profile_setup':
    init/main.c:135: output pipe has been closed
    make[1]: *** [init/main.o] Error 1

    Any ideas about what it can be wrong?
    Thanks!

  2. #2
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Hello.
    I'm not familiar with uClinux but I have found a page, hopefully you've already seen it. You'll need to post the exact make command also. If you've followed the HOWTO, have you already copied/extracted the patches?
    uClinux -- Embedded Linux/Microcontroller Project - Getting Started: Official Distribution Source
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  3. #3
    Just Joined!
    Join Date
    May 2009
    Posts
    8
    Thanks for the tip! Unfortunately it didn't help me

    patches extracted... doesn't bring more than other errors...

    Is there anybody who had the same problem or can suggest some more possible solutions?

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,392
    I take it that the Atmel ARM board is your target. What is the host system that you are building the uClinux on? Also, what version of the GCC tool set are you using, and what kernel is being built for uClinux?
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  5. #5
    Just Joined!
    Join Date
    May 2009
    Posts
    8
    I'm not the linux expert, but as I read on forums and websites, I realized I have to build a toolchain for my board (yes, atmel ARM - AT91SAM7X256). But following the steps from the uClinux website (I wanted to post the url here, but I'm not allowed yet. Anyway, the HOWTO steps for beginners) with the configuration and elf-toolchain for AT91 of course, I thought this is exactly what I was doing. But I get this error which I already described, on the 'make' step.

    I also ran a shell script (website: Building a GNU/Linux ARM Toolchain (from scratch), of Charles M. "Chip" Coldwell), gcc-binutils 2.16, gcc 3.4, glib 2.35, kernel 2.6. which compiled and finished successfully. I was looking for a generated .bin file which i have to download on the board, but i haven't seen any. Or am I supposed to look for something else?

    The host PC is a laptop - TOSHIBA Satellite Pro A40 (i486). I also have to mention that after doing all this steps above and issuing 'as --version' command, the toolchain was still for i486. But this is actually another thing which I don't understand, maybe somebody can explain it to me: is the configuration supposed to change after building a new toolchain, so that I can see it when checking for assembler version? Or is there a new kernel for ARM created, which I have to download on my board? Or how exactly does it work?
    Any help appreciated! Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •