nostromolabs.com
 
HOME | HUMAX | TRIPLEDRAGON | DREAMBOX | SETTINGS | DOWNLOADS
..: TripleDragon Stuff :.. ..: TripleDragon Stuff :::
 
Plugin and tools for linux PC and TripleDragon DBS3000.


LibDownloadSettings 1.0.9

This plugin allows to download and install a channel list from the internet. The install procedure loads the received data into the TripleDragon using tdcontrol tcp protocol.
NEW in version 1.0.9:
fixed xml parser problem when parsing non valid or not well formed xml catalogs
NEW in version 1.0.8:
Plugin now manage up to 3 possible sources for catalog files, each source is assigned to a
button (green/yellow/blue) which loads its own config file.
Plugin works also with "localhost" address, TripleDragon built-in http server can be used for catalog and files.



README.TXT

libds libds libds libds libds
download


LibSaveSettings 1.1.0

This plugin allows to save configuration data using raw packet trasmission from and to tdcontrol plugin via tcp/ip socket.
When restoring data, a reload command is sent and the received channel list is immediately activated.
Use the CONFIG button to store your preferred backup folder; a .backup subfolder is always used, if it does not exist it is created in the folder stored in the configuration file.
For backup folder configuration, FileBrowser window or manual text window can be used; press the MENU button to set use of the FileBrowser window on or off.
Due to the fact that most plugins save its config data in /var/share, starting from version 1.1.0 libss includes the content of folder /var/share during backup and - of course - when restoring backupped data.

. libsavesettings
libsavesettings
libsavesettings
download


bin8Splitter v0.3

After spending some time trying to look into 8MB images with an hex editor, I decided to use a more comfortable way; bin8splitter is a little tool that "breaks" an 8mb images in its parts.

Using the program, generated output files are:
conf.src.binconfiguration data (mtd, boot, ...)
logo.src.binthe logo
var.src.binthe "/var" partition (*)
fs.src.binthe squashed filesystem (*)
kernel.src.binthe kernel

(*) Looking across different 8mb images (official and unofficial), I noticed there are only two partitions that can vary in size: the var and the squashed partitions.
All other parts are always the same size.

I have put a group of lookup tables into the tool for auto-detection of mtd sizes when parsing a 8mb image file.
These lookup tables are based on the variuos images from developing teams, it needs to be updated whenever a new var/squashfs sizes combination comes out.

Program invocation is very simple:
bin8splitter.x86 image_name.bin output_dir [-f]

Two optional command line options are provided:
-f force overwrite of output folder
-i print all "known" mtd size tables

When the -i is used it must be the only parameter in the command line.

An example of program output:

bin8splitter.x86 8MB_image_1_3_2-3_29-2006_12_22-PAL.bin temp.dir
=== bin splitter v0.3 (x86) ===
guess from mtd table...
using table: 0
block size: 512

processing file....

read/write 0002048 bytes item conf.src.bin (4 blocks)
opening temp.dir/conf.src.bin for writing

read/write 0063488 bytes item logo.src.bin (124 blocks)
opening temp.dir/logo.src.bin for writing

read/write 1048576 bytes item var.src.bin (2048 blocks)
opening temp.dir/var.src.bin for writing

read/write 5439488 bytes item fs.src.bin (10624 blocks)
opening temp.dir/fs.src.bin for writing

read/write 1703936 bytes item kernel.src.bin (3328 blocks)
opening temp.dir/kernel.src.bin for writing

read/write 0131072 bytes item loader.src.bin (256 blocks)
opening temp.dir/loader.src.bin for writing

done

And a sample of tables list:

bin8splitter.x86 -i

=== bin splitter v0.3 (x86) ===
=== mtd tables ===

table 0
conf.src.bin 0x000800 (2048 bytes)
logo.src.bin 0x00f800 (63488 bytes)
var.src.bin 0x100000 (1048576 bytes)
fs.src.bin 0x530000 (5439488 bytes)
kernel.src.bin 0x1a0000 (1703936 bytes)
loader.src.bin 0x020000 (131072 bytes)
..................

In the download section two binaries are provided, bin8splitter.x86 and bin8splitter.ppc; of course, all the information described here applies to both.



packIt v0.4

packit is the counterpart of bin8splitter; it allows to put together image pieces performing some little arrangements.

If necessary, it fills data up to the necessary sizes as specified in the table used for packing, plus, it updates a specific part putting the correct md5 checksum in place.

Please be aware that mixing images part may produce unpredictable results if you are not sure of what you're doing.!

Program invocation is very simple:
packit.x86 input_folder output_image.bin [-n]

The optional option -n allows to specify which table has to be used for packing, default is 0 (see bin8splitter.x86 -i for table list)

Example:

packit.x86 8mb.dir 8mbnew.bin -0
=== packit v0.4 (x86) ===
source: 8mb.dir/
target: 8mbnew.bin
using -0 switch (table 0)
make the conf+logo part.....[mtd0]
make the /var part.....[mtd1]
using /var from file 8mb.dir//var.src.bin
make the squashfs part.....[mtd2]
make the kernel part.....[mtd3]
make the loader part.....[mtd4]
prepare for md5 checksums
139c3b4e9c789c2419cf1c5f92a426f4
done


In the download section two binaries are provided, packit.x86 and packit.ppc; of course, all the information described here applies to both.



Nostromolabs stuff is free.
If you want to help
the project use the
button below.
Thank you

© Nostromo 2007

Valid HTML 4.01! Valid CSS!