LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* How to boot powerPC linux-2.6.10 from diifferent address other than 0x0000
@ 2006-08-25 12:45 Reddy Suneel-ASR125
  2006-08-28 23:37 ` Reeve Yang
  0 siblings, 1 reply; 2+ messages in thread
From: Reddy Suneel-ASR125 @ 2006-08-25 12:45 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 1061 bytes --]

Hi,
    We are working on MPC 8540, Linux kernel version is 2.6.10 from
Montavista. The bootloader used in Uboot and currently it loads the
uImage at physical memory address 0x0 and transfers control to it. We
want to load the kernel at a different address say 0x8000 and for this
we made the following changes.
 
1) Altered the Makefile to linked the kernel at virtual address
0xc0008000 ( the default was 0xc000:0000)
2) Modified Uboot to load kernel at 0x8000 instead of 0x0
The kernel space still starts from 0xc000:0000

 
When we transferred control to the kernel (loaded at 0x8000) we found
that the execution proceeds only till the mapping and invalidation on
TLBs. We do not know where the control goes after this as the further
instructions does not seems to get executed. Currently we do not have
the provision to connect a debugger and hence we are unable to make out
what is happening.
 
Can some one give us any clue as to what we might have done wrong? This
is our first experience on PowerPC.
 
 
Thanks&regards
Suneel

[-- Attachment #2: Type: text/html, Size: 2855 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-08-28 23:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-25 12:45 How to boot powerPC linux-2.6.10 from diifferent address other than 0x0000 Reddy Suneel-ASR125
2006-08-28 23:37 ` Reeve Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox