<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tinyhack.com &#187; linux</title>
	<atom:link href="http://tinyhack.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://tinyhack.com</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Sat, 05 Nov 2011 10:09:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>SmartQ7</title>
		<link>http://tinyhack.com/2009/08/16/smartq7/</link>
		<comments>http://tinyhack.com/2009/08/16/smartq7/#comments</comments>
		<pubDate>Sun, 16 Aug 2009 15:27:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[mobile]]></category>

		<guid isPermaLink="false">http://tinyhack.com/?p=137</guid>
		<description><![CDATA[I just got my SmartQ 7 few days ago. In this post I want to share some technical thing (not a full review, you can find it somewhere else). Before giving my opinion about this device, I want to give &#8230; <a href="http://tinyhack.com/2009/08/16/smartq7/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I just got my SmartQ 7 few days ago. In this post I want to share some technical thing (not a full review, you can find it somewhere else). Before giving my opinion about this device, I want to give quick update: I haven&#8217;t done much progress on the STR9104 FreeBSD port except to keep it up to date with FreeBSD Current. I am planning to start to work on it again this week. Andrew Certain have added joystick support for AppleWii. See the <a href="http://code.google.com/p/wiiapple">Google Code</a> for latest version.</p>
<p>I bought this device from <a href="http://www.dealextreme.com/details.dx/sku.27441~r.70455276">DealExtreme for 206.1 USD </a>, this is the first expensive thing that I bought from <a href="http://www.dealextreme.com/default.dx/r.70455276">DealExtreme</a> (I only bought small things from then, usually my total is less than 20 USD). The thing shipped in about 10 days, but I need to get the thing from the post office, because I need to pay extra tax 350 baht (~11 USD).<br />
<span id="more-137"></span></p>
<p>SmartQ 7 is a 7&#8243; MID (mobile internet device) running ubuntu. It has ARM processor (the SoC is Samsung S3C6410), the RAM is 128 Mb, with 1GB internal flash storage. There are 2 USB ports, one for USB Host, and the other for USB OTG. It doesn&#8217;t have an internal bluetooth, buat a bluetooth dongle is given, it looks like <a href="http://www.dealextreme.com/details.dx/sku.13701~r.70455276">this thing in DealExtreme</a>. It has 4500mAh battery. The screen resolution is 800&#215;600.</p>
<p>My short opinion is: this thing is great, but needs better software. There is no accelerated driver for Xorg (X uses fbdev, an unaccelerated framebuffer driver). By default it allocates 128Mb swap space in the internal flash. I am a little bit worried about this (the flash have limited write cycle), and I move the swap to external SD Card. Because the memory is only 128Mb, it swaps a lot.</p>
<p>This SoC has a 3D graphics support, but of course, no driver for it yet. It also has a hardware JPEG decoder (no driver for it yet), hardware MPEG-4 video decoder (no driver for it also). I hope someone will make those drivers (or may be I will if I have finished the FreeBSD stuff).</p>
<p>The power management is still not so good. Sometimes it works perfectly, but sometimes not. On the first day, I can use it about 9.5 hours (according to uptime, part of this uptime is when the LCD is off when i left it for  a while)  reading comic books while installing several softwares using apt-get (the wifi is kept on). On the next day, it shows some strange behaviour, such as refusing to resume after sleep. And restarting it several times makes the battery drain faster (I think it lasted less than 5 hours). I still don&#8217;t know whether this behaviour is from the factory, or may be I have messed around too much.</p>
<p>Most sofware are not designed to be touch operated. I have seen several modal dialog box that appears beneath current window, and you can not switch to it. Plugging an external USB Keyboard seems to be the only good solution when it happens. Sometimes you ocan still escape by holding some combination of buttons, but sometimes plugging a USB keyboard or resetting the device is the only solution (or if you have installed an openssh server, SSH-ing to the device and killing the application).</p>
<p>You have several options for the operating system: the built in OS (Ubuntu), Mer, Google Android (just some initial support, I haven&#8217;t tested it), and Windows CE (Chinese version only for now). You can also do multiboot using those OSes (dual boot, tripeboot, or even quadboot).</p>
<p>Just a note: the device is perfect for reading Manga, but not American comic books. The size fits perfectly for a manga page (except when they show double page). I suggest you use latest Comix application, because it is more touch friendly.</p>
<p>If you are looking for a device that &#8220;just works&#8221;, then this not the device that youare looking for. If you are like me, who likes to mess around with stuff, then this device has many potential. I can use this device as a very large PDA, and I can use it as a netbook by connecting a USB keyboard. It is not pocketable, but it is very portable (smaller than my wife&#8217;s EEE PC). With the USB Host functionality, I can do almost everything that I can do with laptops, such as copying things from USB Disks.</p>
<p>My wife have an EEE PC for her traveling needs, and she also owns a MacBook Pro, which is quite portable around the house, but too heavy for long trips. I wanted to buy another netbook, but I think this device is better for me. I can carry the SmartQ, and put the USB keyboard on my bag. For my traveling preparation, I have bought a USB hub (with power adapter, for those devices that requires it) and a small keyboard, the total for both are 500 baht (~15 USD).</p>
<p>I wrote this post on SmartQ 7, using usb keyboard on Emacs, and then I copy paste the text to Midori web browser.</p>
<p><img src="http://tinyhack.com/wp-content/uploads/2009/08/15082009006-300x225.jpg" alt="15082009(006)" title="15082009(006)" width="300" height="225" class="alignnone size-medium wp-image-141" /></p>
]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2009/08/16/smartq7/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Too many things to do</title>
		<link>http://tinyhack.com/2009/04/05/too-many-things-to-do/</link>
		<comments>http://tinyhack.com/2009/04/05/too-many-things-to-do/#comments</comments>
		<pubDate>Sun, 05 Apr 2009 15:17:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[agestar]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://tinyhack.com/?p=122</guid>
		<description><![CDATA[There are so many things to do lately, but so little time. Plus i have so many dental problems lately, three of my molar teeth has been pulled out in the last 2 months, and going to have the fourth &#8230; <a href="http://tinyhack.com/2009/04/05/too-many-things-to-do/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There are so many things to do lately, but so little time. Plus i have so many dental problems lately, three of my molar teeth has been pulled out in the last 2 months, and going to have the fourth taken next month. Going to dentist and waiting for the recovery always takes away my free time.</p>
<p>My wife just bought Nokia 5800, a Nokia series 60 5th edition phone. It means that i need to finish my SymbianBible port for 5th edition (mostly done, beta version is on symbianbible google groups). My wife also asked me to port MultiCounter to her new phone (done, not yet uploaded).</p>
<p>I have cleaned up the 2.6.29 port of STR9104 Soc, but i will need to clean up again, because of the new documentation from www.cnusers.org. I have also started the freebsd port, but the progress is not much yet.<br />
<span id="more-122"></span><br />
When the NSD Emprex 100 arrived, i realized that I need more network ports. I only have 4 ports on my WRT54GL and all of them have been used. After looking at hubs and routes prices around chiang mai, they are in 500-1000 baht range, that is not cheap so I decided that I should just buy something a little bit more  expensive that I can hack. I saw DLink DIR-300 sold at relatively cheap price 1490 baht (43 usd, cheap for Chiang Mai price), this is 700 baht (20 usd) cheaper compared to WRT54GL, with almost same hardware spec (4 Mb ROM, 16 Mb RAM). I spent some time installing openwrt on this router, because I was so confused with the factory built interface.</p>
<p>I am planning to go to Indonesia for 10 days, so during that time, I don&#8217;t think I will be able to do much hacking, but I want to still continue studying freebsd. So I decided to install FreeBSD on our EEE PC 901. This was not difficult, but it took quite some time to setup everything.</p>
<p>Here are some of the things that i&#8217;ve done on the EEE PC: setup FreeBSD ARM cross compile, setup Linux ARM cross compilation, setup LXR for FreeBSD current sources. Unfortunately WIFI is still not supported on EEE 901, and all (I only have 2) of my USB bluetooth doesnt work.</p>
<p>Note: I haven&#8217;t made tha 64 Mb Linux Kernel Image. I was affraid that someone made a mistake flashing it to 32 Mb device, which will made it unusable. Of course serial port can still save it, but not every one can make a serial port. With the new documentation I found, I will be able to make kernel image that can autodetect the memory size.</p>
]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2009/04/05/too-many-things-to-do/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>STAR9104: Linux Kernel 2.6.29 and Starting FreeBSD port</title>
		<link>http://tinyhack.com/2009/03/29/star9104-linux-kernel-2629-and-starting-freebsd-port/</link>
		<comments>http://tinyhack.com/2009/03/29/star9104-linux-kernel-2629-and-starting-freebsd-port/#comments</comments>
		<pubDate>Sun, 29 Mar 2009 05:37:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[agestar]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://tinyhack.com/?p=117</guid>
		<description><![CDATA[I&#8217;ve finally updated my patch to 2.6.29, the patch can be downloaded from: http://tinyhack.com/agestar/patch-2.6.29-star.gz and the config file: http://tinyhack.com/agestar/config-2.6.29-star or if you want the image that i already compiled and test (image is compiled with 32 MB memory). This is &#8230; <a href="http://tinyhack.com/2009/03/29/star9104-linux-kernel-2629-and-starting-freebsd-port/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve finally updated my patch to 2.6.29, the patch can be downloaded from:<br />
<a href="http://tinyhack.com/agestar/patch-2.6.29-star.gz" target="_blank">http://tinyhack.com/agestar/patch-2.6.29-star.gz</a></p>
<p>and the config file:</p>
<p><a href="http://tinyhack.com/agestar/config-2.6.29-star" target="_blank">http://tinyhack.com/agestar/config-2.6.29-star</a></p>
<p>or if you want the image that i already compiled and test (image is compiled with 32 MB memory). This is NOT a FIRMWARE</p>
<p><a href="http://tinyhack.com/agestar/zImage-2.6.29" target="_blank">http://tinyhack.com/agestar/zImage-2.6.29</a></p>
<p>when i have the time, i will work on creating a new firmware image.</p>
<p>Some changes:</p>
<ul>
<li>The machine ID is now registered in <a href="http://www.arm.linux.org.uk/developer/machines/">http://www.arm.linux.org.uk/developer/machines/</a></li>
<li>The network problem instability has now been fixed</li>
<li>Added new configuration option to select memory size based on your board memory (16, 32, or 64 mb). Note: selecting values larger than the supported size will cause crash.</li>
</ul>
<p>The other news is that Bruce M Simpson has donated me an Emprex NSD 100 for porting FreeBSD to it. I have started my work, but the progress will be slower from the Linux at the beginning, because:</p>
<ol>
<li>I am more familiar with Linux kernel compared to FreeBSD kernel</li>
<li>Currently FreeBSD kernel itself doesn&#8217;t support many ARM devices yet, so to find an exmple of something I need to look at NetBSD, (and it helps, for example the Faraday 526 processor support is already in NetBSD).</li>
<li>I am rather busy this and coming month (planning to go to Indonesia for about 10 days)</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2009/03/29/star9104-linux-kernel-2629-and-starting-freebsd-port/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Configure Gadmei USB TV Box TVR200 in Linux</title>
		<link>http://tinyhack.com/2008/12/31/configure-gadmei-usb-tv-box-tvr200-in-linux/</link>
		<comments>http://tinyhack.com/2008/12/31/configure-gadmei-usb-tv-box-tvr200-in-linux/#comments</comments>
		<pubDate>Wed, 31 Dec 2008 05:32:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://tinyhack.com/2008/12/31/configure-gadmei-usb-tv-box-tvr200-in-linux/</guid>
		<description><![CDATA[I have an old GADMEI USB TV BOX, in the back it says MODEL: TVR200. I haven&#8217;t use this since few years ago in Windows. I am planning to learn a little bit about Wii homebrew, so I thought if &#8230; <a href="http://tinyhack.com/2008/12/31/configure-gadmei-usb-tv-box-tvr200-in-linux/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have an old GADMEI USB TV BOX, in the back it says MODEL: TVR200. I haven&#8217;t use this since few years ago in Windows. I am planning to learn a little bit about Wii homebrew, so I thought if I can use my computer as display, I don&#8217;t have to go back and forth to my TV. When I plugged the USB TV BOX, the kernel display some messages about em28xx:</p>
<pre>[ 3662.345631] em28xx #0: Your board has no unique USB ID and thus need a hint to be detected.
[ 3662.345634] em28xx #0: You may try to use card=<n> insmod option to workaround that.
[ 3662.345636] em28xx #0: Please send an email with this log to:
[ 3662.345638] em28xx #0: 	V4L Mailing List <video4linux-list @REDHAT.COM>
[ 3662.345640] em28xx #0: Board eeprom hash is 0x00000000
[ 3662.345643] em28xx #0: Board i2c devicelist hash is 0xc51200e3
[ 3662.345645] em28xx #0: Here is a list of valid choices for the card=<n> insmod option:
[ 3662.345647] em28xx #0:     card=0 -&gt; Unknown EM2800 video grabber
[ 3662.345650] em28xx #0:     card=1 -&gt; Unknown EM2750/28xx video grabber
[ 3662.345652] em28xx #0:     card=2 -&gt; Terratec Cinergy 250 USB
[ 3662.345654] em28xx #0:     card=3 -&gt; Pinnacle PCTV USB 2
[ 3662.345656] em28xx #0:     card=4 -&gt; Hauppauge WinTV USB 2
[ 3662.345659] em28xx #0:     card=5 -&gt; MSI VOX USB 2.0
[ 3662.345661] em28xx #0:     card=6 -&gt; Terratec Cinergy 200 USB
[ 3662.345663] em28xx #0:     card=7 -&gt; Leadtek Winfast USB II
[ 3662.345665] em28xx #0:     card=8 -&gt; Kworld USB2800
[ 3662.345667] em28xx #0:     card=9 -&gt; Pinnacle Dazzle DVC 90/DVC 100
[ 3662.345670] em28xx #0:     card=10 -&gt; Hauppauge WinTV HVR 900
[ 3662.345672] em28xx #0:     card=11 -&gt; Terratec Hybrid XS
[ 3662.345674] em28xx #0:     card=12 -&gt; Kworld PVR TV 2800 RF
[ 3662.345676] em28xx #0:     card=13 -&gt; Terratec Prodigy XS
[ 3662.345679] em28xx #0:     card=14 -&gt; Pixelview Prolink PlayTV USB 2.0
[ 3662.345681] em28xx #0:     card=15 -&gt; V-Gear PocketTV
[ 3662.345683] em28xx #0:     card=16 -&gt; Hauppauge WinTV HVR 950
[ 3662.685938] em28xx #0: V4L2 device registered as /dev/video0 and /dev/vbi0</pre>
</p>
<p>So I tried modprobe em28xx card=0 and then card=1, and then card=2, thankfully it worked with card=2. I used tvtime program to see the output of the usb tv. To make it permanent, add this line:</p>
<p>options em28xx card=2</p>
<p>to your /etc/modprobe.conf, or create a new file (any name is fine) at /etc/modprobe.d and fill it with that line. Note: audio is not working yet, but I don&#8217;t really need it right now.</p>
]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2008/12/31/configure-gadmei-usb-tv-box-tvr200-in-linux/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Update &#8211; Debian on Agestar Firmware</title>
		<link>http://tinyhack.com/2008/09/20/update-debian-on-agestar-firmware/</link>
		<comments>http://tinyhack.com/2008/09/20/update-debian-on-agestar-firmware/#comments</comments>
		<pubDate>Sat, 20 Sep 2008 16:49:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[agestar]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://tinyhack.com/?p=63</guid>
		<description><![CDATA[Warning/Note: This is not an update to the existing firmware. This is for installing Debian. If you don&#8217;t know anything about Linux, this is not for you. This firmware DOES NOT contain web interface. I haven&#8217;t looked again on Debian &#8230; <a href="http://tinyhack.com/2008/09/20/update-debian-on-agestar-firmware/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><b>Warning/Note</b>: This is not an update to the existing firmware. This is for installing Debian. If you don&#8217;t know anything about Linux, this is not for you. This firmware DOES NOT contain web interface.</p>
<p>I haven&#8217;t looked again on Debian installer for Agestar, but I have built a new firmware for Debian on Agestar using the latest kernel patch (faster network). If you have installed Debian using the instruction in <a href="http://www.tinyhack.com/agestar/debian-noserialneeded.html">here</a>, you can download <a href="http://tinyhack.com/agestar/zImage-20092008">zImage-20092008</a> to Agestar, and then do:</p>
<p><code>dd if=zImage-20092008 of=/dev/mtdblock1</code></p>
<p>If you haven&#8217;t installed Debian, then when following <a href="http://www.tinyhack.com/agestar/debian-noserialneeded.html">the instruction</a>, but instead of using star.bin use <a href="http://tinyhack.com/agestar/star-20092008.bin">star-20092008.bin</a>. To make it clear, use <b>zImage-20092008</b> to update <b>existing</b> installation, and <b>star-20092008.bin</b> for <b>new installation (starting from the original Agestar firmware)</b>. If you made a mistake, then you need a serial port to unbrick your Agestar. <b>NOTE:</b> the web update method only works on agestar, other models can work by using serial port and latest patch for kernel source (2.6.29 or later).</p>
<p>If you are interested to make your own firmware, this is what you should do:</p>
<ol>
<li>Download <a href="http://tinyhack.com/agestar/armboot.bin">armboot.bin</a> and put it to a directory</li>
<li>Download <a href="http://tinyhack.com/agestar/mergefile.c">mergefile.c</a> to the same directory as armboot.bin</li>
<li>Compile mergefile.c (just do <code>cc mergefile.c -o mergefile</code>) </li>
<li>Compile your kernel according  to the instruction at <a href="http://tinyhack.com/2008/09/08/how-to-compile-kernel-for-agestar/">http://tinyhack.com/2008/09/08/how-to-compile-kernel-for-agestar/</a> to create zImage, copy/move it to the same directory as armboot.bin</li>
<li>Type <code>./mergefile</code> to merge <b>armboot.bin</b> and <b>zImage</b> to <b>star.bin</b>.
</ol>
<p>You can use star.bin to flash (replace) original firmware. If you already installed Debian, and you want to update your kernel, you only need to build zImage and do <code>dd if=newzImage of=/dev/mtdblock1</code>.</p>
]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2008/09/20/update-debian-on-agestar-firmware/feed/</wfw:commentRss>
		<slash:comments>117</slash:comments>
		</item>
		<item>
		<title>How to compile kernel for Agestar</title>
		<link>http://tinyhack.com/2008/09/08/how-to-compile-kernel-for-agestar/</link>
		<comments>http://tinyhack.com/2008/09/08/how-to-compile-kernel-for-agestar/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 01:01:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[agestar]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://tinyhack.com/?p=58</guid>
		<description><![CDATA[Here is a guide how to compile a kernel for your Agestar. In this latest patch from me, I have included the network driver with scatter/gather support. For FTP transfer, HTTP, or other transfers that uses sendfile syscall, the speed &#8230; <a href="http://tinyhack.com/2008/09/08/how-to-compile-kernel-for-agestar/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here is a guide how to compile a kernel for your Agestar. In this latest patch from me, I have included the network driver with scatter/gather support. For FTP transfer, HTTP, or other transfers that uses sendfile syscall, the speed is about 50% faster than before, for ordinary transfer, it almost doesn&#8217;t change.</p>
<ol>
<li>Download vanilla kernel from kernel.org (use version <a href="http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.25.4.tar.bz2">linux-2.6.25.4</a>)</li>
<li>Extract kernel , and apply this patch file (<a href="http://tinyhack.com/agestar/patchfile-20080907.gz">patchfile-20080907.gz</a>)</li>
<li>Download <a href="http://tinyhack.com/agestar/initramfs.cpio.gz">initramfs.cpio.gz</a> put it in the kernel directory and extract it</li>
<li>Download my configuration file <a href="http://tinyhack.com/agestar/config-20080907">config-20080907</a> put it into kernel directory, rename it as .config</li>
<li>Install an arm compiler, your distribution may have them (for instance in Debian you can use aptitude with emdebian.org repository), or download from <a href="http://codesourcery.com">codesourcery.com</a>.</li>
<li>Edit Makefile, find CROSS_COMPILE and change the value to the location and prefix of your compiler. For example, of your compiler is /opt/arm/920t_le/bin/arm_920t_le-gcc, fill in /opt/arm/920t_le/bin/arm_920t_le- (without the gcc part)</li>
<li>To configure the kernel, type &#8220;make menuconfig&#8221;</li>
<li>Type make to build zImage</li>
</ol>
<p>NOTE: the zImage is NOT a FIRMWARE. You can write zImage to /dev/mtdblock1 on the agestar to update your kernel but not through the web interface. I will write another tutorial on how to make zImage into a firmware that can be flashed using the web interface.</p>
<p>If you want a newer kernel, start from the current kernel, and keep on patching with the next incremental patch until you reach the kernel number that you want. This is not always easy, because sometimes a patch will conflict with the changes that i have made.</p>
]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2008/09/08/how-to-compile-kernel-for-agestar/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Tips For Debian on Agestar</title>
		<link>http://tinyhack.com/2008/08/25/tips-for-agestar-ncb3ast/</link>
		<comments>http://tinyhack.com/2008/08/25/tips-for-agestar-ncb3ast/#comments</comments>
		<pubDate>Mon, 25 Aug 2008 16:09:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[agestar]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://tinyhack.com/2008/08/25/tips-for-agestar-ncb3ast/</guid>
		<description><![CDATA[Chris (Whites11) and several others have pointed that the source code for a device similar to Agestar have been released by a German company (http://www.multicase.de/en/products/76/ns348s.html). I have not looked carefully at the source code of this one, but none of &#8230; <a href="http://tinyhack.com/2008/08/25/tips-for-agestar-ncb3ast/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Chris (Whites11) and several others have pointed that the source code for a device similar to Agestar have been released by a German company (<a title="http://www.multicase.de/en/products/76/ns348s.html" href="http://www.multicase.de/en/products/76/ns348s.html">http://www.multicase.de/en/products/76/ns348s.html</a>). I have not looked carefully at the source code of this one, but none of the people on the mailing list have got it working with networking enabled.</p>
<p>Kari Ahtiala who owned several NAS devices (SLUG, NCB3AST, NCH3AHT), said that you can just move your disk from NSLU (SLUG) to Agestar just fine:</p>
<p><span id="more-57"></span></p>
<blockquote><p>after upgrading the firmware, boot the Agestar without the disk, ssh to it, plug in the disk, mount it and chroot to it, and then mount -t proc /proc proc, and everything works as if the Agestar had been booted off the hard drive. </p>
<p>This is fine if you want to just borrow the disk for testing or cloning purposes. To convert it to be used on the Agestar exclusively, I copied /etc to /etc-slug (so I can revert by &quot;mv etc etc-agestar&quot; and &quot;mv&#160; etc-slug etc&quot; and enited fstab, network/interfaces and modules and issued the command &quot;e2label /dev/sdb1 /&quot; as you instructed.</p>
</blockquote>
<p>And here are some tips from him:</p>
<blockquote><p>I pretty much cloned my SLUG so the Agestar is now a NFS and Samba server, Web server and X server. The Xfce4 applications are usable on the Agestar &#8211; Mousepad is an OK editor and Thunar is OK for a file manager (these have a habit of Segfaulting, though, but at least X works: xterm, kpat, xpat2 and spider!). Using &quot;ssh -CY&quot; instead of &quot;ssh -X&quot; doesn&#8217;t seem to make much difference.</p>
<p>Usbmount is very useful: plug in a USB drive and it is accessible on your local network if you share /media via samba. Just edit /etc/usbmount/usbmount.conf: the default filesystems are ext2 and ext3 but you can add vfat and ntfs but you need to add some options:     <br />FS_MOUNTOPTIONS=&quot;-fstype=ntfs,rw,errors=remount-ro,dmask=0000,fmask=0000 -fstype=vfat,dmask=0000,fmask=0000&quot; </p>
<p>To get read-write on an NTFS drive, you need to cheat a bit: first install ntfs-3g and then     <br />ln -s /usr/bin/ntfs-3g /sbin/mount.ntfs (this is because ntfs-3g is a program and the old ntfs is a module).</p>
</blockquote>
<p>A tip from me is that if you have a problem with your Agestar, just search google for your problem, and add &quot;NSLU&quot; &quot;debian&quot; (or NSLU2 debian). The solution for debian NSLU2 should apply to Agestar with Debian.</p>
]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2008/08/25/tips-for-agestar-ncb3ast/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Installing Debian on Agestar without serial port</title>
		<link>http://tinyhack.com/2008/07/30/installing-debian-on-agestar-without-serial-port/</link>
		<comments>http://tinyhack.com/2008/07/30/installing-debian-on-agestar-without-serial-port/#comments</comments>
		<pubDate>Wed, 30 Jul 2008 00:30:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[agestar]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://tinyhack.com/2008/07/30/installing-debian-on-agestar-without-serial-port/</guid>
		<description><![CDATA[I have prepared a firmware and tutorial to Install Debian here, this time without the need for serial port. I have tested this, and it seems that everything works. But of course I will not be responsible if anything happens. &#8230; <a href="http://tinyhack.com/2008/07/30/installing-debian-on-agestar-without-serial-port/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have prepared a firmware and tutorial to Install Debian <a href="http://www.tinyhack.com/agestar/debian-noserialneeded.html">here</a>, this time without the need for serial port. I have tested this, and it seems that everything works. But of course I will not be responsible if anything happens. If you think there are some missing, unclear or inaccurate steps, or if you doubt about something, then don&#8217;t install it. If you have anything to ask just email to yohanes [at] gmail.com, or just post your questions as comments.</p>
<p><b>NOTE:</b> the web update method only works on agestar ncb3ast, other models can work by using serial port and latest patch for kernel source (2.6.29 or later).</p>
]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2008/07/30/installing-debian-on-agestar-without-serial-port/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>New Firmware Progress</title>
		<link>http://tinyhack.com/2008/07/21/new-firmware-progress/</link>
		<comments>http://tinyhack.com/2008/07/21/new-firmware-progress/#comments</comments>
		<pubDate>Mon, 21 Jul 2008 01:05:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[agestar]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://tinyhack.com/2008/07/21/new-firmware-progress/</guid>
		<description><![CDATA[My wife agrees that I can buy another Agestar to hack and use the other one for our network storage. With this new Agestar I can continue my hacks. Currently I am working on building a firmware that can be &#8230; <a href="http://tinyhack.com/2008/07/21/new-firmware-progress/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>My wife agrees that I can buy another Agestar to hack and use the other one for our network storage. With this new Agestar I can continue my hacks. Currently I am working on building a firmware that can be used to install Debian without serial port. On the first stage, I will build a generic firmware without automatic installer, so the user still needs to do some manual steps to install Debian. So it is something like the manual Debian install on NSLU2 (<a title="http://www.cyrius.com/debian/nslu2/unpack.html" href="http://www.cyrius.com/debian/nslu2/unpack.html">http://www.cyrius.com/debian/nslu2/unpack.html</a>).&#160; Actually because this is generic command line, you would be able to install Gentoo or something else. The next step would be to make an automatic installer like in NSLU2(<a title="http://www.cyrius.com/debian/nslu2/install.html" href="http://www.cyrius.com/debian/nslu2/install.html">http://www.cyrius.com/debian/nslu2/install.html</a>). </p>
<p>The main reason why I started with manual installer is because I am not yet familiar with the Debian installer. Currently the manual installer is almost complete, I just need to test it thoroughly to make sure that this will really works without serial port. I hope I can release this in the next few days (or this weekend at the latest).</p>
]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2008/07/21/new-firmware-progress/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>RTC on STR9100</title>
		<link>http://tinyhack.com/2008/06/30/rtc-on-str9100/</link>
		<comments>http://tinyhack.com/2008/06/30/rtc-on-str9100/#comments</comments>
		<pubDate>Sun, 29 Jun 2008 17:13:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[agestar]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://tinyhack.com/?p=48</guid>
		<description><![CDATA[I have spent many hours to work on the RTC part, and I decided to give up for now. I have been able to activate the clock, set the clock, and make it run. But the RTC is not useful. &#8230; <a href="http://tinyhack.com/2008/06/30/rtc-on-str9100/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have spent many hours to work on the RTC part, and I decided to give up for now. I have been able to activate the clock, set the clock, and make it run. But the RTC is not useful. First, it is not battery backed, so when you turn off your device, it will not keep the time. Second, it can store only the seconds, minutes, hours, and day of month.  The problem of not having a documentation is sometimes you get stuck, and don&#8217;t know what to try next.</p>
<p>There is one feature that is supposed to be useful if I can make it work: the alarm capability. With alarm some  cron-like applications can set to be notified when a particular time comes (it will ease the CPU burden). As far as I know the cron daemon doesn&#8217;t use this feature, so it is not a great loss.</p>
<p>There is one thing that still puzzles me. The original firmware uses X1205 through I2C bus. From my understanding the X1205 have different abilities compared to the STR9100 RTC. So I don&#8217;t know whether there is actually another RTC on the board.</p>
<p>Since the RTC is not very useful. I will let go hacking this part, until I find other clues.</p>
<p>Here is the output of the original firmware.</p>
<pre>
X1205: I2C based RTC driver.
i2c-core.o: driver X1205 registered.
X1205: found X1205 on STR9100 I2C Adapter
ccr_write_enable: verify SR failed
i2c-core.o: client [X1205] registered to adapter [STR9100 I2C Adapter](pos. 0).
X1205: i2c_add_driver RTC driver.
X1205: misc_register RTC driver.
</pre>
]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2008/06/30/rtc-on-str9100/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

