[okl4-developer] framebuffer console inside okl4 and neo1973

Dennis Gessner d.gessner at sirrix.com
Thu Jan 24 23:37:15 EST 2008


Hi David,

unfortunately it still does not work (my framebuffer console inside
linux/wombat). On Sunday I tried out the same you
wrote me on Tuesday (found it out - using recursive grep with the
current kernel-parameter). I tried 'vga=0x301' and also, like it is said
in kernel-config:

Graphics support -> "Iguana Virtual Frame Buffer support"

driver, "To protect the innocent, it has to be enabled explicitly at
boot time using the kernel option 'video=vfb:'" - i put this
kernel-parameter inside the SConscript and rebuild the kernel.

At this point - I found out, that the build-system does not recognize my
changes about the kernel-parameter, so I had to remove the whole
build-directory and rebuild everything. is there a way to say something
like "make clean"?

Another point, is there a more simple way to change the
linux-kernel-settings than doing the following:
- comment out the line

"include $(KBUILD_SRC)/$(ARCH_DIR)/sys-$(SYSTEM)/Makefile"

in the file:
linux/kernel-2.6.11-v2/arch/l4/Makefile

- copying the file l4linux_config_gta01 to .config
- run make menuconfig

Back to my framebuffer-problem: Should the framebuffer-console work
inside wombat? Maybe the iguana-framebuffer-driver needs some changes to
handle the framebuffer-console-input correctly?? Your last mail sounded
like it has to work without doing great changes.

Thanks in advance,

Dennis



David Mirabito schrieb:
> Hi Dennis,
> As you have noticed the commandline parameters specified in u-boot do
> not make their way on to be arguments to vmlinux.
> The Linux command line is specified at build time, you can look in the
> file linux/kernel/SConscript for something looking similar to:
>
>     vmlinux[0].attributes.weaver = \
>                              env.WeaverIguanaProgramServer(server_name =
> iguana_object_env['wombat_vmlinux'],
>                                                      heap = 20 * 1024 *
> 1024,
>                                                      stack = 8 * 1024,
>                                                      args =
>                                                      ["vmlinux",
> "igms_name=ramdisk root=/dev/igms0"])
>
> which you can edit to add a VGA modeline.
>
> This is used by the build system when in generates weaver.xml in the
> build directory to make entries under the vmlinux section looking
> similar to:
>                 <arg value="vmlinux"/>
>                 <arg value="igms_name=ramdisk root=/dev/igms0"/>
>
> This, in turn is read by the elfweaver too when building the final
> image. This way arguments for all Iguana applications (including Linux)
> is stored in the image and are passed to the program when it starts.
>
> I hope this is enough to get your console on the screen, let me know if
> you need further assistance.
>
>  -David Mirabito




More information about the Developer mailing list