Visible to Intel only — GUID: gax1593117223205
Ixiasoft
1.2.1. Prerequisites
1.2.2. Getting Started
1.2.3. Generating the Initial HDL in Platform Designer
1.2.4. Modifying Top Level File
1.2.5. Adding Pin Assignments for SPIM0
1.2.6. Hardware Programming File Compilation and Generation
1.2.7. Building U-Boot
1.2.8. Preparing QSPI Image
1.2.9. Building Linux
1.2.10. Building Yocto Rootfs
1.2.11. Building spidev Test Program
1.2.12. Creating SD Card Image
1.2.13. Booting the Board
1.2.14. Testing the SPIM0
Visible to Intel only — GUID: gax1593117223205
Ixiasoft
1.2.12. Creating SD Card Image
cd $TOP_FOLDER/
sudo rm -rf sd_card && mkdir sd_card && cd sd_card
wget https://releases.rocketboards.org/release/2020.05/gsrd/tools/make_sdimage_p3.py
chmod +x make_sdimage_p3.py
mkdir fatfs && cd fatfs
cp $LINUX_BIN/a53/Image .
cp $LINUX_BIN/a53/socfpga_stratix10_socdk.dtb .
cp ../../u-boot-socfpga/u-boot.img .
cd ..
mkdir rootfs && cd rootfs
sudo tar xf $LINUX_BIN/a53/core-image-minimal-stratix10.tar.gz
sudo rm -rf lib/modules/*
sudo cp ../../spidev_flash_test home/root
cd ..
sudo python3 make_sdimage_p3.py -f \
-P fatfs/*,num=1,format=fat32,size=100M \
-P rootfs/*,num=2,format=ext3,size=400M \
-s 512M \
-n sdcard_s10.img