[okl4-developer] framebuffer console inside okl4 and neo1973
David Mirabito
davidm at ok-labs.com
Tue Jan 22 16:49:31 EST 2008
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
Dennis Gessner wrote:
> Hi,
>
> right now, I try to get okl4 working inside my neo1973 device. After
> some pre-work and testing, I got the kernel booting and it's possible to
> conenct to the serial interface via the debug-board, so I can use the
> normal busybox-features aso.
> Also it's possible to get something to the fb ..
>
> i.e. cat /bin/busybox >/dev/fb0
>
> The question is now, what do I need to do, to get the console using the
> fb. Normally, I would use the kernel-parameter "vga=0x301" inside the
> bootloader (in this case - u-boot), so the kernel would automatically
> put his output to the framebuffer (if he has FB-support enabled inside
> the kernel). After trying this, I realized, that my parameter does not
> reach the kernel
>
> cat /proc/cmdline
>
> produces:
> igms_name=ramdisk
>
> And nothing with my "vga=0x301".
>
> Thanks in advance.
>
> Dennis
>
> _______________________________________________
> Developer mailing list
> Developer at okl4.org
> https://lists.okl4.org/mailman/listinfo/developer
>
More information about the Developer
mailing list