Hi friends,
As you may know there are some brands and some resellers, in OE we call them OEMs.
When you want to create an image you can create it for the main brand or one of its resellers, for example take a look at https://github.com/o...lude/xp-oem.inc
Imagine you want to create for all brands and resellers like us but should we create an image multiple times and upload multiple files for just 1 model which has some small differences in production ?
In my opinion it's just a waste of time and resources even for end-users because they need to dig sites and upload centers for the correct file.
The main difference is the folder structure ("IMAGEDIR" variable) which you can rename it easily and repack it as a zip, don't worry about splash files they're just bmp pictures and you can remove or replace them. examples :
We can ship CFE related files with the image but if the image is for multiple models we must not ship it, for example azboxme could be published with MICOM file but releasing an image with CFE for technomate brand is wrong because it's possible that a user try to install it on an OEM and burn his money which I don't want to happen.
An example for "MKUBIFS_ARGS" variable which is for nand flash size : https://github.com/o...lackbox-oem.inc
In this example we need to compile 2 images because the difference is in flash size like dm7020hd and dm7020hdv2 so it means we would have 2 different image files.
In some OEMs it's more complex because we have more variables "MTD_KERNEL" and "MTD_ROOTFS" :
Which I don't know much about them.
Also we have another example for different drivers : https://github.com/o...ude/ini-oem.inc
What do you think ? How we can manage to release less images for almost all OEMs ?
Maybe we can create a tool (linux or windows) that could repack the main image for OEMs with specific data table, Users could download extra files (kernel, splash, ...) for OEMs and repack them.