|
CT60 and related things BBS
Linux CT60 |
Posted by: Didier Méquignon
|
Apr,11.2004-11:37
|
Hi,
The kernel 2.4.25 works on the CT60 but without SDRAM.
http://packages.debian.org/unstable/base/kernel-image-2.4.25-atari
I have tried to (re)compile the kernel...
The kernel 2.4.25 works on the CT60 with the SDRAM, but you need to change the line 266 inside the end of /arch/m68k/motorola.c, paging_init() during the test of
zones_sizes[0] = (mach_max_dma_address < (unsigned long)high_memory : mach_max_dma_address ? (unsigned long)high_memory);
by
zones_sizes[0] = (mach_max_dma_address < (unsigned long)high_memory : (mach_max_dma_address+1) ? (unsigned long)high_memory);
The linux documentation said zone(0) DMA = 16 MB, zone(1) NORMAL.
The kernel seems add the 1st 2 MB of SDRAM after the STRAM (14MB).
Before the modif I had 4095 pages for the zone(0) with a debug=par and this message:
BUG: wrong zone alignment , it will crash
Whithout this modif the kernel works only with the SDRAM (-t inside ataboot).
Now I have Zone(0): 4096 pages. Zone(1): 65024 pages.
I have also patched ataboot for get good value of STRAM and SDRAM.
You must load the kernel inside the STRAM with -s option inside ataboot.
Regards,
Didier.
|
[All messages in this thread] [Start new thread]
Topic
|
Posted by
|
Date
|
Linux CT60
|
Didier Méquignon
|
Apr,11.2004-11:37
|
What's the anti-troll code? That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
|