Archive for October, 2008

Up and running with ADM5120P

In particular the Omnima SKU16140 from
http://www.omnima.co.uk/store/catalog/Embedded-controller-p-16140.html

Operating System : Squidge 1.7
Booted from USB.
Serial connection – telnet available from JP2, 115000,N,1,8. (USB to serial from Omnima works in XP HyperTerminal but not Vista). Pin 1 on JP2 aligns with dot on connector
Default IP address: 192.168.1.1  Change in /etc/config/system
HTTP running by default.  Create index.html in /www
Package installer: opkg
Package Location: /www/squidge/packages

Resources:
http://openwrt.org/
http://www.linux-mips.org
http://squidge.sourceforge.net

Turn on an LED
root@OpenWrt:/etc/config# echo 0 > /sys/class/gpio/export
root@OpenWrt:/etc/config# echo out > /sys/class/gpio/gpio0/direction
root@OpenWrt:/etc/config# echo 1 > /sys/class/gpio/gpio0/value

Full explanation of the above and further details to be found at:
http://squidge.sourceforge.net/gpio/

 

We’re told to scn the sources from the relevant http site which will create a folder called squidge.
Do not run the installation as root as it wont work. You have to be some other user.
Further, the authors advise the use of slackware 12.1, the problem being you need some sort of p2p like bittorrent to get it. So I tried with Centos 5. The following had to be done.
When you follow the instructions the process of building an image will break by not being able to find a file.
cd to  openwrt and run

%make V=99

If you don’t use the flag then make will appear to hang. This is because you are being asked a question.
Before you get to this, a configuration screen will be shown enabling you to configure the packages which can be included in the build. 

The rest of the process should continue and resolve missing packages by connecting to the internet – though I noticed one such connection could not be established.

Leave a Comment

October 6 – Site not accessible

Since my posting yesterday, the Load Average in a 1 minute interval hit 99.97 – never seen it so high.

Yesterday evening there were no mysql connections available.
As I write this my site is unavailable. It has been tested by people in different locations. Port 443 is not being resolved.

This will probably be a short category… I have sent an official complaint to the MD, Ditlev, and advised him I intend migrating to another supplier in the immediate future.

This company is a complete waste of time and should be avoided at all cost.

Leave a Comment

UK2.NET – rebooted October 5th

Load averages up in the 13’s also earlier.

Server: cpanel6.uk2.net

Unexpected reboot again – caused loss off data.
October 5th 2008

top – 20:03:51 up  4:35,  1 user,  load average: 8.00, 10.50, 8.67
Tasks: 205 total,   1 running, 200 sleeping,   0 stopped,   4 zombie
Cpu(s):  2.5% us,  1.6% sy,  0.0% ni, 82.2% id, 13.7% wa,  0.0% hi,  0.0% si
Mem:   2074328k total,  1698032k used,   376296k free,   269800k buffers
Swap:  4008208k total,      208k used,  4008000k free,   468860k cached

PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
3272 mysql     16   0  136m  45m 4128 S  4.7  2.2  24:01.74 mysqld

Leave a Comment