On Sun, Apr 20, 2014 at 3:13 PM,  <[email protected]> wrote:
> Hi Robert,
> I found a very strange thing about this SOC.sh file, if the boot partition
> has this file (generated using your setup_sdcard.sh), the USB gadget g_multi
> is loaded automatically when Beaglebone Black boots, but without this file,
> the g_multi is not loaded, and you need run modprobe command to load it.
>
> I found this when I followed your guide to rebuild kernel. At that time,
> everything else works, but usb0 need a manual modprobe. But when I built sd
> card with setup_sdcard.sh, the g_multi is loaded automatically. By replacing
> files and changing boot options, I realized it is SOC.sh cause the
> difference. Do you know why.

"SOC.sh" sets a board variable used by a generic init script, to call
a 2nd "board" specific init script which set's up the usb gadaget
driver.

/etc/init.d/boot_scripts.sh -> (SOC.sh) -> /opt/scripts/boot/*.sh

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to