Hi,
I wrote program in CCS and made ais file, then transmit to EVM flash from HyperTerminal. I dont know how configure AISgen and run program from EVM Flash using U-boot shell command.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I wrote program in CCS and made ais file, then transmit to EVM flash from HyperTerminal. I dont know how configure AISgen and run program from EVM Flash using U-boot shell command.
Hi Adam,
Adam said:I wrote program in CCS and made ais file, then transmit to EVM flash from HyperTerminal.
There might be a confusion here. If you are running Linux, you usually do not use ais for applications in the DSP side. What you do is to load a .out file (DSP executable) from Linux (not u-boot). For that you can use DSPLink or Codec Engine/iUniversal.
In this case all you have in the flash are the 3 files mentioned on this part if the GSG:
http://tiexpressdsp.com/index.php/Restoring/Flashing_OMAP-L137_Bootloaders
Adam said:I don't know how configure AISgen and run program from EVM Flash using U-boot shell command.
U-boot does not typically run programs. It is meant to boot an Operating System, like Linux
The DSP ais for an DSP application when burned into the flash would not be used with Linux. Please see an example at:
http://tiexpressdsp.com/index.php/Flashing_the_C6747
Hi Adam,
There is an examples folder under u-boot package. This has some small applications like helloworld which can be executed from u-boot command prompt.
You can refer to the README there to get an idea. Basically it will use loadb or you can tftp the program at u-boot command prompt and then issue the go command with the address where you had downloaded the program.
Thanks,
Prathap.
I am trying to run hello_world.bin from the standalone examples in the u-boot-source tree. I can load the program via tftp at 0x8001000 (I can see that something gets loaded there) but I can't figure out what the entry point is - I've tried a variety of locations without any luck. Can anyone tell me?
Okay, I figured it out. For the sake of the next novice trying to figure this out...
The standalone programs load and execute at 0x80300000 which is set in psp/u-boot-source/lib_arm/config.mk, or search for STANDALONE_LOAD_ADDR in your source tree.
To load hello_world.bin using tftp, in u-boot:
OMAP_EVM # tftp 80300000 /<your path here>/hello_world.bin
after loading, you can execute it thus:
OMAP_EVM # go 80300000 this is a test of the emergency broadcasting system
I copied hello_world.bin to /tftpboot on my host machine and thus used this exact command:
OMAP_EVM # tftp 80300000 /tftpboot/hello_world.bin
I have experimented with changing STANDALONE_LOAD_ADDR and confirmed that I can load my standalone programs at 80301000 instead, for example.