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

Koen Kooi koen at dominion.thruhere.net
Tue Aug 30 07:13:25 UTC 2011


Op 30 aug. 2011, om 01:08 heeft Joel A Fernandes het volgende geschreven:

> 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 ;-)

I'm immune to the "but I spent a lot of time on this" type of arguments



More information about the Openembedded-core mailing list