All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] help on a compiler error in include/asm/system.h
Date: Thu, 19 Nov 2009 09:14:32 +0100	[thread overview]
Message-ID: <200911190914.32735.sr@denx.de> (raw)

On Thursday 19 November 2009 you write:
>     Now our arm board is based on u-boot v2009.08 and I need to use
> bifs.
>
>     So I replace some files from u-boot's latest version.
>
>     They are:
>
>     fs/ubifs/ubifs.c
>     fs/ubifs/ubifs.h
>     include/asm-arm/bitops.h
>     include/linux/bitops.h
>
>     and define the following configs in config file:
>
>     #define CONFIG_CMD_UBI
>     #define CONFIG_CMD_UBIFS
>     #define CONFIG_RBTREE
>     #define CONFIG_LZO
>
>     When compiling, I encountered an error:

<snip>

>     Is there any other files I need to merge to resolve this error?

Yes, there must be something missing. I just tried compiling UBIFS on ARM on 
the latest U-Boot version from the git repository. I used the "apollon" target 
and added the following defines:

#define CONFIG_CMD_UBIFS
#define CONFIG_LZO

Works like a charm. No problems. I suggest you use the latest version of U-
Boot version on your board as well.

Cheers,
Stefan

--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de

             reply	other threads:[~2009-11-19  8:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-19  8:14 Stefan Roese [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-11-19  5:44 [U-Boot] help on a compiler error in include/asm/system.h Lv Terry-R65388

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200911190914.32735.sr@denx.de \
    --to=sr@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.