public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Andy Pont <andy.pont@sdcsystems.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Linker errors with SPL and FAT
Date: Thu, 20 Nov 2014 11:36:03 -0000	[thread overview]
Message-ID: <007401d004b6$2f8f3de0$8eadb9a0$@pont@sdcsystems.com> (raw)

Hello,

I am trying to build U-Boot SPL (2014.07) for a custom TI AM3354 based board
with MMC support.  Mostly I have cloned the settings from the am335x_evm.h
config file but am getting linker errors with SPL...

common/spl/built-in.o: In function `spl_register_fat_device':
.../common/spl/spl_fat.c:28: undefined reference to `fat_register_device'
common/spl/built-in.o: In function `spl_load_image_fat':
.../common/spl/spl_fat.c:55: undefined reference to `file_fat_read'
.../common/spl/spl_fat.c:61: undefined reference to `file_fat_read'

When I look at spl/fs/built-in.o it is 257 bytes and spl/fs/fat/built-in.o
is 8 bytes.

I have been staring at this for most of the morning and would appreciate it
if someone could tell me what option I am missing.

Thanks,

Andy.

                 reply	other threads:[~2014-11-20 11:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='007401d004b6$2f8f3de0$8eadb9a0$@pont@sdcsystems.com' \
    --to=andy.pont@sdcsystems.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox