Sign up here and you can log into the forum!

Optware for WDLXTV Live

Here is the place to inquire about app.bins--Only currently available apps for sigma 8655 based wdtv's belong in this forum. requests go in 'Application Questions'

Optware for WDLXTV Live   

Postby jaromil » Tue Nov 30, 2010 9:09 am

re all,

since we all love optware so much ;)

First of all, if you want something stable you should use EXT firmware and the optware that B-Rad released here http://b-rad.cc/binaries/opt.bin.tgz

Here is an experimental wdlxtv_optware.app.bin that works on Live (NEW! released 8 February 2011 )
http://files.dyne.org/hdsync/tools/wdlxtv_optware.app.bin

Image
for more information please refer to http://www.nslu2-linux.org/wiki/Optware/HomePage

here is the list of packages available for WDLXTV http://ipkg.nslu2-linux.org/feeds/optware/wdtv/cross/unstable/

BETA STATUS
BEWARE this app.bin is in BETA STAGE
meaning some packages might still not work, but the majority of them work
please report here and check back to this forum topic for updates.

INSTALL (extremely simple)
Installs in 4 simple steps:
- format usb storage with ext3
- put the wdlxtv_optware.app.bin in it
- login from telnet or ssh
- type optware-install.sh
- type 'source /etc/profile'

Please note that:
- this app.bin is operated from telnet or ssh, it won't add buttons to menus
so if you are afraid of the command line, then this thing is not for you.
- the usb storage *needs* to be ext3 formatted
but this doesn't means that you need the ext3 version of firmware
- this port builds the /opt directory inside your usb storage

every time your WDTV HD Live is booted with the app.bin your shell will be configured to have the ipkg command type "ipkg list" to realize how much software you can install (lots!)

DEVELOPMENT

The code for this app.bin is hosted with GIT and ready for collective contribution
get in touch if you want write access, the repository can be cloned from:
git://code.dyne.org/hdsync.git (optware is in the tools/optware subdirectory)
and can be browsed on:
http://code.dyne.org/index.cgi?url=hdsync/tree/tools/optware

once you have installed this optware, you can setup all the compilation toolkit (GCC and all):
# ipkg install optware-devel
then wait... it takes long, but at the end you will have a native compiler on your WDTV box! :ugeek:

TODO: the point where we are stuck is a can't handle reloc type 0x2f on some packages (python now works, still zsh complains)
please help if you can :)

happy hacking 8-)
Last edited by jaromil on Thu Nov 01, 2012 4:44 am, edited 9 times in total.
Jaromil, developer @ Dyne.org
GPG: B2D9 9376 BFB2 60B7 601F 5B62 F6D3 FBD9 C2B6 8E39
User avatar
jaromil
Developer
 
Posts: 65
Joined: Tue Aug 24, 2010 5:03 am
Location: Am★dam

Re: Optware for WDLXTV Live   

Postby CrashX » Tue Nov 30, 2010 10:44 am

Nice ... Will test it this weekend !! :D :D

Care to share how you got this working ?
CrashX
Global Moderator
 
Posts: 143
Joined: Thu Apr 15, 2010 9:04 am

Re: Optware for WDLXTV Live   

Postby jaromil » Tue Nov 30, 2010 11:35 am

hi CrashX,

i'm not sure what was the problem with previous attemps

however the app.bin itself contains the source, which is all shell script anyway

(and GNU GPL v3 FWIW)

the thing is very small, maybe a trick a few ppl knows is the 'bind' option for mount?
i use that to update /etc/profile...

not sure what else.

i'll purrr on kudos :P
(and blush if the thing doesn't works)
Jaromil, developer @ Dyne.org
GPG: B2D9 9376 BFB2 60B7 601F 5B62 F6D3 FBD9 C2B6 8E39
User avatar
jaromil
Developer
 
Posts: 65
Joined: Tue Aug 24, 2010 5:03 am
Location: Am★dam

Re: Optware for WDLXTV Live   

Postby migube » Wed Dec 01, 2010 2:15 am

GReAT !

tx!
-----
WdTvLive - LG BD390 - Philips 47PFL8404h - Yamaha RXV-667 - DM7000 - Synology 107+ - HP Touchpad (Webos)
migube
Global Moderator
 
Posts: 163
Joined: Thu Apr 08, 2010 7:23 am

Re: Optware for WDLXTV Live   

Postby bipper » Thu Dec 02, 2010 2:59 am

On The WDTV Live:

I realise this has just been released, I've tried a FAT32 USB stick on its own with EXT3-BOOT_LIVE-0.4.3.1 and the optware app bin in the root directory. After running optware-install.sh via SSH I get:

Code: Select all
# optware-install.sh
Installing package uclibc-opt_0.9.28-2_mipsel.ipk ...
Installing package ipkg-opt_0.99.163-10_mipsel.ipk ...
/opt/bin/ipkg: can't load library 'libipkg.so.0'
/opt/bin/ipkg: can't load library 'libipkg.so.0'
/opt/bin/ipkg: can't load library 'libipkg.so.0'
optware filesystem is already mounted


I've tried it with a hard reboot in both usb ports. Am I doing something wrong ?

Thanks Matt.
bipper
n00b
 
Posts: 6
Joined: Sun May 02, 2010 7:54 am

Re: Optware for WDLXTV Live   

Postby jaromil » Thu Dec 02, 2010 7:04 am

hi Matt,

you miss to notice the first installation step says:
- format usb storage with ext3

you don't need the EXT3 firmware (actually, i didn't tried it yet)
but you do need a usb stick formatted with EXT3 since the /opt directory gets populated on the stick
(and should therefore be portable across devices)

ciao
Jaromil, developer @ Dyne.org
GPG: B2D9 9376 BFB2 60B7 601F 5B62 F6D3 FBD9 C2B6 8E39
User avatar
jaromil
Developer
 
Posts: 65
Joined: Tue Aug 24, 2010 5:03 am
Location: Am★dam

Re: Optware for WDLXTV Live   

Postby vike » Thu Dec 02, 2010 10:23 am

hi Jaromil,

this is exactly what I've been looking for, thanks a lot, the only thing that is annoying a bit is:

# ./optware-install.sh
Installing package uclibc-opt_0.9.28-2_mipsel.ipk ...
Installing package ipkg-opt_0.99.163-10_mipsel.ipk ...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/wdtv/cross/unstable/Packages
Updated list of available packages in /opt/lib/ipkg/lists/wdtv
Successfully terminated.
Installing uclibc-opt (0.9.28-2) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/wdtv/cross/unstable/uclibc-opt_0.9.28-2_mipsel.ipk
package uclibc-opt suggests installing ipkg-opt
Configuring uclibc-opt
Successfully terminated.
Installing ipkg-opt (0.99.163-10) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/wdtv/cross/unstable/ipkg-opt_0.99.163-10_mipsel.ipk
Configuring ipkg-opt
Successfully terminated.
optware filesystem is already mounted
/usr/bin/perl: error while loading shared libraries: libpthread.so.0: ELF load command alignment not page-aligned
vike
n00b
 
Posts: 6
Joined: Thu Aug 19, 2010 1:00 am

Re: Optware for WDLXTV Live   

Postby migube » Fri Dec 03, 2010 12:57 am

can it be installed on an NFS mount?
-----
WdTvLive - LG BD390 - Philips 47PFL8404h - Yamaha RXV-667 - DM7000 - Synology 107+ - HP Touchpad (Webos)
migube
Global Moderator
 
Posts: 163
Joined: Thu Apr 08, 2010 7:23 am

Re: Optware for WDLXTV Live   

Postby jaromil » Fri Dec 03, 2010 2:15 am

hi vike,

vike wrote:hi Jaromil,

this is exactly what I've been looking for, thanks a lot, the only thing that is annoying a bit is:

[...]
/usr/bin/perl: error while loading shared libraries: libpthread.so.0: ELF load command alignment not page-aligned


thanks for reporting this. in fact i've seen this problem since early stages of development, that's why i've wrapped the wget binary...

now i've solved this taking the same approach and writing a script that builds wrappers for all binaries already present in WDLXTV
ATM they have precedence over binaries provided by optware, since they come first in the path.

so now you can try download the new ftp://ftp.dyne.org/hdsync/tools/wdlxtv_optware.app.bin
and re-do optware install after deleting the /opt directory on your usb stick.
installation should take a wee longer, but then perl should work as well other programs.

I've put the optware scripts in code revisioning, so you can see what i'm talking about here
http://code.dyne.org/index.cgi?url=hdsync/commit/&id=49c5165831412b4f5d2b314128d4a8858b1ddb16

as well browse and clone the source from the hdsync repository on git://code.dyne.org/hdsync.git (look inside the tools subdir)

on a side note, for migube:
i have no NFS setup on my side so i can't do much (never release things without testing them... :roll: ),
but it should be definitely possible to provide install and mount options for custom paths.
of course, contributions are welcome :ugeek:
Jaromil, developer @ Dyne.org
GPG: B2D9 9376 BFB2 60B7 601F 5B62 F6D3 FBD9 C2B6 8E39
User avatar
jaromil
Developer
 
Posts: 65
Joined: Tue Aug 24, 2010 5:03 am
Location: Am★dam

Re: Optware for WDLXTV Live   

Postby vike » Fri Dec 03, 2010 9:25 am

hi jaromil,

just gave it a try but the issue is still here:

# ./optware-install.sh
Installing package uclibc-opt_0.9.28-2_mipsel.ipk ...
Installing package ipkg-opt_0.99.163-10_mipsel.ipk ...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/wdtv/cross/unstable/Packages
Updated list of available packages in /opt/lib/ipkg/lists/wdtv
Successfully terminated.
Installing uclibc-opt (0.9.28-2) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/wdtv/cross/unstable/uclibc-opt_0.9.28-2_mipsel.ipk
package uclibc-opt suggests installing ipkg-opt
Configuring uclibc-opt
Successfully terminated.
Installing ipkg-opt (0.99.163-10) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/wdtv/cross/unstable/ipkg-opt_0.99.163-10_mipsel.ipk
Configuration file '/opt/etc/ipkg.conf'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions (if diff is installed)
The default action is to keep your current version.
*** ipkg.conf (Y/I/N/O/D) [default=N] ?N
Configuring ipkg-opt
Successfully terminated.
optware filesystem is already mounted
/usr/bin/perl: error while loading shared libraries: libpthread.so.0: ELF load command alignment not page-aligned
building binary wrappers for /bin ...............................................................................................................................................
building binary wrappers for /sbin .............................................................................................
building binary wrappers for /usr/bin .....................................................................................................................................................................................................................................................................................
building binary wrappers for /usr/sbin ............................................................................................
Installation succesfull!
type 'ipkg list' for a list of software now available for install
send your feedback on the WDLXTV forum
http://forum.wdlxtv.com/viewtopic.php?f=40&t=2637
enjoy, may the source be with you! :^)


and one more thing I'd like to mention, before optware installation my $PATH (you can find it in /tmp/sys.path also) is something like:

/apps/wdmon/bin:/apps/wdlxtv_optware/bin:/apps/rrdtool/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

but after then I got in $PATH something like:

/apps/wdlxtv_optware/bin:/opt/bin:/opt/sbin:/opt/usr/bin:/opt/usr/sbin:/bin:/sbin:/usr/bin:/usr/sbin

it'd be great to have all the others apps in $PATH and just append to /tmp/sys.path content what we need: /opt/bin:/opt/sbin:...

Thanks for the efforts, I really appreciate it.
vike
n00b
 
Posts: 6
Joined: Thu Aug 19, 2010 1:00 am

Next

Return to WDLXTV-G2 & WDLXTV-Live/Plus app.bins

Who is online

Users browsing this forum: No registered users and 1 guest