On 01/04/12 21:44, Geert Uytterhoeven wrote: > On Wed, Jan 4, 2012 at 22:38, Alan Hourihane <[email protected]> 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, > >
Thanks Geert. So using "no params" is the way to get things into TT-RAM. Unfortunately, without a ramdisk, the kernel boots to a vertical line screen, and with a ramdisk it hangs after hitting a key. :-( Alan. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

