[U-Boot] [PATCH] S3C64XX: timer: replace bss variable by gd

seedshope bocui107 at gmail.com
Wed Jan 5 16:57:32 CET 2011


On 01/05/2011 03:04 PM, Minkyu Kang wrote:
> Dear seedshope,
>
> On 4 January 2011 23:56, seedshope<bocui107 at gmail.com>  wrote:
>> On 01/04/2011 10:46 PM, seedshope wrote:
>>> On 01/04/2011 04:14 PM, Minkyu Kang wrote:
>>>> Use the global data instead of bss variable, replace as follow.
>>>> timer_load_val ->   timer_rate_hz
>>>> timestamp ->   timer_reset_value
>>>> lastdec ->   lastinc
>>> I have already test the patch on s3c6410 . It is work perfect.
>> Before I am not use the patch, When I use the command "nand read",
>> The some information will generate. as following:
>> raise: Signal # 8 caught
>>
>> I also trace the timer.c, But I can't resolve it. As if after the first
>> initial timer,
>> I guess the bss will be clear.
>>
>> Now It is ok after patch this patch.
>>
>> Thanks,
>> seedshope
> Thanks for testing.
>
> Did you test with latest version?
Yes,
> Currently, SMDK6400 can't build because didn't rework for relocation.
> If you are OK, could you please fix it?
Ok, recently, I do the patch for SMD6400 and SMDK6410,
I will send request review in the weekend。

Thank,
seedshope
> I appreciate your help.
>
> Minkyu Kang



More information about the U-Boot mailing list