Hi all,
I am trying to put a SMARC IMX8M Plus board into operation, and have a hard time figuring out how to do it. Main cause is that the (custom) carrier board I use has limited connectors and is therefore apparently not suitable for Toradex Easy Installer.
More details: the carrier board has the following connectors:
- Ethernet
- UART Debug
- Jumper to enter recovery mode
- Reset button
- 1x USB-C port
- 1x micro-SD slot
So no HDMI and no USB-A ports.
I should note that I have already flashed an IMX8M Plus SMARC module of a different vendor successfully by putting the module into recovery mode and then flashing u-boot and the operating system with the uuu tool and some fastboot commands, namely:
FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev ${emmc_dev}
FB: ucmd mmc dev ${emmc_dev}
FB: flash -raw2sparse all myimage.sdimg
FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi;
FB: ucmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0
FB: done
I tried to do the same with the Toradex module. While entering recovery mode works, apparently the u-boot-toradex never enters fastboot mode, so uuu hangs during these commands.
The next approach was to use the Toradex Easy Installer. As far as I understood, TEZI usually needs HDMI and connected mouse/keyboard, so this is not possible too.
Then I learnt TEZI can also be used headless and unattended for production programming.
For the USB Stick method, I lack the connectors. The only USB-C connector is used to enter Easy Installer, and the documentation says nothing about an SD card to deploy the OS image.
The network method might work, but would be tricky to set up. Before I dive into that:
Does anyone know whether it is possible to modify/compile u-boot-toradex in such a way, that the u-boot SPL boots into fastboot mode, such that above-mentioned commands can be executed? This would be my preferred method.
I have by the way already integrated the toradex Yocto layers into my build and succesfully built u-boot and the operating system.
Any help is appreciated!
Kind regards