Page 3 of 6
Re: SamyGo virtual drive MOD
Posted: Wed Nov 21, 2012 8:08 am
by juusso
pohybel wrote:I've noticed that oryginal g_file_storage.ko has ~35Kb and the one compiled by me ~200Kb. Could you please write how can I make this file smaller?
Compiled from your
source and attaching stripped version of module for D series.
somewhy still get some errors with c series compiler...
Re: SamyGo virtual drive MOD
Posted: Wed Nov 21, 2012 9:59 pm
by pohybel
juuso wrote:somewhy still get some errors with c series compiler...
I also have had errors during "make" whole image so I have compiled module this way
Code: Select all
make ARCH=arm CROSS_COMPILE=arm_v7_vfp_le-
compiler will generate "*.o" files and after some time throws error "arm_v7_vfp_le-ld:--defsym zreladdr=: syntax error". At this point modules haven't been compiled yet.
- Next step is to compile just needed module:
Code: Select all
make ARCH=arm CROSS_COMPILE=arm_v7_vfp_le- M=drivers/usb/gadget
g_file_storage is ready
Re: SamyGo virtual drive MOD
Posted: Wed Nov 21, 2012 11:00 pm
by arris69
Code: Select all
--- a/arch/arm/mach-sdp/Makefile.boot 2010-11-04 19:41:05.000000000 +0100
+++ b/arch/arm/mach-sdp/Makefile.boot 2010-11-04 19:41:54.000000000 +0100
@@ -15,3 +15,9 @@
params_phys-y := 0x80000100
initrd_phys-y := 0x80800000
endif
+
+# ifeq ($(CONFIG_DISCONTIG_MEM),y) FIXME
+zreladdr-y := 0x60008000
+params_phys-y := 0x60000100
+initrd_phys-y := 0x60800000
+# endif
Re: SamyGo virtual drive MOD
Posted: Thu Nov 22, 2012 12:05 am
by pohybel
arris69 wrote:Code: Select all
--- a/arch/arm/mach-sdp/Makefile.boot 2010-11-04 19:41:05.000000000 +0100
+++ b/arch/arm/mach-sdp/Makefile.boot 2010-11-04 19:41:54.000000000 +0100
@@ -15,3 +15,9 @@
params_phys-y := 0x80000100
initrd_phys-y := 0x80800000
endif
+
+# ifeq ($(CONFIG_DISCONTIG_MEM),y) FIXME
+zreladdr-y := 0x60008000
+params_phys-y := 0x60000100
+initrd_phys-y := 0x60800000
+# endif
Works like a charm
. Compilation successfull
Re: SamyGo virtual drive MOD
Posted: Thu Nov 22, 2012 9:53 am
by juusso
Noticed you`ve attached not stripped version of module.
Here is stripped one. Anyone could check if it works?
Re: SamyGo virtual drive MOD
Posted: Thu Nov 22, 2012 7:48 pm
by pohybel
Yes, I did it on purpose. I don't know if stripped version is working for C-series - last time hasn't worked. I know that unstripped version is working for sure as tempinbox confirmed that. If someone confirm that your stripped version is working on C-series I will add it to package.
Re: SamyGo virtual drive MOD
Posted: Fri Nov 23, 2012 5:43 pm
by tempinbox
juuso wrote:Noticed you`ve attached not stripped version of module.
Here is stripped one. Anyone could check if it works?
It WORKS!!!!
Thanks thank thanks thanks Pohybel,juuso;arris69
Re: SamyGo virtual drive MOD
Posted: Mon Nov 26, 2012 12:40 am
by pohybel
tempinbox wrote:
It WORKS!!!!
Thanks for confirmation. Package has been updated.
Re: SamyGo virtual drive MOD
Posted: Sun Feb 03, 2013 10:27 pm
by rope
hmm, on my UE40D8000 if i copy the g_file_storage.ko from the D-series directory to /mtd_rwcommon/widgets/user/SamyGO/SamyGO/lib/modules/2.6.30.9/kernel/drivers/usb/gadget/ dir on the TV, and i run the 02_04_vusb.init script (from scripts dir) on the TV, it creates the vusb[1234] files /dtv, but the insmod command give the "unknown symbol in module, or unknown parameter".
is it compatible with the d8000 series too? kernel version is 2.6.30.9
thnx
Re: SamyGo virtual drive MOD
Posted: Sun Feb 17, 2013 5:15 pm
by EyesKiller
Hi, I was trying your Mod because I want connect my tv with qnap by using nfs. So I can record directly to qnap.
Unfortunatelly I believe I'm out of luck because of incompatibility. But still asking you if I'm wrong.
I have EU55D7090 with T-GAPDEUC-1015.0.
I got such error:
Code: Select all
@ init.d $ ./02_04_vusb.init start
mkfs.vfat 2.11 (12 Mar 2005)
mkfs.vfat 2.11 (12 Mar 2005)
mkfs.vfat 2.11 (12 Mar 2005)
mkfs.vfat 2.11 (12 Mar 2005)
insmod: can't insert '/mtd_down/widgets/user/SamyGO/SamyGO/lib/modules/2.6.30.9/kernel/drivers/usb/gadget/dummy_hcd.ko': File exists
insmod: can't insert '/mtd_down/widgets/user/SamyGO/SamyGO/lib/modules/2.6.30.9/kernel/drivers/usb/gadget/g_file_storage.ko': unknown symbol in module, or unknown parameter
cat: can't open '/sys/block/sd?/device/model': No such file or directory
cat: can't open '/sys/block/sd?/device/model': No such file or directory
cat: can't open '/sys/block/sd?/device/model': No such file or directory
real storage device at: /sys/block/sd?/device/model
cat: can't open '/sys/block/sd?/device/model': No such file or directory
cat: can't open '/sys/block/sd?/device/model': No such file or directory
cat: can't open '/sys/block/sd?/device/model': No such file or directory
real storage device at: /sys/block/sd?/device/model
cat: can't open '/sys/block/sd?/device/model': No such file or directory
cat: can't open '/sys/block/sd?/device/model': No such file or directory
cat: can't open '/sys/block/sd?/device/model': No such file or directory
real storage device at: /sys/block/sd?/device/model
cat: can't open '/sys/block/sd?/device/model': No such file or directory
cat: can't open '/sys/block/sd?/device/model': No such file or directory
cat: can't open '/sys/block/sd?/device/model': No such file or directory
real storage device at: /sys/block/sd?/device/model
mkdir: cannot create directory '/dtv/usb/samygovirt': File exists
As I see in wiki:
T-GAP* -> binaries may works from precompiled T-VAL* packages, kernel modules not (wait for samsung release of kernel sources) (custom build not planed for svn branch)
So... out of luck, am I right?
I only want to connect my tv to QNAP (no other drives needed) for timeshift/recording.
cu Floh