[U-Boot] [PATCHv2] new tool mkenvimage: generates an env image from an arbitrary config file

David Wagner david.wagner at free-electrons.com
Mon Aug 8 10:56:12 CEST 2011


On 08/08/2011 10:46 AM, Albert ARIBAUD wrote:
> Hi David,
> 
> Le 08/08/2011 10:16, David Wagner a écrit :
> 
>>>> +static void usage(void)
>>>> +{
>>>> +       printf("envcrc [-h] [-r] [-b] -s<envrionnment partition
>> size>  -o<output>  "
>>>
>>> funny, "envcrc" isnt what the filename actually is ...
>>
>> ah, yes, it began as an attempt to extend envcrc but ended up fairly
>> different.
> 
> Maybe passing argv[0] to usage() would help deal with the current name
> of the executable?
> 
> Amicalement,

Indeed, merci.

-- 
David Wagner, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com


More information about the U-Boot mailing list