[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4326: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3501)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4328: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3501)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4329: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3501)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4330: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3501)
Compiling on the WDTV ?
Sign up here and you can log into the forum!

Compiling on the WDTV ?

Have a question about devices internals, memory layout, reverse engineering, etc---This is the place for anything so technical that it would cause a n00b's head to 'splode

Re: Compiling on the WDTV ?   

Postby DJArty » Fri Jun 03, 2011 6:14 am

May be need renew link to debian-squeeze.img.tgz ?
WD TV Live (1.05.04-WDLXTV-0.5.1.1);
Please Donate PayPal to email: djartyua ( a t ) gmail (d o t) com
WebMoney: WMZ114867333413
User avatar
DJArty
Developer
 
Posts: 553
Joined: Wed Jul 21, 2010 2:30 am
Location: Ukraine

Re: Compiling on the WDTV ?   

Postby DJArty » Sun Jun 05, 2011 10:43 pm

Anybody upload debian-squeeze.img.tgz to another place please. "The file of the above link no longer exists"
WD TV Live (1.05.04-WDLXTV-0.5.1.1);
Please Donate PayPal to email: djartyua ( a t ) gmail (d o t) com
WebMoney: WMZ114867333413
User avatar
DJArty
Developer
 
Posts: 553
Joined: Wed Jul 21, 2010 2:30 am
Location: Ukraine

Re: Compiling on the WDTV ?   

Postby mad_ady » Sun Jun 05, 2011 11:39 pm

If anybody has the image and lacks the web storage, PM me and I will give them access to a server of mine for free storage...
User avatar
mad_ady
Developer
 
Posts: 4575
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: Compiling on the WDTV ?   

Postby Boy1979 » Sun Jun 05, 2011 11:40 pm

Boy1979
Developer
 
Posts: 147
Joined: Tue May 11, 2010 11:52 am
Location: Austria

Re: Compiling on the WDTV ?   

Postby mad_ady » Sun Jun 05, 2011 11:44 pm

You're right.
I will upload it to my server and provide the link to reduce the unnecessary wait time

Edit:
Here's a direct link http://195.82.149.103/files/debian-squeeze.img.tgz
User avatar
mad_ady
Developer
 
Posts: 4575
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: Compiling on the WDTV ?   

Postby DJArty » Mon Jun 06, 2011 11:40 am

Thank you.
May be just "The server is busy and can not process the request." from rapid for me.
WD TV Live (1.05.04-WDLXTV-0.5.1.1);
Please Donate PayPal to email: djartyua ( a t ) gmail (d o t) com
WebMoney: WMZ114867333413
User avatar
DJArty
Developer
 
Posts: 553
Joined: Wed Jul 21, 2010 2:30 am
Location: Ukraine

Re: Compiling on the WDTV ?   

Postby jchrisos1 » Fri Nov 04, 2011 7:35 pm

jchrisos1
n00b
 
Posts: 1
Joined: Fri Nov 04, 2011 7:15 pm

Re: Compiling on the WDTV ?   

Postby mad_ady » Sat Nov 05, 2011 12:41 am

@jchrisos1: You can get the correct kernel sources directly form WD. They have a GPL package with the open source software they used for the firmware, which includes the kernel. The problem is, your module will be compiled from the older source, and if there were bugfixes in the meantime, you will not benefit from them...
I guess you can compile from that source directly on the WDTV, or by using a cross-compiler...
User avatar
mad_ady
Developer
 
Posts: 4575
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: Compiling on the WDTV ?   

Postby recliq » Sat Nov 05, 2011 3:43 am

For compiling kernel modules for the WDTV I'd strongly suggest to use the GPL archive and toolchain provided by WD and setup a cross-compile environment.
That's how I compiled all my kernel modules. :geek:
­WDLXTV Project Maintainer
-:] If you like my contributions feel free to for a beer or a new flash drive. ...and always remember: RTFM! (, , ) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5513
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: Compiling on the WDTV ?   

Postby sparky42 » Tue Nov 08, 2011 5:17 am

OK, I am a total noobie, so these are probably dumb questions.

Background, I have an old WDTV box bought on sale from Frys. I believe it is probably Gen 1. I loaded B-RAD's WDLXTV firmware to get the a USB to Ethernet connection working. That all seems to work fine. Everyone involved seems to have done an awesome job supporting and expanding this device.

I wanted to compile some code for the WDTV. I loaded the squeeze image from the first post of this page and the script file onto a USB stick. I telneted into the WDTV and searched around until I found a directory with the files on the USB stick. (I think I was down a directory path under "media".) I chmodded the script file and executed it. It started to run by they printed "FATAL: kernel too old" and stopped. Checked the kernel version with uname and got back 2.6.15-TVDock. Having no real knowledge of Linux, I do not know if this is an old kernel or a newer one?

Questions:

1. Can I even compile on WDTV using the squeeze image on a Gen 1 box? (Many post refer to WDTVLive, but I do not know what the differences are.)
2. Is the kernel too old on my WDTV or did I somehow get a squeeze image with an older kernel?
3. I making the assumption that B-RAD's WDLXTV firmware included the kernel, but perhaps I am just too naive. Do I have to upgrade the kernel separately?
4. If the kernel on my WDTV is too old, how do I upgrade it?
5. What directory should I be using to run stuff from the USB stick? Am, I in the wrong or inappropriate directory?

Thank you.

P.S. With regard to the script file that does the chroot, I stumbled into a problem copying and pasting the script. The text pasted into my text editor with a bunch of leading white space. I saved the file with Unix line endings and it still would not run after the chmod. It gave some weird error message about not finding the applet. After removing all the leading white space, the script then ran. I am sure the pros would have spotted this much earlier. For greenies like me, be aware that Linux wants certain stuff on the script files to start at the first character on a line.
sparky42
n00b
 
Posts: 4
Joined: Tue Nov 08, 2011 4:56 am

PreviousNext

Return to WDTV Live

Who is online

Users browsing this forum: No registered users and 1 guest