Hi,
I am trying to set up a production setup with the web server and autoinstalled custom torizon images.
My setup:
Yavia board with Verdin AM62 with Tezi installed(in RAM as after the Recovery procedure)
Connected to laptop over ethernet
Laptop OS: Ubuntu 24.04 LTS
Tried both by hosting an http server in the directory (pythom -m http.server --directory
And by using torizoncore-builder images serve
When I connect to the Verdin module with the VNC server, it sees the images I host (meaning it downloads images.json successfully)
But when I press “Install” , the progress bar is stuck at "TorizonCore: Downloading and extracting file(s)
tezi.log from the board (this is the local web server attempt, so it gives errors when checks the previous zeroconf address, so those errors can be ignored):
qt.qpa.wayland: Failed to load client buffer integration: “wayland-egl”
qt.qpa.wayland: Available client buffer integrations: ()
USB Gadget: NCM enabled
Trying to read configblock from “mmcblk0boot0” at -512
Running Command: “/usr/bin/avahi-set-host-name” (“verdin-am62-15361815”)
Finished with exit code: 0
avahi-set-host-name:
“”
USB Gadget: NCM enabled
“AVAHI_CLIENT_S_REGISTERING”
Scanning media initially…
NCM up in 0.316 seconds
“AVAHI_CLIENT_S_RUNNING”
“AVAHI_BROWSER_CACHE_EXHAUSTED”
“AVAHI_BROWSER_ALL_FOR_NOW”
“New service ‘Custom Toradex Easy Installer Feed’ of type tezi.tcp in domain local on protocol IPv4."
Network up in 3.127 seconds
Tezi Server lookup successfully
Downloading image list from “http://tezi.toradex.com/image_list.json?PID8=00751101”
Downloading image list from “http://tezi.toradex.com/image_list_3rdparty.json?PID8=00751101”
"New service ‘Custom Toradex Easy Installer Feed’ of type tezi.tcp in domain local on protocol IPv4."
Adding zeroconf feed “Custom Toradex Easy Installer Feed”
Downloading image list from “http://stas-ubuntu.local:80/image_list.json”
Removing zeroconf feed “Custom Toradex Easy Installer Feed”
“Service ‘Custom Toradex Easy Installer Feed’ removed from the network.”
“Service ‘Custom Toradex Easy Installer Feed’ removed from the network.”
"New service ‘Custom Toradex Easy Installer Feed’ of type tezi.tcp in domain local on protocol IPv4."
Adding zeroconf feed “Custom Toradex Easy Installer Feed”
Downloading image list from “http://stas-ubuntu.local:80/image_list.json”
"New service ‘Custom Toradex Easy Installer Feed’ of type tezi.tcp in domain local on protocol IPv4."
Removing zeroconf feed “Custom Toradex Easy Installer Feed”
“Service ‘Custom Toradex Easy Installer Feed’ removed from the network.”
“Service ‘Custom Toradex Easy Installer Feed’ removed from the network.”
Downloading image list from “http://stas-ubuntu.local:80/image_list.json”
Downloading image list from “http://stas-ubuntu.local:8000/image_list.json”
Tezi Server lookup successfully
Downloading image list from “http://tezi.toradex.com/image_list.json?PID8=00751101”
Downloading image list from “http://tezi.toradex.com/image_list_3rdparty.json?PID8=00751101”
Error: “Error downloading image list: Connection refused\nURL: http://stas-ubuntu.local:80/image_list.json\nPlease try again.”
Downloading image list from “http://stas-ubuntu.local:80/image_list.json”
Downloading image list from “http://stas-ubuntu.local:8000/image_list.json”
Tezi Server lookup successfully
Downloading image list from “http://tezi.toradex.com/image_list.json?PID8=00751101”
Downloading image list from “http://tezi.toradex.com/image_list_3rdparty.json?PID8=00751101”
Error: “Error downloading image list: Connection refused\nURL: http://stas-ubuntu.local:80/image_list.json\nPlease try again.”
Downloading image list from “http://stas-ubuntu.local:80/image_list.json”
Downloading image list from “http://stas-ubuntu.local:8000/image_list.json”
Tezi Server lookup successfully
Downloading image list from “http://tezi.toradex.com/image_list.json?PID8=00751101”
Downloading image list from “http://tezi.toradex.com/image_list_3rdparty.json?PID8=00751101”
Error: “Error downloading image list: Connection refused\nURL: http://stas-ubuntu.local:80/image_list.json\nPlease try again.”
Downloading image list from “http://stas-ubuntu.local:8000/image_list.json”
Tezi Server lookup successfully
Downloading image list from “http://tezi.toradex.com/image_list.json?PID8=00751101”
Downloading image list from “http://tezi.toradex.com/image_list_3rdparty.json?PID8=00751101”
Progress: “”
Available slides (“/var/volatile/marketing//slides_vga/A.png”, “/var/volatile/marketing//slides_vga/B.png”, “/var/volatile/marketing//slides_vga/C.png”)
Processing Image: “TorizonCore”
Executing: /bin/sh ("/var/volatile/custom-tcbuild-invendor-overlays-latest/prepare.sh", “0075”, “V1.1B”, “15361815”, "/var/volatile/custom-tcbuild-invendor-overlays-latest__”)
Env: (“PATH=/bin:/usr/bin:/sbin:/usr/sbin”)
Output: “”
Finished with exit code: 0
Processing blockdev: “mmcblk0”
Partition: 0 Type: “83”
New partition table:
“start=8192,size=14868480,type=83\n”
Running Command: “/usr/sbin/sfdisk” (“-uS”, “–label”, “dos”, “/dev/mmcblk0”)
Progress: “Writing partition table”
Finished with exit code: 0
sfdisk done, output: “Checking that no-one is using this disk right now … OK\n\nDisk /dev/mmcblk0: 7.09 GiB, 7616856064 bytes, 14876672 sectors\nUnits: sectors of 1 * 512 = 512 bytes\nSector size (logical/physical): 512 bytes / 512 bytes\nI/O size (minimum/optimal): 512 bytes / 512 bytes\nDisklabel type: dos\nDisk identifier: 0x3246fb13\n\nOld situation:\n\nDevice Boot Start End Sectors Size Id Type\n/dev/mmcblk0p1 8192 14876671 14868480 7.1G 83 Linux\n\n>>> Created a new DOS disklabel with disk identifier 0xec4c3e8d.\n/dev/mmcblk0p1: Created a new partition 1 of type ‘Linux’ and of size 7.1 GiB.\nPartition #1 contains a ext4 signature.\n/dev/mmcblk0p2: Done.\n\nNew situation:\nDisklabel type: dos\nDisk identifier: 0xec4c3e8d\n\nDevice Boot Start End Sectors Size Id Type\n/dev/mmcblk0p1 8192 14876671 14868480 7.1G 83 Linux\n\nThe partition table has been altered.\nCalling ioctl() to re-read partition table.\nSyncing disks.\n”
Running Command: “/sbin/udevadm” (“settle”)
Finished with exit code: 0
Progress: “Zero’ing start of each partition”
1+0 records in
1+0 records out
Running Command: “/sbin/mkfs.ext4” (“-L”, “otaroot”, “-O ^metadata_csum”, “-T default”, “-E”, “nodiscard”, “/dev/mmcblk0p1”)
Progress: “Creating filesystem (ext4)”
Finished with exit code: 0
Running Command: “mount” (“/dev/mmcblk0p1”, “/run/media/tmp”, “-o”, “acl”)
Progress: “Mounting file system”
Finished with exit code: 0
Uncompress file “torizon-core-docker-verdin-am62.ota.tar.zst”
Running Write Command: sh (“-o”, “pipefail”, “-c”, “curl --silent --show-error --connect-timeout 10 --continue-at - --speed-limit 1024 --speed-time 10 --retry 10 ‘http://stas-ubuntu.local:8000/custom-tcbuild-invendor-overlays-latest/torizon-core-docker-verdin-am62.ota.tar.zst’ | zstd -dc | pv -b -n 2>/var/volatile/pvpipe | tar -x --xattrs --xattrs-include=‘*’ --numeric-owner --acl --warning=no-timestamp --warning=no-unknown-keyword -C /run/media/tmp/”)
Progress: “TorizonCore: Downloading and extracting file(s)”
Any ideas would be appreciated,
Thanks