Skip to contentSkip to conversation

U-boot support arm926ejs

U-Boot-Users jack zhao 2 participants 3 messages Jul 4, 2006

lore
Share & tools
lore

jack zhao

author
#0 lore raw

Hi,
Now I am debugging the board which use Marvell 5182 core, which core
is arm9, but I can not seem any information from Serial port. I have traced the code with GPIO LED port, from that I can seem there are something wrong in DDR RAM, maybe hardware. Since the arm core use memory to init all the decide:
init_fnc_t *init_sequence[] = {

        cpu_init,               /* basic cpu dependent setup */
        board_init,             /* basic board dependent setup */
        interrupt_init,         /* set up exceptions */
        env_init,               /* initialize environment */
        init_baudrate,          /* initialze baudrate settings */
        serial_init,            /* serial communications setup */
        console_init_f,         /* stage 1 init of console */
        display_banner,         /* say that we are here */
        dram_init,              /* configure available RAM banks */

#ifndef CONFIG_MARVELL
display_dram_config,
#endif
#if defined(CONFIG_VCMA9)
checkboard,
#endif
NULL,
};
in function start_armboot
But in powerpc the code use DCache to run the init part, so that even if the ram does not work normally, we can see information from serial port, could it run in arm core 5182 system. If yes, how to change that.

Could wolf or some other expert answer my questions? Thanks much! Best Wishes
Jack Zhao
USI SH R&D Center 86-021-58966996-1122

#1 lore raw
Quoted 4 lines · In message <[email protected]> you wrote:

Now I am debugging the board which use Marvell 5182 core, which core
is arm9, but I can not seem any information from Serial port. I have traced the code with GPIO LED port, from that I can seem there are something wrong

Use a debugger to find out what exactly is happening.

Quoted 2 lines

in DDR RAM, maybe hardware. Since the arm core use memory to init all the decide:

I don't understand what you mean. Missing console output has nothing to do with RAM; you have console output long before even touching RAM.

Quoted 1 line

But in powerpc the code use DCache to run the init part, so that even if the

You misunderstand. Dcache has *nothing* to do with this.

All this code is running from flash, both on ARM and on PowerPC.

Quoted 1 line

ram does not work normally, we can see information from serial port, could

This has nothing to do with each other.

Best regards,

Wolfgang Denk

Signature · 5 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Text processing has made it possible to right-justify any idea, even
one which cannot be justified on any other grounds."
                                                 -- J. Finnegan, USC.
author
#2 lore raw

Thanks
But In 5182 system, when I plug out the ddr memory in demo board,
nothing appeared in serial port, while I can see information in powerpc 8347 system.

-----????-----
???: wd at denx.de [mailto:wd at denx.de]
????: 2006?7?4? 19:30
???: jack zhao
??: u-boot-users at lists.sourceforge.net
??: Re: [U-Boot-Users] U-boot support arm926ejs

Quoted 3 lines · In message <[email protected]> you wrote:

Now I am debugging the board which use Marvell 5182 core, which core
is arm9, but I can not seem any information from Serial port. I have

traced

Quoted 1 line

the code with GPIO LED port, from that I can seem there are something

wrong

Use a debugger to find out what exactly is happening.

Quoted 2 lines

in DDR RAM, maybe hardware. Since the arm core use memory to init all the decide:

I don't understand what you mean. Missing console output has nothing to do with RAM; you have console output long before even touching RAM.

Quoted 1 line

But in powerpc the code use DCache to run the init part, so that even if

the

You misunderstand. Dcache has *nothing* to do with this.

All this code is running from flash, both on ARM and on PowerPC.

Quoted 1 line

ram does not work normally, we can see information from serial port, could

This has nothing to do with each other.

Best regards,

Wolfgang Denk

Signature · 5 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Text processing has made it possible to right-justify any idea, even
one which cannot be justified on any other grounds."
                                                 -- J. Finnegan, USC.