Next Previous Contents

2. System

2.1 IPKG

IPK packages can be installed from local file (e.g. ipkg install /tmp/somepkg.ipk), web (ipkg install http://192.168.1.1/myprettysoftware.ipk), or repository (ipkg install opie-mail).

Some useful packages can be found at http://ipkgfind.handhelds.org/.

2.2 Using ram as non-volatile storage

Windows CE can store files in RAM. Linux can do the same thing, using nvrd module. First you must decide amount of memory you want to use for nvrd (data storage space). Reboot your iPAQ and in boot console add kernel boot argument 'mem=' to realmem-nvrdmem (I have 32MB RAM and 8MB nvrd, so mem is 24M):


set linuxargs=noinitrd root=/dev/mtdblock1 init=/linuxrc console=ttySA0  mem=24M

Then type 'boot'. When linux boots up, log in as root and load nvrd module. (nvrd must be inserted with 'nvrd_nbytes=' and size of real physical memory in Mb):


# insmod nvrd nvrd_nbytes=32
Using /lib/modules/2.4.18-rmk3/kernel/drivers/block/nvrd.o
#

Now you can mkfs /dev/nvrd/0 and mount it. If everything works fine, add mem= to /boot/params, otherwise rebooting your iPAQ without mem= would destroy your data in RAM!!!.


Next Previous Contents