Gaixia Zhang writes:
> The difference I can see is that that Russell has cli() before
> pci_init(), and sti() before boot_kernel(), and he fills in
> param page. Should I see more message comes out on
> the serial port?

Beware - the sti() and cli() refer to the state of the I-bit in
the StrongARM, which is the reverse of the meaning in the x86 code.

> The problem is I can write to UART (4200 0000) right
> before the line turning on MMU, but right after the line,
> I can't write to UART (fe00 0000). Should I?

Yes you should.  This tends to indicate that it's not making it
into the code after the MMU switch.  I trust that you're using
a recent 2.2 or 2.3 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