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

Re: atafb allocates non-STRAM (was Re: kernel 2.2 and d-i)



On Tue, 10 Aug 2004, Kars de Jong wrote:
> On Tue, 2004-08-10 at 13:01, Petr Stehlik wrote:
> > First, when the kernel starts it prints the following stuff:
> >
> > Kernel command line: root=/dev/ram video=atafb:vga16 load_ramdisk=1
> > stram_swap=0 debug=par BOOT_IMAGE=vmlinux
> > Console: colour dummy device 80x25
>   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> This is NOT the Atari framebuffer yet, this is just a dummy device. They
> are not related.

Indeed.

> > Then, a while later (after devfs) it prints:
> >
> > Console: switching to colour frame buffer device 80x30
> > Determined 640x480, depth 4
> >    virtual 640x972
> > fb0: Atari Builtin vga16 frame buffer device, using 304K of video memory
> >
> > And there, in the "switching to colour frame buffer device" it allocated
> > the wrong memory and changed the screen_base to point to nowhere.
>
> Which means atafb must be doing something wrong, since at this place its
> initialisation routine atafb_init() gets called, AFAIK (the console is
> switched when register_framebuffer() is called).

Yep, it's only here atafb is initialized.

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- Sony Network and Software Technology Center Europe (NSCE)
Geert.Uytterhoeven@sonycom.com ------- The Corporate Village, Da Vincilaan 7-D1
Voice +32-2-7008453 Fax +32-2-7008622 ---------------- B-1935 Zaventem, Belgium



Reply to: