Hi All,
I'm using the n810 tablet for some USB device development work. I've
made a custom
ethernet gadget driver (modified drivers/usb/gadget/ether.c).
I've tested this driver using insmod/rmmod and putting the OTG in
peripheral mode.
Now I want it to load this module at boot time.
Currently
On Tuesday 30 June 2009 10:19:35 Mandeep Sandhu wrote:
Now I want it to load this module at boot time.
The kernel and the initial set of modules are loaded from a separate area of
the Flash memory -- not from the root filesystem which you see and modify
once the system is booted. You can see
mount -o remount,rw /mnt/initfs/
:)
But I just install any extra modules in /lib/modules/2.6.21-omap1 personally
Best Regards,
Faheem
On 6/30/09, Graham Cobb g+...@cobb.uk.net wrote:
Unfortunately, that filesystem is read-only and, in practice, you cannot
modify that set of modules (you can,
On Tuesday 30 June 2009 12:42:18 Faheem Pervez wrote:
mount -o remount,rw /mnt/initfs/
I thought I remembered that that didn't work in practice (insufficient space
to make any changes or something?). But if it works then I must be confused.
Thanks for the info.
If you decide to do that,
The initfs saw an increase of ~2MB with diablo (space taken from the
rootfs) probably for the WiMax stuff which gives you quite a bit of
space available.
Best Regards,
Faheem
On 6/30/09, Graham Cobb g+...@cobb.uk.net wrote:
On Tuesday 30 June 2009 12:42:18 Faheem Pervez wrote:
mount -o
Ok guys. Here's what I plan to do.
* Create a script usbetherup in /etc/init.d, which does the require
unloading of file_storage module and loading the g_ether one.
* Create a link S99usbetherup in /etc/rc2.d
Is this enough? Do I need a K99 counterpart as well?
Thanks again,
-mandeep
On
On Tuesday 30 June 2009 14:06:04 Mandeep Sandhu wrote:
Ok guys. Here's what I plan to do.
I assume you are talking about doing this within an installable package. I am
sure Jeremiah can help with much more guidance about handling init scripts in
packages but a few thoughts come to mind from
Thanks for the tips. Will look into using update-rc.d to make the scripts.
(I'm not building a package, so rc scripts should do fine).
Regards,
-mandeep
On Tue, Jun 30, 2009 at 7:19 PM, Graham Cobbg+...@cobb.uk.net wrote:
On Tuesday 30 June 2009 14:06:04 Mandeep Sandhu wrote:
Ok guys. Here's