PDA

View Full Version : PADS 2.2.X with updated packages - Experimental



skar
03-02-11, 01:15 PM
It has been a while since I released an update to the standard PADS to the wild so I thought it was time. This is an update to the 2.2.7-3 PADS stream with most packages in it updated. This software should only be used by those familiar with building PADS and have experience doing so. The following set of instructions assume familiarity in building PADS. This is an experimental stream of software so before you proceed using it, read the following warnings.

WARNING

This is alpha level software with limited testing
This software is not officially supported by PIKA. Support will not be provided for it by PIKA Support.
This is an active development stream. Software in it can be updated without warning.



Well now that I may have scared away anyone from using it, let's see what's in it. The list of changes includes:

Updates to many packages including Asterisk (1.4.40), PHP (5.3.3), FreePBX (2.8.0) and PIKA channel drivers. See full list below for details.
The SD transfer mechanism has been fixed so that it restores links to previous SD transfers when applying an update. Previously we would lose all links to the previous configurations.
Large memory savings from patches to LCD library and astmanproxy.
Firmware is automatically downloaded when calling make image
The call to make image strips unneeded files from the final images before making them but now restores them afterwards so that user can call make again without rebuilding everything
A script to do the build has been added. Calling script will do the full build to image files and log the process. The script is called runBuild.sh and is found in the base folder.
Fixes to DHCP so that the WARP will keep getting the same IP address from the DHCP server instead of a new one everytime it is flashed.
Fix to NTP so that it will try to get its time from any DHCP defined NTP servers before trying the WAN location.
Fixes to DHCP so that we renew our leases appropriately.
Dahdi replaces Zaptel


The following is a dump of the version info for the 2.2.X-2 build. Items in RED have been updated. Items in GREEN are new. Items in ORANGE are patched.

PADS version 2.2.X-2 (2.2.7-3)
toolchain version 1.0.2
Kernel version 2.6.31.7-12 (2.6.31.7-7)
Skeleton version 1.0.0-20 (patched)
warp-locales 1.0.1
zlib 1.2.5 (new - used to be part of skeleton)
Busybox 1.18.3 (1.10.3)
WARP DSP Version 1.0 (new)
WARP DSP Firmware Version 5.02 (new)
Dahdi version 2.3.0.1+2.3.0 (replaces Zaptel 1.4.9.2)
mysql 5.1.30
sox version 14.3.1 (14.2.0)
curl version 7.21.2 (7.19.2)
Asterisk version 1.4.40 (1.4.25.1)
pikagsm 1.0.25232 (1.0.23878)
jpeg 8b (new)
lighttpd version 1.4.28 (1.4.19)
chan_gsm 1.0.25232 (1.0.23878)
dosfstools 3.0.9
HMP version 2.8.19-6 (2.8.14-4)
chan_pika version 3.9.0.145 (3.8.8.1)
libiconv 1.13.1 (1.12)
LibXML version 2.7.1 (2.6.31)
gettext 0.18.1.1 (0.16.1)
LIBIDN version 1.19 (1.9)
libpng 1.4.4 (1.2.36)
freetype2 2.4.3 (2.3.9)
PHP version 5.3.3 (5.2.9)
tftpd version 0.48
crond included, refer to busybox version
ssmtp 2.61
GHOSTSCRIPT version 8.62
gdbm version 1.8.3
e2fsprogs 1.41.0
Dropbear version 0.50
LCD LIB version 1.0.0-8 (patched)
Astmanproxy version 1.1.3 (patched)
Dhcpcd version 3.2.3
zoneinfo 1.0.0
NTP included (patched)
dnsmasq version 2.47
libtiff version 3.8.2
PHP Pear version 3.5.6
asterisk-addons version 1.4.8
daemontools 0.76
FreePBX version 2.8.0 (2.7.0)
WARP DSP Control version 1.2 (new)
PIKA Update Utilities 2.0.34
perl version 5.10.0
IMAGE_CREATION_DATE=Tue Mar 1 16:14:24 EST 2011


In order to get and compile this code on your Linux PC, do the following.


# ~> svn co http://svn.pikatech.com/pads/addons/trunk/skar/ ./2.2.X-2
# ~> cd 2.2.X-2
# 2.2.X-2> make defconfig
# 2.2.X-2> ./runBuild.sh
Now if you look in the images directory you will see the following:



# 2.2.X-2> ls -l images
total 128476
-rwxr-xr-x. 1 root root 31963 Mar 1 16:14 autorun
-rw-r--r--. 1 root root 248198 Oct 28 08:59 fpga3014.wrp
-rw-r--r--. 1 root root 248198 Jan 4 13:52 fpga4000.wrp
-rw-r--r--. 1 root root 1810173 Mar 1 16:15 kernel-2.6.31.7-12.wrp
drwxr-xr-x. 2 root root 4096 Mar 2 13:41 no_trailer
-rw-r--r--. 1 root root 32112896 Mar 1 16:15 persistent1-2.2.X-2.wrp
-rw-r--r--. 1 root root 24248576 Mar 1 16:15 persistent2-2.2.X-2.wrp
-rw-r--r--. 1 root root 39190784 Mar 1 16:15 persistent-2.2.X-2.wrp
-rw-r--r--. 1 root root 32931909 Mar 1 16:15 ramdisk-2.2.X-2.wrp
-rw-r--r--. 1 root root 524544 Jan 17 09:18 u-boot-1.3.1-101.wrp
-rwxr-xr-x. 1 root root 16796 Mar 1 16:14 warploader
To put this software on your WARP, copy all of the files from the images directory to a USB key. Put the USB key into your WARP and wait for it to finish flashing. You must use the autorun file to update your WARP. Do NOT flash the fpga4000.wrp file to your WARP manually.

Have fun and enjoy (but be careful)
Skar (http://twitter.com/skar_pikawarp)


NOTE:
The eagle eyed among you may have noticed a new fpga, version 4000, and several WARP DSP packages. These items are used for the WARP v2 which has a DSP on it for G729 and echo cancellation. This hardware has not been scheduled for release at this time. When flashing your WARP, autorun will correctly select the fpga it should flash to your WARP. The DSP kernel drivers correctly detect the version of WARP hardware being used and do not load on the current WARP hardware.