# Where are the Debian install images?

**URL:** <https://community.solid-run.com/t/where-are-the-debian-install-images/940>\
**Category:** I.MX6\
**Created:** [December 17, 2024, 7:41pm UTC](https://community.solid-run.com/t/where-are-the-debian-install-images/940 "2024-12-17T19:41:01Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![augustk](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/augustk/32/356_2.png) [@augustk](https://community.solid-run.com/u/augustk)\
**Post date:** [December 17, 2024, 7:41pm UTC](https://community.solid-run.com/t/where-are-the-debian-install-images/940/1 "2024-12-17T19:41:01Z")

</div>

The link

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

from

> <https://github.com/SolidRun/Documentation/blob/bsp/imx6/debian-12_sr1.md>

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?

---

<div class="post-metadata">

**Author:** ![piterniel](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/piterniel/32/358_2.png) [@piterniel](https://community.solid-run.com/u/piterniel)\
**Post date:** [December 29, 2024, 12:13pm UTC](https://community.solid-run.com/t/where-are-the-debian-install-images/940/2 "2024-12-29T12:13:11Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jnettlet](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/jnettlet/32/62_2.png) [@jnettlet](https://community.solid-run.com/u/jnettlet)\
**Post date:** [December 30, 2024, 11:33am UTC](https://community.solid-run.com/t/where-are-the-debian-install-images/940/3 "2024-12-30T11:33:25Z")

</div>

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](https://github.com/SolidRun/debian-builder/blob/develop-pure/README.armhf.md)

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

---

<div class="post-metadata">

**Author:** ![piterniel](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/piterniel/32/358_2.png) [@piterniel](https://community.solid-run.com/u/piterniel)\
**Post date:** [December 30, 2024, 1:02pm UTC](https://community.solid-run.com/t/where-are-the-debian-install-images/940/4 "2024-12-30T13:02:16Z")

</div>

I used balenaEtcher to transfer debian image (this one [SolidRun Images](https://images.solid-run.com/Pure-Debian/armhf/12/2024-11-18_1ba322c)) to microSD card.

Then I used this bootloader [SolidRun Images](https://images.solid-run.com/IMX6/U-Boot/v2018.01/2024-09-13_19858de) — `spl-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

```auto
[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

```auto
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

```auto
[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

```auto
╰─ ls
boot.scr debian-12.8.0-armhf-netinst.iso dtbs initrd.gz lost+found vmlinuz

```

```auto
╰─ 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?

---

<div class="post-metadata">

**Author:** ![piterniel](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/piterniel/32/358_2.png) [@piterniel](https://community.solid-run.com/u/piterniel)\
**Post date:** [January 2, 2025, 3:58pm UTC](https://community.solid-run.com/t/where-are-the-debian-install-images/940/5 "2025-01-02T15:58:12Z")

</div>

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

I tired to use imx\_usb\_loader

```auto
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.

 ![05AC7777-90FC-4568-988D-90C0AC29627B](https://europe1.discourse-cdn.com/flex005/uploads/solid_run/original/1X/3251afc4d8f25a37c97e94aca64d45c0c42f6abb.jpeg)

 ![BFFCB1AB-170D-447D-95C9-B2BE2216EE9C](https://europe1.discourse-cdn.com/flex005/uploads/solid_run/original/1X/e18aa8ce70aa053b4ff7b81327b12534ad095999.jpeg)

---

<div class="post-metadata">

**Author:** ![rwigg](https://avatars.discourse-cdn.com/v4/letter/r/b5e925/32.png) [@rwigg](https://community.solid-run.com/u/rwigg)\
**Post date:** [January 16, 2025, 11:24am UTC](https://community.solid-run.com/t/where-are-the-debian-install-images/940/6 "2025-01-16T11:24:54Z")

</div>

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

> [@piterniel](#):
>
> Then I used this bootloader [SolidRun Images](https://images.solid-run.com/IMX6/U-Boot/v2018.01/2024-09-13_19858de) — `spl-imx6-emmc` and `u-boot-imx6-emmc.img`

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.

> [@piterniel](#):
>
> I power up device and there is nothing on screen via HDMI and nothing on serial.

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.

---

<div class="post-metadata">

**Author:** ![piterniel](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/piterniel/32/358_2.png) [@piterniel](https://community.solid-run.com/u/piterniel)\
**Post date:** [January 17, 2025, 8:27am UTC](https://community.solid-run.com/t/where-are-the-debian-install-images/940/7 "2025-01-17T08:27:52Z")

</div>

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**.
