packedobjects XML compression on a Dingoo A320

The only library libpackedobjects depends on is libxml2, therefore, it should port to all kinds of devices. Here it is running on a MIPS-based Dingoo A320:

john@macbook:~/git/gitorious/libpackedobjects$ telnet 10.1.0.2
Trying 10.1.0.2...
Connected to 10.1.0.2.
Escape character is '^]'.

 _________________________
< Welcome to OpenDingux ! >
 -------------------------
           ^__^
           (oo)_______
            (__)       )/
                ||----w |
                ||     ||

opendingux:/boot/local/home # wc -c menu.xml
860 menu.xml
opendingux:/boot/local/home # packedobjects --schema menu.xsd --in menu.xml --out menu.po
opendingux:/boot/local/home # wc -c menu.po
11 menu.po
opendingux:/boot/local/home # gzip menu.xml
opendingux:/boot/local/home # wc -c menu.xml.gz 
310 menu.xml.gz
opendingux:/boot/local/home #

The example rootfs used is available here.

Leave a Reply