[EMAIL PROTECTED] writes:
> > >There is one thing I dont understand: You initialise cr1 using r0, but
> > >r0 is not initialised in order to set MMU , is it ?
> >
> > Yes, it's loaded by this subroutine call (which winds up at
> > .Larmv4_flush_early)
> >
> > > mov pc, r10 @ Call processo
> > >r flush
> > >(returns ctrl reg)
>
> Ok, so r0 is correctly initialised.
> Do you see any reason why I get the M printed on my terminal
> before switching MMU on, and I dont get the m after MMU on ?
>
> The progs continues at .Lalready_done_mmap, doesn't it ?
I've just caught up on this discussion on the armlinux mailing
list. I have the same problem :-( I'm a bit further along than
you now that I've written the beginnings of a debugger (I wish
I was joking..) The problem is in console_init, specifically the
test to see if the UART exists in serial_console_setup ...
On my hardware, and I'm guessing on yours, this doesn't exist - I
want to use the UART on the 21285....
I've tried several kernel configs which only have 21285 UART in,
but they don't build :-( Also check out PARAMS_BASE (hunt around in the
code) this struct is usually setup by the bootloader (it seems).
Hope this helps you along..
Andrew
------
Andrew Thomas
Hewlett-Packard Laboratories, Bristol
Filton Road Email: [EMAIL PROTECTED]
Stoke Gifford Phone: +44 117 922 9511
Bristol BS34 8QZ FAX: +44 117 922 9286
United Kingdom HP Telnet: 312 9511
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]