Project

General

Profile

make_sd.sh doesn't take command line parameters

Added by Maxim Kanevsky 2 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 (14)

RE: make_sd.sh doesn't take command line parameters - Added by Zachary Miller 2 days ago

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 resolved?

Zach

RE: make_sd.sh doesn't take command line parameters - Added by Maxim Kanevsky 2 days ago

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.scr -r $BUILD_PATH/rootfs_overlay $TAR_PATH/mitysom-image-base-mity-a5e.rootfs.tar.gz
-bash: ./make_sd.sh: Permission denied

kanevsky@fpga-sm:~/mitysom-a5e-ref/mitysom-a5e-ref-dma/scripts$ sudo ./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
sudo: ./make_sd.sh: command not found

kanevsky@fpga-sm:~/mitysom-a5e-ref/mitysom-a5e-ref-dma/scripts$ ls
boot.cmd config_pll.cmd pgm-pll-uboot.sh
boot.scr config_pll.scr sd_card.img
check_timing.tcl make_sd.sh Si5332-GM3-RevD-r0-MitySOM-A5E-Std-Dev-Kit-Registers.csv

RE: make_sd.sh doesn't take command line parameters - Added by Zachary Miller 2 days ago

The script may just not be executable. Please try this and then try again:

chmod +x make_sd.sh

The script is checked into git with executable permissions, but sometimes that can get stripped during cloning depending on filesystem etc., especially if you're working in a VM or WSL.

As an aside, this script shouldn't need sudo in general.

RE: make_sd.sh doesn't take command line parameters - Added by Maxim Kanevsky 2 days ago

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.itb \
-f boot.scr \
-f config_pll.scr \
-r $BUILD_PATH/rootfs_overlay \
$TAR_PATH/mitysom-image-base-mity-a5e.rootfs.tar.gz
Creating partitions
Copying in rootfs
Copying in FAT files
Copying in root fs overlay
compressing sd_card.img
compressing sd_card.img
zip warning: name not matched: sd_card.img

zip error: Nothing to do! (sd_card.img.zip)

RE: make_sd.sh doesn't take command line parameters - Added by Zachary Miller 2 days ago

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 gunzip sd_card.img.gz to uncompress it or just rerun the script without -g.

If you do rerun the script, you may also want to leave out the sparse flag (-a). I'm not sure that will give any benefit if you're compressing the output anyway, and it can be pretty sensitive to accidentally making the output unsparse.

RE: make_sd.sh doesn't take command line parameters - Added by Maxim Kanevsky 2 days ago

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 config_pll.scr \
-r $BUILD_PATH/rootfs_overlay \
$TAR_PATH/mitysom-image-base-mity-a5e.rootfs.tar.gz
Creating partitions
Copying in rootfs
Copying in FAT files
Copying in root fs overlay

kanevsky@fpga-sm:~/mitysom-a5e-ref/mitysom-a5e-ref-dma/scripts$

:)

RE: make_sd.sh doesn't take command line parameters - Added by Maxim Kanevsky 2 days ago

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 2026 - 23:49:48 +0000)
Reset state: Cold
MPU 1250000 kHz
L4 Main 400000 kHz
L4 sys free 100000 kHz
L4 MP 200000 kHz
L4 SP 100000 kHz
SDMMC 200000 kHz
init_mem_cal: Initial DDR calibration IO96B_0 succeed
DDR: Calibration success
is_mailbox_spec_compatible: IOSSM mailbox version: 1
LPDDR4: 4096 MiB at 1066667 kHz
DDR: size check success
DDR: firewall init success
DDR: init success
QSPI: Reference clock at 400000 kHz
Bloblist at 72000 not found (err=-2)
Trying to boot from MMC1
  1. Checking hash(es) for config board-0 ... OK
  2. Checking hash(es) for Image atf ... crc32+ OK
  3. Checking hash(es) for Image uboot ... crc32+ OK
  4. Checking hash(es) for Image fdt-0 ... crc32+ OK
    NOTICE: SOCFPGA: Boot Core = 0
    NOTICE: SOCFPGA: CPU ID = 0
    NOTICE: SOCFPGA: Setting CLUSTERECTRL_EL1
    NOTICE: BL31: v2.13.0(release):QPDS25.3_REL_GSRD_PR-dirty
    NOTICE: BL31: Built : 16:30:10, Apr 16 2026

U-Boot 2025.07-ga3bbf07e8158 (Apr 20 2026 - 11:45:41 -0400)socfpga_agilex5

CPU: Altera FPGA SoCFPGA Platform (ARMv8 64bit Cortex-A55/A76)
Model: Critical Link Agilex 5 Development Kit
DRAM: 2 GiB (total 4 GiB)
Cannot find driver 'socfpga_sysreset'
Core: 32 devices, 17 uclasses, devicetree: separate
MMC: mmc0@10808000: 0
Loading Environment from FAT... Unable to read "uboot.env" from mmc0:1...
In: serial1@10c02100
Out: serial1@10c02100
Err: serial1@10c02100
Starting HPS SMMU test for SDM.
sdm_tbu_stream_ctrl_reg_1_sdm : 0x3
smmuSetBaseAddr()
smmu1_S_IDR1.secure : 0x0
smmuInitStreamTable()
main(): Installing Event Queue
main(): Installing Command Queue
Issue commands to invalidate TLBs
main(): Enabling SMMU (Non-secure only)
smmuEnableCommandProcessing
smmuEnableEventQueue
smmuEnableTranslation()
main(): Intializing a context descriptor
smmuInitBasicCD:: Created CD:
0x0001e20a c0a00018
0x00000000 00075002
0x00000000 00000002
0x00000000 00ff4400
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
main(): Initializing Stream Table entry as S1, referencing the context descriptor.
smmuInitBasicSTE:: Created STE:
0x00000000 00074a09
0x0001b1c0 980000cc
0x00283500 000f0000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
smmuInitBasicSTE:: Created STE:
0x00000000 00074a09
0x0001b1c0 980000cc
0x00283500 000f0000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
smmuInitBasicSTE:: Created STE:
0x00000000 00074a09
0x0001b1c0 980000cc
0x00283500 000f0000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
smmuInitBasicSTE:: Created STE:
0x00000000 00074a09
0x0001b1c0 980000cc
0x00283500 000f0000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
smmuInitBasicSTE:: Created STE:
0x00000000 00074a09
0x0001b1c0 980000cc
0x00283500 000f0000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
smmuInitBasicSTE:: Created STE:
0x00000000 00074a09
0x0001b1c0 980000cc
0x00283500 000f0000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
smmuInitBasicSTE:: Created STE:
0x00000000 00074a09
0x0001b1c0 980000cc
0x00283500 000f0000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
smmuInitBasicSTE:: Created STE:
0x00000000 00074a09
0x0001b1c0 980000cc
0x00283500 000f0000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
smmuInitBasicSTE:: Created STE:
0x00000000 00074a09
0x0001b1c0 980000cc
0x00283500 000f0000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
smmuInitBasicSTE:: Created STE:
0x00000000 00074a09
0x0001b1c0 980000cc
0x00283500 000f0000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
smmuInitBasicSTE:: Created STE:
0x00000000 00074a09
0x0001b1c0 980000cc
0x00283500 000f0000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
smmuInitBasicSTE:: Created STE:
0x00000000 00074a0b
0x0001b1c0 980000cc
0x00283500 000f0000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
main(): Finish Streme table setup
smmuAddCommand:: Command is:
0x00000003
0x0000000a
0x00000000
0x00000000
smmuAddCommand:: START: PROD = 0x0 COND = 0x0
after smmuQueueFull
after entry
after for_command
smmuAddCommand:: Command is:
0x00000003
0x0000000a
0x00000000
0x00000000
after flushing 0x74800 - 0x74810
smmu1_S_IDR1.secure : 0x0
after increase queue counter
after waiting command to process
smmuAddCommand:: END: PROD = 0x1 COND = 0x1
main(): Finish invalidate STE
smmuAddCommand:: Command is:
0x00000046
0x00000000
0x00000000
0x00000000
smmuAddCommand:: START: PROD = 0x1 COND = 0x1
after smmuQueueFull
after entry
after for_command
smmuAddCommand:: Command is:
0x00000046
0x00000000
0x00000000
0x00000000
after flushing 0x74810 - 0x74820
smmu1_S_IDR1.secure : 0x0
after increase queue counter
after waiting command to process
smmuAddCommand:: END: PROD = 0x2 COND = 0x2
main(): Finish SMMU setup
start to set up translation table
Successfully set up translation table
This is HPS test.
MitySOM-A5E Development Kit - Model No: A5ED-B64-144-SRC-X Serial No: 25021147
Net: No ethernet found.
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
796 bytes read in 8 ms (96.7 KiB/s)
  1. Executing script at 81000000
    'ailed to load 'config_pll.scr
  2. Executing script at 82000000
    Wrong image format for "source" command
    'ailed to load '/lib/firmware/a5e.core.rbf
    .
    U-Boot SMC: Error sending bitstream!
    SDM: Config status: (0x10000000)
    SDM Err: Mailbox in configuration state.
Command 'load' failed: Error 1
FPGA not ready. Bridge reset aborted!
gpio: pin 34 (gpio 34) value is 0
(gpio 34) value is 1
gpio: pin 35 (gpio 35) value is 0
(gpio 35) value is 1
'ailed to load '/boot/Image
'ailed to load '/boot/socfpga_agilex5_mitysom_devkit.dtb
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
'ailed to load '/boot/dma_example.dtbo
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
' - try 'help'd '
Bad Linux ARM64 Image magic!
' - try 'help'd '
' - try 'help'd '
SCRIPT FAILED: continuing...
Unknown command 'ubi' - try 'help'
Invalid bus 0 (err=-19)
Failed to initialize SPI flash at 0:0 (error -19)
QSPI: Trying to boot script at 0x81000000
  1. Executing script at 81000000
    'ailed to load 'config_pll.scr
  2. Executing script at 82000000
    Wrong image format for "source" command
    'ailed to load '/lib/firmware/a5e.core.rbf
    .
    U-Boot SMC: Error sending bitstream!
    SDM: Config status: (0x10000000)
    SDM Err: Mailbox in configuration state.

Command 'load' failed: Error 1
FPGA not ready. Bridge reset aborted!
gpio: pin 34 (gpio 34) value is 0
(gpio 34) value is 1
gpio: pin 35 (gpio 35) value is 0
(gpio 35) value is 1
'ailed to load '/boot/Image
'ailed to load '/boot/socfpga_agilex5_mitysom_devkit.dtb
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
'ailed to load '/boot/dma_example.dtbo
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
' - try 'help'd '
Bad Linux ARM64 Image magic!
' - try 'help'd '
' - try 'help'd '
QSPI: SCRIPT FAILED: continuing...
Unknown command 'ubi' - try 'help'
MITYSOM_A5E #

RE: make_sd.sh doesn't take command line parameters - Added by Zachary Miller 2 days ago

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 zip up your project directory and share it with us? I've emailed you with further details.

RE: make_sd.sh doesn't take command line parameters - Added by Maxim Kanevsky 2 days ago

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!!!

RE: make_sd.sh doesn't take command line parameters - Added by Zachary Miller 2 days ago

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 changing line endings. Did you by chance open boot.cmd in a Windows text editor? I'm not sure how aggressive Windows is about changing line endings but my guess is something like that happened.

Could you try the attached boot.scr? You can either mount the first partition of the SD card and replace the file or just rerun make_sd.sh with the new file.

Note: This boot.scr is specific to this example project and platform.

boot.scr (775 Bytes) boot.scr MitySOM-A5E (not Mini), DMA example design

RE: make_sd.sh doesn't take command line parameters - Added by Maxim Kanevsky about 8 hours ago

We have decided to build the reference design using the files from https://support.criticallink.com/redmine/projects/mitysom_a5/wiki/A5ED-B64-144-SRC-X_Quartus_Pro_2531_20260310
To make sure that we are building the correct way.

Here are our paths variables.
export BASE_PATH=/home/kanevsky/mitysom-a5e-ref/mitysom-a5e-ref-base
export REF_PATH=/home/kanevsky/mitysom-a5e-ref/download_ref

We have all the files downloaded on our build machine.
kanevsky@fpga-sm:~/mitysom-a5e-ref/download_ref$ ls l $REF_PATH
total 1750376
-rw-rw-r-
1 kanevsky kanevsky 1376256 Apr 23 11:25 a5e.core.rbf
rw-rw-r- 1 kanevsky kanevsky 33554683 Apr 23 11:25 a5e.hps.jic
rw-rw-r- 1 kanevsky kanevsky 673 Apr 23 11:25 boot.scr
rw-rw-r- 1 kanevsky kanevsky 2062 Apr 23 11:25 config_pll.scr
rw-rw-r- 1 kanevsky kanevsky 22391296 Apr 23 11:25 Image
rw-r--r- 1 kanevsky kanevsky 1073741824 Mar 11 12:04 mitysom_agilex5.img
rw-rw-r- 1 kanevsky kanevsky 72173084 Apr 23 11:25 mitysom_agilex5.img.zip
rw-rw-r- 1 kanevsky kanevsky 519327134 Apr 23 11:25 mitysom-glibc-x86_64-mitysom-image-base-armv8-2a-mity-a5e-toolchain-1.0.0.sh
drwxr-xr-x 16 kanevsky kanevsky 4096 Mar 9 2018 mitysom-image-base-mity-a5e.rootfs
rw-rw-r- 1 kanevsky kanevsky 68945805 Apr 23 11:25 mitysom-image-base-mity-a5e.rootfs.tar.gz
rw-rw-r- 1 kanevsky kanevsky 110 Apr 23 11:26 shortcut
rw-rw-r- 1 kanevsky kanevsky 33651 Apr 23 11:25 socfpga_agilex5_mitysom_devkit.dtb
rw-rw-r- 1 kanevsky kanevsky 799976 Apr 23 11:25 u-boot.itb

kanevsky@fpga-sm:~/mitysom-a5e-ref/download_ref$ cd $BASE_PATH/scripts
kanevsky@fpga-sm:~/mitysom-a5e-ref/mitysom-a5e-ref-base/scripts$ ls l
total 272524
-rw-rw-r-
1 kanevsky kanevsky 601 Apr 22 10:39 boot.cmd
rw-rw-r- 1 kanevsky kanevsky 673 Apr 23 11:07 boot.scr
rw-rw-r- 1 kanevsky kanevsky 878 Apr 22 10:39 check_timing.tcl
rw-rw-r- 1 kanevsky kanevsky 1990 Apr 23 11:07 config_pll.cmd
rw-rw-r- 1 kanevsky kanevsky 2062 Apr 23 11:07 config_pll.scr
rwxrwxr-x 1 kanevsky kanevsky 6001 Apr 22 10:39 make_sd.sh
-rwxrwxr-x 1 kanevsky kanevsky 616 Apr 22 10:39 pgm-pll-uboot.sh
-rw-rw-r-
1 kanevsky kanevsky 1073741824 Apr 23 11:36 sd_card.img
rw-rw-r- 1 kanevsky kanevsky 1576 Apr 22 10:39 Si5332-GM3-RevD-r0-MitySOM-A5E-Std-Dev-Kit-Registers.csv
kanevsky@fpga-sm:~/mitysom-a5e-ref/mitysom-a5e-ref-base/scripts$ ls l $REF_PATH
total 1750376
-rw-rw-r-
1 kanevsky kanevsky 1376256 Apr 23 11:25 a5e.core.rbf
rw-rw-r- 1 kanevsky kanevsky 33554683 Apr 23 11:25 a5e.hps.jic
rw-rw-r- 1 kanevsky kanevsky 673 Apr 23 11:25 boot.scr
rw-rw-r- 1 kanevsky kanevsky 2062 Apr 23 11:25 config_pll.scr
rw-rw-r- 1 kanevsky kanevsky 22391296 Apr 23 11:25 Image
rw-r--r- 1 kanevsky kanevsky 1073741824 Mar 11 12:04 mitysom_agilex5.img
rw-rw-r- 1 kanevsky kanevsky 72173084 Apr 23 11:25 mitysom_agilex5.img.zip
rw-rw-r- 1 kanevsky kanevsky 519327134 Apr 23 11:25 mitysom-glibc-x86_64-mitysom-image-base-armv8-2a-mity-a5e-toolchain-1.0.0.sh
drwxr-xr-x 16 kanevsky kanevsky 4096 Mar 9 2018 mitysom-image-base-mity-a5e.rootfs
rw-rw-r- 1 kanevsky kanevsky 68945805 Apr 23 11:25 mitysom-image-base-mity-a5e.rootfs.tar.gz
rw-rw-r- 1 kanevsky kanevsky 110 Apr 23 11:26 shortcut
rw-rw-r- 1 kanevsky kanevsky 33651 Apr 23 11:25 socfpga_agilex5_mitysom_devkit.dtb
rw-rw-r- 1 kanevsky kanevsky 799976 Apr 23 11:25 u-boot.itb

But when we try running the script it complains about the rootfs_overlay which doesn't seem included in the webpage reference files.
kanevsky@fpga-sm:~/mitysom-a5e-ref/mitysom-a5e-ref-base/scripts$ ./make_sd.sh \
-a \
-o sd_card.img \
-d Agilex5 \
-f $REF_PATH/u-boot.itb \
-f $REF_PATH/boot.scr \
-f $REF_PATH/config_pll.scr \
-r rootfs_overlay \
$REF_PATH/mitysom-image-base-mity-a5e.rootfs.tar.gz
Creating partitions
Copying in rootfs
Copying in FAT files
Copying in root fs overlay
tar: rootfs_overlay: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now

RE: make_sd.sh doesn't take command line parameters - Added by Zachary Miller about 8 hours ago

You're correct that we don't post the rootfs_overlay, because in general it can have different things in it depending on the project's needs.

In your case, you just need to put the RBF into it per the instructions in this wiki section: https://support.criticallink.com/redmine/projects/mitysom_a5/wiki/Building_sd_2531pro#Make-SD-script. The device tree and kernel components mentioned there are already in the rootfs tarball, so you can skip those parts.

RE: make_sd.sh doesn't take command line parameters - Added by Maxim Kanevsky about 7 hours ago

Hello Zach,
Let me please thank you for your time and support!!! We getting closer, but still have some issues...

We've got some progress.
In order to find a problem, we've replaced one-by-one the files in a script and found that when we are using our own generated RBF file, we getting failure.

As I see the problem starts here:
U-Boot SMC: Error sending bitstream!
SDM: Config status: (0xf0010056)
SDM Err: Bitstream Invalid.
Bitstream Section Compatibility Update Error. Detected an error during configuration due to a corrupted bitstream.
Command 'load' failed: Error 4
FPGA not ready. Bridge reset aborted!

Just to make clear:
- I've clone the source from GIT directly to Linux machine
- No changes or any other modifications wrer done, we just following the recipe
- we've tried to create RBF in *-base and *-dma projects and getting the same problem

Please see following the whole log of the boot:

U-Boot SPL 2025.07-ga3bbf07e8158 (Mar 10 2026 - 17:55:35 +0000)
Reset state: Cold
MPU 1250000 kHz
L4 Main 400000 kHz
L4 sys free 100000 kHz
L4 MP 200000 kHz
L4 SP 100000 kHz
SDMMC 200000 kHz
init_mem_cal: Initial DDR calibration IO96B_0 succeed
DDR: Calibration success
is_mailbox_spec_compatible: IOSSM mailbox version: 1
LPDDR4: 4096 MiB at 1066667 kHz
DDR: size check success
DDR: firewall init success
DDR: init success
QSPI: Reference clock at 400000 kHz
Bloblist at 72000 not found (err=-2)
Trying to boot from MMC1
  1. Checking hash(es) for config board-0 ... OK
  2. Checking hash(es) for Image atf ... crc32+ OK
  3. Checking hash(es) for Image uboot ... crc32+ OK
  4. Checking hash(es) for Image fdt-0 ... crc32+ OK
    NOTICE: SOCFPGA: Boot Core = 0
    NOTICE: SOCFPGA: CPU ID = 0
    NOTICE: SOCFPGA: Setting CLUSTERECTRL_EL1
    NOTICE: BL31: v2.13.0(release):QPDS25.3_REL_GSRD_PR-dirty
    NOTICE: BL31: Built : 11:06:19, Apr 23 2026

U-Boot 2025.07-ga3bbf07e8158 (Apr 23 2026 - 11:06:24 -0400)socfpga_agilex5

CPU: Altera FPGA SoCFPGA Platform (ARMv8 64bit Cortex-A55/A76)
Model: Critical Link Agilex 5 Development Kit
DRAM: 2 GiB (total 4 GiB)
Cannot find driver 'socfpga_sysreset'
Core: 32 devices, 17 uclasses, devicetree: separate
MMC: mmc0@10808000: 0
Loading Environment from FAT... Unable to read "uboot.env" from mmc0:1...
In: serial1@10c02100
Out: serial1@10c02100
Err: serial1@10c02100
Starting HPS SMMU test for SDM.
sdm_tbu_stream_ctrl_reg_1_sdm : 0x3
smmuSetBaseAddr()
smmu1_S_IDR1.secure : 0x0
smmuInitStreamTable()
main(): Installing Event Queue
main(): Installing Command Queue
Issue commands to invalidate TLBs
main(): Enabling SMMU (Non-secure only)
smmuEnableCommandProcessing
smmuEnableEventQueue
smmuEnableTranslation()
main(): Intializing a context descriptor
smmuInitBasicCD:: Created CD:
0x0001e20a c0a00018
0x00000000 00075002
0x00000000 00000002
0x00000000 00ff4400
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
main(): Initializing Stream Table entry as S1, referencing the context descriptor.
smmuInitBasicSTE:: Created STE:
0x00000000 00074a09
0x0001b1c0 980000cc
0x00283500 000f0000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
smmuInitBasicSTE:: Created STE:
0x00000000 00074a09
0x0001b1c0 980000cc
0x00283500 000f0000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
smmuInitBasicSTE:: Created STE:
0x00000000 00074a09
0x0001b1c0 980000cc
0x00283500 000f0000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
smmuInitBasicSTE:: Created STE:
0x00000000 00074a09
0x0001b1c0 980000cc
0x00283500 000f0000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
smmuInitBasicSTE:: Created STE:
0x00000000 00074a09
0x0001b1c0 980000cc
0x00283500 000f0000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
smmuInitBasicSTE:: Created STE:
0x00000000 00074a09
0x0001b1c0 980000cc
0x00283500 000f0000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
smmuInitBasicSTE:: Created STE:
0x00000000 00074a09
0x0001b1c0 980000cc
0x00283500 000f0000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
smmuInitBasicSTE:: Created STE:
0x00000000 00074a09
0x0001b1c0 980000cc
0x00283500 000f0000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
smmuInitBasicSTE:: Created STE:
0x00000000 00074a09
0x0001b1c0 980000cc
0x00283500 000f0000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
smmuInitBasicSTE:: Created STE:
0x00000000 00074a09
0x0001b1c0 980000cc
0x00283500 000f0000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
smmuInitBasicSTE:: Created STE:
0x00000000 00074a09
0x0001b1c0 980000cc
0x00283500 000f0000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
smmuInitBasicSTE:: Created STE:
0x00000000 00074a0b
0x0001b1c0 980000cc
0x00283500 000f0000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
0x00000000 00000000
main(): Finish Streme table setup
smmuAddCommand:: Command is:
0x00000003
0x0000000a
0x00000000
0x00000000
smmuAddCommand:: START: PROD = 0x0 COND = 0x0
after smmuQueueFull
after entry
after for_command
smmuAddCommand:: Command is:
0x00000003
0x0000000a
0x00000000
0x00000000
after flushing 0x74800 - 0x74810
smmu1_S_IDR1.secure : 0x0
after increase queue counter
after waiting command to process
smmuAddCommand:: END: PROD = 0x1 COND = 0x1
main(): Finish invalidate STE
smmuAddCommand:: Command is:
0x00000046
0x00000000
0x00000000
0x00000000
smmuAddCommand:: START: PROD = 0x1 COND = 0x1
after smmuQueueFull
after entry
after for_command
smmuAddCommand:: Command is:
0x00000046
0x00000000
0x00000000
0x00000000
after flushing 0x74810 - 0x74820
smmu1_S_IDR1.secure : 0x0
after increase queue counter
after waiting command to process
smmuAddCommand:: END: PROD = 0x2 COND = 0x2
main(): Finish SMMU setup
start to set up translation table
Successfully set up translation table
This is HPS test.
MitySOM-A5E Development Kit - Model No: A5ED-B64-144-SRC-X Serial No: 25021147
Net: No ethernet found.
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
673 bytes read in 8 ms (82 KiB/s)
  1. Executing script at 81000000
    2062 bytes read in 9 ms (223.6 KiB/s)
  2. Executing script at 82000000
    Setting bus to 3
    1368064 bytes read in 129 ms (10.1 MiB/s)
    ..
    U-Boot SMC: Error sending bitstream!
    SDM: Config status: (0xf0010056)
    SDM Err: Bitstream Invalid.
    Bitstream Section Compatibility Update Error. Detected an error during configuration due to a corrupted bitstream.
    Command 'load' failed: Error 4
    FPGA not ready. Bridge reset aborted!
    gpio: pin 34 (gpio 34) value is 0
    gpio: pin 34 (gpio 34) value is 1
    gpio: pin 35 (gpio 35) value is 0
    gpio: pin 35 (gpio 35) value is 1
    22391296 bytes read in 991 ms (21.5 MiB/s)
    33651 bytes read in 16 ms (2 MiB/s)
  3. Flattened Device Tree blob at 86000000
    Booting using the fdt blob at 0x86000000
    Working FDT set to 86000000
    Loading Device Tree to 00000000feb18000, end 00000000feb23372 ... OK
    Working FDT set to feb18000

Starting kernel ...

Deasserting all peripheral resets
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x412fd050]
[ 0.000000] Linux version 6.12.33-yocto-standard-g511c86cb48bf (oe-user@oe-host) (aarch64-mitysom-linux-gcc (GCC) 13.4.0, GNU ld (GNU Binutils) 2.42.0.20240723) #1 SMP PREEMPT Tue Aug 27 17:16:56 UTC 2024
[ 0.000000] KASLR disabled due to lack of seed
[ 0.000000] Machine model: MitySOM-A5E Development Kit
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created DMA memory pool at 0x0000000080000000, size 32 MiB
[ 0.000000] OF: reserved mem: initialized node svcbuffer@0, compatible id shared-dma-pool
[ 0.000000] OF: reserved mem: 0x0000000080000000..0x0000000081ffffff (32768 KiB) nomap non-reusable svcbuffer@0
[ 0.000000] NUMA: Faking a node at [mem 0x0000000080000000-0x00000008ffffffff]
[ 0.000000] NODE_DATA(0) allocated [mem 0x8ff7e2080-0x8ff7e46bf]
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000080000000-0x00000000ffffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal [mem 0x0000000100000000-0x00000008ffffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080000000-0x0000000081ffffff]
[ 0.000000] node 0: [mem 0x0000000082000000-0x00000000ffffffff]
[ 0.000000] node 0: [mem 0x0000000880000000-0x00000008ffffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
[ 0.000000] cma: Reserved 32 MiB at 0x00000000fca00000 on node -1
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.5
[ 0.000000] percpu: Embedded 22 pages/cpu s52888 r8192 d29032 u90112
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: GIC system register CPU interface
[ 0.000000] CPU features: detected: Virtualization Host Extensions
[ 0.000000] CPU features: detected: Qualcomm erratum 1009, or ARM erratum 1286807, 2441009
[ 0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[ 0.000000] alternatives: applying boot alternatives
[ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootwait
[ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000] Fallback order for Node 0: 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1048576
[ 0.000000] Policy zone: Normal
[ 0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[ 0.000000] software IO TLB: area num 4.
[ 0.000000] software IO TLB: mapped [mem 0x00000000f8a00000-0x00000000fca00000] (64MB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[ 0.000000] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[ 0.000000] GICv3: 544 SPIs implemented
[ 0.000000] GICv3: 0 Extended SPIs implemented
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GICv3: GICv3 features: 16 PPIs
[ 0.000000] GICv3: GICD_CTRL.DS=0, SCR_EL3.FIQ=0
[ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000001d060000
[ 0.000000] ITS [mem 0x1d040000-0x1d05ffff]
[ 0.000000] ITS@0x000000001d040000: allocated 8192 Devices @83810000 (indirect, esz 8, psz 64K, shr 1)
[ 0.000000] ITS@0x000000001d040000: allocated 32768 Interrupt Collections @83820000 (flat, esz 2, psz 64K, shr 1)
[ 0.000000] GICv3: using LPI property table @0x0000000880040000
[ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000880050000
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] arch_timer: cp15 timer(s) running at 400.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0x7ffffffffffffff max_cycles: 0x5c4093a7d1, max_idle_ns: 440795210635 ns
[ 0.000002] sched_clock: 59 bits at 400MHz, resolution 2ns, wraps every 4398046511103ns
[ 0.000408] Console: colour dummy device 80x25
[ 0.000584] Calibrating delay loop (skipped), value calculated using timer frequency.. 800.00 BogoMIPS (lpj=1600000)
[ 0.000600] pid_max: default: 32768 minimum: 301
[ 0.000712] LSM: initializing lsm=capability
[ 0.000901] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.000929] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.016580] rcu: Hierarchical SRCU implementation.
[ 0.016589] rcu: Max phase no-delay instances is 1000.
[ 0.016837] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[ 0.020351] EFI services will not be available.
[ 0.024091] smp: Bringing up secondary CPUs ...
[ 0.032492] Detected VIPT I-cache on CPU1
[ 0.032625] GICv3: CPU1: found redistributor 100 region 0:0x000000001d080000
[ 0.032647] GICv3: CPU1: using allocated LPI pending table @0x0000000880060000
[ 0.032734] CPU1: Booted secondary processor 0x0000000100 [0x412fd050]
[ 0.044384] CPU features: detected: Spectre-v4
[ 0.044397] CPU features: detected: Spectre-BHB
[ 0.044407] CPU features: detected: SSBS not fully self-synchronizing
[ 0.044413] Detected PIPT I-cache on CPU2
[ 0.044482] GICv3: CPU2: found redistributor 200 region 0:0x000000001d0a0000
[ 0.044498] GICv3: CPU2: using allocated LPI pending table @0x0000000880070000
[ 0.044545] CPU2: Booted secondary processor 0x0000000200 [0x414fd0b1]
[ 0.045338] Detected PIPT I-cache on CPU3
[ 0.045380] GICv3: CPU3: found redistributor 300 region 0:0x000000001d0c0000
[ 0.045393] GICv3: CPU3: using allocated LPI pending table @0x0000000880080000
[ 0.045430] CPU3: Booted secondary processor 0x0000000300 [0x414fd0b1]
[ 0.045531] smp: Brought up 1 node, 4 CPUs
[ 0.045539] SMP: Total of 4 processors activated.
[ 0.045543] CPU: All CPU started at EL2
[ 0.045548] CPU features: detected: 32-bit EL0 Support
[ 0.045552] CPU features: detected: Data cache clean to the PoU not required for I/D coherence
[ 0.045559] CPU features: detected: Common not Private translations
[ 0.045562] CPU features: detected: CRC32 instructions
[ 0.045570] CPU features: detected: RCpc load-acquire (LDAPR)
[ 0.045573] CPU features: detected: LSE atomic instructions
[ 0.045576] CPU features: detected: Privileged Access Never
[ 0.045579] CPU features: detected: RAS Extension Support
[ 0.045583] CPU features: detected: Speculative Store Bypassing Safe (SSBS)
[ 0.045680] alternatives: applying system-wide alternatives
[ 0.051269] CPU features: detected: Hardware dirty bit management on CPU2-3
[ 0.051620] Memory: 3955576K/4194304K available (13056K kernel code, 1194K rwdata, 4648K rodata, 2816K init, 454K bss, 201876K reserved, 32768K cma-reserved)
[ 0.053371] devtmpfs: initialized
[ 0.058750] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.058784] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.062642] 27168 pages in range for non-PLT usage
[ 0.062649] 518688 pages in range for PLT usage
[ 0.063305] pinctrl core: initialized pinctrl subsystem
[ 0.064016] DMI not present or invalid.
[ 0.066727] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.068073] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[ 0.068196] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.068333] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.068404] audit: initializing netlink subsys (disabled)
[ 0.068673] audit: type=2000 audit(0.064:1): state=initialized audit_enabled=0 res=1
[ 0.069187] thermal_sys: Registered thermal governor 'step_wise'
[ 0.069189] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.069233] cpuidle: using governor menu
[ 0.069426] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.069500] ASID allocator initialised with 65536 entries
[ 0.069701] Serial: AMBA PL011 UART driver
[ 0.072133] /soc@0/i2c@10c02900/hd3ss3220@47: Fixed dependency cycle(s) with /soc@0/usb1@11000000
[ 0.072174] /soc@0/usb1@11000000: Fixed dependency cycle(s) with /soc@0/i2c@10c02900/hd3ss3220@47
[ 0.073042] /soc@0/i2c@10c02900/hd3ss3220@47: Fixed dependency cycle(s) with /soc@0/usb1@11000000
[ 0.074531] /soc@0/i2c@10c02900/hd3ss3220@47: Fixed dependency cycle(s) with /soc@0/usb1@11000000
[ 0.074869] /soc@0/usb1@11000000: Fixed dependency cycle(s) with /soc@0/i2c@10c02900/hd3ss3220@47
[ 0.075812] /soc@0/usb1@11000000: Fixed dependency cycle(s) with /connector
[ 0.075839] /soc@0/i2c@10c02900/hd3ss3220@47: Fixed dependency cycle(s) with /connector
[ 0.075857] /connector: Fixed dependency cycle(s) with /soc@0/i2c@10c02900/hd3ss3220@47
[ 0.075863] /connector: Fixed dependency cycle(s) with /soc@0/usb1@11000000
[ 0.077495] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.077498] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[ 0.077501] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.077503] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[ 0.077505] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.077507] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[ 0.077509] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.077510] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[ 0.079080] ACPI: Interpreter disabled.
[ 0.080282] iommu: Default domain type: Translated
[ 0.080296] iommu: DMA domain TLB invalidation policy: strict mode
[ 0.082815] SCSI subsystem initialized
[ 0.083236] usbcore: registered new interface driver usbfs
[ 0.083252] usbcore: registered new interface driver hub
[ 0.083276] usbcore: registered new device driver usb
[ 0.084077] pps_core: LinuxPPS API ver. 1 registered
[ 0.084080] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <>
[ 0.084089] PTP clock support registered
[ 0.084142] EDAC MC: Ver: 3.0.0
[ 0.084592] scmi_core: SCMI protocol bus registered
[ 0.084899] FPGA manager framework
[ 0.086049] vgaarb: loaded
[ 0.086685] clocksource: Switched to clocksource arch_sys_counter
[ 0.087581] pnp: PnP ACPI: disabled
[ 0.092977] NET: Registered PF_INET protocol family
[ 0.093332] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.095372] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[ 0.095556] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.095586] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.095915] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[ 0.101186] TCP: Hash tables configured (established 32768 bind 32768)
[ 0.101507] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.101598] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.101982] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.102748] RPC: Registered named UNIX socket transport module.
[ 0.102757] RPC: Registered udp transport module.
[ 0.102758] RPC: Registered tcp transport module.
[ 0.102760] RPC: Registered tcp-with-tls transport module.
[ 0.102762] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.102779] PCI: CLS 0 bytes, default 64
[ 0.104681] Initialise system trusted keyrings
[ 0.104933] workingset: timestamp_bits=42 max_order=20 bucket_order=0
[ 0.105374] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.105672] NFS: Registering the id_resolver key type
[ 0.105703] Key type id_resolver registered
[ 0.105704] Key type id_legacy registered
[ 0.105724] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.105729] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 0.105886] 9p: Installing v9fs 9p2000 file system support
[ 0.128904] Key type asymmetric registered
[ 0.128911] Asymmetric key parser 'x509' registered
[ 0.128982] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 0.128988] io scheduler mq-deadline registered
[ 0.128995] io scheduler kyber registered
[ 0.132287] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.136070] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.137582] printk: legacy console [ttyS0] disabled
[ 0.137776] 10c02100.serial: ttyS0 at MMIO 0x10c02100 (irq = 14, base_baud = 6250000) is a 16550A
[ 0.137875] printk: legacy console [ttyS0] enabled
[ 1.323052] arm-smmu-v3 16000000.iommu: ias 48-bit, oas 48-bit (features 0x001c1fcf)
[ 1.331328] arm-smmu-v3 16000000.iommu: allocated 65536 entries for cmdq
[ 1.338292] arm-smmu-v3 16000000.iommu: allocated 32768 entries for evtq
[ 1.345648] arm-smmu-v3 16000000.iommu: SMMU currently enabled! Resetting...
[ 1.352750] arm-smmu-v3 16000000.iommu: msi_domain absent - falling back to wired irqs
[ 1.368165] loop: module loaded
[ 1.377087] tun: Universal TUN/TAP device driver, 1.6
[ 1.384310] dwc3 11000000.usb1: Adding to iommu group 0
[ 1.626669] dwc3 11000000.usb1: DWC3 controller soft reset failed.
[ 1.632868] dwc3 11000000.usb1: error -ETIMEDOUT: failed to initialize core
[ 1.639892] dwc3 11000000.usb1: probe with driver dwc3 failed with error -110
[ 1.647398] /soc@0/i2c@10c02900/hd3ss3220@47: Fixed dependency cycle(s) with /soc@0/usb1@11000000
[ 1.656968] usbcore: registered new interface driver usb-storage
[ 1.663718] i2c_dev: i2c /dev entries driver
[ 1.670546] sdhci: Secure Digital Host Controller Interface driver
[ 1.676742] sdhci: Copyright(c) Pierre Ossman
[ 1.681202] Synopsys Designware Multimedia Card Interface Driver
[ 1.687321] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.693177] sdhci-cdns 10808000.mmc0: Adding to iommu group 1
[ 1.693459] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[ 1.706518] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 (0,8000003f) counters available
[ 1.716684] NET: Registered PF_PACKET protocol family
[ 1.721813] 9pnet: Installing 9P2000 support
[ 1.726171] Key type dns_resolver registered
[ 1.735408] registered taskstats version 1
[ 1.736324] mmc0: SDHCI controller on 10808000.mmc0 [10808000.mmc0] using ADMA 64-bit
[ 1.740877] Loading compiled-in X.509 certificates
[ 1.757909] Demotion targets for Node 0: null
[ 1.779611] /connector: Fixed dependency cycle(s) with /soc@0/i2c@10c02900/hd3ss3220@47
[ 1.787750] /soc@0/i2c@10c02900/hd3ss3220@47: Fixed dependency cycle(s) with /connector
[ 1.800327] stratix10-svc firmware:svc: Adding to iommu group 2
[ 1.808435] mmc0: new high speed SDHC card at address aaaa
[ 1.809164] stratix10-svc firmware:svc: Registered IRQ 29 for sip async operations
[ 1.815030] mmcblk0: mmc0:aaaa SA08G 7.40 GiB
[ 1.823473] Intel Service Layer Driver Initialized
[ 1.829750] mmcblk0: p1 p2
[ 1.832488] clk: Disabling unused clocks
[ 1.837690] PM: genpd: Disabling unused power domains
[ 1.843213] dw-apb-uart 10c02100.serial: forbid DMA for kernel console
[ 1.853109] EXT4-fs (mmcblk0p2): mounting ext3 file system using the ext4 subsystem
[ 1.876277] EXT4-fs (mmcblk0p2): mounted filesystem 6373fbcf-c0c4-4ac5-ba34-1be72e34a502 r/w with ordered data mode. Quota mode: disabled.
[ 1.888819] VFS: Mounted root (ext3 filesystem) on device 179:2.
[ 1.902701] devtmpfs: mounted
[ 1.919209] Freeing unused kernel memory: 2816K
[ 1.924001] Run /sbin/init as init process
[ 2.495644] systemd1: System time before build time, advancing clock.
[ 2.583587] NET: Registered PF_INET6 protocol family
[ 2.590440] Segment Routing with IPv6
[ 2.594210] In-situ OAM (IOAM) with IPv6
[ 2.669365] systemd1: systemd 255.21^ running in system mode (-PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -TPM2 -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK +XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[ 2.701263] systemd1: Detected architecture arm64.

Welcome to MitySOM (Critical Link MitySOM Reference Distro) 1.0.0 (scarthgap)!

[ 2.737198] systemd1: Hostname set to <mity-a5e>.
[ 2.749000] systemd1: Initializing machine ID from random generator.
[ 3.060484] systemd-sysv-generator103: SysV service '/etc/init.d/ifplugd' lacks a native systemd unit file, automatically generating a unit file for compatibility.
[ 3.075404] systemd-sysv-generator103: Please update package to include a native systemd unit file.
[ 3.084600] systemd-sysv-generator103: ! This compatibility logic is deprecated, expect removal soon. !
[ 3.326549] systemd1: Queued start job for default target Multi-User System.
[ 3.394429] systemd1: Created slice Slice /system/getty.
[ OK ] Created slice Slice /system/getty.
[ 3.416268] systemd1: Created slice Slice /system/modprobe.
[ OK ] Created slice Slice /system/modprobe.
[ 3.436021] systemd1: Created slice Slice /system/serial-getty.
[ OK ] Created slice Slice /system/serial-getty.
[ 3.455485] systemd1: Created slice User and Session Slice.
[ OK ] Created slice User and Session Slice.
[ 3.475092] systemd1: Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ 3.498867] systemd1: Started Forward Password Requests to Wall Directory Watch.
[ OK ] Started Forward Password Requests to Wall Directory Watch.
[ 3.518828] systemd1: Reached target Path Units.
[ OK ] Reached target Path Units.
[ 3.530746] systemd1: Reached target Remote File Systems.
[ OK ] Reached target Remote File Systems.
[ 3.542707] systemd1: Reached target Slice Units.
[ OK ] Reached target Slice Units.
[ 3.558727] systemd1: Reached target Swaps.
[ OK ] Reached target Swaps.
[ 3.573833] systemd1: Listening on Syslog Socket.
[ OK ] Listening on Syslog Socket.
[ 3.587287] systemd1: Listening on initctl Compatibility Named Pipe.
[ OK ] Listening on initctl Compatibility Named Pipe.
[ 3.608213] systemd1: Listening on Journal Audit Socket.
[ OK ] Listening on Journal Audit Socket.
[ 3.623160] systemd1: Listening on Journal Socket (/dev/log).
[ OK ] Listening on Journal Socket (/dev/log).
[ 3.639180] systemd1: Listening on Journal Socket.
[ OK ] Listening on Journal Socket.
[ 3.655351] systemd1: Listening on Network Service Netlink Socket.
[ OK ] Listening on Network Service Netlink Socket.
[ 3.675405] systemd1: Listening on udev Control Socket.
[ OK ] Listening on udev Control Socket.
[ 3.695062] systemd1: Listening on udev Kernel Socket.
[ OK ] Listening on udev Kernel Socket.
[ 3.707087] systemd1: Listening on User Database Manager Socket.
[ OK ] Listening on User Database Manager Socket.
[ 3.761606] systemd1: Mounting Huge Pages File System...
Mounting Huge Pages File System...
[ 3.784332] systemd1: Mounting POSIX Message Queue File System...
Mounting POSIX Message Queue File System...
[ 3.810513] systemd1: Mounting Kernel Debug File System...
Mounting Kernel Debug File System...
[ 3.825100] systemd1: Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
[ 3.860864] systemd1: Mounting Temporary Directory /tmp...
Mounting Temporary Directory /tmp...
[ 3.887320] systemd1: Starting Create List of Static Device Nodes...
Starting Create List of Static Device Nodes...
[ 3.926948] systemd1: Starting Load Kernel Module configfs...
Starting Load Kernel Module configfs...
[ 3.997766] systemd1: Starting Load Kernel Module drm...
Starting Load Kernel Module drm...
[ 4.032752] systemd1: Starting Load Kernel Module fuse...
Starting Load Kernel Module fuse...
[ 4.047527] systemd1: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).
[ 4.071566] systemd1: Starting Journal Service...
Starting Journal Service...
[ 4.090418] systemd1: Load Kernel Modules was skipped because no trigger condition checks were met.
[ 4.123417] fuse: init (API version 7.41)
[ 4.137607] systemd1: Starting Generate network units from Kernel command line...
Starting Generate network units from Kernel command line...
[ 4.170110] systemd1: Starting Remount Root and Kernel File Systems...
Starting Remount Root and Kernel File Systems...
[ 4.256332] systemd1: Starting Apply Kernel Variables...
Starting Apply Kernel Variables...
[ 4.283900] systemd1: Starting Coldplug All udev Devices...
Starting Coldplug All udev Devices...
[ 4.326437] systemd1: Mounted Huge Pages File System.
[ OK ] Mounted Huge Pages File System.
[ 4.348132] systemd1: Mounted POSIX Message Queue File System.
[ OK ] Mounted POSIX Message Queue File System.
[ 4.369883] systemd-journald115: Collecting audit messages is enabled.
[ 4.386837] systemd1: Mounted Kernel Debug File System.
[ OK ] Mounted Kernel Debug File System.
[ 4.416749] systemd1: Mounted Temporary Directory /tmp.
[ OK ] Mounted Temporary Directory /tmp.
[ 4.460006] EXT4-fs (mmcblk0p2): re-mounted 6373fbcf-c0c4-4ac5-ba34-1be72e34a502.
[ 4.463998] systemd1: Finished Create List of Static Device Nodes.
[ OK ] Finished Create List of Static Device Nodes.
[ 4.501522] systemd1: : Deactivated successfully.
[ 4.509665] systemd1: Finished Load Kernel Module configfs.
[ OK ] Finished Load Kernel Module configfs.
[ 4.525412] systemd1: : Deactivated successfully.
[ 4.533375] systemd1: Finished Load Kernel Module drm.
[ OK ] Finished Load Kernel Module drm.
[ 4.552090] systemd1: Started Journal Service.
[ OK ] Started Journal Service.
[ OK ] Finished Load Kernel Module fuse.
[ OK ] Finished Generate network units from Kernel command line.
[ OK ] Finished Remount Root and Kernel File Systems.
[ OK ] Finished Apply Kernel Variables.
[ OK ] Reached target Preparation for Network.
Mounting FUSE Control File System...
Mounting Kernel Configuration File System...
Starting Flush Journal to Persistent Storage...
Starting Create Static Device Nodes in /dev gracefully...
[ OK ] Mounted FUSE Control File System.
[ OK ] Mounted Kernel Configuration File System.
[ 4.957485] systemd-journald115: Received client request to flush runtime journal.
[ OK ] Finished Flush Journal to Persistent Storage.
[ OK ] Finished Create Static Device Nodes in /dev gracefully.
Starting Create System Users...
[ OK ] Finished Coldplug All udev Devices.
[ 5.185528] audit: type=1334 audit(1748544504.684:2): prog-id=6 op=LOAD
[ 5.192379] audit: type=1334 audit(1748544504.692:3): prog-id=7 op=LOAD
[ 5.199055] audit: type=1334 audit(1748544504.700:4): prog-id=8 op=LOAD
Starting User Database Manager...
[ OK ] Started User Database Manager.
[ OK ] Finished Create System Users.
Starting Create Static Device Nodes in /dev...
[ OK ] Finished Create Static Device Nodes in /dev.
[ OK ] Reached target Preparation for Local File Systems.
Mounting /var/volatile...
[ 5.601732] audit: type=1334 audit(1748544505.100:5): prog-id=9 op=LOAD
[ 5.608602] audit: type=1334 audit(1748544505.108:6): prog-id=10 op=LOAD
Starting Rule-based Manager for Device Events and Files...
[ OK ] Mounted /var/volatile.
Starting Load/Save OS Random Seed...
[ OK ] Reached target Local File Systems.
Starting Rebuild Dynamic Linker Cache...
Starting Create System Files and Directories...
[ OK ] Finished Create System Files and Directories.
Starting Rebuild Journal Catalog...
[ 6.016461] audit: type=1334 audit(1748544505.512:7): prog-id=11 op=LOAD
Starting Network Name Resolution...
[ 6.097219] audit: type=1334 audit(1748544505.596:8): prog-id=12 op=LOAD
Starting Network Time Synchronization...
Starting Record System Boot/Shutdown in UTMP...
[ OK ] Started Rule-based Manager for Device Events and Files.
[ 6.385598] audit: type=1334 audit(1748544505.884:9): prog-id=13 op=LOAD
Starting Network Configuration...
[ OK ] Finished Rebuild Journal Catalog.
[ OK ] Finished Record System Boot/Shutdown in UTMP.
[ 6.843233] random: crng init done
[ OK ] Finished Load/Save OS Random Seed.
[ OK ] Started Network Name Resolution.
[ OK ] Reached target Host and Network Name Lookups.
[ OK ] Started Network Time Synchronization.
[ OK ] Reached target System Time Set.
[ 7.704194] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 7.773958] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 7.781087] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[ 7.793975] platform regulatory.0: Direct firmware load for regulatory.db failed with error 2
[ 7.813114] cfg80211: failed to load regulatory.db
[ 7.856092] arm-smmu-v3-pmcg 16002000.pmu-tcu: Registered PMU 0x0000000016002000 using 4 counters with Global(Counter0) filter settings
[ 7.874883] arm-smmu-v3-pmcg 16042000.pmu-tbu: Registered PMU
0x0000000016042000 using 4 counters with Global(Counter0) filter settings
[ 7.905358] arm-smmu-v3-pmcg 16062000.pmu-tbu: Registered PMU 0x0000000016062000 using 4 counters with Global(Counter0) filter settings
[ 7.928450] arm-smmu-v3-pmcg 16082000.pmu-tbu: Registered PMU
0x0000000016082000 using 4 counters with Global(Counter0) filter settings
[ 7.929567] fpga_manager fpga0: Stratix10 SOC FPGA Manager registered
[ 7.944147] soc64-hwmon firmware:svc:hwmon: Initialized 4 temperature and 6 voltage channels
[ 7.944855] arm-smmu-v3-pmcg 160a2000.pmu-tbu: Registered PMU 0x00000000160a2000 using 4 counters with Global(Counter0) filter settings
[ 7.946430] arm-smmu-v3-pmcg 160c2000.pmu-tbu: Registered PMU
0x00000000160c2000 using 4 counters with Global(Counter0) filter settings
[ 7.948062] arm-smmu-v3-pmcg 160e2000.pmu-tbu: Registered PMU @ 0x00000000160e2000 using 4 counters with Global(Counter0) filter settings
[ OK ] Started Network Configuration.
[ 7.998315] stratix10-svc firmware:svc: Common async channel allocated with id 2
[ OK ] Reached target Network.
[ 8.016225] FCS config probing successfully completed
[ 8.124992] of-fpga-region fpga-region: FPGA Region probed
[ 8.154002] Internal error: synchronous external abort: 0000000096000010 [#1] PREEMPT SMP
[ 8.162569] Modules linked in: gpio_altera(+) ltc2945 of_fpga_region fpga_region altera_fcs_config fpga_bridge soc64_hwmon stratix10_soc arm_smmuv3_pmu cfg80211 rfkill fuse ipv6
[ 8.178790] CPU: 0 UID: 0 PID: 163 Comm: systemd-udevd Not tainted 6.12.33-yocto-standard-g511c86cb48bf #1
[ 8.178853] Hardware name: MitySOM-A5E Development Kit (DT)
[ 8.178877] pstate: 004000c9 (nzcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=-
)
[ 8.178893] pc : altera_gpio_irq_edge_handler+0x60/0x178 [gpio_altera]
[ 8.179018] lr : altera_gpio_irq_edge_handler+0x3c/0x178 [gpio_altera]
[ 8.179031] sp : ffff800080003f70
[ 8.179036] x29: ffff800080003f80 x28: ffff0008011f0000 x27: 0000000000000000
[ 8.179064] x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000000
[ 8.179077] x23: ffff8000814d62c0 x22: ffff000800f7bc30 x21: 0000000000000000
[ 8.179090] x20: ffff000805428080 x19: 0000000000000034 x18: 0000000000000000
[ 8.179103] x17: ffff8007fe521000 x16: ffff800080000000 x15: 0000000000000000
[ 8.179113] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000
[ 8.179123] x11: 0000000000000040 x10: ffff000800013170 x9 : ffff000800013168
[ 8.179133] x8 : ffff000800400270 x7 : 0000000000000000 x6 : 0000000000000000
[ 8.179142] x5 : ffff000800400248 x4 : ffff000800400410 x3 : 0000000000000000
[ 8.179151] x2 : 0000000000000000 x1 : ffff800081d0301c x0 : ffff8000805c3d4c
[ 8.179172] Call trace:
[ 8.179178] altera_gpio_irq_edge_handler+0x60/0x178 [gpio_altera]
[ 8.179187] handle_irq_desc+0x40/0x58
[ 8.179254] generic_handle_domain_irq+0x1c/0x28
[ 8.179264] gic_handle_irq+0x4c/0x114
[ 8.179283] call_on_irq_stack+0x24/0x4c
[ 8.179306] do_interrupt_handler+0x80/0x84
[ 8.179316] el0_interrupt+0x44/0xbc
[ 8.179352] __el0_irq_handler_common+0x18/0x24
[ 8.179368] el0t_64_irq_handler+0x10/0x1c
[ 8.179379] el0t_64_irq+0x190/0x194
[ 8.179396] Code: 9100c2d6 d503201f f9412e81 91003021 (b9400021)
[ 8.179419] ---[ end trace 0000000000000000 ]---
[ 8.179432] Kernel panic - not syncing: synchronous external abort: Fatal exception in interrupt
[ 8.179453] SMP: stopping secondary CPUs
[ 8.179482] Kernel Offset: disabled
[ 8.179485] CPU features: 0x1c,00000007,00280928,4200720b
[ 8.179493] Memory Limit: none
[ 8.368326] ---[ end Kernel panic - not syncing: synchronous external abort: Fatal exception in interrupt ]---

RE: make_sd.sh doesn't take command line parameters - Added by Zachary Miller about 5 hours ago

Hi Maxim,

Happy to help!

It looks like this is a case of the JIC and RBF files not matching.

In general, the JIC and RBF need to be both created from a project that has the same HPS I/O and clock settings. Altera documents this in pretty good detail here, but the general rule of thumb is to replace both components if you've changed clocks or HPS pinmuxing. Pins in EMIF banks also play into this and there are a few other considerations mentioned in the linked docs.

There's also a Quartus 25.3.1 bug though that may be relevant if you're using a JIC from our support site with an RBF that you compiled from the matching reference design. This is documented (with a Quartus patch to fix it) here. However, that says both the JIC (phase 1 bitstream) and RBF (phase 2 bitstream) need to be compiled with the patched version of Quartus, so I don't think it will solve your immediate issue. I don't think our posted binaries were compiled using the patch.

My recommendation if you've built the project anyway would be to try replacing both the RBF and JIC with the ones you've built.

    (1-14/14)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)