Intel Agilex® 7 ハード・プロセッサー・システム (HPS) のリモート・システム・アップデート・ユーザーガイド

ID 683184
日付 6/09/2023
Public
ドキュメント目次

7.1.4. 操作コマンド

次のコマンドを使用して、 Linux* ソースコードとビルド Linux*:
cd $TOP_FOLDER
rm -rf linux-socfpga
git clone https://github.com/altera-opensource/linux-socfpga
cd linux-socfpga
# checkout the branch used for this document, comment out to use default
# git checkout -b test -t origin/socfpga-5.10.110-lts
# configure the RSU driver to be built into the kernel
sed -i 's/.*CONFIG_INTEL_STRATIX10_RSU=.*/CONFIG_INTEL_STRATIX10_RSU=y/g' \
arch/arm64/configs/defconfig
make clean && make mrproper
make defconfig
make -j 24 Image dtbs
cd ..
上記の手順を完了すると、以下のファイルが作成されます。 $TOP_FOLDER/linux-socfpga :
  • アーチ/アーム64/ブーツ/イメージ — カーネルイメージ
  • アーチ/arm64/boot/dts/intel/socfpga_agilex_socdk.dtb— カーネルデバイスツリー
注: Intel® SoC FPGA Linux* GitHub 上のリリースには、以下で説明されている保持ポリシーがあります。 Linux* Git のガイドライン。ある時点で、現在は Linux* ブランチが削除され、上記のタグは機能しなくなります。このような場合は、すべてのコンポーネントの最新リリースに移行すれば機能するはずです。