Where are the Debian install images?

The link

https://images.solid-run.com/IMX6/Debian/sr-imx6-debian-bookworm-20230809-cli-sdhc.img.xz

from

is broken. The link to Debian 11 is also broken. Where can I find the installation images? Or is there a different distribution that I should use instead?

I have the same problem. Is there any archive for bootable disk? I’m trying to build it myself but without success.

The iMX6 is fully supported in mainline with Debian’s net-install. Please review the installation instructions here, debian-builder/README.armhf.md at develop-pure · SolidRun/debian-builder · GitHub

Since full Open Source support for the device is available here we recommend this installation method.

I used balenaEtcher to transfer debian image (this one SolidRun Images) to microSD card.

Then I used this bootloader SolidRun Imagesspl-imx6-emmc and u-boot-imx6-emmc.img

I put this bootloader on this microSD card where debian is with

When I attach USB hub with card reader I get

[ 6156.523113] hub 1-4:1.0: USB hub found
[ 6156.526322] hub 1-4:1.0: 4 ports detected
[ 6156.862633] usb 1-4.4: new high-speed USB device number 27 using xhci_hcd
[ 6156.988363] usb 1-4.4: New USB device found, idVendor=05e3, idProduct=0751, bcdDevice=14.04
[ 6156.988370] usb 1-4.4: New USB device strings: Mfr=3, Product=4, SerialNumber=0
[ 6156.988373] usb 1-4.4: Product: USB Storage
[ 6156.988375] usb 1-4.4: Manufacturer: USB Storage
[ 6157.006438] usb-storage 1-4.4:1.0: USB Mass Storage device detected
[ 6157.006623] scsi host10: usb-storage 1-4.4:1.0
[ 6158.031650] scsi 10:0:0:0: Direct-Access     Generic  STORAGE DEVICE   1404 PQ: 0 ANSI: 6
[ 6158.032012] sd 10:0:0:0: Attached scsi generic sg0 type 0
[ 6158.247076] sd 10:0:0:0: [sda] 15122432 512-byte logical blocks: (7.74 GB/7.21 GiB)
[ 6158.249420] sd 10:0:0:0: [sda] Write Protect is off
[ 6158.249423] sd 10:0:0:0: [sda] Mode Sense: 21 00 00 00
[ 6158.251413] sd 10:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 6158.262696]  sda: sda1

Then I put bootloader on card

sudo dd if=u-boot-imx6-emmc.img of=/dev/sda bs=1k seek=69 conv=sync
sudo dd if=spl-imx6-emmc of=/dev/sda bs=1k seek=1 conv=sync

I connected microUSB cable to Cubox and computer with linux. There was an message in dmesg

[ 2299.045375] usb 1-8.4: new full-speed USB device number 16 using xhci_hcd
[ 2299.425626] usb 1-8.4: New USB device found, idVendor=0403, idProduct=6015, bcdDevice=10.00
[ 2299.425632] usb 1-8.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2299.425635] usb 1-8.4: Product: FT230X Basic UART
[ 2299.425637] usb 1-8.4: Manufacturer: FTDI
[ 2299.425638] usb 1-8.4: SerialNumber: DN001I9J
[ 2299.444622] ftdi_sio 1-8.4:1.0: FTDI USB Serial Device converter detected
[ 2299.444661] usb 1-8.4: Detected FT-X
[ 2299.445413] usb 1-8.4: FTDI USB Serial Device converter now attached to ttyUSB0

I attached to this device with minicom using /dev/ttyUSB0 as target. I power up device and there is nothing on screen via HDMI and nothing on serial.

When I mount this SD card I can see there are files there

╰─ ls
boot.scr  debian-12.8.0-armhf-netinst.iso  dtbs  initrd.gz  lost+found  vmlinuz
╰─ more boot.scr
'VTdg'|'#d# Bootscript using the new unified bootcmd handling
# introduced with u-boot v2014.10

if test -n "${boot_targets}"; then
  echo "Mainline u-boot / new-style environment detected."
else
  echo "Non-mainline u-boot or old-style mainline u-boot detected."
  echo "This boot script uses the unified bootcmd handling of mainline"
  echo "u-boot >=v2014.10, which is not available on your system."
  echo "Please boot the installer manually."
  exit 0
fi

if test -z "${fdtfile}"; then
  echo 'fdtfile environment variable not set. Aborting boot process.'
  exit 0
fi

if test -n "${distro_bootpart}"; then
  setenv partition "${distro_bootpart}"
else
  setenv partition "${bootpart}"
fi

if test ! -e ${devtype} ${devnum}:${partition} dtbs/${fdtfile}; then
  echo "This installer medium does not contain a suitable device-tree file for"
  echo "this system (${fdtfile}). Aborting boot process."
  exit 0
fi

# Some i.MX6-based systems do not encode the baudrate in the console variable
if test "${console}" = "ttymxc0" && test -n "${baudrate}"; then
  setenv console "${console},${baudrate}"
fi

if test -n "${console}"; then
  setenv bootargs "${bootargs} console=${console}"
fi

load ${devtype} ${devnum}:${partition} ${kernel_addr_r} vmlinuz \
&& load ${devtype} ${devnum}:${partition} ${fdt_addr_r} dtbs/${fdtfile} \
&& load ${devtype} ${devnum}:${partition} ${ramdisk_addr_r} initrd.gz \
&& echo "Booting the Debian installer..." \
&& bootz ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r}

Am I doing something wrong? How can I debug this?

I also tried this guide https://www.youtube.com/watch?v=-gBoELdllnY but without luck. Cubox do not want to accept file.

I tired to use imx_usb_loader

root@lte-box:/home/lte/work/cubox/imx_usb_loader# ./imx_usb
config file <.//imx_usb.conf>
vid=0x066f pid=0x3780 file_name=mx23_usb_work.conf
vid=0x15a2 pid=0x004f file_name=mx28_usb_work.conf
vid=0x15a2 pid=0x0052 file_name=mx50_usb_work.conf
vid=0x15a2 pid=0x0054 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0061 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0063 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0071 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x007d file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0080 file_name=mx6ull_usb_work.conf
vid=0x1fc9 pid=0x0128 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0076 file_name=mx7_usb_work.conf
vid=0x1fc9 pid=0x0126 file_name=mx7ulp_usb_work.conf
vid=0x15a2 pid=0x0041 file_name=mx51_usb_work.conf
vid=0x15a2 pid=0x004e file_name=mx53_usb_work.conf
vid=0x15a2 pid=0x006a file_name=vybrid_usb_work.conf
vid=0x066f pid=0x37ff file_name=linux_gadget.conf
vid=0x1b67 pid=0x4fff file_name=mx6_usb_sdp_spl.conf
vid=0x0525 pid=0xb4a4 file_name=mx6_usb_sdp_spl.conf
vid=0x1fc9 pid=0x012b file_name=mx8mq_usb_work.conf
vid=0x1fc9 pid=0x0134 file_name=mx8mm_usb_work.conf
vid=0x1fc9 pid=0x013e file_name=mx8mn_usb_work.conf
vid=0x3016 pid=0x1001 file_name=mx8m_usb_sdp_spl.conf
no matching USB device found

I used this cable but there is nothing inside lsusb that match after I connect. I tired different ports on my host computer.

I’ve been trying to set up a Hummingboard Gate and have run into similar issues. Perhaps the following is of use to you…

I have interpreted the ‘-emmc’ to mean that these are for if you are booting from emmc. I used the ‘-sd’ versions of the images and got a bootable SD card.

I’ve read somewhere that HDMI doesn’t work with the Debian installer. I can’t find where I read that. Just mentioning it to avoid you from trying to see something on HDMI.

I figured out what was the issue. There was a problem with the power adapter. I changed to other one and everything started working again. Output for these two adapters are the same, but for some reason one of them are not working.

I used spl-imx6-emmc and u-boot-imx6-emmc.img again and it boot normally.

So for other folks, try another power adater in case of similar issues.