[okl4-developer] More NSLU2 debugging
Geoffrey Lee
glee at ok-labs.com
Sun Jun 22 14:49:37 EST 2008
On Sun, Jun 22, 2008 at 11:14:49AM +1000, Joshua Root wrote:
> Hi all,
>
Josh -
> After getting skyeye working with Geoff's help, I've added an IXP420
> machine to it (created by copying pxa250 and setting up a different
> memory map). My OKL4/Iguana boot image now works fine in the simulator.
>
> On the hardware, before virtual memory is turned on I can get output by
> writing to the UART's physical address. But it seems to be dying
> somewhere between there and Platform::init, which of course adds the
> mapping so the UART can be used again.
It may worthwhile to bring forward the serial initialization by
manually adding a mapping to the serial device. Places that
you might want to inspect should be in init_memory(). I'd probably
do a before-and-after print of some character to see how far you
got within the function. Places of interest might be when it tries
to manipulate page tables and when it switches to virtual addressing.
>
> Any ideas?
-gl
>
> - Josh
>
> _______________________________________________
> Developer mailing list
> Developer at okl4.org
> https://lists.okl4.org/mailman/listinfo/developer
>
--
More information about the Developer
mailing list