You need to do two things:<br>
- mem remap your boot sector memory block to virtual address <span><font face="Arial" size="2">0xc0008000<br>
- using uboot commond "go xxx" to boot it from </font></span><span><font face="Arial" size="2">0xc0008000, or define env variable "bootcmd", and run "boot".<br>
<br>
</font></span><br><div><span class="gmail_quote">On 8/25/06, <b class="gmail_sendername">Reddy Suneel-ASR125</b> <<a href="mailto:suneel.reddy@motorola.com">suneel.reddy@motorola.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div>
<div>
<div>
<div><span><font face="Arial" size="2">Hi,</font></span></div>
<div><span><font face="Arial" size="2">
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.</font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">1) Altered the
Makefile to linked the kernel at virtual address 0xc0008000 ( the default was
0xc000:0000)</font></span></div>
<div><span><font face="Arial" size="2">2) Modified Uboot to
load kernel at 0x8000 instead of 0x0</font></span></div>
<div><span><font face="Arial" size="2">
<p><span>The kernel space still starts from
0xc000:0000</span></p></font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">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.</font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial"><font size="2">Can some one
give us any clue as to what we might have done wrong? This is our first
experience on PowerPC<span>.</span></font></font></span></div>
<div><span><font face="Arial"><font size="2"><span></span></font></font></span> </div>
<div><span><font face="Arial"><font size="2"><span></span></font></font></span> </div>
<div><span><font face="Arial"><font size="2"><span>Thanks&regards</span></font></font></span></div>
<div><span><font face="Arial"><font size="2"><span>Suneel</span></font></font></span></div></div></div></div>
</div><br>_______________________________________________<br>Linuxppc-embedded mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Linuxppc-embedded@ozlabs.org">Linuxppc-embedded@ozlabs.org
</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://ozlabs.org/mailman/listinfo/linuxppc-embedded" target="_blank">https://ozlabs.org/mailman/listinfo/linuxppc-embedded</a><br><br></blockquote>
</div><br>