[U-Boot-Users] mpc8343 could not boot on u-boot-1.2.0

Dongying_Xu at us.alphanetworks.com Dongying_Xu at us.alphanetworks.com
Mon Mar 5 21:07:48 CET 2007

Hi Doug,

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?

Thank you and best regards

        mr r14, r4
        mr r15, r5

        lis r4, (CFG_INIT_RAM_ADDR & 0xFFFE0000)@h
        mtspr   DBAT0U, r4
        ori r4, r4, 0x0002
        mtspr   DBAT0L, r4

        /* un lock all the D-cache */
        mfspr   r4, HID0
        lis r5, (~(HID0_DLOCK))@h
        ori     r5, r5, (~(HID0_DLOCK))@l
        and r4, r4, r5
        mtspr   HID0 , r4

        /* Re - Allocate Initial RAM in data cache.*/
        li  r0, 0
        lis     r4, (CFG_INIT_RAM_ADDR)@h
        ori     r4, r4, (CFG_INIT_RAM_ADDR)@l
        li      r5, 128*8 /* 128*8*32=32Kb */
        mtctr   r5
        dcbz    r0, r4
        addi    r4, r4, 32
        bdnz    1b

        mflr r16
        bl dcache_disable
        mtlr r16


"Fowley, Douglas G (GE Infra, Energy)" <Douglas.Fowley at ge.com>
Sent by: u-boot-users-bounces at lists.sourceforge.net
03/04/2007 07:35 AM
        To:     <Dongying_Xu at us.alphanetworks.com>
        cc:     u-boot-users at lists.sourceforge.net
        Subject:        Re: [U-Boot-Users] mpc8343 could not boot on 

> Date: Fri, 2 Mar 2007 15:55:37 -0800
> From: Dongying_Xu at us.alphanetworks.com
> Subject: Re: [U-Boot-Users] mpc8343 could not boot on u-boot-1.2.0
> To: u-boot-users at lists.sourceforge.net
> Message-ID:
> <OFC8A22B46.321D80E8-ON88257292.008352F7-88257292.0083A094 at us.
> alphanetworks.com>
> Hi All,
> I am working on mpc8343 (revision 1.1) where i am using uboot 
> as a boot 
> loader.  The u-boot 1.1.3 works well on this system. 
> Recently we upgrade 
> to u-boot-1.2.0.  The system could not boot under 
> u-boot-1.2.0. But when I 
> replace the u-boot-1.2.0/cpu/mpc83xx/start.S with 
> u-boot-1.1.3/cpu/mpc83xx/start.S, it works fine.  Anyone has any 
> suggestions? 
> Thanks in Advance
> Regards,
> dongy 

I have been unable to use unmodified U-Boot distros since 1.1.4
for our MPC8349e based systems.  I comment out the following
at line 306 in u-boot-1.2.0:cpu\mpc83xx\start.S,

                 /* enable address translation */
                 bl              enable_addr_trans

to get it to work.  Let me know if the same trick works for you.



Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share 
opinions on IT & business topics through brief surveys-and earn cash
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20070305/e238a7f2/attachment.htm 

More information about the U-Boot mailing list