Skip to contentSkip to conversation

again 2.3.28

DISCUSSION Benjamin Herrenschmidt 1 participant 1 message Nov 18, 1999

lore
Share & tools
lore
#0 lore raw
Quoted 2 lines · David N. Welton

So, we can't use prom_print to print checkpoints and we can't use printk yet.

if using BootX, you can use prom_print after mmu_init provided that you make sure the fb is mapped (look at the function in prom.c for that, it's called by xmon initialisation).

If you are not using BootX, then you can grab code that make prom_print available the same way it does with BootX, but with OF. (Basically, it fills a fake boot_info structure for use by the display code from infos returned by OF). The code for that is in my iBook patches, look at the prom.c patches.

In both case, you have to take care of mapping the fb.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/