* [U-Boot-Users] Patches for ARM IntegratorCP, ARM926EJS, and ARM946ES
@ 2004-12-20 18:55 Shawn Jin
2004-12-20 22:15 ` [U-Boot-Users] " Shawn Jin
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Shawn Jin @ 2004-12-20 18:55 UTC (permalink / raw)
To: u-boot
Hi,
The patches were developed on an ARM IntegratorCP board with ARM946ES.
Since the majority code of ARM946ES cpu was copied from ARM926EJS and
there was bug about CFG_HZ found in ARM946ES later, I also fixed this
CFG_HZ error on ARM926EJS.
The major changes are
1. Mulitple core modules support (u-boot.multicm.patch)
Following OMAP boards' methodology, I added mulitple core module
configuration. For example, integratorcp_946es_config is for
IntegratorCP board with ARM946ES, integratorcp_config is for
IntegratorCP board with ARM926EJS by default,
integratorap_946es_config is for IntegratorAP board with ARM946ES, and
integratorap_config is for IntegratorAP with ARM926EJS. Now only two
core modules are supported, ARM946ES and ARM926EJS.
2. ARM946ES support (u-boot.arm946es.patch)
3. ARM926EJS bug fix (u-boot.arm926ejs.patch)
Fixed CFG_HZ problem. Set CFG_HZ to 1000. The solution is from AT91RM9200.
4. IntegratorCP bug fixes (u-boot.integratorcp.patch)
Added SDRAM size information and FLASH support.
Philippe, I don't have an ARM926EJS core module. Would you please test
the CFG_HZ fix on your system? Thanks.
Regards,
-Shawn.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: u-boot.patch.tar.gz
Type: application/x-gzip-compressed
Size: 27076 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20041220/280f17a3/attachment.bin
^ permalink raw reply [flat|nested] 8+ messages in thread* [U-Boot-Users] Re: Patches for ARM IntegratorCP, ARM926EJS, and ARM946ES
2004-12-20 18:55 [U-Boot-Users] Patches for ARM IntegratorCP, ARM926EJS, and ARM946ES Shawn Jin
@ 2004-12-20 22:15 ` Shawn Jin
2005-01-20 18:36 ` [U-Boot-Users] Re: [PATCH] Revisted patches " Shawn Jin
2005-05-30 13:52 ` [U-Boot-Users] Patches " Wolfgang Denk
2 siblings, 0 replies; 8+ messages in thread
From: Shawn Jin @ 2004-12-20 22:15 UTC (permalink / raw)
To: u-boot
Wolfgang,
Forgot to mention that the patches are againt the latest CVS code I
checked out this morning.
Regards,
-Shawn.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] Re: [PATCH] Revisted patches for ARM IntegratorCP, ARM926EJS, and ARM946ES
2004-12-20 18:55 [U-Boot-Users] Patches for ARM IntegratorCP, ARM926EJS, and ARM946ES Shawn Jin
2004-12-20 22:15 ` [U-Boot-Users] " Shawn Jin
@ 2005-01-20 18:36 ` Shawn Jin
2005-05-30 13:52 ` [U-Boot-Users] Patches " Wolfgang Denk
2 siblings, 0 replies; 8+ messages in thread
From: Shawn Jin @ 2005-01-20 18:36 UTC (permalink / raw)
To: u-boot
Wolfgang, Philippe, Peter and others,
I made some mistakes when dividing the whole patch into several
logical sets of individual patches. The u-boot.arm926ejs.patch was
totally wrong. I apologize here for my carelessness.
The patches attached today is againt the latest CVS (1.1.3) and I've
tested to make sure there are no more such errors. Wolfgang, please be
aware of the errors in the previous patches submitted a month ago
(Dec. 20, 2004) and delete it from your backlog if possible.
Philippe and Peter, sorry for the trouble it might cause and waste
your time. If having time, you can validate the patches on your
platform, especially the patch for ARM926EJS.
Peter, thanks for the patch for the wrong configured timer value. I
cannot understand why I set it to 0x8C instead of 0x8A at that moment.
However please be aware that that patch was kinda obsolete. The better
way to fix CFG_HZ issue (thus timer issue) is implemented in the
patches attached today, which set CFG_HZ to 1000.
Best regards,
-Shawn.
On Mon, 20 Dec 2004 10:55:06 -0800, Shawn Jin <shawnxjin@gmail.com> wrote:
> Hi,
>
> The patches were developed on an ARM IntegratorCP board with ARM946ES.
> Since the majority code of ARM946ES cpu was copied from ARM926EJS and
> there was bug about CFG_HZ found in ARM946ES later, I also fixed this
> CFG_HZ error on ARM926EJS.
>
> The major changes are
> 1. Mulitple core modules support (u-boot.multicm.patch)
> Following OMAP boards' methodology, I added mulitple core module
> configuration. For example, integratorcp_946es_config is for
> IntegratorCP board with ARM946ES, integratorcp_config is for
> IntegratorCP board with ARM926EJS by default,
> integratorap_946es_config is for IntegratorAP board with ARM946ES, and
> integratorap_config is for IntegratorAP with ARM926EJS. Now only two
> core modules are supported, ARM946ES and ARM926EJS.
>
> 2. ARM946ES support (u-boot.arm946es.patch)
>
> 3. ARM926EJS bug fix (u-boot.arm926ejs.patch)
> Fixed CFG_HZ problem. Set CFG_HZ to 1000. The solution is from AT91RM9200.
>
> 4. IntegratorCP bug fixes (u-boot.integratorcp.patch)
> Added SDRAM size information and FLASH support.
>
> Philippe, I don't have an ARM926EJS core module. Would you please test
> the CFG_HZ fix on your system? Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: u-boot.patch.tar.gz
Type: application/x-gzip-compressed
Size: 11808 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20050120/76ec61c8/attachment.bin
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] Patches for ARM IntegratorCP, ARM926EJS, and ARM946ES
2004-12-20 18:55 [U-Boot-Users] Patches for ARM IntegratorCP, ARM926EJS, and ARM946ES Shawn Jin
2004-12-20 22:15 ` [U-Boot-Users] " Shawn Jin
2005-01-20 18:36 ` [U-Boot-Users] Re: [PATCH] Revisted patches " Shawn Jin
@ 2005-05-30 13:52 ` Wolfgang Denk
2005-05-30 23:47 ` Shawn Jin
2 siblings, 1 reply; 8+ messages in thread
From: Wolfgang Denk @ 2005-05-30 13:52 UTC (permalink / raw)
To: u-boot
Dear Shawn,
in message <c3d0340b0412201055558518ea@mail.gmail.com> you wrote:
>
> The patches were developed on an ARM IntegratorCP board with ARM946ES.
> Since the majority code of ARM946ES cpu was copied from ARM926EJS and
> there was bug about CFG_HZ found in ARM946ES later, I also fixed this
> CFG_HZ error on ARM926EJS.
>
> The major changes are
> 1. Mulitple core modules support (u-boot.multicm.patch)
> Following OMAP boards' methodology, I added mulitple core module
> configuration. For example, integratorcp_946es_config is for
> IntegratorCP board with ARM946ES, integratorcp_config is for
> IntegratorCP board with ARM926EJS by default,
> integratorap_946es_config is for IntegratorAP board with ARM946ES, and
> integratorap_config is for IntegratorAP with ARM926EJS. Now only two
> core modules are supported, ARM946ES and ARM926EJS.
>
> 2. ARM946ES support (u-boot.arm946es.patch)
>
> 3. ARM926EJS bug fix (u-boot.arm926ejs.patch)
> Fixed CFG_HZ problem. Set CFG_HZ to 1000. The solution is from AT91RM9200.
>
> 4. IntegratorCP bug fixes (u-boot.integratorcp.patch)
> Added SDRAM size information and FLASH support.
There is a problem with your patch. "u-boot.arm926ejs.patch" is not a
patch but a tarball containing the other patches a second time.
Please resubmit:
-> file u-boot.arm926ejs.patch
u-boot.arm926ejs.patch: GNU tar archive
-> tar tvf u-boot.arm926ejs.patch
-rw-r--r-- xjin/redswitch 25849 2004-12-20 19:31:01 u-boot.arm946es.patch
-rw-r--r-- xjin/redswitch 13015 2004-12-20 19:30:58 u-boot.integratorcp.patch
-rw-r--r-- xjin/redswitch 8651 2004-12-20 19:31:09 u-boot.multicm.patch
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
"No one talks peace unless he's ready to back it up with war."
"He talks of peace if it is the only way to live."
-- Colonel Green and Surak of Vulcan, "The Savage Curtain",
stardate 5906.5.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] Patches for ARM IntegratorCP, ARM926EJS, and ARM946ES
2005-05-30 13:52 ` [U-Boot-Users] Patches " Wolfgang Denk
@ 2005-05-30 23:47 ` Shawn Jin
2005-05-31 8:18 ` [U-Boot-Users] u-boot OSX 10.4.x support richard at uclinux.net
0 siblings, 1 reply; 8+ messages in thread
From: Shawn Jin @ 2005-05-30 23:47 UTC (permalink / raw)
To: u-boot
Dear Wolfgang,
Sorry for the trouble.
On 5/30/05, Wolfgang Denk <wd@denx.de> wrote:
> There is a problem with your patch. "u-boot.arm926ejs.patch" is not a
> patch but a tarball containing the other patches a second time.
> Please resubmit:
>
> -> file u-boot.arm926ejs.patch
> u-boot.arm926ejs.patch: GNU tar archive
> -> tar tvf u-boot.arm926ejs.patch
> -rw-r--r-- xjin/redswitch 25849 2004-12-20 19:31:01 u-boot.arm946es.patch
> -rw-r--r-- xjin/redswitch 13015 2004-12-20 19:30:58 u-boot.integratorcp.patch
> -rw-r--r-- xjin/redswitch 8651 2004-12-20 19:31:09 u-boot.multicm.patch
Please find the correct one I submitted on Jan 20 2005 with the
subject of "[PATCH] Revisted patches for ARM IntegratorCP, ARM926EJS,
and ARM946ES".
You must have a long list of unmerged patches. Please be aware that
Peter Pearse of ARM submitted a related patch on Feb 2 2005 with the
subject of "[Patch]IntegratorAP & CP multi core module support", which
is based on Jean-Paul Saman and my works. This can supercede my patch.
Regards,
-Shawn.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] u-boot OSX 10.4.x support
2005-05-30 23:47 ` Shawn Jin
@ 2005-05-31 8:18 ` richard at uclinux.net
2005-08-12 21:01 ` Wolfgang Denk
0 siblings, 1 reply; 8+ messages in thread
From: richard at uclinux.net @ 2005-05-31 8:18 UTC (permalink / raw)
To: u-boot
Good morning (o;
Maybe the few OSX users can test this small patch to compile mkimage
on OSX 10.4.x? There is no "fdatasync" in OSX Tiger:
Patch:
diff -purN u-boot.orig/tools/mkimage.c u-boot/tools/mkimage.c
--- u-boot.orig/tools/mkimage.c 2005-05-31 11:09:02.000000000 +0300
+++ u-boot/tools/mkimage.c 2005-05-31 11:09:58.000000000 +0300
@@ -440,7 +440,7 @@ NXTARG: ;
}
/* We're a bit of paranoid */
-#if defined(_POSIX_SYNCHRONIZED_IO) && !defined(__sun__) && !defined(__FreeBSD__)
+#if defined(_POSIX_SYNCHRONIZED_IO) && !defined(__sun__) && !defined(__FreeBSD__) &&
!defined(__APPLE__)
(void) fdatasync (ifd);
#else
(void) fsync (ifd);
@@ -490,7 +490,7 @@ NXTARG: ;
(void) munmap((void *)ptr, sbuf.st_size);
/* We're a bit of paranoid */
-#if defined(_POSIX_SYNCHRONIZED_IO) && !defined(__sun__) && !defined(__FreeBSD__)
+#if defined(_POSIX_SYNCHRONIZED_IO) && !defined(__sun__) && !defined(__FreeBSD__) &&
!defined(__APPLE__)
(void) fdatasync (ifd);
#else
(void) fsync (ifd);
Changelog:
* Patch by Richard Klingler, 31 May 2005:
To compile mkimage on OSX 10.4.x.
best regards
rick
^ permalink raw reply [flat|nested] 8+ messages in thread* [U-Boot-Users] u-boot OSX 10.4.x support
2005-05-31 8:18 ` [U-Boot-Users] u-boot OSX 10.4.x support richard at uclinux.net
@ 2005-08-12 21:01 ` Wolfgang Denk
0 siblings, 0 replies; 8+ messages in thread
From: Wolfgang Denk @ 2005-08-12 21:01 UTC (permalink / raw)
To: u-boot
In message <r02010500-1041-9E857FF0D1AC11D9ABAD00039387ACB6@[10.0.1.1]> you wrote:
>
> Maybe the few OSX users can test this small patch to compile mkimage
> on OSX 10.4.x? There is no "fdatasync" in OSX Tiger:
>
>
> Patch:
>
> diff -purN u-boot.orig/tools/mkimage.c u-boot/tools/mkimage.c
> --- u-boot.orig/tools/mkimage.c 2005-05-31 11:09:02.000000000 +0300
> +++ u-boot/tools/mkimage.c 2005-05-31 11:09:58.000000000 +0300
> @@ -440,7 +440,7 @@ NXTARG: ;
> }
> =20
> /* We're a bit of paranoid */
> -#if defined(_POSIX_SYNCHRONIZED_IO) && !defined(__sun__) && !defined(__Fre=
> eBSD__)
> +#if defined(_POSIX_SYNCHRONIZED_IO) && !defined(__sun__) && !defined(__Fre=
> eBSD__) &&
> !defined(__APPLE__)
> (void) fdatasync (ifd);
> #else
> (void) fsync (ifd);
> @@ -490,7 +490,7 @@ NXTARG: ;
> (void) munmap((void *)ptr, sbuf.st_size);
> =20
> /* We're a bit of paranoid */
> -#if defined(_POSIX_SYNCHRONIZED_IO) && !defined(__sun__) && !defined(__Fre=
> eBSD__)
> +#if defined(_POSIX_SYNCHRONIZED_IO) && !defined(__sun__) && !defined(__Fre=
> eBSD__) &&
> !defined(__APPLE__)
> (void) fdatasync (ifd);
> #else
> (void) fsync (ifd);
>
>
> Changelog:
>
> * Patch by Richard Klingler, 31 May 2005:
> To compile mkimage on OSX 10.4.x.
I never received any test reports about this one.
Any comments?
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
The high cost of living hasn't affected its popularity.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] RE: Patches for ARM IntegratorCP, ARM926EJS, and ARM946ES
@ 2005-01-10 14:47 Philippe Robin
0 siblings, 0 replies; 8+ messages in thread
From: Philippe Robin @ 2005-01-10 14:47 UTC (permalink / raw)
To: u-boot
Hi Shawn,
Thanks for your contribution. We will validate this for the ARM926 and
confirm back to you and the list so that this can get integrated.
Best regards,
Philippe
> -----Original Message-----
> From: Shawn Jin [mailto:shawnxjin at gmail.com]
> Sent: 20 December 2004 18:55
> To: uboot; Philippe Robin
> Subject: Patches for ARM IntegratorCP, ARM926EJS, and ARM946ES
>
> Hi,
>
> The patches were developed on an ARM IntegratorCP board with ARM946ES.
> Since the majority code of ARM946ES cpu was copied from ARM926EJS and
> there was bug about CFG_HZ found in ARM946ES later, I also fixed this
> CFG_HZ error on ARM926EJS.
>
> The major changes are
> 1. Mulitple core modules support (u-boot.multicm.patch) Following OMAP
> boards' methodology, I added mulitple core module configuration.
> For example, integratorcp_946es_config is for IntegratorCP board with
> ARM946ES, integratorcp_config is for IntegratorCP board with ARM926EJS
> by default, integratorap_946es_config is for IntegratorAP board with
> ARM946ES, and integratorap_config is for IntegratorAP with ARM926EJS.
> Now only two core modules are supported, ARM946ES and
> ARM926EJS.
>
> 2. ARM946ES support (u-boot.arm946es.patch)
>
> 3. ARM926EJS bug fix (u-boot.arm926ejs.patch) Fixed CFG_HZ problem.
> Set CFG_HZ to 1000. The solution is from AT91RM9200.
>
> 4. IntegratorCP bug fixes (u-boot.integratorcp.patch) Added SDRAM size
> information and FLASH support.
>
> Philippe, I don't have an ARM926EJS core module. Would you please test
> the CFG_HZ fix on your system? Thanks.
>
> Regards,
> -Shawn.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-08-12 21:01 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-20 18:55 [U-Boot-Users] Patches for ARM IntegratorCP, ARM926EJS, and ARM946ES Shawn Jin
2004-12-20 22:15 ` [U-Boot-Users] " Shawn Jin
2005-01-20 18:36 ` [U-Boot-Users] Re: [PATCH] Revisted patches " Shawn Jin
2005-05-30 13:52 ` [U-Boot-Users] Patches " Wolfgang Denk
2005-05-30 23:47 ` Shawn Jin
2005-05-31 8:18 ` [U-Boot-Users] u-boot OSX 10.4.x support richard at uclinux.net
2005-08-12 21:01 ` Wolfgang Denk
-- strict thread matches above, loose matches on Subject: below --
2005-01-10 14:47 [U-Boot-Users] RE: Patches for ARM IntegratorCP, ARM926EJS, and ARM946ES Philippe Robin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox