[meta-ti] [PATCH] gadget init: don't dump info to info.txt on boot

Kridner, Jason jdk at ti.com
Wed Mar 7 07:25:16 PST 2012



On 3/7/12 10:22 AM, "Koen Kooi" <koen at dominion.thruhere.net> wrote:

>
>Op 7 mrt. 2012, om 16:20 heeft Jason Kridner het volgende geschreven:
>
>> On Wednesday, March 7, 2012, Koen Kooi wrote:
>> This script adds ~10s to the boot time, doesn't have error checking and
>>prevents loading the storage gadget 3 out of 10 times.
>> 
>> What is the root cause?  Would it be better to add error checking?
>
>I'm not going to add error checking, so chances are slim it will get
>fixed in time for the release.
>
>>  Remove it from ExecStartPre to get a fast, consistent boot. The
>>functionality should be moved to bone101.
>> 
>> If the drive is already mounted, is it valid to edit this file?  (I
>>would think not.)
>
>It wouldn't touch the drive, it would show the info on the webpage.

That makes some sense, but the need to "eject the drive" before this info
shows up makes me think some people might miss it.  Removing the info.txt
functionality needs an update to README.htm to stop pointing to it and I
think it makes sense to switch to the composite MSC+RNDIS+serial gadget
driver to avoid the need to eject to be able to see this information.

>
>regards,
>
>Koen
>_______________________________________________
>meta-ti mailing list
>meta-ti at yoctoproject.org
>https://lists.yoctoproject.org/listinfo/meta-ti




More information about the meta-ti mailing list