Unfortunately our already installed Images have U-Boot Version 2015.04.
This U-Boot doesn’t know the command run bootcmd_dhcp. Is there a possibility to do the same with the “old” U-Boot commands and the actual Image of the “Toradex Easy Installer”?
did you try the code segment in the link you provided?
According to our information this code segment should work under 2015.04 as well.
setenv bootargs console=ttymxc0,115200 quiet video=DPI-1:640x480D video=HDMI-A-1:640x480-16@60D video=LVDS-1:d video=VGA-1:640x480-16@60D rootfstype=squashfs root=/dev/ram autoinstall ${teziargs}
# Reenable fdt relocation since in place fdt edits corrupt the ramdisk
# in a FIT image...
setenv fdt_high
# Load FIT image from location as detected by distroboot
tftp ${ramdisk_addr_r} ${prefix}tezi.itb
bootm ${ramdisk_addr_r}
On th screenshot of minicom you can see, that a wrong file is expected to be loaded. Because this file is not existent in the image of the “Toradex Easy Installer”, we have a loading timeout…
As I have already written in the question mentioned above on the first line, we have a running system (with U-Boot 2015.4) which we would like to upgrade.
We have a really deep embedded Apalis/Carrier-Board. The only available connections are the serial and the Lan port. All USB-ports are not reachable. This layout was made to use the “legacy flashing method”. In these days we didn’t know, that this flashing method will become “legacy”. Now we should flash a new Image. Of course we would prefere to use the actuel Yocto/Toradex/Boot2Qt-Image. Our idee now is to create a “state of the art” Image in the TEZI-format and load it with your ToradexEasyInstaller. The problem now is to start this ToradexEasyInstaller. We already have a Custom-Image on the Apalis. Because we can NOT load this ToradexEasyInstaller via USB-OTG we try it by “Booting from TFTP / NFS”. As soon as we have ToradexEasyInstaller running we can flash what we want.
With a actual U-Boot version I could boot this ToradexEasyInstaller, but not yet with one of our old images with U-Boot version 2015.04.
The device tree file is not visible on the TFTP-server. I think there is all included in the tezi.itb.
thanks for the explanation. Now I understand the issue.
So since currently you run U-Boot 2015.04, I am expecting that you are running BSP 2.6 on your device. You correctly identified that with the version your running now, there is no Toradex Easy Installer available.
First step would be to use the “legacy” method to update to BSP 2.8.
From there you will be able to install ToradexEasyInstaller 1.8 which you will find here:
With Toradex Easy Installer 1.8 installed, you can use that to install the newest nightly build which is version 5.3. The huge jump in version number, is our way of aligning all software to the same version number.
That was it. Thank you. Now I succeeded to boot the Toradex Easy Installer out of U-Boot version 2016.11.
The solution was, that I had to enter the U-Boot Args direct in the U-Boot-Terminal and not expect that the Args will be read from the file “boot.scr” on the TFTP-Server.
Since you already successfully installed BSP 2.8 and are able to get into U-Boot. I suggest trying the following.
To run the Toradex Easy Installer 1.8, the file “tezi.itb” needs to be placed on your TFTP server.
After that in U-boot you need to set the correct serverip as well as your own. (Which I guess you already did)
Additionally to boot you need to specify the boot arguments for the device. You achieve this by entering the following into u-boot. (These can be found in the first line of the “boot.scr” file that you can see in the Toradex Easy Installer directory)
If you completed the steps above, boot by loading the Toradex Easy Installer into the right part of the ram. You achieve this by entering tftp ${ramdisk_addr_r} You should now see the file being transferred to your device.
To finally boot it, the command bootm ${ramdisk_addr_r} is necessary.
From here Toradex Easy Installer 1.8 should boot and as soon as this has been done, you can upgrade to the newer versions of Toradex Easy Installer and from there you can upgrade to any version you want.
I reproduced this exact procedure and it worked on my side.
I hope this helps, please let me know about your progress.