public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Patch fixes bug for clearing the bss section
@ 2007-04-30 10:27 mushtaq khan
  2007-05-15 21:40 ` Wolfgang Denk
  0 siblings, 1 reply; 5+ messages in thread
From: mushtaq khan @ 2007-04-30 10:27 UTC (permalink / raw)
  To: u-boot

Hi,
There is a bug in the code of clearing the bss section for processor 
i386.(File: cpu/i386/start.S)
In the code, bss_start addr (starting addr of bss section) is put into 
the register %eax, but the code which clears the bss section refers to 
the addr pointed by %edi.

This patch fixes this bug by putting bss_start into %edi register.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bss_clear.patch
Url: http://lists.denx.de/pipermail/u-boot/attachments/20070430/77637fd9/attachment.txt 

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

* [U-Boot-Users] Patch fixes bug for clearing the bss section
  2007-04-30 10:27 [U-Boot-Users] Patch fixes bug for clearing the bss section mushtaq khan
@ 2007-05-15 21:40 ` Wolfgang Denk
  2007-06-01 13:01   ` mushtaq khan
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2007-05-15 21:40 UTC (permalink / raw)
  To: u-boot

In message <4635C48A.5050703@procsys.com> you wrote:
> 
> Hi,
> There is a bug in the code of clearing the bss section for processor 
> i386.(File: cpu/i386/start.S)
> In the code, bss_start addr (starting addr of bss section) is put into 
> the register %eax, but the code which clears the bss section refers to 
> the addr pointed by %edi.
> 
> This patch fixes this bug by putting bss_start into %edi register.

Applied to u-boot-testing.

Thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It would seem that evil retreats when forcibly confronted
	-- Yarnek of Excalbia, "The Savage Curtain", stardate 5906.5

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

* [U-Boot-Users] Patch fixes bug for clearing the bss section
  2007-05-15 21:40 ` Wolfgang Denk
@ 2007-06-01 13:01   ` mushtaq khan
  2007-06-01 15:16     ` Wolfgang Denk
  0 siblings, 1 reply; 5+ messages in thread
From: mushtaq khan @ 2007-06-01 13:01 UTC (permalink / raw)
  To: u-boot


Hi Wolfgang Denk,
   
    Any  issues with my Patches, SATA and clearing of bss section. 
Please update me.

Thanks,
-Mushtaq



Wolfgang Denk wrote:

>In message <4635C48A.5050703@procsys.com> you wrote:
>  
>
>>Hi,
>>There is a bug in the code of clearing the bss section for processor 
>>i386.(File: cpu/i386/start.S)
>>In the code, bss_start addr (starting addr of bss section) is put into 
>>the register %eax, but the code which clears the bss section refers to 
>>the addr pointed by %edi.
>>
>>This patch fixes this bug by putting bss_start into %edi register.
>>    
>>
>
>Applied to u-boot-testing.
>
>Thanks.
>
>Best regards,
>
>Wolfgang Denk
>
>  
>

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

* [U-Boot-Users] Patch fixes bug for clearing the bss section
  2007-06-01 13:01   ` mushtaq khan
@ 2007-06-01 15:16     ` Wolfgang Denk
  2007-06-05  9:31       ` mushtaq khan
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2007-06-01 15:16 UTC (permalink / raw)
  To: u-boot

In message <4660188C.9070907@procsys.com> you wrote:
> 
>     Any  issues with my Patches, SATA and clearing of bss section. 
> Please update me.

I wrote:

> >Applied to u-boot-testing.

Did you test the code in the u-boot-testing  repository?  I  did  not
receive any feedback from you (nor any form others).

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
You see but you do not observe.
Sir Arthur Conan Doyle, in "The Memoirs of Sherlock Holmes"

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

* [U-Boot-Users] Patch fixes bug for clearing the bss section
  2007-06-01 15:16     ` Wolfgang Denk
@ 2007-06-05  9:31       ` mushtaq khan
  0 siblings, 0 replies; 5+ messages in thread
From: mushtaq khan @ 2007-06-05  9:31 UTC (permalink / raw)
  To: u-boot


Hi  Wolfgang Denk,
 
I tested my patches in u-boot-testing
1. Clearing of bss section patch  and
2. Sata patch.

Clearing of  bss section patch has no issues.
But with sata patch, got compilation warning:  fuinction proto-type 
mismatch between block_read and sata_read.

This is becuase i had been working on u-boot downloaded on feb-15th. And 
on Apr-13th, patch  "Fix use of "void *" for block dev read/write buffer 
pointers" has been applied, which has changed the proto-type of 
block_read function.

I will bring these changes to my patch. And after testing , i will 
re-submit the patch.

Thanks,
-Mushtaq Khan.









Wolfgang Denk wrote:

>In message <4660188C.9070907@procsys.com> you wrote:
>  
>
>>    Any  issues with my Patches, SATA and clearing of bss section. 
>>Please update me.
>>    
>>
>
>I wrote:
>
>  
>
>>>Applied to u-boot-testing.
>>>      
>>>
>
>Did you test the code in the u-boot-testing  repository?  I  did  not
>receive any feedback from you (nor any form others).
>
>Best regards,
>
>Wolfgang Denk
>
>  
>

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

end of thread, other threads:[~2007-06-05  9:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-30 10:27 [U-Boot-Users] Patch fixes bug for clearing the bss section mushtaq khan
2007-05-15 21:40 ` Wolfgang Denk
2007-06-01 13:01   ` mushtaq khan
2007-06-01 15:16     ` Wolfgang Denk
2007-06-05  9:31       ` mushtaq khan

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