Skip to content
Newer
Older
100644 45 lines (29 sloc) 1.74 KB
5edbf4f @jettan Updated README.
authored Feb 23, 2012
1 This project's goal is to make an libswift based application for the Samsung TV.
2 The TV to be used is the Samsung UEXXD70XX series.
08b08ab @jettan Updated README.
authored Feb 26, 2012
3
4 To compile binaries for the the Samsung TV, please visit opensource.samsung.com to download the correct tools.
5 List of things you need:
6
7 - VDLinux-armv7a8-toolchain-lite_20100630.tgz
68773fa @jettan Updated README.
authored Mar 22, 2012
8 - arm_v7_vfp_le_20091117.tgz (optional)
08b08ab @jettan Updated README.
authored Feb 26, 2012
9 - 11_UE_UAxxD7xx0.tar.gz (optional, contains kernel and other built in stuff already in the TV)
10
68773fa @jettan Updated README.
authored Mar 22, 2012
11 To setup the toolchain, unpack the arm-v7a8 toolchain and put them somewhere you want them (usually /opt) and add them to your $PATH
08b08ab @jettan Updated README.
authored Feb 26, 2012
12
68773fa @jettan Updated README.
authored Mar 22, 2012
13 To compile libevent2 for the Samsung TV, make sure you fork this repository on your home folder, otherwise you have to change some paths in the build files.
08b08ab @jettan Updated README.
authored Feb 26, 2012
14
68773fa @jettan Updated README.
authored Mar 22, 2012
15 $cd swiftarm/libevent2
16 $./samsung-build.sh
17 $make
18 $make install
08b08ab @jettan Updated README.
authored Feb 26, 2012
19
68773fa @jettan Updated README.
authored Mar 22, 2012
20 To compile libswift for the Samsung TV, just cd into the directory m48-stb-swift and run make.
21 If this doesn't work, make sure you have your paths set correctly.
08b08ab @jettan Updated README.
authored Feb 26, 2012
22
68773fa @jettan Updated README.
authored Mar 22, 2012
23 To do the demo, transfer the swift binary you compiled to your *ROOTED* Samsung TV using ftp.
24 WARNING: DO NOT USE FILEZILLA OR OTHER FANCY FTP CLIENTS! THEY MODIFY THE BINARY AND GIVE A SEGFAULT!
25
26 To try it out on the TV, transfer some mp3, mp4 or other files to your device using ftp.
27 Don't forget to set the executable bit on for swift.
28
29 chmod +x swift
30
31 Then run the seeder.
32
33 ./swift -f path_to_file/file -l 127.0.0.1:20000 -p
34
35 This will generate a root merkle hash.
36
37 To stream it to yourself, run the http binder:
38
39 ./swift -t 127.0.0.1:20000 -g 127.0.0.1:1337 -w
40
41 Then run any widget that can play http streams like nStreamPlayer with modified playlist.
42 The http link where your stream will be is:
43 http://127.0.0.1:1337/root_merkle_hash
44 where root_merkle_hash is the hash you obtained by running the seeder.
Something went wrong with that request. Please try again.