From: Fabio G. <fg...@ti...> - 2002-03-19 17:24:33
|
---------- Forwarded Message ---------- Subject: Re: [linux-sh:02275] Re: [linuxsh-dev] How to link sh-IPL+g. Troubles Again Date: Tue, 19 Mar 2002 17:33:26 +0100 From: Fabio Giovagnini <fg...@ti...> To: Stuart Menefy <stu...@st...> I have this problem: My rom at 0x00000000 is an eprom (M27C4002) with data access 16 bits wide. I have an eprom with an IPL for winCE working. When using my eprom programmer I read the working IPL I can read some test in the ILP with the caracter swapped. For example: I read form the working eprom "ocypirhg t" and I think it is the word "copyright ". When I compile my sh-ipl+g I see the text in the rigth way when I open sh-stub.srec I'm sure my board is little-endian (we have to remeber it works win winCE). How can I make myself sure that I'm compiling correctly and I'm writing correctly the eprom? Thanks in advance. On Tuesday 19 March 2002 13:56, you wrote: > Fabio > > The only thing sh-stub needs to know is where RAM and ROM are. > Your board uses the standard Hitachi layout, so you can use the same > file as the SH4 SolutionEngine (sesh3.mem). > > You will probably need to modify the init-xxx.S file you use though, > to set up the right memory timings for your board. > > Stuart > > On Tue, 19 Mar 2002 09:18:03 +0100 > > fg...@ti... wrote: > > I have a sh-3 7709a based board with the following memory map: > > 00000000h Area0 Flash ROM > > 04000000h Area1 SH7709A Internal Registers > > 08000000h Area2 SH Bus > > 0C000000h Area3 SDRAM > > 10000000h Area4 Companion Chip > > 14000000h Area5 SED 1355 > > 18000000h Area6 PCMCIA/ISA > > 1C000000h Area7 SH7709A Internal Registers > > > > > > How I have to set .mem file to execute the sh-stub form Area 0. > > > > > > Thanks a lot. > > > > Fabio Giovagnini > > > > _______________________________________________ > > linuxsh-dev mailing list > > lin...@li... > > https://lists.sourceforge.net/lists/listinfo/linuxsh-dev ------------------------------------------------------- |