[U-Boot] [PATCH v2] at91: change CONFIG_SYS_HZ to 1000

Detlef Vollmann dv at vollmann.ch
Fri Apr 3 17:49:01 CEST 2009


Eric BENARD wrote:
> Detlef Vollmann a écrit :
>> I probably agree.  (Well, not completely, as I'd like to get rid
>> of at91bootstrap completely and let U-Boot be the original boot
>> code, but that's future.)
>>
> check Ilko Iliev's patch for pm9263 which integrates at91bootstrap's 
> features in lowlevelinit.S when using NOR boot, it works on SAM9260 with 
> a few changes.
Thanks.  I'll have a look at it.  But it probably takes a bit more
to boot from NAND...

>> Unfortunately that clock patch doesn't solve the timer issue, and
>> makes it even worse...
>> And I agree that it's not very useful to apply my old patch against 
>> that.  The point is that I don't know against which git repository
>> I should create any new patch.
>> I'd prefer to use git://git.denx.de/u-boot.git, but I'm willing to
>> use git://git.denx.de/u-boot-at91.git, but neither of those contain
>> the clock patch yet...
>>
> With your patch on top of Jean Christophe's patch and when changing 
> CONFIG_SYS_HZ to 1000, I don't get anymore timeout during tftp.
Yes, it should, if your master clock is at 100MHz.
But as with the new clock framework the value can be completely
different (at least in theory), the patch needs to care about that.

Best Regards,
   Detlef




More information about the U-Boot mailing list