Ok - 2.6.28.4 running here.
Patch looks good.
Its running pybench.py right now.
-Brett
Breton M. Saunders wrote:
> Good work guys!
>
> Please to see it fixed in < 1 day!
>
> When I did the discontig patch I had > 1000 lines of printascii in the
> kernel. I had painful flashbacks reading these exchanges today.
>
> I'll try it out later on provided I get time this evening.
>
> -Brett
>
> Christian Gagneraud wrote:
>
>> Hi all,
>>
>> Here is a fix to be able to boot a ts7260 with 64MB of SDRAM using the
>> kernel 2.6.28.3-m.
>> If people could test it, as i'm not sure this is the definitive answer
>> to the problem.
>>
>> In short, it was as simple as a clash between C macros and inline
>> function! (+ potentially the 0xC0000000 thingie pointed to by Charlie).
>>
>> If you have a look at arch/arm/include/asm/memory.h, you will see this:
>> #ifndef __virt_to_phys
>> #define __virt_to_phys(x) ((x) - PAGE_OFFSET + PHYS_OFFSET)
>> #define __phys_to_virt(x) ((x) - PHYS_OFFSET + PAGE_OFFSET)
>> #endif
>>
>> I realized that once __phys_to_virt() modified to try Charlie's
>> remark, i still get 0xe0000000 translated to 0xa0000000, which was
>> impossible unless i was not using my modified version.
>>
>> I did not run extensive tests, but at least my kernel boot and shows:
>> Memory: 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB = 64MB total
>>
>>
>> Regards,
>> Christian
>>
>>
>> ------------------------------------
>>
>> Yahoo! Groups Links
>>
>>
>>
>>
>>
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|