[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Atari TT



On Wed, Jan 4, 2012 at 22:38, Alan Hourihane <alanh@fairlite.co.uk> wrote:
> On 01/04/12 20:53, Petr Stehlik wrote:
>> Alan Hourihane píše v Wed 04. 01. 2012 v 20:43 +0000:
>>>>>> The TT has 4MB STRAM and 128MB TT RAM.
>>>>> The kernel, framebuffer, several I/O buffers, and probably
>>>>> the ramdisc and what’s left from TOS/GEM before Linux takes
>>>>> over all has to fit into it.
>>>>>
>>>>> I can verify that Linux 2.6.39 and 3.0 do NOT boot with only
>>>>> 4 MiB of ST-RAM.
>>>>>
>>>> Ouch. Is it not possible to load all of this into TT RAM ?
>> It should be but there can be issues with that.
>>
>>> O.k. there's the -s flag which tells the kernel to load into ST-RAM, so
>>> I'm assuming omitting that loads the kernel into TT-RAM.
>> Nope. There's another flag '-t' that tells the bootstrap to load kernel
>> and/or ramdisk to the TT-RAM. If you omit both these parameters then
>> there's some auto-detection going on, IIRC. Not sure what are the
>> defaults so simply go ahead with the -t. It's been more than a decade
>> when I last hacked on the bootstrap so forgive any inaccurate
>> information, please.
>>
> That can't be right. Adding '-t' just disabled all of my TT-RAM.

bootstrap/atari/bootstrap.c:

static void help( void ){    printf(        "Linux/68k Atari Bootstrap
version " VERSION WITH_BOOTP "\n"        "Options:\n"        "
-k<file>: Use <file> as kernel image (defaults: vmlinux,
vmlinux.gz)\n"        "  -r<file>: Load ramdisk <file>\n"        "
-s: load kernel to ST-RAM\n"        "  -R: load ramdisk to ST-RAM\n"
     "  -V: protect VideoRAM from overwriting by ramdisk\n"        "
-t: ignore TT-RAM\n"#ifdef USE_BOOTP        "  -n: no BOOTP\n"#endif
     "  -S<size>: pretend ST-RAM having <size>\n"        "  -T<size>:
pretend TT-RAM having <size>\n"        "  -m<start>:<size>: pass extra
memory block to kernel\n"        "  -d: print debug infos, wait for
key before booting\n"        "  -h, -?: print this help message\n"
   );        getchar();    exit(EXIT_SUCCESS);}
Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds


Reply to: