Basic question: how to flash omap system with ccs?
Hi all,
I have an TI XDS560 emulator and CCS 3.1 by hand. Can I load the bootloader, kernel and file system with them? I have never used CCS before, so I eagerly hope someone could show me the steps or where I can find the answer.
Thank you and best regards!
Li Weichen
2005-11-27
Quoted 6 lines · Li Weichen
Hi all,
I have an TI XDS560 emulator and CCS 3.1 by hand. Can I load the bootloader, kernel and file system with them? I have never used CCS before, so I eagerly hope someone could show me the steps or where I can find the answer.
I'm right now working on the same problem. I'm using XDS510 if that matters. The aim is to transfer u-boot to omap5912's SRAM and then burn it into the virgin onboard flash of our custom board. I plan to transfer kernel and the rest later when already booted up from u-boot.
Initially I started to modify u-boot so that it could run in SRAM, with jtag connected, so that I could use u-boot functionality to burn itself into flash. However, it turned out more and more changes to u-boot were needed so I decided to whip up a little custom flash programmer for that.
The scheme is the following: the u-boot image will be appended to the flash programmer image, the result will be converted to the TI's COFF format and transferred from CCS over jtag to omap's SRAM, where the programmer will be started.
I have CCS and jtag emulator working. I really recommend to carefully read the instructions at Spectrum Digital's webpage on how to set it all correctly up. I have written a little COFF header generator to convert raw images into TI's COFF; that's the format the CCS agrees to load over jtag. If you want the tool just let me know. Currently I am working on the flash programmer.
Olav
Hi Olav,
It is so kind of to reply. I am very interested about your COFF generator. Would you please share it? And could you give me some instructions showing the operating process if not so bother?
Thanks again.
Best regards!
Li Weichen
2005-11-28
Quoted 9 lines
-----Original Message-----
From: Olav Kongas [mailto:[email protected]]
Sent: Monday, November 28, 2005 5:55 AM
To: Li Weichen
Cc: [email protected]
Subject: Re: Basic question: how to flash omap system with ccs?
Quoted 6 lines
Quoted 4 lines · Li Weichen
Hi all,
I have an TI XDS560 emulator and CCS 3.1 by hand. Can I load the bootloader, kernel and file system with them? I have never used CCS
before,
Quoted 1 line
Quoted 1 line
so I eagerly hope someone could show me the steps or where I can find
the
Quoted 29 lines
Quoted 1 line
answer.
I'm right now working on the same problem. I'm using XDS510 if that matters. The aim is to transfer u-boot to omap5912's SRAM and then burn it into the virgin onboard flash of our custom board. I plan to transfer kernel and the rest later when already booted up from u-boot.
Initially I started to modify u-boot so that it could run in SRAM, with jtag connected, so that I could use u-boot functionality to burn itself into flash. However, it turned out more and more changes to u-boot were needed so I decided to whip up a little custom flash programmer for that.
The scheme is the following: the u-boot image will be appended to the flash programmer image, the result will be converted to the TI's COFF format and transferred from CCS over jtag to omap's SRAM, where the programmer will be started.
I have CCS and jtag emulator working. I really recommend to carefully read the instructions at Spectrum Digital's webpage on how to set it all correctly up. I have written a little COFF header generator to convert raw images into TI's COFF; that's the format the CCS agrees to load over jtag. If you want the tool just let me know. Currently I am working on the flash programmer.
Olav
Quoted 1 line · Li Weichen
It is so kind of to reply. I am very interested about your COFF generator.
I'll put it up on the web somewhere and let you know soon. However, as Steven informed us, ELF should work too.
Olav
Quoted 5 lines · Li Weichen
Hi Olav,
It is so kind of to reply. I am very interested about your COFF generator. Would you please share it? And could you give me some instructions showing the operating process if not so bother?
Here's the COFF header generator:
http://www.artecdesign.ee/~ok/coff_hdr.c.gz
About usage read the comments in the file. No special options for gcc needed.
By the way, I got also the flash programmer working.
Olav