You can compile the necessary stuff into the kernel - that's not a problem.
As you are likely aware, the problem is indeed the framebuffer configuration, and is probably not being helped with an improper/unsupported video mode being set in LILO.
The times it is frozen at boot, I ask if it stays frozen for more than 30 seconds.. When an incorrect mode is received from LILO, the machine will wait up to 30 seconds for you to either press SPACE/RETURN, or enter another mode, or simply wait the 30 seconds for it to continue booting.
SO.. WHat's the problem.. Let's see, are you using the proprietary driver from
www.nvidia.com? ? When using those drivers, you cannot use nvidia framebuffer OR rivafb framebuffer..
You also need to specify in LILO an appropriate mode that can be displayed by your card DURING BOOT. This is important, because at this point, there is no fancy high tech driver running the card, so modes are limited until the real driver gets loaded after boot.
Here, I will show you what I have in my kernel, as well as my lilo boot-screen information.. It should give you a good idea what works, for you to start with.
(For the record, I use a GeForce4 MX440 AGP card, and the x86-1.0-9631 driver from nvidia.com, a 2.6.20 kernel, and have an Intel P4 & Intel 845PE chipset with i810 onboard video controller which I am not using).
Xconfig Kernel Support/Options included:
Code:
Graphics Support
Y = Enable Firmware EDID
Y = Support For Framebuffer Devices
Y = VESA VGA Graphics Support
Y = Intel 840/845/852/855/865/915/etc...
Y = DDC/I2C for Intel framebuffer devices
Console Display Driver Support
Y = Enable Scrollback buffer in System RAM
(64) kb scrollback buffer
Y = Frame buffer Console Support
Y = Frame buffer Console Rotation
Y = Select Compiled-in Fonts
Y = VGA 8 x 16
Y = Console 7 x 14 (not supported by all drivers)
Logo Configuration
Y = Bootup Logo
Y = Standard 224-color Linux Logo
And here is what I am using in LILO:
Code:
bitmap=/boot/classyblue640480.bmp
bmp-colors=128,,223,255,,243
bmp-table=440p,80p,1,10
bmp-timer=none
install=bmp
timeout=600
prompt
map=/boot/map
vga="771"
Of course, you will need to adjust the INTEL part(s) to better suit your AMD hardware. And the lilo stuff is an example. If using the LILO boot editor GUI included with some OS's you can see a list of possible supported VGA modes to use.