<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>tinyhack.com</title>
	
	<link>http://tinyhack.com</link>
	<description>Tinyhack</description>
	<lastBuildDate>Mon, 28 Sep 2009 15:56:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/Tinyhackcom" type="application/rss+xml" /><feedburner:browserFriendly></feedburner:browserFriendly><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>CNX11XX/STR91XX FreeBSD Progress</title>
		<link>http://feedproxy.google.com/~r/Tinyhackcom/~3/ESxWALzkG9c/</link>
		<comments>http://tinyhack.com/2009/09/28/cnx11xxstr91xx-freebsd-progress/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 15:56:53 +0000</pubDate>
		<dc:creator>yohanes</dc:creator>
				<category><![CDATA[agestar]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[opensource]]></category>

		<guid isPermaLink="false">http://tinyhack.com/?p=145</guid>
		<description><![CDATA[Last weekend I continued my work on FreeBSD port. I am concentrating on the network speed improvement, and I made a good progress with it. The network speed is now about 2.1 Mbps (FTP upload from device), this is still slower than the Linux version but i think it already reach a usable state (I [...]]]></description>
			<content:encoded><![CDATA[<p>Last weekend I continued my work on FreeBSD port. I am concentrating on the network speed improvement, and I made a good progress with it. The network speed is now about 2.1 Mbps (FTP upload from device), this is still slower than the Linux version but i think it already reach a usable state (I think I should be able to stream some DivX files through HTTP from it). I will ask around in the freebsd-arm/freebsd-net mailing list so I can do more improvement on the driver.</p>
<p>I am still a bit worried playing around with the Flash, since I don&#8217;t have anything to restore it back in case I made a mistake. So I think I will leave this part for a while.</p>
<p>For everyone who have NSD-100 with Serial Port attached to it, you can try a precompiled binary thah I have prepared, or you can compile from source.  To use the binary version, you will need a USB disk (at least 2GB in size), and a TFTP server. Actually you only need about 256 megabyte if you prepare your own disk instead of using my image.</p>
<p>Here are the steps for the binary version:</p>
<ol>
<li>Download the disk image from <a href="http://tinyhack.com/files/disk-2gb-freebsd-armv4-26-september-2009.img.bz2">here</a></li>
<li>Decompress (bunzip) the disk image, use dd to write to your USB disk</li>
<li>Since there is no boot menu, entering single or multi user mode is done by booting different kernel. Download the <a href="http://tinyhack.com/files/kernel-cns11xx-multi-freebsd-28-sept-2009.bin">multi user kernel</a> or <a href="http://tinyhack.com/files/kernel-cns11xx-single-freebsd-28-sept-2009.bin">single user kernel</a> and put it in your tftpserver</li>
<li>Boot the kernel </li>
</ol>
<p>To boot the kernel, you need to access your device using serial port. I think You need to hold the reset button to enter the boot prompt (mine always goes to the boot prompt because Bruce did something with the configuration area). You should see
<pre>STR9100></pre>
<p> prompt.</p>
<pre>
setenv serverip 192.168.1.1
(you can also 'saveenv' to save the TFTP server address permanently)
tftpboot 0x1000000 name-of-kernel.bin
go 0x1000000
</pre>
<p>To build your own disk image, make an empty disk.img with the size that you want. Goto /usr/src and then (modified from instruction to make i386 image <a href="http://bsdimp.blogspot.com/2007/10/building-bootable-freebsdi386-images.html">by Warner Losh</a>)</p>
<pre>
export TARGET_ARCH=arm
make buildworld
mdconfig -a -t vnode -f disk.img
fdisk -I md0
fdisk -B md0
bsdlabel -w md0s1 auto
bsdlabel -B md0s1
newfs /dev/md0s1a
mount /dev/md0s1a /mnt/
make installworld DESTDIR=/mnt
make distrib-dirs DESTDIR=/mnt
make distribution DESTDIR=/mnt
echo /dev/da0s1a / ufs rw 1 1 > /mnt/etc/fstab
echo ifconfig_DEFAULT=DHCP > /mnt/etc/rc.conf
echo hostname=demo >> /mnt/etc/rc.conf
</pre>
<p>To compare your boot experience <a href="http://tinyhack.com/files/freebsd-cns11xx-log-multi-28-sept-2009.txt">here is is the bootlog for the multi user mode</a>, and <a href="http://tinyhack.com/files/freebsd-cns11xx-log-single-28-sept-2009.txt">the single user mode</a>.</p>
<p>For the latest kernel source, you can see the perforce depot at:</p>
<p><a href="http://p4db.freebsd.org/depotTreeBrowser.cgi?FSPC=//depot/projects/str91xx&#038;HIDEDEL=NO">http://p4db.freebsd.org/depotTreeBrowser.cgi?FSPC=//depot/projects/str91xx&#038;HIDEDEL=NO</a></p>
<img src="http://feeds.feedburner.com/~r/Tinyhackcom/~4/ESxWALzkG9c" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2009/09/28/cnx11xxstr91xx-freebsd-progress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://tinyhack.com/2009/09/28/cnx11xxstr91xx-freebsd-progress/</feedburner:origLink></item>
		<item>
		<title>SmartQ7</title>
		<link>http://feedproxy.google.com/~r/Tinyhackcom/~3/lkKUBMN7B5M/</link>
		<comments>http://tinyhack.com/2009/08/16/smartq7/#comments</comments>
		<pubDate>Sun, 16 Aug 2009 15:27:25 +0000</pubDate>
		<dc:creator>yohanes</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 quick update: I haven&#8217;t done much progress on the STR9104 FreeBSD port except to keep [...]]]></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>
<img src="http://feeds.feedburner.com/~r/Tinyhackcom/~4/lkKUBMN7B5M" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2009/08/16/smartq7/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		<feedburner:origLink>http://tinyhack.com/2009/08/16/smartq7/</feedburner:origLink></item>
		<item>
		<title>Hostmonster 50000 files limit</title>
		<link>http://feedproxy.google.com/~r/Tinyhackcom/~3/0Rn9xmEyEVY/</link>
		<comments>http://tinyhack.com/2009/06/18/hostmonster-50000-files-limit/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 11:20:55 +0000</pubDate>
		<dc:creator>yohanes</dc:creator>
				<category><![CDATA[hostmonster]]></category>

		<guid isPermaLink="false">http://tinyhack.com/?p=134</guid>
		<description><![CDATA[I have been using Hostmonster for more than 2 years, and I was quite satisfied until now. When I registered in 2006, Hostmonster gives more than enough disk space, and bandwidth for me. Few months ago, I decided to extend my registration for another 3 years, I am doing this because the uptime of the [...]]]></description>
			<content:encoded><![CDATA[<p>I have been using Hostmonster for more than 2 years, and I was quite satisfied until now. When I registered in 2006, Hostmonster gives more than enough disk space, and bandwidth for me. Few months ago, I decided to extend my registration for another 3 years, I am doing this because the uptime of the server is excellent, and  they are responsive to questions and requests (such as adding DNS record, or resolving some problem with CPanel).</p>
<p>Three days ago, I got an email from abuse department, it says that I have been storing to many files. I have about 300 thousands files, and their limit (that they just set on May) is 50 thousands file. You may think that 50 thousands file is a lot, but in reality it is not. Many software uses thousands of small files, for example there are more than 1800 files on  gallery2 (typical install, english only), there are more than 1000 files for wordpress. Joomla with virtuemart will use more than 6000 files. I think this new limit has something to do with their new UNLIMITED HOSTING offer.</p>
<p>That is only the default install. Many web applications uses more files. For example, gallery2 will cache the resized sizes (thumnail, normal view, full view, etc) so if you upload 1000 pictures, it may end up becoming 3000 files or more. I  got quite many blog entries (because I have been blogging in my Indonesian blog for 3 years), so I need to install wp-cache to speed things up. The cache is file based, so in just one of my blog, I use about around 4000 files.  </p>
<p>The worst part is Hostmonster also counts their configuration files, empty directories, log files, and emails in the total. So if you have several email account, and you haven&#8217;t pop your email for a while, your file count will be high. If you use IMAP, then you can not have many messages, because every message is a file.</p>
<p>After cleaning up my files, removing my photos, uninstalling gallery, I finally lowered down my file count to around 44000. Now I only use about 1.7 GB of the disk space. So much for unlimited space hosting <img src='http://tinyhack.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/Tinyhackcom/~4/0Rn9xmEyEVY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2009/06/18/hostmonster-50000-files-limit/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		<feedburner:origLink>http://tinyhack.com/2009/06/18/hostmonster-50000-files-limit/</feedburner:origLink></item>
		<item>
		<title>Agestar/CNS11XX Freebsd progress</title>
		<link>http://feedproxy.google.com/~r/Tinyhackcom/~3/Ym6ey-uWpjY/</link>
		<comments>http://tinyhack.com/2009/05/24/agestarcns11xx-freebsd-progress/#comments</comments>
		<pubDate>Sun, 24 May 2009 13:55:09 +0000</pubDate>
		<dc:creator>yohanes</dc:creator>
				<category><![CDATA[agestar]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[opensource]]></category>

		<guid isPermaLink="false">http://tinyhack.com/?p=126</guid>
		<description><![CDATA[I&#8217;m still working on the Freebsd port, and haven&#8217;t tried to fix the network driver problem in Linux (it only happens on samba 3 which I don&#8217;t use daily). The reason to focus my work on the FreeBSD port is because I want to understand more about the network driver. The current Linux network driver [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m still working on the Freebsd port, and haven&#8217;t tried to fix the network driver problem in Linux (it only happens on samba 3 which I don&#8217;t use daily). The reason to focus my work on the FreeBSD port is because I want to understand more about the network driver. The current Linux network driver was not written from scratch but from modifying existing source. The source was full of things that I don&#8217;t understand, which proves to be unnecessary after I gain understanding when writing the Freebsd network driver.</p>
<p>Here is the current FreeBSD port status:</p>
<ol>
<li>Timer is now working, previously the timer tick works, but the time counter was too fast.</li>
<li>EHCI and OHCI is working, but there is still some caching problem, so i need to modify usb_busdma.c, this modification is not clean. I can access USB disks, and USB network adapter.</li>
<li>Network driver works, but it is still very slow . I am still trying to understand better the DMA handling in FreeBSD. There is still one bug: you can not stop the interface and start it again. The stopping part works, ifconfig ece0 down, but the starting again part doesn&#8217;t. </li>
<li>Multi user works. I can also activate network services, such as sshd.</li>
</ol>
<p>I am still waiting for my perforce account. But anyone willing to test it can contact me. I still don&#8217;t know the best method to release a patch against CURRENT for people to try, because changes happens very quickly. </p>
<p>Here is the latest boot log: <a href="http://tinyhack.com/files/bsd-24-may-2009.txt">bsd-24-may-2009.txt</a></p>
<img src="http://feeds.feedburner.com/~r/Tinyhackcom/~4/Ym6ey-uWpjY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2009/05/24/agestarcns11xx-freebsd-progress/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://tinyhack.com/2009/05/24/agestarcns11xx-freebsd-progress/</feedburner:origLink></item>
		<item>
		<title>STR9104/CNS1104 FreeBSD Port Progress</title>
		<link>http://feedproxy.google.com/~r/Tinyhackcom/~3/Ewpa5VEmPMg/</link>
		<comments>http://tinyhack.com/2009/05/10/str9104-cns1104-freebsd-arm/#comments</comments>
		<pubDate>Sat, 09 May 2009 18:51:01 +0000</pubDate>
		<dc:creator>yohanes</dc:creator>
				<category><![CDATA[agestar]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[hacks]]></category>

		<guid isPermaLink="false">http://tinyhack.com/?p=124</guid>
		<description><![CDATA[Returning from Indonesia, I continued my Freebsd porting attempt to the Emprex NSD-100. So far it&#8217;s going quite well. I took the FA526 CPU support from NetBSD, I use the 8250 driver for the UART, and default EHCI driver. I got stuck for a while on the EHCI part until Hans Petter Selasky pointed me [...]]]></description>
			<content:encoded><![CDATA[<p>Returning from Indonesia, I continued my Freebsd porting attempt to the Emprex NSD-100. So far it&#8217;s going quite well. I took the FA526 CPU support from NetBSD, I use the 8250 driver for the UART, and default EHCI driver. I got stuck for a while on the EHCI part until Hans Petter Selasky pointed me that there might a problem in the busdma/cache handling. With the EHCI part fixed, I can get to the userland, booting from USB stick.</p>
<p>The remaining drivers that needs to be written are the OHCI and network. The OHCI shouldn&#8217;t take too much time, but I think the network will take quite a long time.</p>
<p>I was planning to clean up, and release the code today, but I was busy with something else, so may be I will release the code in the next few days. For those of you who are curious about the boot log, here it is:<br />
<span id="more-124"></span></p>
<pre>
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2009 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.0-CURRENT #169: Sun May 10 01:25:55 WIT 2009
    yohanes@cameron:/usr/home/yohanes/freebsd/freebsd/src/sys/arm/compile/CNS11XXNAS
WARNING: DIAGNOSTIC option enabled, expect reduced performance.
Preloaded elf kernel "elf kernel" at 0xc12d30b8.
unknown CPU (ID = 0x66015261)
  WB enabled LABT
  16KB/16B 2-way Instruction cache
  16KB/16B 2-way write-back-locking-B Data cache
real memory  = 67108864 (64 MB)
Physical memory chunk(s):
00000000 - 0xffffff, 16777216 bytes (4096 pages)
0x1337000 - 0x3eaefff, 45580288 bytes (11128 pages)
avail memory = 61718528 (58 MB)
ULE: setup cpu 0
nfslock: pseudo-device
null: &lt;null device, zero device&gt;
random: &lt;entropy source, Software, Yarrow&gt;
mem: &lt;memory&gt;
econaarm0: &lt;ECONA device bus&gt; on motherboard
econa add children
econa add child econa_ic addr 7d000000
econa add child uart addr 78000000
econa add child timer addr 79000000
econa add child ehci addr f8000000
econa_alloc_resource start 00000000 end ffffffff, count = 00000008
econa_alloc_resource start 00000000 end ffffffff, count = 00000008
econa_alloc_resource start 78000000 end 78ffffff, count = 01000000
sys_res_memory
Alloc OK
econa_alloc_resource start 00000000 end ffffffff, count = 00000008
econa_alloc_resource start 00000000 end ffffffff, count = 00000008
econa_alloc_resource start 78000000 end 78ffffff, count = 01000000
sys_res_memory
Alloc OK
uart0: &lt;Non-standard ns8250 class UART with FIFOs&gt; mem 0x78000000-0x78ffffff irq 10 on econaarm0
econa_alloc_resource start 00000000 end ffffffff, count = 00000008
econa_alloc_resource start 78000000 end 78ffffff, count = 01000000
sys_res_memory
Alloc OK
econa_alloc_resource start 00000000 end ffffffff, count = 00000001
econa_alloc_resource start 0000000a end 0000000a, count = 00000001
sys_res_irq
Alloc OK
uart0: [FILTER]
uart0: fast interrupt
uart0: console (38461,n,8,1)
timer0: &lt;Econa CPU Timer&gt; mem 0x79000000-0x79ffffff irq 0,1 on econaarm0
econa_alloc_resource start 00000000 end ffffffff, count = 00000001
econa_alloc_resource start 79000000 end 79ffffff, count = 01000000
sys_res_memory
Alloc OK
econa_alloc_resource start 00000000 end ffffffff, count = 00000001
econa_alloc_resource start 00000000 end 00000000, count = 00000001
sys_res_irq
Alloc OK
STR9100 CPU Clock: 200 MHz
HZ = 100
reload value = 500000
IRQ Timer1 at int #0x0 clock 100000000(Hz)
timer0: [FILTER]
DONE timer
done00000000
ehci probe
ehci probe
ehci0: &lt;CNS11XX USB EHCI&gt; mem 0xf8000000-0xffffffff irq 24 on econaarm0
econa_alloc_resource start 00000000 end ffffffff, count = 00000001
econa_alloc_resource start f8000000 end ffffffff, count = 08000000
sys_res_memory
Alloc OK
econa_alloc_resource start 00000000 end ffffffff, count = 00000001
econa_alloc_resource start 00000018 end 00000018, count = 00000001
sys_res_irq
Alloc OK
add USB device
setup intr
ehci0: [MPSAFE]
ehci0: [ITHREAD]
init ehci
usbus0: EHCI version 1.0
probe and attach
usbus0: &lt;CNS11XX USB EHCI&gt; on ehci0
done
initcloks
enabling timer
Timecounter "CPU Timer" frequency 50000000 Hz quality 1000
Timecounters tick every 10.000 msec
usbus0: 480Mbps High Speed USB v2.0
WARNING: DIAGNOSTIC option enabled, expect reduced performance.
ugen0.1: &lt;Cavium&gt; at usbus0
uhub0: &lt;Cavium EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1&gt; on usbus0
uhub0: 2 ports with 2 removable, self powered
ugen0.2: &lt;Kingston&gt; at usbus0
umass0: &lt;Kingston DataTraveler 2.0, class 0/0, rev 2.00/1.00, addr 2&gt; on usbus0
umass0:  SCSI over Bulk-Only; quirks = 0x0000
register sim 0
scanning the sim
umass0:0:0:-1: Attached to scbus0
(probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
(probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(probe0:umass-sim0:0:0:0): SCSI Status: Check Condition
(probe0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0
(probe0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed
(probe0:umass-sim0:0:0:0): (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
(probe0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0
(probe0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed
Retrying Command (per Sense Data)
(probe0:umass-sim0:0:0:0): Retrying Command
pass0 at umass-sim0 bus 0 target 0 lun 0
pass0: &lt;Kingston DataTraveler 2.0 1.00&gt; Removable Direct Access SCSI-2 device
pass0: 40.000MB/s transfers
da0 at umass-sim0 bus 0 target 0 lun 0
da0: &lt;Kingston DataTraveler 2.0 1.00&gt; Removable Direct Access SCSI-2 device
da0: 40.000MB/s transfers
da0: 1906MB (3903578 512 byte sectors: 255H 63S/T 242C)
GEOM: new disk da0
GEOM_LABEL: Label for provider da0s1a is ufsid/4a01b053676144f3.
GEOM_LABEL: Label for provider da0s1a is ufs/FreeBSDonUSB.
root_mount_prepare 100

Manual root filesystem specification:
  &lt;fstype&gt;:&lt;device&gt;  Mount &lt;device&gt; using filesystem &lt;fstype&gt;
                       eg. ufs:/dev/da0a
  ?                  List valid disk boot devices
  &lt;empty line&gt;       Abort manual input

mountroot&gt; ufs:da0s1a
Trying to mount root from ufs:da0s1a
warning: no time-of-day clock registered, system time will not be set accurately
start_init: trying /sbin/init
Enter full pathname of shell or RETURN for /bin/sh:
# ls /
.snap		dev		media		root		usr
COPYRIGHT	etc		mnt		sbin		var
bin		lib		proc		sys
boot		libexec		rescue		tmp
</pre>
<img src="http://feeds.feedburner.com/~r/Tinyhackcom/~4/Ewpa5VEmPMg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2009/05/10/str9104-cns1104-freebsd-arm/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		<feedburner:origLink>http://tinyhack.com/2009/05/10/str9104-cns1104-freebsd-arm/</feedburner:origLink></item>
		<item>
		<title>Too many things to do</title>
		<link>http://feedproxy.google.com/~r/Tinyhackcom/~3/lZG6SEXNLwo/</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>yohanes</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 taken next month. Going to dentist and waiting for the recovery always takes away my [...]]]></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>
<img src="http://feeds.feedburner.com/~r/Tinyhackcom/~4/lZG6SEXNLwo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2009/04/05/too-many-things-to-do/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://tinyhack.com/2009/04/05/too-many-things-to-do/</feedburner:origLink></item>
		<item>
		<title>STAR9104: Linux Kernel 2.6.29 and Starting FreeBSD port</title>
		<link>http://feedproxy.google.com/~r/Tinyhackcom/~3/jG6uC6EDzJA/</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>yohanes</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 NOT a FIRMWARE
http://tinyhack.com/agestar/zImage-2.6.29
when i have the time, i will work on creating a new firmware image.
Some changes:

The machine ID [...]]]></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>
<img src="http://feeds.feedburner.com/~r/Tinyhackcom/~4/jG6uC6EDzJA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2009/03/29/star9104-linux-kernel-2629-and-starting-freebsd-port/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		<feedburner:origLink>http://tinyhack.com/2009/03/29/star9104-linux-kernel-2629-and-starting-freebsd-port/</feedburner:origLink></item>
		<item>
		<title>Optimizing Asus EEE 900A</title>
		<link>http://feedproxy.google.com/~r/Tinyhackcom/~3/pE_wAzZ8nNA/</link>
		<comments>http://tinyhack.com/2009/02/12/optimizing-asus-eee-900a/#comments</comments>
		<pubDate>Thu, 12 Feb 2009 08:38:09 +0000</pubDate>
		<dc:creator>yohanes</dc:creator>
				<category><![CDATA[hacks]]></category>
		<category><![CDATA[misc]]></category>
		<category><![CDATA[mobile]]></category>

		<guid isPermaLink="false">http://tinyhack.com/?p=112</guid>
		<description><![CDATA[I just got back from my vacation around Thailand, so I will start to update things (Wii homebrew, Symbian apps, blogs, etc) again. Well, may be starting next week, I have a dental surgery this weekend and may need to rest. Anyway, this time I want to post about optimizing EEE 900A.
My wife was happy [...]]]></description>
			<content:encoded><![CDATA[<p>I just got back from my vacation around Thailand, so I will start to update things (Wii homebrew, Symbian apps, blogs, etc) again. Well, may be starting next week, I have a dental surgery this weekend and may need to rest. Anyway, this time I want to post about optimizing EEE 900A.</p>
<p><a href="http://risna.info">My wife</a> was happy with her Asus EEE 701, but she would like something better with the same size. We sold the old Asus 701 to my brother, and she bought Asus EEE 900A. Compared to EE PC 701, the EEE PC 900A has a faster processor (Intel Atom 1.6 ghz vs the 900 Mhz EEE), more memory (1 gb vs 512 mb), bigger disk space (16 gb vs 4 gb), higher resolution (1024 x 600 vs 840&#215;400), and better graphic processors (Intel GMA 950 vs Intel GMA 900). The only problem is the 16 GB SSD is much slower than the EEE 701 4 GB SSD. You can really feel it when running almost any applications, especially the firefox browser.</p>
<p>My wife uses Windows XP on the new Asus. After reading several blog posts and many forums, the conclusion is: to make everything faster, try to reduce the number of disk access. Here is how to reduce the disk access in Windows XP:</p>
<p><span id="more-112"></span></p>
<ol>
<li>Buy more memory, we bought 2 GB memory  (quite cheap, around 690 baht/20 usd) to replace the 1 GB default</li>
<li>Allocate some of the memory (384 Mb for RAM disk). I set the environment variables TEMP and TMP to point to the RAM Disk. I also point firefox cache to the RAM disk.</li>
<li>Turn off page file</li>
<li>Disable indexing on all drives</li>
<li>Disable System restore</li>
<li>Don&#8217;t install firefox on the SSD. Firefox 3 will try to write its history every few seconds. I use Firefox portable on SD Card, and it is much faster now.</li>
</ol>
<div>For Point No 2, actually firefox already has its own memory cache. But I choose to use RAM disk anyway, because it makes it faster when restarting firefox (as long as the computer is not turned off). When restarting firefox, the browser will reload all closed tabs, and having the cache in RAM disk makes it faster.</div>
<div>Some people suggest that using <a href="http://www.nliteos.com/">nlite</a> to reduce the Windows component will make things faster (but I haven&#8217;t tried that yet). Reducing the number of services using the guide from <a href="http://www.blackviper.com/">BlackViper</a> might also help (I haven&#8217;t tested that one also).</div>
<img src="http://feeds.feedburner.com/~r/Tinyhackcom/~4/pE_wAzZ8nNA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2009/02/12/optimizing-asus-eee-900a/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://tinyhack.com/2009/02/12/optimizing-asus-eee-900a/</feedburner:origLink></item>
		<item>
		<title>Atari ST Emulator for WII updated</title>
		<link>http://feedproxy.google.com/~r/Tinyhackcom/~3/deQbeOfJ9Vc/</link>
		<comments>http://tinyhack.com/2009/01/17/atari-st-emulator-for-wii-updated/#comments</comments>
		<pubDate>Sat, 17 Jan 2009 07:01:35 +0000</pubDate>
		<dc:creator>yohanes</dc:creator>
				<category><![CDATA[wii]]></category>

		<guid isPermaLink="false">http://tinyhack.com/?p=107</guid>
		<description><![CDATA[I have made a stupid mistake by including wrong default configuration files (which is slow). I have updated the Atari ST emulator. Here is what is new:
- Wiimote only operation is possible. Not all things will work though. You can play point and click games that relies only on mouse. Press HOME to access the [...]]]></description>
			<content:encoded><![CDATA[<p>I have made a stupid mistake by including wrong default configuration files (which is slow). I have updated the Atari ST emulator. Here is what is new:</p>
<p>- Wiimote only operation is possible. Not all things will work though. You can play point and click games that relies only on mouse. Press HOME to access the menu (change disk, change ROM, etc). To avoid wasting your time, you can test the game on Hatari for Windows/Linux to see if you can control everything using only mouse.</p>
<p>- I have included a simple flicker filtering to reduce the filtering. This is not the final solution to the problem. I will need to rewrite the SDL port to use GX.</p>
<p>Note:</p>
<p>- Mono mode still doesn&#8217;t work yet.</p>
<p>You can download it here:</p>
<p><span style="text-decoration: line-through;"><a href="http://tinyhack.com/wii/hatari/hatari-18-01-2009.zip">http://tinyhack.com/wii/hatari/hatari-18-01-2009.zip</a></span></p>
<p>Sorry, forgot to update the mouse handling</p>
<p><a href="http://tinyhack.com/wii/hatari/hatari-19-01-2009.zip">http://tinyhack.com/wii/hatari/hatari-19-01-2009.zip</a></p>
<img src="http://feeds.feedburner.com/~r/Tinyhackcom/~4/deQbeOfJ9Vc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2009/01/17/atari-st-emulator-for-wii-updated/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		<feedburner:origLink>http://tinyhack.com/2009/01/17/atari-st-emulator-for-wii-updated/</feedburner:origLink></item>
		<item>
		<title>Atari ST Emulator for Wii (based on Hatari)</title>
		<link>http://feedproxy.google.com/~r/Tinyhackcom/~3/6D5BSpzgS44/</link>
		<comments>http://tinyhack.com/2009/01/12/atari-st-emulator-for-wii-based-on-hatari/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 15:28:33 +0000</pubDate>
		<dc:creator>yohanes</dc:creator>
				<category><![CDATA[wii]]></category>

		<guid isPermaLink="false">http://tinyhack.com/?p=100</guid>
		<description><![CDATA[After wiiapple, here is an atari st emulator for Wii based on hatari. This port works fine on my Wii. Two other people have tested it, one (Da_Gper) said it is very slow on his Wii, but Nowhereman said it is fine in his Wii. So please tell me you test result. If it works [...]]]></description>
			<content:encoded><![CDATA[<p>After wiiapple, here is an atari st emulator for Wii based on <a href="http://hatari.berlios.de/">hatari</a>. This port works fine on my Wii. Two other people have tested it, one (Da_Gper) said it is very slow on his Wii, but Nowhereman said it is fine in his Wii. So please tell me you test result. If it works fine for most people, I will post it to wiibrew.</p>
<p>Some notes</p>
<ol>
<li>You will need USB keyboard to use this emulator </li>
<li>Mouse is emulated using Wiimote (A for click), you can also use <strong>USB Mouse</strong> </li>
<li>Press <span class="nfakPe">F12</span> to access the menu (probably i should assign one of the Wiimote key for this), </li>
<li>Options can be saved to disk </li>
<li>Press home, or alt-q to quit </li>
<li>Floppy images can be placed in \hatari\fd </li>
<li>EmuTOS image have been included. With EmuTOS ROM, the green screen flickers a lot. It doesn&#8217;t happen with some real Atari ROMs that I tested. </li>
<li>Sound works (usually), jus enable it through the options </li>
</ol>
<p>You can download the emulator from</p>
<p><a href="http://http://tinyhack.com/wii/hatari/hatari-0.0.1.zip">http://tinyhack.com/wii/hatari/hatari-0.0.1.zip</a></p>
<p>Source code is in</p>
<p><a href="http://tinyhack.com/wii/hatari/">http://tinyhack.com/wii/hatari/</a></p>
<p>The source code for the SDL port have been put into wiiapple SVN at</p>
<p><a href="http://wiiapple.googlecode.com/">http://wiiapple.googlecode.com/</a></p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;<img height="160" src="http://tinyhack.com/wii/hatari/hatari1.JPG" width="240" /> <img height="160" src="http://tinyhack.com/wii/hatari/hatari2.JPG" width="240" /> </p>
<p><img height="160" src="http://tinyhack.com/wii/hatari/hatari3.JPG" width="240" /> <img height="160" src="http://tinyhack.com/wii/hatari/hatari4.JPG" width="240" /></p>
<img src="http://feeds.feedburner.com/~r/Tinyhackcom/~4/6D5BSpzgS44" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tinyhack.com/2009/01/12/atari-st-emulator-for-wii-based-on-hatari/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		<feedburner:origLink>http://tinyhack.com/2009/01/12/atari-st-emulator-for-wii-based-on-hatari/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 0.505 seconds. --><!-- Cached page generated by WP-Super-Cache on 2009-11-12 21:35:49 -->
