Hello there,
I was hoping to get your input on two issues. I’m working with a dragonboard 410c (Inforce 6309).
1. I want to install all required libraries/software, my application/files, configuration settings for various stuff etc on one board.
Now I want to be able to clone this board to, let’s say, 50 other boards. (And possibly more in the future).
What is the best way to achieve this? I have checked out two topics about this (and posted my doubt in there previously):
- Clone a dragonboard to other dragonboard units
- Extracting eMMC content of Dragonboard 410c
Through my research and these topics, I came to the solution that once I have setup the board as I like, I use dd to write an image file. And using a bootable micro sd card (live session), I write this image to the emmc storage.
This method has worked, but it seems inelegant and prone to breaking in the future.
Is there any other way I can achieve this? There are instructions to build the kernel and flash using fastboot. Two subquestions:
a. Can I somehow include my libraries and dependencies and my application and configuration preferences and then follow the instructions to build the kernel? How would I do that?
b. Can I use fastboot for linaro based boards? (the manufacturer provides linaro and android options, are the instructions applicable to android?)
c. In addition to writing the image to mmcblk0, should I be doing anything with the other paritions (mmcblk0boot0, mmcblk0boot1, mmcblk0rpmb)
2. Let’s say I wanted to install a fresh image of linaro (as in, without my software) onto these boards (similar to, say, a fresh install of Debian on your desktop).
Then:
a. What would I need to do? Using dd (or fastboot, if that works), do I need to copy emmc_boot.mbn to aboot, boot_xx.img to boot and linaro-jessie-alip-qcom-snapdragon-arm64-xx-xx-ifc.img to rootfs?
b. Are these the correct files? (I know these are specific to the manufacturer, but in general, do they look like the right files to copy?)
c. There are two boot paritions on the original (factory) install (mmcblk0boot0 and mmcblk0boot1), is this correct?
To try this out, I dd’ed just the linaro-jessie-alip-qcom-snapdragon-arm64-xx-xx-ifc.img to the mmcblk0 from a ‘booted from sdcard’ session. Unfortunately, after removing the sdcard and rebooting, it boots to a blank screen. Could someone comment on whether I’m using the right file and/or any additional steps I’m missing to achieve this?
I would really appreciate your help with this. Thank you!