AN 923: Routing Intel® Stratix® 10 HPS Peripherals to FPGA Fabric

ID 683838
Date 10/12/2020

1.2.12. Creating SD Card Image

sudo rm -rf sd_card && mkdir sd_card && cd sd_card
chmod +x
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 -f \
-P fatfs/*,num=1,format=fat32,size=100M \
-P rootfs/*,num=2,format=ext3,size=400M \
-s 512M \
-n sdcard_s10.img

Did you find the information on this page useful?

Characters remaining:

Feedback Message