Easy Installer HTTP APIs

As I noticed that Easy Installer listens two TCP ports 5900 for VNC and 8080 for Toradex Easy Installer 5.6.0-devel HTTP API . What are the capabilities of HTTP APIs? Is it possible to follow the whole flashing process through HTTP APIs by sending commands remotely like erase, flash image xx in the usb memory and get the result of the operation?

Thank you.

Hi @Fide !

Currently, the API is only intended for internal use and is not publicly documented. It can be changed without notice. So if you develop something using it, your solution might simply break on upcoming versions. If you want to use it, you are on your own.

But, if you can, please share with us your use-case/needs/requirements. We can capture it internally and it is possible that in the future your use-case helps to make this API an official tool for Easy Installer :slight_smile:

Best regards,

Hi,
I was wondering if anything has moved on regarding this?
We too would like to have the option to automate a query to get the status from the Easy Installer.
Many thanks,
James

Hi @jamesgjatkin !

I just checked the Nightly Pre-release of Toradex Easy Installer 5.7.3 (downloadable from Loading Toradex Easy Installer | Toradex Developer Center).

And now there is the status command for tezictl.

But please, be aware that the statuses of tezictl and the HTTP API of Toradex Easy installer still remain the same: Toradex internal use.

But, anyway, I brought up your request internally :slight_smile:

Best regards,

Hi @henrique.tx ,
Thanks a lot for the reply.
I understand that there is no support offered for these tools, but is there any information available showing what functionality is currently available? I fully accept that the next build may not have the same functions, or the operation of these functions may change, but this would really help us with the internal automation processes.
James

Hi @jamesgjatkin

You can download and load the latest version of Toradex Easy Installer (which is not necessarily the same version that is shipped with the SoMs) and use the tezictl --help command to check the available commands.

Best regards,

Hi @henrique.tx
That’s great, I will check that out.
What about the HTTP/HTTPS API? Is there any information on this too?

Hi @jamesgjatkin !

I do not know this information and I just don’t know how much I can share.

I will check internally and get back to you.

Best regards,

Hi @henrique.tx ,

I did quick test with your suggestion:

/ # tezictl --help-all
Usage: tezictl [options] <command>
Toradex Easy Installer command line tool

Options:
  -h, --help               Displays help on commandline options.
  --help-all               Displays help including Qt specific options.
  -v, --version            Displays version information.
  --accept-all-licenses    Accept all license dialogs (license & release
                           notes), only available for image-install command.
  --qmljsdebugger <value>  Activates the QML/JS debugger with a specified port.
                           The value must be of format port:1234[,block].
                           "block" makes the application wait for a connection.

Arguments:
  <command>                image-list
                           image-install
                           feed-list
                           feed-add
                           status

First try image-list

/ # tezictl image-list
Currently available images:

[0]     xhcd - GPR Array image with development tools
        Version: 3.1.14 (2022-04-21)
        URI:
[1]     GPR Array image with development tools
        Version: 3.1.16 (2023-03-14)
        URI: sdcard:/gprarr-image-xbf
[2]     Toradex Embedded Linux Reference Multimedia Image
        Version: 5.7.2-devel-20230326+build.774 (2023-03-26)
        URI:
[3]     prototype2
        Version: 3.1.16 (2023-01-31)
        URI:
[4]     scs7_with_avalon-dma civetweb 1.15 - all Edimax - libsyscommon 1.36
        Version: 3.1.16 (2023-01-25)
        URI:
[5]     AlexGo-Avalon-Driver-Impelemtation4
        Version: 3.1.16 (2022-12-20)
        URI:
[6]     scs7 - civetweb 1.15 - all Edimax - libsyscommon 1.36 - Altera DMA driver added
        Version: 3.1.16 (2022-12-14)
        URI:
[7]     GPR Array image with development tools
        Version: 3.1.16 (2022-08-31)
        URI:
[8]     scs4 - GPR Array image with development tools
        Version: 3.1.16 (2022-08-19)
        URI:
[9]     scs3 - GPR Array image with development tools
        Version: 3.1.16 (2022-08-08)
        URI:
[10]    full-gprarr-image-dev-yocto-eagle-edimax - GPR Array image with development tools
        Version: 3.1.16 (2022-08-04)
        URI:
[11]    Toradex Easy Installer
        Version: 5.6.0-devel-20220309+build.296 (2022-03-09)
        URI:
[12]    TorizonCore with evaluation containers
        Version: 5.7.2+build.20.modified.container (2023-03-29)
        URI: http://tezi.toradex.com/artifactory/torizoncore-oe-prod-frankfurt/dunfell-5.x.y/release/20/verdin-imx8mp/torizon/torizon-core-docker-evaluation/teziimage/
[13]    TorizonCore with evaluation containers
        Version: 6.1.0+build.1.modified.container (2023-01-16)
        URI: http://tezi.toradex.com/artifactory/torizoncore-oe-prod-frankfurt/kirkstone-6.x.y/release/1/verdin-imx8mp/torizon/torizon-core-docker-evaluation/teziimage/
[14]    Toradex Easy Installer
        Version: 5.7.2+build.14 (2023-02-22)
        URI: http://tezi.toradex.com/artifactory/tezi-oe-prod-frankfurt/dunfell-5.x.y/release/14/verdin-imx8mp/tezi/tezi-run/teziimage/
[15]    Toradex Embedded Linux Reference Multimedia Image
        Version: 6.2.0+build.6 (2023-04-03)
        URI: http://tezi.toradex.com/artifactory/tdxref-oe-prod-frankfurt/kirkstone-6.x.y/release/6/verdin-imx8mp/tdx-xwayland/tdx-reference-multimedia-image/teziimage/
[16]    Toradex Embedded Linux Reference Multimedia Image (UPSTREAM)
        Version: 6.2.0+build.6 (2023-04-03)
        URI: http://tezi.toradex.com/artifactory/tdxref-oe-prod-frankfurt/kirkstone-6.x.y/release/6/verdin-imx8mp/tdx-xwayland-upstream/tdx-reference-multimedia-image/teziimage/
[17]    Toradex Embedded Linux Reference Minimal Image (UPSTREAM)
        Version: 6.2.0+build.6 (2023-04-03)
        URI: http://tezi.toradex.com/artifactory/tdxref-oe-prod-frankfurt/kirkstone-6.x.y/release/6/verdin-imx8mp/tdx-xwayland-upstream/tdx-reference-minimal-image/teziimage/
[18]    Toradex Embedded Linux Reference Minimal Image
        Version: 6.2.0+build.6 (2023-04-03)
        URI: http://tezi.toradex.com/artifactory/tdxref-oe-prod-frankfurt/kirkstone-6.x.y/release/6/verdin-imx8mp/tdx-xwayland/tdx-reference-minimal-image/teziimage/
[19]    Toradex Embedded Linux Reference Multimedia Image
        Version: 5.7.2+build.21 (2023-02-22)
        URI: http://tezi.toradex.com/artifactory/tdxref-oe-prod-frankfurt/dunfell-5.x.y/release/21/verdin-imx8mp/tdx-xwayland/tdx-reference-multimedia-image/teziimage/
[20]    Toradex Embedded Linux Reference Minimal Image
        Version: 5.7.2+build.21 (2023-02-22)
        URI: http://tezi.toradex.com/artifactory/tdxref-oe-prod-frankfurt/dunfell-5.x.y/release/21/verdin-imx8mp/tdx-xwayland/tdx-reference-minimal-image/teziimage/
[21]    Maivin - Modular full-stack AI Vision System - TorizonCore
        Version: auzone-0.1-torizoncore5.5.0-devel-202112 (2021-12-02)
        URI: http://tezi.toradex.com/artifactory/legacy-oe-3rdpartyprod-frankfurt/Verdin-imx8mp_Maivin-tezi-image_auzone-0.1-torizoncore5.5.0-devel-202112/teziimage/Verdin-imx8mp_Maivin-tezi-image_auzone-0.1-torizoncore5.5.0-devel-202112/

Checking status:

/ # tezictl status
idle

Then try to load image [2] Toradex Embedded Linux Reference Multimedia Image:

/ # tezictl image-install 2 --accept-all-licenses
Error: Timeout reached, aborting...

/ # tezictl status
installing
/ # tezictl status
installing
/ # tezictl status
installing
/ # tezictl status
installing
/ # tezictl status
installing
/ # tezictl status
installed
/ # tezictl status
installed

Not bad, I need to spend more time on it :slight_smile:
Thank you.

1 Like

Hi @Fide and @jamesgjatkin !

I made public an UNOFFICIAL list of the endpoints I could find in Toradex Easy Installer.

Please keep in mind that, as informed in the link below, it is not maintained and is not guaranteed to always work. Use at your own risk!

Best regards,

1 Like

Hi @henrique.tx ,

Now it is possible that my image feed server adds itself to the list of Tezi feeds. It is not official but very helpful :slight_smile:

Thank you

Hi @stefan.baumgart !

You’re welcome! :slight_smile:

Best regards,