SoC EDS バージョン 14.0 の問題により、bsp-editor を使用してプリロードラーを生成して NAND フラッシュからの起動をサポートすると、以下のコンパイルエラーが表示される場合があります。
common/spl/libspl.o: in function 'spl_nand_load_image':
...\software\spl_bsp\uboot-socfpga\common\spl/spl_nand.c:36: 「nand_init」への未定義の参照
...\software\spl_bsp\uboot-socfpga\common\spl/spl_nand.c:94: 「nand_spl_load_image」への未定義の参照
...\software\spl_bsp\uboot-socfpga\common\spl/spl_nand.c:97: 「nand_spl_load_image」への未定義の参照
...\software\spl_bsp\uboot-socfpga\common\spl/spl_nand.c:99: 「nand_deselect」への未定義の参照
Makefile:178: ターゲットの「.../software/spl_bsp/uboot-socfpga/spl/u-boot-spl」のレシピに失敗しました
make[2] *** [.../software/spl_bsp/uboot-socfpga/spl/u-boot-spl] エラー 1
make[2] ディレクトリー '.../software/spl_bsp/uboot-socfpga/spl' を残す
Makefile:612: ターゲットの「spl/u-boot-spl.bin」のレシピに失敗しました
make[1] *** [spl/u-boot-spl.bin] エラー 2
make[1] ディレクトリー '.../software/spl_bsp/uboot-socfpga' を残す
make: *** [uboot-socfpga/spl/u-boot-spl.bin] エラー 2
この問題を回避するには:
- uboot-socfpga/include/configs/socfpga_common.h に移動
- \'#undef CONFIG_NAND_DENALI\' を \'#define CONFIG_NAND_DENALI\' に変更します。
この問題は、今後の SoC EDS リリースで修正される予定です。