wigout
11-10-2010, 02:29 PM
Having combed through a lot of the available GPL (most collected last april, a few updates since then), here the list of kernel sources that I have found that seem different from one another.
I eliminated all clearly identical sources (matching md5sums or otherwise determined). This is what remains:
Argosy/GPL/HV335T_GPL/linux-2.6.12.GPL/
Asus/GPL/OPlay_HDP-R1_GPL_SourceCode/OPlay-V1.18-GPL-Release/linux-2.6.12/
brite-View/GPL/RTD1283_GPL_SRC/linux-2.6.12/
Conceptronic/GNU-GPL/1.00.011/kernel/linux-2.6.12/
Conceptronic/GNU-GPL/2.00.004/kernel/linux-2.6.12/
Eminent/EM7080/GPL/EM7080_GPL_Package/linux-2.6.12
Iconbit/gpl/GPL/Linux/linux-2.6.12/
Medion/GPL/GPL-MD-86182-2010-03-23/kernel_GPL_release/linux-2.6.12/
Patriot/PBO/GPL/GPL_AP_267697/GPL_linux-2.6.12/
Seagate/FAGOFlexTV/linux-2.6.12/and here are the three toolchains that I can find:
One that is identical in every way from two sources:
asus-toolchain (inside http://dlcdnet.asus.com/pub/ASUS/Digital_Media_Player/HDP-R1/SourceCode/OPlay_HDP-R1_GPL_SourceCode.ziphttp://minimodding.com/img/icons/external_link.gif (http://dlcdnet.asus.com/pub/ASUS/Digital_Media_Player/HDP-R1/SourceCode/OPlay_HDP-R1_GPL_SourceCode.zip) )
mvix (available here: http://www.mvixusa.com/support/index.php?_m=downloads&_a=viewdownload&downloaditemid=50http://minimodding.com/img/icons/external_link.gif (http://www.mvixusa.com/support/index.php?_m=downloads&_a=viewdownload&downloaditemid=50) as shown here: http://files.getdropbox.com/u/397941/Ultio%20Files/Ultio%20Firmware%20and%20Sourcecode/Ultio%20Toolchain_mipsel-6.03-6.i586.zip)http://minimodding.com/img/icons/external_link.gif (http://files.getdropbox.com/u/397941/Ultio%20Files/Ultio%20Firmware%20and%20Sourcecode/Ultio%20Toolchain_mipsel-6.03-6.i586.zip%29)
The toolchain from eminent is different in a few ways- it includes
( http://downloads.eminent-online.com/EM7080-Mipsel-6.03-7.tar.gzhttp://minimodding.com/img/icons/external_link.gif (http://downloads.eminent-online.com/EM7080-Mipsel-6.03-7.tar.gz) as shown here: http://www.eminent-online.com/en/product/301/3/eminent-hd-media-player-em7080-hdmedia-rt.html)http://minimodding.com/img/icons/external_link.gif (http://www.eminent-online.com/en/product/301/3/eminent-hd-media-player-em7080-hdmedia-rt.html%29)
most differences seem trivial (the gcc is the same) with one exception:
file eminent/EM7080-Mipsel-6.03-7/usr\ \(3\)/local/toolchain_mipsel/bin/mipsel-linux-uclibc-gdb
eminent/EM7080-Mipsel-6.03-7/usr (3)/local/toolchain_mipsel/bin/mipsel-linux-uclibc-gdb: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.4, stripped
Which if I recall correctly could be an important inclusion- the gdbserver as compiled need a matching/compiled at the same time gdb to run on your pc.....
This could be that.
Now, the build environment stuff:
I have successfully built a few modules using the asus kernel source and the asus toolchain.
The Asus GPL source (including the kernel and toolchain) can be downloaded using the following link:
ftp://ftp.asus.com.tw/pub/asus/Digital_Media_Player/HDP-R1/SourceCode/OPlay_HDP-R1_GPL_SourceCode.zip
To do so I followed the instructions set out here:
http://www.cnitblog.com/gouzhuang/
specifically:
http://www.cnitblog.com/gouzhuang/archive/2010/09/29/buildroot.html
Here's it via google translate:
http://translate.google.com/translate?u=http%3A%2F%2Fwww.cnitblog.com%2Fgouzhu ang%2Farchive%2F2010%2F09%2F29%2Fbuildroot.html
and as setout here:
http://www.cnitblog.com/gouzhuang/archive/2010/11/04/nfs_server.html
ala google translate:
http://translate.google.com/translate?u=http%3A%2F%2Fwww.cnitblog.com%2Fgouzhu ang%2Farchive%2F2010%2F11%2F04%2Fnfs_server.html
As a matter of fact, I initially had difficulty compiling buildroot as described, so I ended up following the steps in the second post, ignored adding nfs-stuff and just added different modules to build. For example, I made the hfs.ko and hfsplus.ko modules. Eventually, I took scboley's (http://www.patriotmemory.com/forums/showthread.php?t=4974)usbnet.c &(asix.h) and copied them OVER the original kernel sources drivers/usb/net/ (some directory like that, writing from memory at the moment) and then:
cd asus-gpl/linux-2.6.12
cp .config.develop.avhdd.mars.old. .config
PATH=/path/to/asus/toolchain/bin:$PATH make menuconfig
(navigate menu, select modules you want to build, exit, save config)
PATH=/path/to/asus/toolchain/bin:$PATH make
And that works. Compiles a kernel, makes modules that seem to load. Haven't tested the kernel.
I have tried the nfs-server bit, temporarily overmounting the new libs that the blog owner already shared and other tricks- everything seemed to work, though I couldn't, on my single attempt, get the nfs-server offered mount point to mount on a remote machine.
-wigout
I eliminated all clearly identical sources (matching md5sums or otherwise determined). This is what remains:
Argosy/GPL/HV335T_GPL/linux-2.6.12.GPL/
Asus/GPL/OPlay_HDP-R1_GPL_SourceCode/OPlay-V1.18-GPL-Release/linux-2.6.12/
brite-View/GPL/RTD1283_GPL_SRC/linux-2.6.12/
Conceptronic/GNU-GPL/1.00.011/kernel/linux-2.6.12/
Conceptronic/GNU-GPL/2.00.004/kernel/linux-2.6.12/
Eminent/EM7080/GPL/EM7080_GPL_Package/linux-2.6.12
Iconbit/gpl/GPL/Linux/linux-2.6.12/
Medion/GPL/GPL-MD-86182-2010-03-23/kernel_GPL_release/linux-2.6.12/
Patriot/PBO/GPL/GPL_AP_267697/GPL_linux-2.6.12/
Seagate/FAGOFlexTV/linux-2.6.12/and here are the three toolchains that I can find:
One that is identical in every way from two sources:
asus-toolchain (inside http://dlcdnet.asus.com/pub/ASUS/Digital_Media_Player/HDP-R1/SourceCode/OPlay_HDP-R1_GPL_SourceCode.ziphttp://minimodding.com/img/icons/external_link.gif (http://dlcdnet.asus.com/pub/ASUS/Digital_Media_Player/HDP-R1/SourceCode/OPlay_HDP-R1_GPL_SourceCode.zip) )
mvix (available here: http://www.mvixusa.com/support/index.php?_m=downloads&_a=viewdownload&downloaditemid=50http://minimodding.com/img/icons/external_link.gif (http://www.mvixusa.com/support/index.php?_m=downloads&_a=viewdownload&downloaditemid=50) as shown here: http://files.getdropbox.com/u/397941/Ultio%20Files/Ultio%20Firmware%20and%20Sourcecode/Ultio%20Toolchain_mipsel-6.03-6.i586.zip)http://minimodding.com/img/icons/external_link.gif (http://files.getdropbox.com/u/397941/Ultio%20Files/Ultio%20Firmware%20and%20Sourcecode/Ultio%20Toolchain_mipsel-6.03-6.i586.zip%29)
The toolchain from eminent is different in a few ways- it includes
( http://downloads.eminent-online.com/EM7080-Mipsel-6.03-7.tar.gzhttp://minimodding.com/img/icons/external_link.gif (http://downloads.eminent-online.com/EM7080-Mipsel-6.03-7.tar.gz) as shown here: http://www.eminent-online.com/en/product/301/3/eminent-hd-media-player-em7080-hdmedia-rt.html)http://minimodding.com/img/icons/external_link.gif (http://www.eminent-online.com/en/product/301/3/eminent-hd-media-player-em7080-hdmedia-rt.html%29)
most differences seem trivial (the gcc is the same) with one exception:
file eminent/EM7080-Mipsel-6.03-7/usr\ \(3\)/local/toolchain_mipsel/bin/mipsel-linux-uclibc-gdb
eminent/EM7080-Mipsel-6.03-7/usr (3)/local/toolchain_mipsel/bin/mipsel-linux-uclibc-gdb: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.4, stripped
Which if I recall correctly could be an important inclusion- the gdbserver as compiled need a matching/compiled at the same time gdb to run on your pc.....
This could be that.
Now, the build environment stuff:
I have successfully built a few modules using the asus kernel source and the asus toolchain.
The Asus GPL source (including the kernel and toolchain) can be downloaded using the following link:
ftp://ftp.asus.com.tw/pub/asus/Digital_Media_Player/HDP-R1/SourceCode/OPlay_HDP-R1_GPL_SourceCode.zip
To do so I followed the instructions set out here:
http://www.cnitblog.com/gouzhuang/
specifically:
http://www.cnitblog.com/gouzhuang/archive/2010/09/29/buildroot.html
Here's it via google translate:
http://translate.google.com/translate?u=http%3A%2F%2Fwww.cnitblog.com%2Fgouzhu ang%2Farchive%2F2010%2F09%2F29%2Fbuildroot.html
and as setout here:
http://www.cnitblog.com/gouzhuang/archive/2010/11/04/nfs_server.html
ala google translate:
http://translate.google.com/translate?u=http%3A%2F%2Fwww.cnitblog.com%2Fgouzhu ang%2Farchive%2F2010%2F11%2F04%2Fnfs_server.html
As a matter of fact, I initially had difficulty compiling buildroot as described, so I ended up following the steps in the second post, ignored adding nfs-stuff and just added different modules to build. For example, I made the hfs.ko and hfsplus.ko modules. Eventually, I took scboley's (http://www.patriotmemory.com/forums/showthread.php?t=4974)usbnet.c &(asix.h) and copied them OVER the original kernel sources drivers/usb/net/ (some directory like that, writing from memory at the moment) and then:
cd asus-gpl/linux-2.6.12
cp .config.develop.avhdd.mars.old. .config
PATH=/path/to/asus/toolchain/bin:$PATH make menuconfig
(navigate menu, select modules you want to build, exit, save config)
PATH=/path/to/asus/toolchain/bin:$PATH make
And that works. Compiles a kernel, makes modules that seem to load. Haven't tested the kernel.
I have tried the nfs-server bit, temporarily overmounting the new libs that the blog owner already shared and other tricks- everything seemed to work, though I couldn't, on my single attempt, get the nfs-server offered mount point to mount on a remote machine.
-wigout