Forum Discussion

garry's avatar
garry
Icon for New Contributor rankNew Contributor
6 years ago

CycloneV SoC 評価ボードで FPGA上で動作確認しています。 onchip memoryに .hex を登録するだけで動作すると考え、objcopy により、axf->.hex変換しました。 この.hexをonchip memoryに登録しましたが、コンパイルエラーになります。 どのような手順で .sof 作成すればよいですか?

HPS以外のQsys構成は、PIO、RAM です。

RAM1 0x00000 (for pre-loader 64KB )

RAM2 0x10000​ (for main 64KB )

LED ( PIO for Debug)

Env.

windows7 pro (64bit) 16GB mem

Quartus Prime ver18.0

DS-5 5.28.1 (build 5281011)

4 Replies

  • garry's avatar
    garry
    Icon for New Contributor rankNew Contributor

    色々とご回答ありがとうございます。

    本来の目的はまだ未達成果ですが、EPCQから​のpre-loader起動が確認できました。

    下記URLが非常に役に立ちました。​

    https://rocketboards.org/foswiki/Projects/CycloneVSoCSecureBootExample

    また何かありましたら、よろしくお願いします。

    本件、closeとさせていただきます。

    ありがとうございました。​

  • garry's avatar
    garry
    Icon for New Contributor rankNew Contributor

    ug_bm.pdfは確認しました。

    下記も確認済です。​

    # AN709.pdf

    # ​https://fpgawiki.intel.com/wiki/SocBootFromFPGA

    .sof作成に関して記載がありません。

    この意味は、 memory 初期値を配置した ".pof" を作成したいです。

    デバッグ完了後に、axf->.hexを作成し、​

    ".hexをOnchipRAMに登録すると、どうしても コンパイルエラー" になります。

    Q1.​

    ​intel hex のデータが4byte alignment されていないことが原因に思えますが、

    DS-5 AE以外のライセンスは保有していません。

    もしかしたら、"fromelf" を使用するのでしょうか?

    ​​

    現在 FPGAには、(EPCQAを除いて)、Flash Memoryは接続していません。

    Onchip Memory のみでプログラム動作を期待しています。

    Q2.

    ​単に動作だけではなく、power ON で動作するプログラムを起動できますか?

    ​制約や制限があったら教えてください。

    よろしくお願いします。

    • EBERLAZARE_I_Intel's avatar
      EBERLAZARE_I_Intel
      Icon for Regular Contributor rankRegular Contributor

      Hi,

      Rocketboards.org have more detailed information regarding the Hardware compilation, creating and updating SD Card, etc..

      https://rocketboards.org/foswiki/Main/GettingStarted

      1. Select a Board : Altera Cyclone V SoC Board

      2. Select a Tool Version : 18.1std

      3. Select a Task : You can choose the topic you’re interested in.

      In number 9 Task – “Using System Console”, you can run memory test in the System Console command.

      Please let me know if you need further help.

      Regards.