Problem to link u-boot for sh2a 7203
Hi All,
I can compile u-boot for rsk7203_config.
But into the file board/renesas/rsk7203/config.mk
TEXT_BASE = 0x0C7C0000
and if I read u-boot.srec that is the result of building process I see that the address spce of the code is starting from 0x0C7C0000
On my board I have 32 bit SDRAM at such an address, and even if I could uxecute the program using an emulator initializing in place of me the BSC, how can I flash at 0x00000000 (start address of NOR flash) my bootloader? How can I link the loader so that I can flash the code into my NOR flash and using a part of SDRAM I have to run the bootloader?
Thanks in advance.
Signature · 11 lines
Fabio Giovagnini Aurion s.r.l. CF e P.IVA 00885711200 Tel. +39.051.594.78.24 Cell. +39.335.8350919 www.aurion-tech.com account telefono VoIP skype (www.skype.com): aurion.giovagnini
Dear Fabio Giovagnini,
Quoted 10 lines · In message <[email protected]> you wrote:
I can compile u-boot for
rsk7203_config.
But into the fileboard/renesas/rsk7203/config.mk
TEXT_BASE=0x0C7C0000and if I read u-boot.srec that is the result of building process I see that the address spce of the code is starting from
0x0C7C0000On my board I have 32 bit SDRAM at such an address, and even if I could
In this case your board is obviously not a Renesas rsk7203 board, which means you cannot use this configuration foir your hardware.
Quoted 4 lines
uxecute the program using an emulator initializing in place of me the BSC, how can I flash at
0x00000000(start address of NOR flash) my bootloader? How can I link the loader so that I can flash the code into my NOR flash and using a part of SDRAM I have to run the bootloader?
You will have to port U-Boot to your hardware.
Best regards,
Wolfgang Denk
Signature · 6 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Our missions are peaceful -- not for conquest. When we do battle, it is only because we have no choice. -- Kirk, "The Squire of Gothos", stardate 2124.5
Dear Wolfgang,
for sure my borad is not an rsk 7203, being my board designed by me; but I followed the rsk 7203 schematics to connect NOR Flash, SDRAM, ETH, and NAND Flash.
As on my own board, as on rsk board NOR flash in on CS0.
So I think I am miss understanding something.
1) Does u-boot a sort of IPL so it is the program the microprocessor runs at power on reset? If yes, at 0x00000000 or 0x20000000 (nt cached) should start the program? How it can run form 0x0C7C0000 if it is SDRAM address space?
Thanks a lot and many regards
Alle 15:22, sabato 6 febbraio 2010, Wolfgang Denk ha scritto:
Quoted 26 lines
Dear Fabio Giovagnini,
Quoted 9 lines · In message <[email protected]> you wrote:
I can compile u-boot for
rsk7203_config.
But into the fileboard/renesas/rsk7203/config.mk
TEXT_BASE=0x0C7C0000and if I read u-boot.srec that is the result of building process I see that the address spce of the code is starting from
0x0C7C0000On my board I have 32 bit SDRAM at such an address, and even if I could
In this case your board is obviously not a Renesas rsk7203 board, which means you cannot use this configuration foir your hardware.
Quoted 4 lines
uxecute the program using an emulator initializing in place of me the BSC, how can I flash at
0x00000000(start address of NOR flash) my bootloader? How can I link the loader so that I can flash the code into my NOR flash and using a part of SDRAM I have to run the bootloader?You will have to port U-Boot to your hardware.
Best regards,
Wolfgang Denk
Signature · 11 lines
Fabio Giovagnini Aurion s.r.l. CF e P.IVA 00885711200 Tel. +39.051.594.78.24 Cell. +39.335.8350919 www.aurion-tech.com account telefono VoIP skype (www.skype.com): aurion.giovagnini
Dear Fabio Giovagnini,
please read http://www.netmeister.org/news/learn2quote.html - don't top post / full quote, please.
Quoted 9 lines · In message <[email protected]> you wrote:
for sure my borad is not an rsk 7203, being my board designed by me; but I followed the rsk 7203 schematics to connect NOR Flash, SDRAM, ETH, and NAND Flash.
As on my own board, as on rsk board NOR flash in on CS0.
So I think I am miss understanding something.
1) Does u-boot a sort of IPL so it is the program the microprocessor runs at power on reset? If yes, at0x00000000or0x20000000(nt cached) should start the program? How it can run form0x0C7C0000if it is SDRAM address space?
I don't know your hardware, nor do I know the Renesas rsk7203 board. I have no idea how your board's reset sequence looks like, nor how the Renesas board loads and starts U-Boot.
U-Boot can be configured in a plethora of different ways to fit all sorts of hardware.
If your board differs from the Renesas board, you will have to port U-Boot to your hardware. As only you know the hardware, and as it is you who defines things like memory map etc., only you can decide how to do that. The Renesas board may, or may not, be a good starting point. I cannot comment on this.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de The idea of male and female are universal constants. -- Kirk, "Metamorphosis", stardate 3219.8
Many many thanks for your answer.
Best regards and good good work.
Alle 19:32, sabato 6 febbraio 2010, Wolfgang Denk ha scritto:
Quoted 32 lines
Dear Fabio Giovagnini,
please read http://www.netmeister.org/news/learn2quote.html - don't top post / full quote, please.
Quoted 9 lines · In message <[email protected]> you wrote:
for sure my borad is not an rsk 7203, being my board designed by me; but I followed the rsk 7203 schematics to connect NOR Flash, SDRAM, ETH, and NAND Flash.
As on my own board, as on rsk board NOR flash in on CS0.
So I think I am miss understanding something.
1) Does u-boot a sort of IPL so it is the program the microprocessor runs at power on reset? If yes, at0x00000000or0x20000000(nt cached) should start the program? How it can run form0x0C7C0000if it is SDRAM address space?I don't know your hardware, nor do I know the Renesas rsk7203 board. I have no idea how your board's reset sequence looks like, nor how the Renesas board loads and starts U-Boot.
U-Boot can be configured in a plethora of different ways to fit all sorts of hardware.
If your board differs from the Renesas board, you will have to port U-Boot to your hardware. As only you know the hardware, and as it is you who defines things like memory map etc., only you can decide how to do that. The Renesas board may, or may not, be a good starting point. I cannot comment on this.
Best regards,
Wolfgang Denk
Signature · 11 lines
Fabio Giovagnini Aurion s.r.l. CF e P.IVA 00885711200 Tel. +39.051.594.78.24 Cell. +39.335.8350919 www.aurion-tech.com account telefono VoIP skype (www.skype.com): aurion.giovagnini
Hi,
2010/2/6 Fabio Giovagnini <[email protected]>:
Quoted 6 lines
Hi All,
I can compile u-boot forrsk7203_config.
But into the fileboard/renesas/rsk7203/config.mk
TEXT_BASE=0x0C7C0000
Quoted 9 lines
and if I read u-boot.srec that is the result of building process I see that the address spce of the code is starting from
0x0C7C0000On my board I have 32 bit SDRAM at such an address, and even if I could uxecute the program using an emulator initializing in place of me the BSC, how can I flash at
0x00000000(start address of NOR flash) my bootloader? How can I link the loader so that I can flash the code into my NOR flash and using a part of SDRAM I have to run the bootloader?
Could you check doc/README.sh ?
** README **
In SuperH, S-record and binary of made u-boot work on the memory. When u-boot is written in the flash, it is necessary to change the address by using 'objcopy'.
ex) shX-linux-objcopy -Ibinary -Osrec u-boot.bin u-boot.flash.srec
Best regards,
Nobuhiro
Signature · 3 lines
Nobuhiro Iwamatsu
iwamatsu at {nigauri.org / debian.org}
GPG ID: 40AD1FA6Thanks very much.
Alle 09:10, luned? 8 febbraio 2010, Nobuhiro Iwamatsu ha scritto:
Quoted 28 lines
Hi,
2010/2/6 Fabio Giovagnini <[email protected]>:
Quoted 6 lines
Hi All,
I can compile u-boot forrsk7203_config.
But into the fileboard/renesas/rsk7203/config.mk
TEXT_BASE=0x0C7C0000Quoted 8 lines
and if I read u-boot.srec that is the result of building process I see that the address spce of the code is starting from
0x0C7C0000On my board I have 32 bit SDRAM at such an address, and even if I could uxecute the program using an emulator initializing in place of me the BSC, how can I flash at
0x00000000(start address of NOR flash) my bootloader? How can I link the loader so that I can flash the code into my NOR flash and using a part of SDRAM I have to run the bootloader?Could you check
doc/README.sh?** README **
In SuperH, S-record and binary of made u-boot work on the memory. When u-boot is written in the flash, it is necessary to change the address by using 'objcopy'.
ex) shX-linux-objcopy -Ibinary -Osrec u-boot.bin u-boot.flash.srecBest regards,
Nobuhiro
Signature · 11 lines
Fabio Giovagnini Aurion s.r.l. CF e P.IVA 00885711200 Tel. +39.051.594.78.24 Cell. +39.335.8350919 www.aurion-tech.com account telefono VoIP skype (www.skype.com): aurion.giovagnini
Thank a lot.
Do I have to use
--change-start
or
--change-section-address
Thanks
Alle 09:10, luned? 8 febbraio 2010, Nobuhiro Iwamatsu ha scritto:
Quoted 28 lines
Hi,
2010/2/6 Fabio Giovagnini <[email protected]>:
Quoted 6 lines
Hi All,
I can compile u-boot forrsk7203_config.
But into the fileboard/renesas/rsk7203/config.mk
TEXT_BASE=0x0C7C0000Quoted 8 lines
and if I read u-boot.srec that is the result of building process I see that the address spce of the code is starting from
0x0C7C0000On my board I have 32 bit SDRAM at such an address, and even if I could uxecute the program using an emulator initializing in place of me the BSC, how can I flash at
0x00000000(start address of NOR flash) my bootloader? How can I link the loader so that I can flash the code into my NOR flash and using a part of SDRAM I have to run the bootloader?Could you check
doc/README.sh?** README **
In SuperH, S-record and binary of made u-boot work on the memory. When u-boot is written in the flash, it is necessary to change the address by using 'objcopy'.
ex) shX-linux-objcopy -Ibinary -Osrec u-boot.bin u-boot.flash.srecBest regards,
Nobuhiro
Signature · 11 lines
Fabio Giovagnini Aurion s.r.l. CF e P.IVA 00885711200 Tel. +39.051.594.78.24 Cell. +39.335.8350919 www.aurion-tech.com account telefono VoIP skype (www.skype.com): aurion.giovagnini