Linux on ARM: remap and MMU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello

I'm in the process of porting Linux on our board, based on a arm926ejs
based multimedia chip. I finished U-Boot, it boots up and transfers
control to Linux, sadly the latter hangs at the very beginning,
printing only "Uncompressing Lin.. done, booting t".

With the help JTAG I explored contents of "log_buffer": it ends up
with "Calibrating delay loop... " (seems function from
calibrate_delay() at $(linux)/init/calibrate.c), nothing happens
further.

As I see, calibrate_delay() gets invoked a lot later of
console_init(), i.e. various messages are supposed to be printed
already, bu they are not. I just suspect the problem is somewhere
around MMU configuration, which is done on a very early stage, and
once we get to console initialization, an invalid serial port address
is used -- it's only guess though.

My questions are:
1) how to verify MMU gets configured properly or not?
2) do I have to do remap (that's 0x0 points at RAM) on ARM to start
off Linux, or it can live without remap?
3) how is defined CONFIG_PAGE_OFFSET, which is used to configure MMU.
I know it's in "make config", but what's behind this parameter?

Thanks.

-- 
Roman Mashak

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux