Project

General

Profile

Recommended quick method to install Linux image on EMMC storage for high volume products

Added by Tim Troester 1 day ago

I was wondering if there is any recommended quick way to install Linux images on the EMMC storage for high volume products? I followed the guide on the wiki to do this and it takes a little while and requires familiarity with Linux. We plan to produce a large number of this product each year and was hoping there is a quicker and easier way for non-technical staff to install our image.

Tim


Replies (2)

RE: Recommended quick method to install Linux image on EMMC storage for high volume products - Added by Jonathan Cormier 1 day ago

Tim Troester wrote:

I was wondering if there is any recommended quick way to install Linux images on the EMMC storage for high volume products? I followed the guide on the wiki to do this and it takes a little while and requires familiarity with Linux. We plan to produce a large number of this product each year and was hoping there is a quicker and easier way for non-technical staff to install our image.

Were you trying the dfu usb process? I know we noticed it was pretty slow. We could likely come up with a hybrid approach where you boot over dfu and then flash the image using Android's "fastboot" tool or download the image over ethernet.

That can be run from Windows and you'd probably want to write a small GUI that automates it. And ideally lets you plug in multiple units at once.

Something like either of the following, though I have not used either. They just came up in google. Neither is likely to be plug and play ready but might be a interesting starting point
https://github.com/kiibohd/kii-dfu
https://github.com/sourcebox/dfu-buddy

Tim

Does your board have an sdcard slot? We have in the past created "programmer" sdcards that boot, flash the emmc, and then power down. The biggest downside to this method is tracking any errors that might occur and production forgetting to take out the sdcard when its done.

Also if possible we can work to shrink your emmc image. Less data to flash, will speed up whatever method you end up using.

RE: Recommended quick method to install Linux image on EMMC storage for high volume products - Added by Tim Troester about 6 hours ago

I was using the "Boot EMMC" instructions from the wiki. I didn't realize the dfu usb process was an option, thanks for pointing it out.

I tried to follow the dfu instructions but the step about modifying 62x-build.sh doesn't work for me. My 62x-build.sh script from the tip of oe-layersetup is different. Is there another version of the file I should be modifying?

In the end the slower speed of the dfu approach may make it not viable for us. I am leaning towards the "programmer" micro SD card approach since we have the card slot and our production staff is more familiar with this type of approach. The image over Ethernet could also be a nice option but I am not sure how to get something like that started.

For the SD card approach, will I need to create 2 images? One for the boot area (mmcblk0boot0) and one for the root file system (mmcblk0). If so how would I go about creating the emmc boot image from YOCTO? I wasn't able to find any examples of setting up an emmc image for mmcblk0boot0.

Tim

    (1-2/2)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)