public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] ARM product ID
@ 2006-08-02 15:42 Russell Peterson
  2006-08-02 16:00 ` David Hawkins
  2006-08-07 18:53 ` Dan Malek
  0 siblings, 2 replies; 6+ messages in thread
From: Russell Peterson @ 2006-08-02 15:42 UTC (permalink / raw)
  To: u-boot

Hello,

This is probably slightly off topic so flame on if you wish.

I'm looking to get u-boot working on a IXP2350.  Does anyone know where the
CP15 ID register is broken down so I can cleanly ID the chip?  I can
certainly hack it at this point to determine between a 425 and a 2350 but I
was hoping to actually do it by knowing the facts instead of guessing what
the breakdown of the "primary part number" is... Intel specs refer me to the
ASSP for the XSCALE... which I can't seem to google up.  I can find many
references to the 425 but none for the 2350.  At least the fields in the ID
register seem to be defined the same between the two...

I'm mostly a PPC guy... anyone have some advice?

Regards,

Russell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20060802/3254609d/attachment.htm 

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

* [U-Boot-Users] ARM product ID
  2006-08-02 15:42 [U-Boot-Users] ARM product ID Russell Peterson
@ 2006-08-02 16:00 ` David Hawkins
  2006-08-07 18:53 ` Dan Malek
  1 sibling, 0 replies; 6+ messages in thread
From: David Hawkins @ 2006-08-02 16:00 UTC (permalink / raw)
  To: u-boot

Russell Peterson wrote:
> Hello,
>  
> This is probably slightly off topic so flame on if you wish.
>  
> I'm looking to get u-boot working on a IXP2350.  Does anyone know where 
> the CP15 ID register is broken down so I can cleanly ID the chip?  

I believe its broken down in the ARM-ARM (book by Seal).

The book was available in PDF at one point ... take a
look on Altera's web site and look for Excalibur
(their old ARM-core-in-FPGA), there used to be a copy
there. If you can't locate it, ask and I'll find a
copy of the PDF.

Of course, that will tell you the field names, but not
Intel's designations within those fields, so perhaps this
is not what you want.

Cheers
Dave

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

* [U-Boot-Users] ARM product ID
  2006-08-02 15:42 [U-Boot-Users] ARM product ID Russell Peterson
  2006-08-02 16:00 ` David Hawkins
@ 2006-08-07 18:53 ` Dan Malek
  2006-08-09  2:04   ` [U-Boot-Users] u-boot 1.1.2 hanging when start ? nm
  1 sibling, 1 reply; 6+ messages in thread
From: Dan Malek @ 2006-08-07 18:53 UTC (permalink / raw)
  To: u-boot


On Aug 2, 2006, at 11:42 AM, Russell Peterson wrote:

> I'm looking to get u-boot working on a IXP2350.  Does anyone know  
> where the CP15 ID register is broken down so I can cleanly ID the  
> chip?

Do we care?  The 2350 is quite different from the 4xx such
that I believe we should build specifically for that part.  We
know when U-Boot is configured what the processor is, so
just use that knowledge at build time and make the code
as compact as possible.  I think there is little we could use
from the existing cpu/ixp directory.  I think this should be
renamed cpu/ixp425, and we should probably add at
least cpu/ixp2xxx (or maybe even ixp23xx and ixp28xx,
someday).

Thanks.

	-- Dan

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

* [U-Boot-Users] u-boot 1.1.2 hanging when start ?
  2006-08-07 18:53 ` Dan Malek
@ 2006-08-09  2:04   ` nm
  2006-08-09  2:45     ` Frank
  2006-08-09  7:08     ` Wolfgang Denk
  0 siblings, 2 replies; 6+ messages in thread
From: nm @ 2006-08-09  2:04 UTC (permalink / raw)
  To: u-boot

Hi,
I'm operating on an at91rm9200-based board. My AT91RM9200 board base on Flavio Ribeiro's sbc.
After  I sucessfully write and run loader to/from dataflash, I try to make u-boot work .
I apply  DataFlash boot patch (http://www.ime.usp.br/~fr/sbc/software/cmd_bootm.patch) for u-boot 1.1.2 and using 
gcc3.3.4-cross tool chain (install following this instructions on debian : http://people.debian.org/~debacle/cross/) to build.

I have problem w/ renaming short-load-bytes <http://www.google.com/url?sa=t&ct=res&cd=1&url=http%3A%2F%2Fgcc.gnu.org%2Fml%2Fgcc-patches%2F1999-11%2Fmsg00649.html&ei=8z7ZROb-Mp_isAKOnujfCQ&sig2=o6autVRiFtph0PLakcM8oQ> to alignment-traps  on gcc3.3.4 (
http://www.google.com/url?sa=t&ct=res&cd=1&url=http%3A%2F%2Fgcc.gnu.org%2Fml%2Fgcc-patches%2F1999-11%2Fmsg00649.html&ei=8z7ZROb-Mp_isAKOnujfCQ&sig2=o6autVRiFtph0PLakcM8oQ)

To resolve it, I modify PLATFORM_RELFLAGS += -fno-strict-aliasing  -fno-common -ffixed-r8 \
	-mshort-load-bytes  <http://www.google.com/url?sa=t&ct=res&cd=1&url=http%3A%2F%2Fgcc.gnu.org%2Fml%2Fgcc-patches%2F1999-11%2Fmsg00649.html&ei=8z7ZROb-Mp_isAKOnujfCQ&sig2=o6autVRiFtph0PLakcM8oQ> -msoft-float  
to  
PLATFORM_RELFLAGS += -fno-strict-aliasing  -fno-common -ffixed-r8 \
	-malignment-traps -msoft-float  to 
on u-boot-1.1.2/cpu/at91rm9200/config.mk  

After that, I get uboot.bin

But when i try to write uboot.bin to flash and start,
i have error on terminal :
Dataflash read successful: Starting U-boot...

and nothing happend, may be my board is hang...

Where am I wrong? Some one have any suggested for me ?

Thank you for your help in advance,

nm.

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

* [U-Boot-Users] u-boot 1.1.2 hanging when start ?
  2006-08-09  2:04   ` [U-Boot-Users] u-boot 1.1.2 hanging when start ? nm
@ 2006-08-09  2:45     ` Frank
  2006-08-09  7:08     ` Wolfgang Denk
  1 sibling, 0 replies; 6+ messages in thread
From: Frank @ 2006-08-09  2:45 UTC (permalink / raw)
  To: u-boot



--- nm <hongtd2k@gmail.com> wrote:

> Hi,
> I'm operating on an at91rm9200-based board. My AT91RM9200
> board base on Flavio Ribeiro's sbc.
> After  I sucessfully write and run loader to/from dataflash, I
> try to make u-boot work .
> I apply  DataFlash boot patch
> (http://www.ime.usp.br/~fr/sbc/software/cmd_bootm.patch) for
> u-boot 1.1.2 and using 
> gcc3.3.4-cross tool chain (install following this instructions
> on debian : http://people.debian.org/~debacle/cross/) to
> build.
> 
> I have problem w/ renaming short-load-bytes
>
<http://www.google.com/url?sa=t&ct=res&cd=1&url=http%3A%2F%2Fgcc.gnu.org%2Fml%2Fgcc-patches%2F1999-11%2Fmsg00649.html&ei=8z7ZROb-Mp_isAKOnujfCQ&sig2=o6autVRiFtph0PLakcM8oQ>
> to alignment-traps  on gcc3.3.4 (
>
http://www.google.com/url?sa=t&ct=res&cd=1&url=http%3A%2F%2Fgcc.gnu.org%2Fml%2Fgcc-patches%2F1999-11%2Fmsg00649.html&ei=8z7ZROb-Mp_isAKOnujfCQ&sig2=o6autVRiFtph0PLakcM8oQ)
> 
> To resolve it, I modify PLATFORM_RELFLAGS +=
> -fno-strict-aliasing  -fno-common -ffixed-r8 \
> 	-mshort-load-bytes 
>
<http://www.google.com/url?sa=t&ct=res&cd=1&url=http%3A%2F%2Fgcc.gnu.org%2Fml%2Fgcc-patches%2F1999-11%2Fmsg00649.html&ei=8z7ZROb-Mp_isAKOnujfCQ&sig2=o6autVRiFtph0PLakcM8oQ>
> -msoft-float  
> to  
> PLATFORM_RELFLAGS += -fno-strict-aliasing  -fno-common
> -ffixed-r8 \
> 	-malignment-traps -msoft-float  to 
> on u-boot-1.1.2/cpu/at91rm9200/config.mk  
> 
> After that, I get uboot.bin
> 
> But when i try to write uboot.bin to flash and start,
> i have error on terminal :
> Dataflash read successful: Starting U-boot...
> 
> and nothing happend, may be my board is hang...
> 
> Where am I wrong? Some one have any suggested for me ?
> 
> Thank you for your help in advance,
> 
> nm.
> 
> 
You two choices:
Buy a debugger, light some led's or wiggle pin with a different
number of pules to help you figure out where  you're hanging.
The console is enabled very early in the booting process and if
you don't see anything (assuming the code is correct for UART),
you are hanging very soon after the reset vector...

>
-------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web
> services, security?
> Get stuff done quickly with pre-integrated technology to make
> your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on
> Apache Geronimo
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

* [U-Boot-Users] u-boot 1.1.2 hanging when start ?
  2006-08-09  2:04   ` [U-Boot-Users] u-boot 1.1.2 hanging when start ? nm
  2006-08-09  2:45     ` Frank
@ 2006-08-09  7:08     ` Wolfgang Denk
  1 sibling, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2006-08-09  7:08 UTC (permalink / raw)
  To: u-boot

In message <44D94292.8030503@gmail.com> you wrote:

> After  I sucessfully write and run loader to/from dataflash, I try to make u-boot work .
> I apply  DataFlash boot patch (http://www.ime.usp.br/~fr/sbc/software/cmd_bootm.patch) for u-boot 1.1.2 and using 
> gcc3.3.4-cross tool chain (install following this instructions on debian : http://people.debian.org/~debacle/cross/) to build.

You are using obsolete code (U-Boot 1.1.2 is obsolete) and very old tools.

> Where am I wrong? Some one have any suggested for me ?

I think you shoulduse current code first.. Please update to  use  the
top of tree version from git repository.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Looks clean and obviously correct to me, but then _everything_ I
write always looks obviously correct to me.  - Linus Torvalds in
<Pine.LNX.4.10.10012090054360.791-100000@penguin.transmeta.com>

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

end of thread, other threads:[~2006-08-09  7:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-02 15:42 [U-Boot-Users] ARM product ID Russell Peterson
2006-08-02 16:00 ` David Hawkins
2006-08-07 18:53 ` Dan Malek
2006-08-09  2:04   ` [U-Boot-Users] u-boot 1.1.2 hanging when start ? nm
2006-08-09  2:45     ` Frank
2006-08-09  7:08     ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox