christophe leroy writes:
> So it means that you arrive at serial_console_setup.
> 
> My problem for now resides before realy starting the kernel, in 
> head-armv.S
> 
> I'm able to write things on serial by writing bytes at 0x42000160 
> (after been sure UART is free by testing 0x42000178) when MMU is OFF.
> But When I try to write things on serial just after having switch MMU 
> ON ,in the beginning of .Lalready_done_mmap  (So I write at 
> 0xFE000160, which is the supposed virtual adresse of UART), nothing 
> happens. So I wonder what happens after having put MMU ON.

There is at the bottom of head-armv.S a load of debugging code for exactly
this sort of debugging.  You may want to try some of it out.  Note however,
that it does require a serial lead with RTS and CTS connected (it's sometimes
useful while using these to be able to stop the kernel...)
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |        Russell King       [EMAIL PROTECTED]      --- ---
  | | | |  http://www.arm.linux.org.uk/~rmk/armlinux.html    /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]

Reply via email to