Forums » Software Development »
make_sd.sh doesn't take command line parameters
Added by Maxim Kanevsky 9 days ago
We are trying to build the sd card image using documentation from https://support.criticallink.com/redmine/projects/mitysom_a5/wiki/Building_sd_2531pro
We are are using the git reference from https://support.criticallink.com/gitweb/?p=mitysom-a5e-ref.git;a=summary
Here are our environment variables :
export BUILD_PATH="/home/kanevsky/mitysom-a5e-ref/mitysom-a5e-ref-dma"
export TAR_PATH="/home/kanevsky/mitysom-a5e-ref/poky/build/tmp/work/mity_a5e-mitysom-linux/mitysom-image-base/1.0/deploy-mitysom-image-base-image-complete"
Here is the output of our console.
kanevsky@fpga-sm:~/mitysom-a5e-ref/mitysom-a5e-ref-dma/scripts$ sh make_sd.sh -a -o sd_card.img -d Agilex5 -f $BUILD_PATH/software/bootloader/u-boot-socfpga/u-boot.itb -f boot.scr -f config_pll.scr -r $BUILD_PATH/rootfs_overlay $TAR_PATH/mitysom-image-base-mity-a5e.rootfs.tar.gz
make_sd.sh: 88: [: yes: unexpected operator
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.331955 s, 3.2 GB/s
Creating partitions
Copying in rootfs
Copying in FAT files
Copying in root fs overlay
make_sd.sh: 208: [: Y: unexpected operator
make_sd.sh: 213: [: Y: unexpected operator
Replies (26)
RE: make_sd.sh doesn't take command line parameters - Added by Zachary Miller about 7 hours ago
Hi Max,
Apologies on the delay for your first question, my colleague who's more familiar with the DMA example is looking into that now. I'm not sure yet when we'll have an answer for you, but he is able to (intermittently) reproduce the RX failure here.
Regarding the dtbs, yes, these warnings are okay. They're from compiling Altera's device trees, so they're not really within our ability to fix, but our dev kits don't use the affected dtbs, so the warnings are harmless. You don't see them the second time because the build system knows those device trees haven't changed, so it doesn't have to recompile them.
Zach
- « Previous
- 1
- 2
- Next »