[U-Boot-Users] ARM product ID

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

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

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

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....)
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.

--- 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
to alignment-traps on gcc3.3.4 (
http://www.google.com/url?sa=t&ct=res&cd=1&url=http%3A%2F%2Fgcc....)
To resolve it, I modify PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -ffixed-r8 \ -mshort-load-bytes
-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&da...
U-Boot-Users mailing list U-Boot-Users@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

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
participants (6)
-
Dan Malek
-
David Hawkins
-
Frank
-
nm
-
Russell Peterson
-
Wolfgang Denk