I had an Apalis imx6 board (with an Eagle board) that I had images of (bootfs.tar.gz and rootfs.tar.gz) by using the UMS procedure.
Now that Apalis imx6 board is not available for me anymore. I have bought new Apalis imx6 boards on which I’d like to put my old images. When I plug the board to my PC using OTG (Eagle board procedure), the file I see are boot.scr and tezi.itb (with my previous boards I would have seen bootfs and rootfs).
How can I update this new board with my old images bootfs.tar.gz and rootfs.tar.gz?
Could you please specify the versions of the Apalis modules (“old” and “new”) and the versions of the BSP version that you used to install (the one with rootfs.tar.gz and bootfs.tar.gz)?
Since version V1.1C, this module is shipped with Toradex Easy Installer, which explains the boot.scr and the tezi.itb.
Also, your Linux Kernel version (3.14.x) is from a BSP that is not supported anymore. So we highly recommend you upgrade to the newest BSP possible (which would be the BSP 5).
But, if you are willing to continue with the unsupported BSP, you can simply try to replace the files on the module with your rootfs.tar.gz and bootfs.tar.gz and test it. Be aware that you might face some incompatibility that can lead to an unbootable system. But you can recover it by Loading Toradex Easy Installer | Toradex Developer Center .
For the moment, I can’t do anything on the previous board because I don’t have access to it.
I tried to put the boot and rootfs on the new one, however I have several questions:
Previously with the UMS feature and my old board, when I connected the USB device, I would see sdb: sdb1 and sdb2. sdb1 would have boot in it and sdb2 would have rootfs in it. The size of boot is 4.7MB and the size of rootfs is 352MB.
Now when I plug in the new board, I only see sdb: sdb1 which has boot.scr and tezi.itb. It is a 34MB Volume.
So the only place I see on the new board is sdb: sdb1 which is a 34MB Volume. Where should I put boot and rootfs? There is no room for them both on the 34MB Volume.
I am not familiar with Toradex Easy Installer. Is there a way I could prepare the correct image using my boot.tar.gz and rootfs.tar.gz files?
The 34MB volume you’re seeing is the pre-installed Toradex Easy Installer. When you start the module normally you should see the Toradex Easy Installer on any screen you have connected to the board. If you’re not having a screen connected you can also access it by using vnc.
So far, I’ve managed to update the new board with the image “Apalis-iMX6_Console-Image-Tezi_3.0b4.254” using Toradex Easy Installer.
I tried replacing Console-Image-apalis-imx6.tar.gz with my rootfs.tar.gz and Console-Image-apalis-imx6.bootfs.tar.gz with my bootfs.tar.gz… but it didn’t work. I’d also changed image.json
Is that what I should be doing? Or is there a different image I should be working with? Or other steps I should be doing?
Best regards,
Maybe could you check out my image.json file please? If you don’t think the image.json file is the problem, then I will ask my company if they’re OK with me sending the files.
Install it on the module using Toradex Easy Installer
2.1. This Load Toradex Easy Installer article is useful here.
2.2. After flashing, the image won’t boot, but it is expected.
You will need to stop the boot process and change U-Boot variables (reference: U-Boot | Toradex Developer Center)
3.1. Change the boot_file from zImage to uImage
3.2. In the emmcboot variable, change the bootz (used for zImage) command to bootm.
After those steps, you should see the module booting (and showing several errors). If you want to keep these changes permanent, execute a saveenv and U-Boot will keep the modifications.
But, the best approach would be to use a supported BSP.
This is exactly what was used and it “worked” as described in my last message. I didn’t modify any metadata (description, version, release, etc). You might want to do that, so the information are not misleading.