[meta-ti] [PATCH] gadget init: don't dump info to info.txt on boot
Koen Kooi
koen at dominion.thruhere.net
Wed Mar 7 07:28:49 PST 2012
Op 7 mrt. 2012, om 16:25 heeft Kridner, Jason het volgende geschreven:
>
>
> 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.
Exactly, the current 3.2.9 kernel should be safe enough to use g_multi on.
regards,
Koen
More information about the meta-ti
mailing list