Hi, i'm trying to reactivate my old sabre lite board. It has u-boot on an internal flash.
I can update it to the u-boot supplied by boundary devices (U-Boot 2018.07). With that i can boot their Debian 10 image. I can also boot an openbsd miniroot-nitrogen-67.img miniroot into the openbsd elf bootloader and it loads a kernel, but then nothing more happens: ----------------------------------------------------------- U-Boot 2018.07-36457-g81a65df43b (Jun 04 2020 - 11:32:21 -0700), Build: jenkins-uboot_v2018.07-193 CPU: Freescale i.MX6Q rev1.2 at 792 MHz Reset cause: POR Board: sabrelite I2C: ready DRAM: 1 GiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 Loading Environment from SPI Flash... SF: Detected sst25vf016b with page size 256 Bytes, erase size 4 KiB, total 2 MiB *** Warning - bad CRC, using default environment Failed (-5) Display: hdmi:1280x720M@60 (1280x720) In: serial Out: serial Err: serial Net: Micrel ksz9021 at 6 FEC [PRIME], usb_ether *** Warning - Started from usb, using default environment Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /6x_bootscript 249 bytes read in 8 ms (30.3 KiB/s) ## Executing script at 10008000 load - load binary file from a filesystem Usage: load <interface> [<dev[:part]> [<addr> [<filename> [bytes [pos]]]]] - Load binary file 'filename' from partition 'part' on device type 'interface' instance 'dev' to address 'addr' in memory. 'bytes' gives the size to load in bytes. If 'bytes' is 0 or omitted, the file is read until the end. 'pos' gives the file byte position to start reading from. If 'pos' is 0 or omitted, the file is read from the start. 105448 bytes read in 27 ms (3.7 MiB/s) Scanning disks on usb... Disk usb0 not ready Disk usb1 not ready Disk usb2 not ready Disk usb3 not ready Scanning disks on mmc... MMC: no card present mmc_init: -123, time 1 MMC Device 2 not found MMC Device 3 not found Scanning disks on sata... Disk sata0 not ready Found 3 disks WARNING: booting without device tree ## Starting EFI application at 12000000 ... disks: sd0* >> OpenBSD/armv7 BOOTARM 1.15 boot> cannot open sd0a:/etc/random.seed: No such file or directory booting sd0a:/bsd: 2279092+472228+9387032+513688 [166136+120+362128+197247]=0x0 <no output> ----------------------------------------------------------- The 2018 u-boot does not define the variables needed by the 6x_bootscript on our miniroot. With setenv fdtfile imx6q-sabrelite.dtb setenv fdtaddr ${fdt_addr} load mmc 0:1 ${fdtaddr} ${fdtfile} load mmc 0:1 ${loadaddr} efi/boot/bootarm.efi bootefi ${loadaddr} ${fdtaddr} i can boot the bsd.rd kernel manually. So i need to use a newer u-boot i guess? I use the imx_usb_loader method to write a new OpenBSD supplied u-boot to the board: ----------------------------------------------------------- U-Boot 2018.07-36457-g81a65df43b (Jun 04 2020 - 11:32:21 -0700), Build: jenkins-uboot_v2018.07-193 CPU: Freescale i.MX6Q rev1.2 at 792 MHz Reset cause: POR Board: sabrelite I2C: ready DRAM: 1 GiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 Loading Environment from SPI Flash... SF: Detected sst25vf016b with page size 256 Bytes, erase size 4 KiB, total 2 MiB *** Warning - bad CRC, using default environment Failed (-5) Display: hdmi:1280x720M@60 (1280x720) In: serial Out: serial Err: serial Net: Micrel ksz9021 at 6 FEC [PRIME], usb_ether *** Warning - Started from usb, using default environment Hit any key to stop autoboot: 0 MMC: no card present mmc_init: -123, time 2 MMC: no card present mmc_init: -123, time 2 AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode flags: ncq stag pm led clo only pmp pio slum part No port device detected! starting USB... USB0: Port not available. USB1: USB EHCI 1.00 scanning bus 1 for devices... 2 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found scanning usb for ethernet devices... 0 Ethernet Device(s) found Device 0: device type unknown ... is now current device ** Bad device usb 0 ** ** Bad device usb 0 ** => => ls mmc 0 3626 6x_upgrade 490496 u-boot-dtb.imx 5677 upgrade.scr 568320 u-boot.nitrogen6q.ok 4 file(s), 0 dir(s) => printenv uboot_defconfig uboot_defconfig=nitrogen6q => run upgradeu switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /upgrade.scr 5677 bytes read in 17 ms (325.2 KiB/s) ## Executing script at 10008000 Please set env_dev/part to the appropriate values script exited: continuing... MMC: no card present mmc_init: -123, time 7 AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode flags: ncq stag pm led clo only pmp pio slum part No port device detected! Device 0: device type unknown ... is now current device ** Bad device usb 0 ** ** Bad device usb 0 ** => fatload mmc 0 ${loadaddr} u-boot-dtb.imx 490496 bytes read in 46 ms (10.2 MiB/s) => sf probe SF: Detected sst25vf016b with page size 256 Bytes, erase size 4 KiB, total 2 MiB => sf erase 0 0xc2000 SF: 794624 bytes @ 0x0 Erased: OK => sf write ${loadaddr} 0x400 ${filesize} device 0 offset 0x400, size 0x77c00 SF: 490496 bytes @ 0x400 Written: OK => reset resetting ... U-Boot 2020.04 (May 24 2020 - 19:03:18 -0600) CPU: Freescale i.MX6Q rev1.2 at 792 MHz Reset cause: POR Model: Freescale i.MX6 Quad SABRE Lite Board Board: SABRE Lite I2C: ready DRAM: 1 GiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 Loading Environment from MMC... Card did not respond to voltage select! *** Warning - No block device, using default environment No panel detected: default to HDMI Display: HDMI (1024x768) In: serial Out: serial Err: serial Net: using phy at 6 FEC [PRIME], usb_ether Error: usb_ether address not set. Hit any key to stop autoboot: 0 Card did not respond to voltage select! MMC: no card present AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode flags: ncq stag pm led clo only pmp pio slum part No port device detected! ----------------------------------------------------------- As you can see, with this u-boot it says "Card did not respond to voltage select!". It does that when accessing mmc 0 or mmc 1, with a working card in it. I've tried /usr/local/share/u-boot/mx6qsabrelite/u-boot-dtb.imx and nitrogen6q/u-boot-dtb.imx. Both show this problem. So, whats the right u-boot to use? Also, if someone has it working, can you send a "printenv" output? Thanks, Benno