All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] mx51+ide+problem
@ 2011-09-22 14:34 Georgy Obraztsov
  2011-09-22 14:46 ` Stefano Babic
  0 siblings, 1 reply; 9+ messages in thread
From: Georgy Obraztsov @ 2011-09-22 14:34 UTC (permalink / raw)
  To: u-boot

Hi.
I have : u-boot-2009.08-rc3 + i.mx51 + CardFlash

common/libcommon.a(cmd_ide.o): In function `output_data_shorts':
/home/mt/L2.6.35_10.11.01_ER_source/1/ltib/rpm/BUILD/
u-boot-2009.08.mt/common/cmd_ide.c:1707: undefined reference to
`__raw_writesw'
common/libcommon.a(cmd_ide.o): In function `output_data':
/home/mt/L2.6.35_10.11.01_ER_source/1/ltib/rpm/BUILD/
u-boot-2009.08.mt/common/cmd_ide.c:944: undefined reference to
`__raw_writesw'
common/libcommon.a(cmd_ide.o): In function `input_data_shorts':
/home/mt/L2.6.35_10.11.01_ER_source/1/ltib/rpm/BUILD/
u-boot-2009.08.mt/common/cmd_ide.c:1713: undefined reference to
`__raw_readsw'
common/libcommon.a(cmd_ide.o): In function `input_data':
/home/mt/L2.6.35_10.11.01_ER_source/1/ltib/rpm/BUILD/
u-boot-2009.08.mt/common/cmd_ide.c:1002: undefined reference to
`__raw_readsw'
make: *** [u-boot] Error 1

What can i do ?

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] mx51+ide+problem
  2011-09-22 14:34 [U-Boot] mx51+ide+problem Georgy Obraztsov
@ 2011-09-22 14:46 ` Stefano Babic
       [not found]   ` <CAEyU07ADfhXMH23nJBHdSLAV2JTSWKSv4A_sEH7K73Kes2EUDw@mail.gmail.com>
  0 siblings, 1 reply; 9+ messages in thread
From: Stefano Babic @ 2011-09-22 14:46 UTC (permalink / raw)
  To: u-boot

On 09/22/2011 04:34 PM, Georgy Obraztsov wrote:
> Hi.
> I have : u-boot-2009.08-rc3 + i.mx51 + CardFlash

This is very old.

> 
> common/libcommon.a(cmd_ide.o): In function `output_data_shorts':
> /home/mt/L2.6.35_10.11.01_ER_source/1/ltib/rpm/BUILD/
> u-boot-2009.08.mt/common/cmd_ide.c:1707: undefined reference to
> `__raw_writesw'
> common/libcommon.a(cmd_ide.o): In function `output_data':
> /home/mt/L2.6.35_10.11.01_ER_source/1/ltib/rpm/BUILD/
> u-boot-2009.08.mt/common/cmd_ide.c:944: undefined reference to
> `__raw_writesw'
> common/libcommon.a(cmd_ide.o): In function `input_data_shorts':
> /home/mt/L2.6.35_10.11.01_ER_source/1/ltib/rpm/BUILD/
> u-boot-2009.08.mt/common/cmd_ide.c:1713: undefined reference to
> `__raw_readsw'
> common/libcommon.a(cmd_ide.o): In function `input_data':
> /home/mt/L2.6.35_10.11.01_ER_source/1/ltib/rpm/BUILD/
> u-boot-2009.08.mt/common/cmd_ide.c:1002: undefined reference to
> `__raw_readsw'
> make: *** [u-boot] Error 1
> 
> What can i do ?

Start upgrading to the last U-Boot version. All accessors as
__raw_writesw are defined in the current code.

Best regards,
Stefano Babic

-- 
=====================================================================
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
=====================================================================

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] mx51+ide+problem
       [not found]   ` <CAEyU07ADfhXMH23nJBHdSLAV2JTSWKSv4A_sEH7K73Kes2EUDw@mail.gmail.com>
@ 2011-09-22 16:32     ` Stefano Babic
  2011-09-22 19:32       ` Georgy Obraztsov
  0 siblings, 1 reply; 9+ messages in thread
From: Stefano Babic @ 2011-09-22 16:32 UTC (permalink / raw)
  To: u-boot

On 09/22/2011 05:10 PM, Georgy Obraztsov wrote:
> ok? i try.

Hi Georgy,

please send always your answer to the Mailing List, too.

> But, can i build u-boot in this configuration (u-boot-2009.08-rc3)

I do not understand. If you upgrade to the last version, you cannot use
(and makes no sense) an obsolete versione as 2009.08.

Why do you will stick with this older version ?

Best regards,
Stefano Babic


-- 
=====================================================================
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
=====================================================================

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] mx51+ide+problem
  2011-09-22 16:32     ` Stefano Babic
@ 2011-09-22 19:32       ` Georgy Obraztsov
  2011-09-26  8:27         ` Georgy Obraztsov
  0 siblings, 1 reply; 9+ messages in thread
From: Georgy Obraztsov @ 2011-09-22 19:32 UTC (permalink / raw)
  To: u-boot

Because in old version (u-boot-2009.08-rc3) i can apply specific board patch
for u-boot. But in last version u-boot (2011), this patch does not work.

On Thu, Sep 22, 2011 at 8:32 PM, Stefano Babic <sbabic@denx.de> wrote:

> On 09/22/2011 05:10 PM, Georgy Obraztsov wrote:
> > ok? i try.
>
> Hi Georgy,
>
> please send always your answer to the Mailing List, too.
>
> > But, can i build u-boot in this configuration (u-boot-2009.08-rc3)
>
> I do not understand. If you upgrade to the last version, you cannot use
> (and makes no sense) an obsolete versione as 2009.08.
>
> Why do you will stick with this older version ?
>
> Best regards,
> Stefano Babic
>
>
> --
> =====================================================================
> 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
> =====================================================================
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] mx51+ide+problem
  2011-09-22 19:32       ` Georgy Obraztsov
@ 2011-09-26  8:27         ` Georgy Obraztsov
  2011-09-26  9:30           ` Stefano Babic
  0 siblings, 1 reply; 9+ messages in thread
From: Georgy Obraztsov @ 2011-09-26  8:27 UTC (permalink / raw)
  To: u-boot

How i cat apply this patch u-boot-v2009.08-imx_10.11.01 for another version
u-boot. For example for last version u-boot-2011.09-rc1 ?
patch in attach.

On Thu, Sep 22, 2011 at 11:32 PM, Georgy Obraztsov <g.obraztsov@gmail.com>wrote:

> Because in old version (u-boot-2009.08-rc3) i can apply specific board
> patch for u-boot. But in last version u-boot (2011), this patch does not
> work.
>
>
> On Thu, Sep 22, 2011 at 8:32 PM, Stefano Babic <sbabic@denx.de> wrote:
>
>> On 09/22/2011 05:10 PM, Georgy Obraztsov wrote:
>> > ok? i try.
>>
>> Hi Georgy,
>>
>> please send always your answer to the Mailing List, too.
>>
>> > But, can i build u-boot in this configuration (u-boot-2009.08-rc3)
>>
>> I do not understand. If you upgrade to the last version, you cannot use
>> (and makes no sense) an obsolete versione as 2009.08.
>>
>> Why do you will stick with this older version ?
>>
>> Best regards,
>> Stefano Babic
>>
>>
>> --
>> =====================================================================
>> 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
>> =====================================================================
>>
>
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] mx51+ide+problem
  2011-09-26  8:27         ` Georgy Obraztsov
@ 2011-09-26  9:30           ` Stefano Babic
       [not found]             ` <CAEyU07A+CVkabvJsZ0toPGqa-m-twtJch9bZKwyiftn321eSLw@mail.gmail.com>
  0 siblings, 1 reply; 9+ messages in thread
From: Stefano Babic @ 2011-09-26  9:30 UTC (permalink / raw)
  To: u-boot

On 09/26/2011 10:27 AM, Georgy Obraztsov wrote:
> How i cat apply this patch u-boot-v2009.08-imx_10.11.01 for another
> version u-boot. For example for last version u-boot-2011.09-rc1 ?

Patches are always suitable for one version only - you have to port the
patch (I have not seen it, it was missing in the message) to the current
version.

However, you do not explain *which* problems you have with the current
version, *why* you need a patch and *what* you think to fix with it.

Take into account we discuss here problems relate to u-boot mainline
only. u-boot-v2009.08-imx_10.11.01 from the name is surely not mainline
and it is not discussed here.

Best regards,
Stefano Babic

-- 
=====================================================================
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
=====================================================================

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] mx51+ide+problem
       [not found]             ` <CAEyU07A+CVkabvJsZ0toPGqa-m-twtJch9bZKwyiftn321eSLw@mail.gmail.com>
@ 2011-09-26 11:25               ` Stefano Babic
  2011-09-28  6:04                 ` Georgy Obraztsov
  0 siblings, 1 reply; 9+ messages in thread
From: Stefano Babic @ 2011-09-26 11:25 UTC (permalink / raw)
  To: u-boot

On 09/26/2011 12:15 PM, Georgy Obraztsov wrote:
> Ok. I do queston another words.

Please stop sending only private e-mails. You must *always* send your
question to the ML, too.

> I have i.mx51 processor with Compact Flash interface connected. How i
> can compile u-boot for this configuration. U-boot-2011.09-rc1 does not
> rules in make file for i.mx51.

If you have a custom board, you have to *port* u-boot to your board,
taking as reference one of the boards officially maintained in u-boot
that make use of this processor. If you simply grep into the
include/configs directory, you will find 3 boards:

	mx51evk
	vision2
	efikamx

The last one uses the PATA driver to access an hardisk - as you need to
access the CF. Do not expect everything is working without matching the
code with your hardware.

Best regards,
Stefano Babic

-- 
=====================================================================
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
=====================================================================

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] mx51+ide+problem
  2011-09-26 11:25               ` Stefano Babic
@ 2011-09-28  6:04                 ` Georgy Obraztsov
  2011-09-28  7:33                   ` Stefano Babic
  0 siblings, 1 reply; 9+ messages in thread
From: Georgy Obraztsov @ 2011-09-28  6:04 UTC (permalink / raw)
  To: u-boot

u-boot-2011.09-rc2.tar.bz2
make mx51evk (default config)
make
...
/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-ld:
u-boot: warning: allocated section `.bss' not in segment
/bin/bash: line 1: 21220 Segmentation fault
/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-non
... none-linux-gnueabi/4.1.2 -lgcc -Map u-boot.map -o u-boot
make: *** [u-boot] Error 139

How fix ?

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] mx51+ide+problem
  2011-09-28  6:04                 ` Georgy Obraztsov
@ 2011-09-28  7:33                   ` Stefano Babic
  0 siblings, 0 replies; 9+ messages in thread
From: Stefano Babic @ 2011-09-28  7:33 UTC (permalink / raw)
  To: u-boot

On 09/28/2011 08:04 AM, Georgy Obraztsov wrote:
> u-boot-2011.09-rc2.tar.bz2
> make mx51evk (default config)
> make
> ...
> /opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-ld:
> u-boot: warning: allocated section `.bss' not in segment
> /bin/bash: line 1: 21220 Segmentation fault
> /opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-non
> ... none-linux-gnueabi/4.1.2 -lgcc -Map u-boot.map -o u-boot
> make: *** [u-boot] Error 139

Your toolchain is too old, this could be a reason. However, you have not
shown the full error message. I see the warning, but the real error war
before.

Building mx51evk is successfully on my site:

./MAKEALL mx51evk
Configuring for mx51evk - Board: mx51evk, Options:
IMX_CONFIG=board/freescale/mx51evk/imximage.cfg
   text	   data	    bss	    dec	    hex	filename
 202684	   4068	 218468	 425220	  67d04	./u-boot

--------------------- SUMMARY ----------------------------
Boards compiled: 1
----------------------------------------------------------

Best regards,
Stefano Babic


-- 
=====================================================================
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
=====================================================================

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-09-28  7:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-22 14:34 [U-Boot] mx51+ide+problem Georgy Obraztsov
2011-09-22 14:46 ` Stefano Babic
     [not found]   ` <CAEyU07ADfhXMH23nJBHdSLAV2JTSWKSv4A_sEH7K73Kes2EUDw@mail.gmail.com>
2011-09-22 16:32     ` Stefano Babic
2011-09-22 19:32       ` Georgy Obraztsov
2011-09-26  8:27         ` Georgy Obraztsov
2011-09-26  9:30           ` Stefano Babic
     [not found]             ` <CAEyU07A+CVkabvJsZ0toPGqa-m-twtJch9bZKwyiftn321eSLw@mail.gmail.com>
2011-09-26 11:25               ` Stefano Babic
2011-09-28  6:04                 ` Georgy Obraztsov
2011-09-28  7:33                   ` Stefano Babic

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.