<br><font size=2 face="sans-serif">Hi Doug,</font>
<br>
<br><font size=2 face="sans-serif">Are you using linux kernel? When
you comment out 'enable address translation', can you successfully boot
with linux kernel? When I comment out those line, it did help
to boot until u-boot console shows up, but it failed to continue boot up
with linux kernel. To make linux kernel working, I have to keep following
old 1.1.3 version code in, which will cause another problem. Did
you have similar problem?</font>
<br>
<br><font size=2 face="sans-serif">Thank you and best regards</font>
<br><font size=2 face="sans-serif">dongy</font>
<br>
<br>
<br><font size=2 face="sans-serif"><i>un_setup_stack_in_data_cache:</i></font>
<br><font size=2 face="sans-serif"><i> blr</i></font>
<br><font size=2 face="sans-serif"><i> mr
r14, r4</i></font>
<br><font size=2 face="sans-serif"><i> mr
r15, r5</i></font>
<br>
<br>
<br><font size=2 face="sans-serif"><i> lis
r4, (CFG_INIT_RAM_ADDR & 0xFFFE0000)@h</i></font>
<br><font size=2 face="sans-serif"><i> mtspr
DBAT0U, r4</i></font>
<br><font size=2 face="sans-serif"><i> ori
r4, r4, 0x0002</i></font>
<br><font size=2 face="sans-serif"><i> mtspr
DBAT0L, r4</i></font>
<br><font size=2 face="sans-serif"><i> isync</i></font>
<br>
<br><font size=2 face="sans-serif"><i> /*
un lock all the D-cache */</i></font>
<br><font size=2 face="sans-serif"><i> mfspr
r4, HID0</i></font>
<br><font size=2 face="sans-serif"><i> lis
r5, (~(HID0_DLOCK))@h</i></font>
<br><font size=2 face="sans-serif"><i> ori
r5, r5, (~(HID0_DLOCK))@l</i></font>
<br><font size=2 face="sans-serif"><i> and
r4, r4, r5</i></font>
<br><font size=2 face="sans-serif"><i> sync</i></font>
<br><font size=2 face="sans-serif"><i> mtspr
HID0 , r4</i></font>
<br>
<br><font size=2 face="sans-serif"><i> /*
Re - Allocate Initial RAM in data cache.*/</i></font>
<br><font size=2 face="sans-serif"><i> li
r0, 0</i></font>
<br><font size=2 face="sans-serif"><i> lis
r4, (CFG_INIT_RAM_ADDR)@h</i></font>
<br><font size=2 face="sans-serif"><i> ori
r4, r4, (CFG_INIT_RAM_ADDR)@l</i></font>
<br><font size=2 face="sans-serif"><i> li
r5, 128*8 /* 128*8*32=32Kb */</i></font>
<br><font size=2 face="sans-serif"><i> mtctr
r5</i></font>
<br><font size=2 face="sans-serif"><i>1:</i></font>
<br><font size=2 face="sans-serif"><i> dcbz
r0, r4</i></font>
<br><font size=2 face="sans-serif"><i> addi
r4, r4, 32</i></font>
<br><font size=2 face="sans-serif"><i> bdnz
1b</i></font>
<br><font size=2 face="sans-serif"><i> isync</i></font>
<br>
<br><font size=2 face="sans-serif"><i> mflr
r16</i></font>
<br><font size=2 face="sans-serif"><i> bl
dcache_disable</i></font>
<br><font size=2 face="sans-serif"><i> mtlr
r16</i></font>
<br>
<br><font size=2 face="sans-serif"><i> blr</i></font>
<br><font size=2><tt> </tt></font>
<br>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>"Fowley, Douglas G (GE Infra,
Energy)" <Douglas.Fowley@ge.com></b></font>
<br><font size=1 face="sans-serif">Sent by: u-boot-users-bounces@lists.sourceforge.net</font>
<p><font size=1 face="sans-serif">03/04/2007 07:35 AM</font>
<td><font size=1 face="Arial"> </font>
<br><font size=1 face="sans-serif"> To:
<Dongying_Xu@us.alphanetworks.com></font>
<br><font size=1 face="sans-serif"> cc:
u-boot-users@lists.sourceforge.net</font>
<br><font size=1 face="sans-serif"> Subject:
Re: [U-Boot-Users] mpc8343 could not
boot on u-boot-1.2.0</font></table>
<br>
<br>
<br><font size=2><tt><br>
> Date: Fri, 2 Mar 2007 15:55:37 -0800<br>
> From: Dongying_Xu@us.alphanetworks.com<br>
> Subject: Re: [U-Boot-Users] mpc8343 could not boot on u-boot-1.2.0<br>
> To: u-boot-users@lists.sourceforge.net<br>
> Message-ID:<br>
> <br>
> <OFC8A22B46.321D80E8-ON88257292.008352F7-88257292.0083A094@us.<br>
> alphanetworks.com><br>
> <br>
> Hi All,<br>
> <br>
> I am working on mpc8343 (revision 1.1) where i am using uboot <br>
> as a boot <br>
> loader. The u-boot 1.1.3 works well on this system. <br>
> Recently we upgrade <br>
> to u-boot-1.2.0. The system could not boot under <br>
> u-boot-1.2.0. But when I <br>
> replace the u-boot-1.2.0/cpu/mpc83xx/start.S with <br>
> u-boot-1.1.3/cpu/mpc83xx/start.S, it works fine. Anyone has
any <br>
> suggestions? <br>
> <br>
> <br>
> Thanks in Advance<br>
> Regards,<br>
> dongy <br>
<br>
I have been unable to use unmodified U-Boot distros since 1.1.4<br>
for our MPC8349e based systems. I comment out the following<br>
at line 306 in u-boot-1.2.0:cpu\mpc83xx\start.S,<br>
<br>
/* enable address translation */<br>
bl
enable_addr_trans<br>
sync<br>
<br>
to get it to work. Let me know if the same trick works for you.<br>
<br>
Regards,<br>
<br>
Doug<br>
<br>
-------------------------------------------------------------------------<br>
Take Surveys. Earn Cash. Influence the Future of IT<br>
Join SourceForge.net's Techsay panel and you'll get the chance to share
your<br>
opinions on IT & business topics through brief surveys-and earn cash<br>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV<br>
_______________________________________________<br>
U-Boot-Users mailing list<br>
U-Boot-Users@lists.sourceforge.net<br>
https://lists.sourceforge.net/lists/listinfo/u-boot-users<br>
</tt></font>
<br>
<br>