Project

General

Profile

Activity

From 03/23/2026 to 04/21/2026

04/21/2026

ZM 07:53 PM Software Development: RE: make_sd.sh doesn't take command line parameters
Thanks! The boot script (both boot.cmd and the compiled boot.scr) does have windows line endings, which I think unfortunately appears to be confusing U-Boot. The config_pll script appears to be okay, which I think rules out a git hook ch... Zachary Miller
MK 06:30 PM Software Development: RE: make_sd.sh doesn't take command line parameters
Hello Zach!!
I've uploaded mitysom-a5e-ref-dma.tar.gz (1.29G) - I've compressed the whole folder.
We didn't changed the design and scripts.
Thanks!!!
Maxim Kanevsky
ZM 06:11 PM Software Development: RE: make_sd.sh doesn't take command line parameters
You're welcome!
The build seems to have partially worked since it was able to boot into U-Boot proper after the SPL, but past that it seems unable to load anything from the SD card for some reason.
Would it be possible for you to z...
Zachary Miller
MK 04:35 PM Software Development: RE: make_sd.sh doesn't take command line parameters
Thanks Zach!!!
Just to mention, we compiled mitysom-a5e-ref-dma project.
We've succedded to flash the SD card with Image and tried to run on MitySOM A5E board and getting following:
U-Boot SPL 2025.07-ga3bbf07e8158 (Mar 02 202...
Maxim Kanevsky
MK 04:01 PM Software Development: RE: make_sd.sh doesn't take command line parameters
kanevsky@fpga-sm:~/mitysom-a5e-ref/mitysom-a5e-ref-dma/scripts$ ./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 c...
Maxim Kanevsky
ZM 03:56 PM Software Development: RE: make_sd.sh doesn't take command line parameters
No problem, getting close!
Did the script produce sd_card.img.gz instead? You're giving it flags for both gzip (@-g@) and zip (@-z@), and gzip should be taking precedence.
If so and you didn't want that, you could either run @gunzi...
Zachary Miller
MK 03:38 PM Software Development: RE: make_sd.sh doesn't take command line parameters
Thanks, it works farther now. :)
kanevsky@fpga-sm:~/mitysom-a5e-ref/mitysom-a5e-ref-dma/scripts$ ./make_sd.sh -z -g\
-a \
-o sd_card.img \
-d Agilex5 \
-f $BUILD_PATH/software/bootloader/u-boot-socfpga/u-boot....
Maxim Kanevsky
ZM 03:31 PM Software Development: RE: make_sd.sh doesn't take command line parameters
The script may just not be executable. Please try this and then try again: Zachary Miller
MK 03:09 PM Software Development: RE: make_sd.sh doesn't take command line parameters
Thanks Zach
anevsky@fpga-sm:~/mitysom-a5e-ref/mitysom-a5e-ref-dma/scripts$ ./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.s...
Maxim Kanevsky
ZM 03:05 PM Software Development: RE: make_sd.sh doesn't take command line parameters
Hi Maxim,
The make_sd.sh script is intended to be run with bash, not POSIX @sh@. Could you please try running it as @./make_sd.sh@ instead of @sh make_sd.sh@ (keeping the rest of your arguments the same) and see if the errors are reso...
Zachary Miller
MK 02:24 PM Software Development: make_sd.sh doesn't take command line parameters
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...
Maxim Kanevsky
 

Also available in: Atom