[Suzaku-en:00875] Re: SZ410 simple hello program flash

mio email@hidden
Wed Nov 10 12:01:23 JST 2010

  > 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
> detail.
> 1) I use the default project from atmark for the sz410.
> This program provides me with the first bootloader bboot. This will copy
> 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 is
> to massive to fit inside the bram. Therefore I like to run this in RAM.
> At this point I got stuck. How can I link/create/upload this program in
> 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 

hermit> memmap
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.
> Andries
> -----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
> Hi.
>> I like to create a simple hello world program and place this in flash.
>> This program must be started by bboot program instead of the second
>> bootloader hermit. Can anyone explain me how to create the hello world
>> 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.
> http://suzaku.atmark-techno.com/files/downloads/suzaku-starter-kit/suzak
> u_starter_kit_guide_fpga_ja-3.0.0.pdf
> The following previously introduced, did not resolve?
> http://lists.atmark-techno.com/pipermail/suzaku-en/2010-October/000865.h
> tml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: boot.gif
Type: image/gif
Size: 45937 bytes
Desc: not available
URL: <http://lists.atmark-techno.com/pipermail/suzaku-en/attachments/20101110/bcf17200/attachment.gif>

More information about the suzaku-en mailing list