Skip to main content


Showing posts from December, 2010

How to Add Swap on ts-7260 Linux

For any reason, you may need extra memory on your ts-7260 SBC but the build in RAM is only 28MB. In my case, it get rebooted when I'm running few programs that continuously reading the input from the DIO. As this system is running linux, we can use swap memory instead of physical RAM. So, to solve this problem, we can create swap file on this ts-7260. Here is how to add swapfile on ts-7260 board running the default debian Sarge on ts11 kernel 2.4 SD card boot linux.

Let's check the free memory...
root@ts7000:root# free -m total used free shared buffers cached Mem: 28 26 1 0 1 18 -/+ buffers/cache: 6 21 Swap: 0 0 0
From the above result, you can see the total memory is 28 and we have 0 on swap. Now, we have to create the swapfile using this command:

root@ts7000:root# dd if=/dev/zero of=/swapfile bs=1024 count=98304 98304+0 records in 98304+0 records out 1006…