2012/2/2  <[email protected]>:
> Hi Edgar ,
> Thank you for your reply.
>

Please add the list in your reply, so everybody can benefit.

>
>> > I need to make some tests with Flash and SDRAM writing/reading via JTAG.
>> > That is a reason why I need to find out a physical address range.
>>
>> Depending on your architecture, the bootloader most likely takes care of:
>> - configure the SDRAM controller
>> - remapping the memory addresses ranges, if necessary and supported
>> - loading the linux kernel into RAM.
>>
>> If you have access to the sources of the bootloader, it might be easy
>> to get some decent comments out of it.
> Unfortunately not.I do not have access to the sources of the bootloader
>

Aren't you running UBoot, by any chance?

>> Also, if you want to perform your JTAG tests before the bootloader has
>> been run, then you need to setup the memories yourself, via config
>> scripts for OpenOCD.
> I would like to   perform the  JTAG tests both before the bootloader has
>  been run and after as well.
> Can you provide more details how to setup config scripts?

Try to see if there is an existing config script very close to your
hardware. Start with that and the datasheet for the CPU, SDRAM and
FLASH and poke in the proper settings. Pretty tedious work.

>> > Any further idea?
>>
>> What hardware platform are you trying to get tested?
> Linux embeded system with MIPS, Broadcom CPU 7401

Is this on a development board, or a custom one? If it's a common
board, somebody else might have done the work for you. If it's custom,
you can trace how the bootloader ended up in the flash, most likely it
happen via JTAG and you can get your hands on the config scripts. If
none of this works, try looking in UBoot source code at the same time
with the datasheet of the CPU, SDRAM and flash, most likely things
will click in place.

Edgar

> Thanks for help
> L
>
>>
>> Edgar
>>
>> > Thanks
>> >
>> >
>> >
>> >
>> >> Then use dmesg or cat /var/log/messages.
>> >> Vaclav
>> >> --
>> >>
>> >> Uwe Bonnes <[email protected]> napsal(a):
>> >>
>> >> >>>>> "CeDeROM" == CeDeROM <[email protected]> writes:
>> >>
>> >> CeDeROM> On Wed, Feb 1, 2012 at 9:45 AM, <[email protected]> wrote:
>> >> >> I have a Linux embeded  device that consists CPU, BIOS,FLASH and
>> >> >> SDRAM. Is there any way how to determine the  memory address range
>> >> >> for BIOS, flash and SDRAM?
>> >>
>> >> CeDeROM> Start Linux and see dmesg output :-)
>> >>
>> >> Hey, most distributions now show pretty picture when booting and not such
>> >> useless information :-(
>> >> --
>> >> Uwe Bonnes [email protected]
>> >>
>> >> Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
>> >> --------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
>> >>
>> >> _____________________________________________
>> >>
>> >> Keep Your Developer Skills Current with LearnDevNow!
>> >> The most comprehensive online learning library for Microsoft developers
>> >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>> >> Metro Style Apps, more. Free future releases when you subscribe now!
>> >> http://p.sf.net/sfu/learndevnow-d2d
>> >> _____________________________________________
>> >>
>> >> OpenOCD-devel mailing list
>> >> [email protected]
>> >> https://lists.sourceforge.net/lists/listinfo/openocd-devel
>> >>
>> >>
>> >
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > Keep Your Developer Skills Current with LearnDevNow!
>> > The most comprehensive online learning library for Microsoft developers
>> > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>> > Metro Style Apps, more. Free future releases when you subscribe now!
>> > http://p.sf.net/sfu/learndevnow-d2d
>> > _______________________________________________
>> > OpenOCD-devel mailing list
>> > [email protected]
>> > https://lists.sourceforge.net/lists/listinfo/openocd-devel
>
>

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to