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: Wed, 2 Sep 2009 00:25:46 -0700 (PDT) [thread overview]
Message-ID: <25252776.post@talk.nabble.com> (raw)
In-Reply-To: <25238770.post@talk.nabble.com>
yeah u are right denk. sorry i addressed as deng in last message. i added
CONFIG_CMD_FAT in my config file /include/configs/at91sam9261ek.h and
cmd_fat.c got compiled
. on these lines Now i want to compile the file /drivers/spi/atmel_spi.c ,
so enabled #define CONFIG_ATMEL_SPI 1 in config file but the compiler gave
errors. can anybody let me know how to enable this driver in the config ?
sunr2007 wrote:
>
> thanks a lot Deng. sorry about previous message postin tat way. Now i was
> able to compile cmd_fat.c by adding tat CONFIG_CMD_FAT in
> /include/configs/at91sam9261ek.h. Now i want to use the atmel_spi.c driver
> in /drivers/spi.
> can u let me know what to add in the config file? i tried adding
> if define CONFIG_ATMEL_SPI AT91SAM9261_ID_SPI0
> so that it used BUS0 of the atmel SPI controller but the compiler again
> gave some error which was similar to previous error which i posted .
> thanks a lot .
> warm regards,
> Ravi Kulkarni.
>
> wd wrote:
>>
>> Dear sunr2007,
>>
>> Please make sure to read http://www.netmeister.org/news/learn2quote.html
>>
>> Your message is next to impossible to read as we cannot see who wrote
>> what.
>>
>> In message <25237459.post@talk.nabble.com> you wrote:
>>> >
>>> > 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.
>>
>> There are several configurations for the at91sam9261ek board
>> supported in recent U-Boot. Please look again.
>>
>>> >> 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:
>>
>> You must not trry to compile single files, because you most likely
>> don't get the required options right. Just add these features into
>> your board configuration.
>>
>>> > 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
>>
>> Don't do this. Instead, just add CONFIG_CMD_FAT to your board config
>> file, usualklky include/configs/<name>.h
>>
>> Then run "make <name>_config" and "make all"
>>
>>
>> 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
>> Imitation is the sincerest form of plagarism.
>> _______________________________________________
>> 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--tp25236687p25252776.html
Sent from the Uboot - Users mailing list archive at Nabble.com.
next prev parent reply other threads:[~2009-09-02 7:25 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
2009-09-01 10:21 ` Wolfgang Denk
2009-09-01 11:38 ` sunr2007
2009-09-02 7:25 ` sunr2007 [this message]
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=25252776.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