public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: sunr2007 <ravilinux4u@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] how to enable various command support in u-boot-1.3.4?
Date: Tue, 1 Sep 2009 02:57:20 -0700 (PDT)	[thread overview]
Message-ID: <25237459.post@talk.nabble.com> (raw)
In-Reply-To: <20090901091815.4376E834A950@gemini.denx.de>




wd wrote:
> 
> Dear sunr2007,
> 
> In message <25236687.post@talk.nabble.com> you wrote:
>> 
>> I was using u-boot-1.1.5 all these days. so i decided to use SPI API
>> improvements and some other improvements. so i switched to u-boot 1.3.4 .
>> I'm using AT91SAM9261 board cross compiler with GCC 3.4.1. i was able to
> 
> May I ask why you decided to switch from an ancient to a very old
> version, and not to a current one?
> 
> U-Boot 1.3.4 is more than a year old. Current release is v2009.08
> 
> Also, GCC 3.4.x is very, very old.
> 
> Why are you not using a recent tool chain?
>  since i use AT91SAM9261 boards the latest patch available for that board
> is u-boot-1.3.4 
> so i used u-boot-1.3.4. i used 2009-08 version and compiled but there is
> no support patch file for tat.
> i got this info frm linux4sam.org.
> 
>> compile the u-boot but only few of files compiled. in the /common/
>> directory
>> i want to compile cmd_fat.c and cmd_spi.c . though these files are there
>> in
>> Makefile im unable to compile. may i know what i need to do to compile
>> these
>> files in u-boot? do i need to enable something? thanks.:confused:
> 
> I don't know what you are doing, buyt I can teel you that U-Boot
> releases 1.3.4 and 2009.08 build fine in all our tests;
> we used ELDK 3.1.1 (gcc 3.3.3) through ELDK 4.2 (gcc 4.2.2) for this.
> 
> If you have problems, then you either must be doing something wrong,
> oryour tool chain is broken - but you don't provide enough information
> for any diagnosis of the actual problem.
>  All i was tryin to do is to compile cmd_fat.c and cmd_spi.c files
> /common/ folder. 
> im not saying that i cant compile u-boot . i was able to compile u-boot
> but with only less commands. i wanted to use fatls and fatload , sspi and
> some other commands. these files are there in makefile but still i cant
> compile them.
> i tried modifying Makefile by changing this particular line 
> COBJS-$(CONFIG_CMD_FAT) += cmd_fat.o 
>  to 
> COBJS-y += cmd_fat.o
> but the compiler gave a error  which im posting here 
> 
> common/libcommon.a(cmd_fat.o): In function `do_fat_fsload':
> /home/ravikulkarni/dasuboot_airforce/u-boot-1.3.4/common/cmd_fat.c:64:
> undefined reference to `fat_register_device'
> /home/ravikulkarni/dasuboot_airforce/u-boot-1.3.4/common/cmd_fat.c:73:
> undefined reference to `file_fat_read'
> common/libcommon.a(cmd_fat.o): In function `do_fat_ls':
> /home/ravikulkarni/dasuboot_airforce/u-boot-1.3.4/common/cmd_fat.c:123:
> undefined reference to `fat_register_device'
> /home/ravikulkarni/dasuboot_airforce/u-boot-1.3.4/common/cmd_fat.c:130:
> undefined reference to `file_fat_ls'
> common/libcommon.a(cmd_fat.o): In function `do_fat_fsinfo':
> /home/ravikulkarni/dasuboot_airforce/u-boot-1.3.4/common/cmd_fat.c:168:
> undefined reference to `fat_register_device'
> /home/ravikulkarni/dasuboot_airforce/u-boot-1.3.4/common/cmd_fat.c:172:
> undefined reference to `file_fat_detectfs'
>  
>  but  i have checked tat all these functions are defined in fat.h 
> so i may know what exactly is going wrong? and can anybody give a link for
> the latest toolchain  which is advisable to compile u-boot?  thanks a lot
> for ur reply
> 
> warm regards,
> Ravi Kulkarni 
> 
> 
> Best regards,
> 
> Wolfgang Denk
> 
> -- 
> DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> It became apparent that one reason why the Ice Giants were  known  as
> the  Ice  Giants  was  because they were, well, giants. The other was
> that they were made of ice.              -Terry Pratchett, _Sourcery_
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
> 
> 

-- 
View this message in context: http://www.nabble.com/how-to-enable-various-command-support-in-u-boot-1.3.4--tp25236687p25237459.html
Sent from the Uboot - Users mailing list archive at Nabble.com.

  reply	other threads:[~2009-09-01  9:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-01  8:53 [U-Boot] how to enable various command support in u-boot-1.3.4? sunr2007
2009-09-01  9:18 ` Wolfgang Denk
2009-09-01  9:57   ` sunr2007 [this message]
2009-09-01 10:21     ` Wolfgang Denk
2009-09-01 11:38       ` sunr2007
2009-09-02  7:25         ` sunr2007
2009-09-02  7:36           ` Wolfgang Denk
2009-09-02  9:36             ` sunr2007

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=25237459.post@talk.nabble.com \
    --to=ravilinux4u@gmail.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