[BPI-R3-MINI] can't get kernel image when install immortalwrt (emmc) via serial port

I’m a beginner, I tried to flash immortalwrt to emmc using uart, what I did was

mount -t vfat /dev/sda1 /mnt
cd /mnt

Then…

dd if=immortalwrt-mediatek-filogic-bananapi_bpi-r3-mini-emmc-gpt.bin of=/dev/mmcblk0 bs=512 seek=0 count=34 conv=fsync
echo 0 > /sys/block/mmcblk0boot0/force_ro
dd if=/dev/zero of=/dev/mmcblk0boot0 bs=512 count=8192 conv=fsync
dd if=immortalwrt-mediatek-filogic-bananapi_bpi-r3-mini-emmc-preloader.bin of=/dev/mmcblk0boot0 bs=512 conv=fsync
dd if=/dev/zero of=/dev/mmcblk0 bs=512 seek=13312 count=8192 conv=fsync
dd if=immortalwrt-mediatek-filogic-bananapi_bpi-r3-mini-emmc-bl31-uboot.fip of=/dev/mmcblk0 bs=512 seek=13312 conv=fsync

after that I followed the instructions *Set a static IP on your PC: IP 192.168.1.254/24, GW 192.168.1.1 *Serve the ImmortalWrt initramfs image using a TFTP server. *Turn the power off and on again, wait until the TFTP restore is complete.

on boot, looping here

ARP Retry count exceeded; starting again
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Using ethernet@15100000 device
TFTP from server 192.168.1.254; our IP address is 192.168.1.1
Filename 'immortalwrt-mediatek-filogic-bananapi_bpi-r3-mini-initramfs-recovery.itb'.
Load address: 0x46000000
Loading: *
Abort
Wrong Image Format for bootm command
ERROR: can't get kernel image!
MT7986> bootmenu

        ( ( ( OpenWrt ) ) )  [eMMC]       U-Boot 2023.07.02-ImmortalWrt-r27625-416c8c5c91 (Mar 26 2024 - 05:51:
      1. Run default boot command.
      2. Boot system via TFTP.
      3. Boot production system from eMMC.
      4. Boot recovery system from eMMC.
      5. Load production system via TFTP then write to eMMC.
      6. Load recovery system via TFTP then write to eMMC.
      7. Load BL31+U-Boot FIP via TFTP then write to eMMC.
      8. Load BL2 preloader via TFTP then write to eMMC.
      9. Reboot.
      a. Reset all settings to factory defaults.
      0. U-Boot console


  Press UP/DOWN to move, ENTER to select, ESC to quit

MMC read: dev # 0, block # 131072, count 256 ... 256 blocks read: OK

MMC read: dev # 0, block # 24576, count 256 ... 256 blocks read: OK

MMC read: dev # 0, block # 24576, count 256 ... 256 blocks read: OK
Using ethernet@15100000 device
TFTP from server 192.168.1.254; our IP address is 192.168.1.1
Filename 'immortalwrt-mediatek-filogic-bananapi_bpi-r3-mini-initramfs-recovery.itb'.
Load address: 0x46000000
Loading: *
ARP Retry count exceeded; starting again
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Using ethernet@15100000 device
TFTP from server 192.168.1.254; our IP address is 192.168.1.1
Filename 'immortalwrt-mediatek-filogic-bananapi_bpi-r3-mini-initramfs-recovery.itb'.
Load address: 0x46000000
Loading: *
ARP Retry count exceeded; starting again
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Using ethernet@15100000 device
TFTP from server 192.168.1.254; our IP address is 192.168.1.1
Filename 'immortalwrt-mediatek-filogic-bananapi_bpi-r3-mini-initramfs-recovery.itb'.
Load address: 0x46000000
Loading: *
Abort
Wrong Image Format for bootm command
ERROR: can't get kernel image!
MT7986>

This is the file on my flash disk

so how to solve it? Are the steps I took correct?

Imho you successfully flashed bootchain till uboot,but you miss the linux system (recovery+squashfs) :slight_smile:

how to fix it? even though the file name is correct

Recovery is explained in first post of that thread