Antonino A. Daplas wrote: >Mike Rapoport wrote: > > >>Antonino A. Daplas wrote: >> >> >> >>>Mike Rapoport wrote: >>> >>> >>> >>> >>>>This patch adds frame buffer driver for 2700G LCD controller present on >>>>CompuLab CM-X270 computer module. >>>>This pacth is versus current Linus git tree. >>>> >>>>Signed-off-by: Mike Rapoport >>>> >>>> >It's because you don't have an info->pseudo_palette. And if you accidentally >load the framebuffer console, your kernel will just crash because the >drawing functions (cfb_{fillrect,imageblit}) unconditionally refers to that >array. > >So you have to do either one: > >1. Create a properly filled up info->pseudo_palette; or > > I think I've succeded to make it. At least I can see tux logo and getty output at startup. >BTW, you will need to use generic accessors (readb|w|l, writeb|w|l or >__raw_readb|w|l, __raw_writeb|w|l, etc). This will entail a lot of changes. >Otherwise, this driver won't get past Andrew Morton and Rusty. > >See include/asm/io.h. > > Done. >Tony > > > > > > -- Sincerely yours, Mike Rapoport