Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
18 years ago

frame buffer

Hello hippo and all NiosII users!

I compiled uClinux-dist with frame buffer (as wrote on nioswiki) and loaded it in my custom board(flash,sdram,vga_controller,uart,eth). Linux is loaded(I see it in Shell) but screen is empty, there is no signal to LCD(without Linux lcd operates correct).

Need I some adjustments or changes in frame buffer driver if I use my custom board? Where is stored initialization data for VGA_controller (base address).

Thanks a lot!

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Do you see this message in booting?

    fb0: Altera frame buffer device, using 600K of video memory

    The framebuffer driver is,

    linux-2.6.x/arch/nios2nommu/drivers/altfb.c

    You may look at altfb_probe(), which init the hardware.

    You may need to use scope or signal-tap to check the output pins of the vga controller, HS,VS, etc.

    You may need to modify the vga component to meet your LCD timing.