[OE-core] [RFC oe-core] mkcard: Add a script to parition and format an SD Card

Joel A Fernandes agnel.joel at gmail.com
Mon Aug 29 23:08:45 UTC 2011


On Mon, Aug 29, 2011 at 4:03 PM, Jason Kridner <jkridner at beagleboard.org> wrote:
>>>>
>>>> This script is BSP specific and shouldn't live in the OE-core layer.
>>>
>>> The only issue is this script is used from within the IMAGE_CMD_sdimg
>>> code which lives in OE-core (meta/classes/image_types.
>>
>> classes shouldn't be calling external scripts
>>
>
> Is the right approach to add parameters to the IMAGE_CMD_sdimg class
> such that it can be used generically to produce SD card images,
> instead of trying to move this to meta-ti?  Should it perhaps be a bit
> closer to what is being done by the Linaro image tools [1]?
>
> [1] https://wiki.linaro.org/Source/ImageBuilding
>

Don't the Linaro scripts need to run on the target? Does it fit well
with OE(-core) ?

I took lot of pain to write it for OE and its almost done, so suggest
we use my method atleast for a few days ;-)

Thanks
Joel




More information about the Openembedded-core mailing list