i tried flashing the imx8plus 4g gateway as described in the getting started guide here: Get started on developing with Compulab IOT-GATE-iMX8PLUS 4GB and Node.js - Balena Documentation
Until the step Provision Device when i try to boot the binary onto the device it works fine, but at this point its not continuing to do its work. I use the following command for that: sudo uuu -b emmc imx-boot_4g and i get the following output:
uuu (Universal Update Utility) for nxp imx chips – libuuu_1.5.21-6-g8c52019
And then the process kinda freezes and even waiting for hours it doens´t continue. Can anyone help me to find a solution? Why could this behaviour happen? When there is a failure why there is no specific error message provided?
Hi Mac, to put things into perspective, what the sudo uuu -b emmc imx-boot_4g command is doing is pushing a U-Boot binary from your computer to the device via the USB connection.
If the device is already running running a U-Boot and its shell can be accessed, the step above is not needed.
If a U-boot is not already programmed, the device will boot and wait for input in its serial download port, the USB in this case.
So, it does not matter if the uuu command in your PC is not finishing - what you should see is the device booting the U-Boot you have just programmed, assuming you have the serial connection to the device opened.
So, the purpose of the uuu command is to push and boot the U-Boot booloader into the device so it boots and you can access the U-Boot shell to continue with the process.
Ah i see things a bit. more clear now thanks for the reply=)
That helps me to understand the relations between the elements because i am relatively new to this iot gateway topic.
But following the step by step instructions on the website, see: Provision device #
Next, we will flash the downloaded image onto the device. To do so, follow the following steps:
Connect the PROG port to your PC using a micro USB cable. Download imx-boot.bin from the device repository and use imx uuu to boot this binary on the IOT-GATE-IMX8PLUS. Once imx-boot is running on the IOT-GATE-IMX8PLUS, the eMMC will be exposed as a USB MASS STORAGE device on your PC. Write the image downloaded from balena cloud to the device. We recommend using Etcher. After flashing is completed, disconnect the micro USB cable from the PROG port and reboot the device.
They tell that the gateway should be exposed as a.device to the computer and that is not the case. Because when i have access to the device from the PC then i can flash the image on it.
Maybe i oversee something.