Skip to contentSkip to conversation

bug in cpu/ppc4xx/start.S

U-Boot-Users Bruce Adler 3 participants 3 messages May 20, 2007 – May 21, 2007

lore
Share & tools
lore
#0 lore raw

hi,

what's the preferred method for reporting u-boot bugs? enter them into the bug database on sourceforge.net, or post them to the mailing list, or email the designated custodian?

the reason I ask is that I just discovered a bug in the OCM initialization code for the PPC405EZ

at line 786, the mtdcr instruction specifies the wrong register, it should say "r4" not "r3"

this:

         addis   r3,0,0x0800             /* OCM Data Parity Disable - 1 Wait State */
         mtdcr   ocmdsisdpc,r4

should be changed to this:

         addis   r3,0,0x0800             /* OCM Data Parity Disable - 1 Wait State */
         mtdcr   ocmdsisdpc,r3

bruce

#1 lore raw

Hi Bruce,

Quoted 8 lines · Bruce Adler

hi,

what's the preferred method for reporting u-boot bugs? enter them into the bug database on sourceforge.net, or post them to the mailing list, or email the designated custodian?

the reason I ask is that I just discovered a bug in the OCM initialization code for the PPC405EZ

AFAIK, the bug database on sourceforge isn't used. If you know how to fix something, send a properly-formatted patch to this list, probably CC'ing the custodian to get his/her attention.

regards,
Ben

#2 lore raw
Quoted 10 lines · Ben Warren
Quoted 6 lines

what's the preferred method for reporting u-boot bugs? enter them into the bug database on sourceforge.net, or post them to the mailing list, or email the designated custodian?

the reason I ask is that I just discovered a bug in the OCM initialization code for the PPC405EZ

AFAIK, the bug database on sourceforge isn't used. If you know how to fix something, send a properly-formatted patch to this list, probably CC'ing the custodian to get his/her attention.

Yes, please send a patch to the list (and CC to me). In this case not necessary anymore, since I already intergrated your fix into a update that will be pushed soon to the official repository.

Thanks for spotting.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================