All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] at91rm9200dk broken/patches?
@ 2011-08-03  5:13 Reinhard Meyer
  2011-08-03 16:10 ` Rick Bronson
  0 siblings, 1 reply; 4+ messages in thread
From: Reinhard Meyer @ 2011-08-03  5:13 UTC (permalink / raw)
  To: u-boot

Hello,

is that board still wanted in u-boot?

If yes, it should be converted like the at91rm9200ek has been.

Best Regards,
Reinhard

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

* [U-Boot] at91rm9200dk broken/patches?
  2011-08-03  5:13 [U-Boot] at91rm9200dk broken/patches? Reinhard Meyer
@ 2011-08-03 16:10 ` Rick Bronson
  2011-08-03 17:02   ` Andreas Bießmann
  0 siblings, 1 reply; 4+ messages in thread
From: Rick Bronson @ 2011-08-03 16:10 UTC (permalink / raw)
  To: u-boot

Hi Reinhard,

  Did you ever get the email below?  I never heard back from anyone on
this.

  Cheers,

  Rick

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

* [U-Boot] at91rm9200dk broken/patches?
  2011-08-03 16:10 ` Rick Bronson
@ 2011-08-03 17:02   ` Andreas Bießmann
  2011-08-03 20:37     ` Rick Bronson
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Bießmann @ 2011-08-03 17:02 UTC (permalink / raw)
  To: u-boot

Dear Rick Bronson,

Am 03.08.2011 18:10, schrieb Rick Bronson:
> Hi Reinhard,
> 
>   Did you ever get the email below?  I never heard back from anyone on
> this.

Sorry, did not see this mail.


> From rick Tue Jan 18 22:32:15 -0800 2011
> To: Reinhard Meyer <u-boot@emk-elektronik.de>
> CC: albert at aribaud.net, reinhard.meyer at emk-elektronik.de
> In-reply-to: <4D34A61F.1030907@emk-elektronik.de> (message from Reinhard Meyer
> 	on Mon, 17 Jan 2011 21:27:11 +0100)
> Subject: Re: U-Boot support for board(s) AT91RM9200DK
> References: <20101127215901.95380220235C@lilith> <E1PN7fz-0002QA-6P@amazonia.comcast.net> <4CF3E933.8070901@aribaud.net> <E1PN8NO-0002gI-9Z@amazonia.comcast.net> <4D32AE6E.1070900@aribaud.net> <E1Peqrc-0001iz-Fb@amazonia.comcast.net> <4D34627A.7080006@aribaud.net> <E1PesXV-0005Eg-9d@amazonia.comcast.net> <4D348052.4020401@aribaud.net> <4D34A61F.1030907@emk-elektronik.de>
> 
> Hi All,
> 
>   Here is what I've done so far:
> 
> git clone git://git.denx.de/u-boot-atmel.git
> cd u-boot-atmel
> git checkout -b rework101229
> 
>  - used CodeSourcery/Sourcery_G++_Lite:
> 
> /u-boot-atmel> /opt/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc --version
> arm-none-linux-gnueabi-gcc (Sourcery G++ Lite 2010q1-202) 4.4.1
> 
>   Hopefully this compiler is okay, please tell me if it's not.

should work. Maybe you run into trouble cause of missing armv4 support
in the toolchain. There are workarounds, just let u-boot build its own
libgcc stuff -> 'USE_PRIVATE_LIBGCC'.

>  - looked at:
> 
> commit 0693923cd240f5d401be0a53cddcf0fb1d9ad9d3 in the current u-boot
> 
>  - Make a bunch of changes but still have 2 warnings (see
>    http://www.efn.org/~rick/pub/build.log):
> 
> cpu.c:37: warning: #warning Your board is using legacy AT91RM9200 SoC access. Please update!

Well, please update this board to use the new arm920t/at91 SoC code, see
at91rm9200ek for example.

> at91_emac.c:487: warning: dereferencing type-punned pointer will break strict-aliasing rules

fixed in 2321bfe425385494da8739d7d7e9dd3a5ca18a84

>   What should I do about these?
> 
>   I made a patch file, please check it over.
>   http://www.efn.org/~rick/pub/uboot.diff

At least these steps are missing:
 - configure to use arm920t/at91, not arm920t/at91rm9200 (-> boards.cfg)
 - set correct USART in config
 - adopt includes in board file

best regards,

Andreas Bie?mann

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

* [U-Boot] at91rm9200dk broken/patches?
  2011-08-03 17:02   ` Andreas Bießmann
@ 2011-08-03 20:37     ` Rick Bronson
  0 siblings, 0 replies; 4+ messages in thread
From: Rick Bronson @ 2011-08-03 20:37 UTC (permalink / raw)
  To: u-boot

Hi Reinhard,

  Okay, it may be awhile before I get to this...  Kinda busy at the
moment.

  Cheers,

  Rick

> Dear Rick Bronson,
> 
> Am 03.08.2011 18:10, schrieb Rick Bronson:
> > Hi Reinhard,
> > 
> >   Did you ever get the email below?  I never heard back from anyone on
> > this.
> 
> Sorry, did not see this mail.
> 
> 
> > From rick Tue Jan 18 22:32:15 -0800 2011
> > To: Reinhard Meyer <u-boot@emk-elektronik.de>
> > CC: albert at aribaud.net, reinhard.meyer at emk-elektronik.de
> > In-reply-to: <4D34A61F.1030907@emk-elektronik.de> (message from Reinhard Meyer
> > 	on Mon, 17 Jan 2011 21:27:11 +0100)
> > Subject: Re: U-Boot support for board(s) AT91RM9200DK
> > References: <20101127215901.95380220235C@lilith> <E1PN7fz-0002QA-6P@amazonia.comcast.net> <4CF3E933.8070901@aribaud.net> <E1PN8NO-0002gI-9Z@amazonia.comcast.net> <4D32AE6E.1070900@aribaud.net> <E1Peqrc-0001iz-Fb@amazonia.comcast.net> <4D34627A.7080006@aribaud.net> <E1PesXV-0005Eg-9d@amazonia.comcast.net> <4D348052.4020401@aribaud.net> <4D34A61F.1030907@emk-elektronik.de>
> > 
> > Hi All,
> > 
> >   Here is what I've done so far:
> > 
> > git clone git://git.denx.de/u-boot-atmel.git
> > cd u-boot-atmel
> > git checkout -b rework101229
> > 
> >  - used CodeSourcery/Sourcery_G++_Lite:
> > 
> > /u-boot-atmel> /opt/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc --version
> > arm-none-linux-gnueabi-gcc (Sourcery G++ Lite 2010q1-202) 4.4.1
> > 
> >   Hopefully this compiler is okay, please tell me if it's not.
> 
> should work. Maybe you run into trouble cause of missing armv4 support
> in the toolchain. There are workarounds, just let u-boot build its own
> libgcc stuff -> 'USE_PRIVATE_LIBGCC'.
> 
> >  - looked at:
> > 
> > commit 0693923cd240f5d401be0a53cddcf0fb1d9ad9d3 in the current u-boot
> > 
> >  - Make a bunch of changes but still have 2 warnings (see
> >    http://www.efn.org/~rick/pub/build.log):
> > 
> > cpu.c:37: warning: #warning Your board is using legacy AT91RM9200 SoC access. Please update!
> 
> Well, please update this board to use the new arm920t/at91 SoC code, see
> at91rm9200ek for example.
> 
> > at91_emac.c:487: warning: dereferencing type-punned pointer will break strict-aliasing rules
> 
> fixed in 2321bfe425385494da8739d7d7e9dd3a5ca18a84
> 
> >   What should I do about these?
> > 
> >   I made a patch file, please check it over.
> >   http://www.efn.org/~rick/pub/uboot.diff
> 
> At least these steps are missing:
>  - configure to use arm920t/at91, not arm920t/at91rm9200 (-> boards.cfg)
>  - set correct USART in config
>  - adopt includes in board file
> 
> best regards,
> 
> Andreas Bie?mann
> 

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

end of thread, other threads:[~2011-08-03 20:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-03  5:13 [U-Boot] at91rm9200dk broken/patches? Reinhard Meyer
2011-08-03 16:10 ` Rick Bronson
2011-08-03 17:02   ` Andreas Bießmann
2011-08-03 20:37     ` Rick Bronson

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.