Unable to find configurated image on EasyInstaller

Dear Community,

for some time now I have been trying to get the new built u-boot and linux kernel following this. So far everything has compiled. Now I want to install it using the EasyInstaller. Entering the recovery mode and loading the EasyInstaller has work so far, I see all the images from the Internet too, but when I insert the usb on the aster carrier board I don’t see the image that I built. I tried installing an image downloaded from here to see if there was a problem with my image, but I can’t see it either.

Links I also looked at:
Community, Community

Any recommendations?

Thank you.

Dear @cae30989 ,

Greetings! And Thank you for contacting Toradex Community.

It appears as if the USB is not detected. Could you please check if the USB is prepared accordingly as given in this article: https://developer.toradex.com/knowledge-base/boot-from-sd-usb-sata

Could also let us know the partition format, (NTFS doesn’t work) and also when you are serially connected to the module, could you check if the USB is listed using the lsusb command?

Thanks and regards,
Janani

Hello @saijanani.tx,
thanks for your answer. My USB has a FAT32 partition. I really hadn’t see that the USB had to be prepared for this. I’ll give it a try and I’ll let you know.

Hello @saijanani.tx,

the target listed the USB when serially connected to the module. I got output: sd 3:0:0:0: [sda] No Caching mode page found [ 1704.391828] sd 3:0:0:0: [sda] Assuming drive cache: write through

I still don’t get the configured image on the EasyInstaller. Is the partition of the USB FAT32 the right one in this case? Is there anything else I should or could try?

If it helps, this is the output of dmesg | grep sdx:

/ # dmesg | grep sda
[  545.652150] sd 0:0:0:0: [sda] 7913472 512-byte logical blocks: (4.05 GB/3.77 GiB)
[  545.652886] sd 0:0:0:0: [sda] Write Protect is off
[  545.652921] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[  545.653611] sd 0:0:0:0: [sda] No Caching mode page found
[  545.658978] sd 0:0:0:0: [sda] Assuming drive cache: write through
[  545.686432]  sda: sda1 sda2
[  545.690763] sd 0:0:0:0: [sda] Attached SCSI removable disk
[  546.606127] EXT4-fs (sda2): INFO: recovery required on readonly filesystem
[  546.606142] EXT4-fs (sda2): write access will be enabled during recovery
[  546.615427] EXT4-fs (sda2): recovery complete
[  547.200227] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
[  991.625152] sd 1:0:0:0: [sda] 7913472 512-byte logical blocks: (4.05 GB/3.77 GiB)
[  991.625878] sd 1:0:0:0: [sda] Write Protect is off
[  991.625913] sd 1:0:0:0: [sda] Mode Sense: 43 00 00 00
[  991.626623] sd 1:0:0:0: [sda] No Caching mode page found
[  991.631989] sd 1:0:0:0: [sda] Assuming drive cache: write through
[  991.656059]  sda: sda1 sda2
[  991.660258] sd 1:0:0:0: [sda] Attached SCSI removable disk
[  992.659319] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
[ 1659.624564] sd 2:0:0:0: [sda] 7913472 512-byte logical blocks: (4.05 GB/3.77 GiB)
[ 1659.625289] sd 2:0:0:0: [sda] Write Protect is off
[ 1659.625326] sd 2:0:0:0: [sda] Mode Sense: 43 00 00 00
[ 1659.626041] sd 2:0:0:0: [sda] No Caching mode page found
[ 1659.631407] sd 2:0:0:0: [sda] Assuming drive cache: write through
[ 1659.655859]  sda: sda1 sda2
[ 1659.660172] sd 2:0:0:0: [sda] Attached SCSI removable disk
[ 1661.060301] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
[ 1704.384771] sd 3:0:0:0: [sda] 7913472 512-byte logical blocks: (4.05 GB/3.77 GiB)
[ 1704.385595] sd 3:0:0:0: [sda] Write Protect is off
[ 1704.385634] sd 3:0:0:0: [sda] Mode Sense: 43 00 00 00
[ 1704.386477] sd 3:0:0:0: [sda] No Caching mode page found
[ 1704.391828] sd 3:0:0:0: [sda] Assuming drive cache: write through
[ 1704.418515]  sda: sda1 sda2
[ 1704.422909] sd 3:0:0:0: [sda] Attached SCSI removable disk
[ 1705.775128] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)

Thanks and regards.

Hello @cae30989 ,

This looks a bit odd. Could you please double-check the following :

  • Have you already extracted the downloaded .tar files and stored the complete directory into the partition.
  • Could you do ls -la on the partition and see if the files are definitely there?
  • Could you please tell us the version of the “Toradex Easy Installer” that you’re currently using?

One thing you could also try: In your extracted image folder, goto image.json and set the autoinstall: true. This will automatically install the image when the image has been detected.

Best Regards, Janani

Hello @saijanani.tx,

now that you mention it, I have a question, the link here only speeks about the bootfs and the rootfs directories. But if I’m using the Toradex Easy Installer, don’t I have to have somewhere on my USB the image.json and all the other components (TEZI) that are in the Linux Image?

To your question on the version on the Toradex Easy Installer is 1.8 | 2018-10-19 | 20.1 MB which is provided on here.

I’ll double check everything againg and set the autoinstall: true.

Thanks and best regards.

@cae30989 , Though the flashing using Toradex Easy Installer is recommended, you can also follow that article for the Legacy flashing method prior to Toradex Easy Installer.

Best Regards, Janani

Hello @saijanani.tx

I still don’t see the new configured image on the Toradex Easy Installer. I prepared the USB stick as explained on here. I extracted the downloaded .tar files into the corresponding partitions of the USB. I plugged the USB to my Aster carrier board and using minicom I used the command run usb_boot, this is the output I got:

Colibri iMX6 # run usb_boot
starting USB...
USB0:   Port not available.
USB1:   USB EHCI 1.00
scanning bus 1 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found

USB device 0: Vendor:          Rev: 1100 Prod:                 
            Type: Removable Hard Disk
            Capacity: 3864.0 MB = 3.7 GB (7913472 x 512)
** Bad device specification usb -bootable **
Scanning usb :1...

When I do the ls -la on the partitions boot and rootfs, while mounted on my host I get the following output.

The Toradex Easy Installer version is: 1.8 | 2018-10-19 | 20.1 MB.

I don’t really know what else to try, so I’d really appreciate any help.

Dear @saijanani.tx,

thank you very much for the extended answer.

Let me tell you in detail what I did and we could go through the steps together one more time.

I did not have the Toradex Easy installer already on my module, so I put the module to reset, and run the recovery script from my Host PC to have the Toradex Easy Installer. ([link][1])

Now when I connect through VNC from Host PC or a display using VGA, I see that the Toradex Easy Installer is displayed and when my module is connected to the Ethernet I can also see a list of available images form the RNDIS tab from CI feed. (Please note to not Power off the Module/Carrier board. The Toradex Easy Installer loads into the Flash of the module and gets erased during power off.)

Then I prepare my USB, by formatting it into FAT32. Then I have downloaded the same image that you downloaded, extracted using Sudo rights in my host PC, and copied the entire directory into my USB. (Copying the entire extracted directory is important! )

When I plug-in the USB, a new icon/Tab appears on the Toradex Easy Installer page. It is called Mass Storage (u). And When i refresh the RNDIS feed page, I see an image with USB symbol at the right most side. And then I clicked Install (i) tab on my Toradex Easy Installer, to then install the image.

It worked perfectly!

Kind regards.

Dear @cae30989 ,

Thank you for the Feedback. I am very glad this works now :slight_smile:

Best Regards, Janani.

Dear @cae30989 ,

I am sorry you are facing difficulties still. But whatever I suggested to you, simply works on my PC and I could observe the output.

Let me tell you in detail what I did and we could go through the steps together one more time.

  • I did not have the Toradex Easy installer already on my module, so I put the module to reset, and run the recovery script from my Host PC to have the Toradex Easy Installer. ([link][1])

  • Now when I connect through VNC from Host PC or a display using VGA, I see that the Toradex Easy Installer is displayed and when my module is connected to the Ethernet I can also see a list of available images form the RNDIS tab from CI feed. (Please note to not Power off the Module/Carrier board. The Toradex Easy Installer loads into the Flash of the module and gets erased during power off.)

  • Then I prepare my USB, by formatting it into FAT32. Then I have downloaded the same image that you downloaded, extracted using Sudo rights in my host PC, and copied the entire directory into my USB. (Copying the entire extracted directory is important! )

  • When I plug-in the USB, a new icon/Tab appears on the Toradex Easy Installer page. It is called Mass Storage (u). And When i refresh the RNDIS feed page, I see an image with USB symbol at the right most side. And then I clicked Install (i) tab on my Toradex Easy Installer, to then install the image.

As this worked for me, I would recommend you to try this procedure one more time.

Please kindly double-check this process.

Best Regards, Janani
[1]: https://developer.toradex.com/software/toradex-easy-installer#load-toradex-easy-installer-from-usb-otg