[Suzaku-en:00876] Re: SZ410 simple hello program flash
Andries Muis - LR
Fri Nov 12 00:45:07 JST 2010
Thanks so far.
I probably will use the method were I make a complete mcs file with all
the regions for the bit and bin files.
Right now I use a linker script inside XPS 11.5 where the .vector is
looking at another bram space and the other sections look at the default
Now the big program I want to run as a bin file. Can you explain me how
to create the bin file and must I place all sections .vector, .text .etc
inside the DDR?
[mailto:email@hidden] On Behalf Of mio
Sent: woensdag 10 november 2010 4:01
To: SUZAKU general discussion list (in English)
Subject: [Suzaku-en:00875] Re: SZ410 simple hello program flash
> Thanks for the previous solution. To bad direct spi will not be
> implemented in XPS 12/13.
Yes. DirectSPI is not be implemented in XPS 12.
So please install "Programming Tools" 11.1.
It is iMPACT only.
> I checked the document which is at this moment the best document found
> about the suzaku-boards. The problem is I speak/read no Japanese so I
> have to pull it thru a translater.
> In the document I couldn't find the solution. Here is my problem in
> 1) I use the default project from atmark for the sz410.
> This program provides me with the first bootloader bboot. This will
> the second bootloader from flash to the RAM, and the second bootloader
> will kick a s-record file? Or linux?
The Second bootloader kick linux.
Please refer to attached file.
> I want to use the bboot to load my program from flash to ram and do a
> software reset.
SPI function is implemented in code/spi.c.
spi_copy_to_dram() will copy Flash memory to DRAM.
> The document shows a hello world program running in bram. My program
> to massive to fit inside the bram. Therefore I like to run this in
> At this point I got stuck. How can I link/create/upload this program
> flash so that by restart the bboot program will download my program
> instead of the hermit-bootloader. Or must I startup the second
> bootloader and is it then possible to startup the massive program
> instead of linux.
Hermit is initialize hard ware.
If you don't use Hermit, please read Hermit source code.
If you write your program instead of linux image, please write to image
0xf0000000:0xf07fffff FLA all bf:8K bl:128x64K/l
0xf0000000:0xf00fffff FLA fpga bf:8K bl:16x64K/l
0xf0100000:0xf011ffff FLA bootloader bf:8K bl:2x64K/l
0xf0120000:0xf07effff FLA image bf:8K bl:109x64K
0xf0120000:0xf041ffff FLA kernel bf:8K bl:48x64K
0xf0420000:0xf07effff FLA user bf:8K bl:61x64K
0xf07f0000:0xf07fffff FLA config bf:8K bl:1x64K
0x00000000:0x01ffffff RAM dram
> Hope you understand my problem, the hello world was just a simple
> explanation but my program is way bigger.
> -----Original Message-----
> From: email@hidden
> [mailto:email@hidden] On Behalf Of mio
> Sent: dinsdag 9 november 2010 7:59
> To: email@hidden
> Subject: [Suzaku-en:00873] Re: SZ410 simple hello program flash
>> I like to create a simple hello world program and place this in
>> This program must be started by bboot program instead of the second
>> bootloader hermit. Can anyone explain me how to create the hello
>> file and copy this in flash so that bboot is loading this.
> Please refer to following manual(p162-p182) for "hello world".
> GUI helps you though it is Japanese manual.
> The following previously introduced, did not resolve?
More information about the suzaku-en