<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6049190145500307703</id><updated>2011-09-08T08:55:13.480+03:00</updated><category term='linux'/><category term='realtime'/><category term='eclipse'/><category term='grub'/><category term='ps3'/><category term='cdt'/><category term='mylyn'/><category term='ydl'/><title type='text'>daChaac's development activities</title><subtitle type='html'>In this blog I will tell you about my development activities related to open source and other software. Occasionally I might give some hints on how to do something.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://dachaac.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6049190145500307703/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://dachaac.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>daChaac</name><uri>http://www.blogger.com/profile/07011801319322762492</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>15</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6049190145500307703.post-4956380545961068832</id><published>2010-02-07T13:23:00.001+02:00</published><updated>2010-05-29T11:22:14.096+03:00</updated><title type='text'>Commenting on the blog...</title><content type='html'>Just a precaution so you don't get surprised. As Google is providing this blogger service as free to use for all (eg. they pay for the bandwidth, servers, maintenance and such) in my opinion it is a not a good behavior to try to make money without even investing money for it. Therefore I will delete all comments that conflicts with this view. (eg. spam bots trying to inject messages to make money for their users)&lt;br /&gt;&lt;br /&gt;Thanks for your understanding.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6049190145500307703-4956380545961068832?l=dachaac.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dachaac.blogspot.com/feeds/4956380545961068832/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6049190145500307703&amp;postID=4956380545961068832' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6049190145500307703/posts/default/4956380545961068832'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6049190145500307703/posts/default/4956380545961068832'/><link rel='alternate' type='text/html' href='http://dachaac.blogspot.com/2010/02/commenting-on-blog.html' title='Commenting on the blog...'/><author><name>daChaac</name><uri>http://www.blogger.com/profile/07011801319322762492</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6049190145500307703.post-581909832813374023</id><published>2009-02-19T23:37:00.004+02:00</published><updated>2009-02-19T23:53:13.164+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='grub'/><title type='text'>Trying to use QEMU and GDB to debug GRUB 2</title><content type='html'>I made some modifications to GRUB 2 that seems to cause crashing somewhat early in boot process. So I wondered how to debug this. One obivious solution was to see what is happening on the system. So I planned to try out QEMU's GDB support.&lt;br /&gt;&lt;br /&gt;First I was running QEMU from Ubuntu 7.10 to try it out, but it crashed the whole QEMU when my problemous code was executed so it wasn't so nice :). Next I went to get newest QEMU from their SVN, compiled it and tested it out. This newest version doesn't crash anymore so I continued my trek.&lt;br /&gt;&lt;br /&gt;As there didn't seem to be any good front ends matching my requirements for this case I turned to last resort; gdb text console itself.&lt;br /&gt;&lt;br /&gt;I have never liked the gdb text console interface so it took a bit time to remember (and google) how it works.&lt;br /&gt;&lt;br /&gt;To start QEMU I used following command:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;qemu -cdrom grub2.iso -s -S &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;And then in GDB:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;target remote localhost:1234&lt;br /&gt;&lt;br /&gt;; as we start in 16bit real mode&lt;br /&gt;set arch i8086&lt;br /&gt;&lt;br /&gt;; set breakpoint in entry point, at begining of GRUB2's CD-ROM boot sector code.&lt;br /&gt;break *0x7c00&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Then I just entered 'c' to start execution until it hit the break point.&lt;br /&gt;&lt;br /&gt;After that it said:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;Program received signal SIGTRAP, Trace/breakpoint trap.&lt;br /&gt;0x00000000 in ?? ()&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;This message was a bit confusing and QEMU manual provide a bit advice in here.&lt;br /&gt;&lt;br /&gt;To see where I really was I had to use following command:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;x/10i $cs*16+$eip&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;And there was the boot sector code.&lt;br /&gt;&lt;br /&gt;Now in order to step one instruction forward there is &lt;span style="font-style:italic;"&gt;stepi&lt;/span&gt; command in gdb. However it seems that I first have to delete previous breakpoint:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;; to see list of breakpoints&lt;br /&gt;info b&lt;br /&gt;&lt;br /&gt;; and to delete one I just set&lt;br /&gt;delete 1&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;After this &lt;span style="font-style:italic;"&gt;stepi&lt;/span&gt; worked fine.&lt;br /&gt;&lt;br /&gt;Now I just need to figure out a bit more user friendlier way to debug :|&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6049190145500307703-581909832813374023?l=dachaac.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dachaac.blogspot.com/feeds/581909832813374023/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6049190145500307703&amp;postID=581909832813374023' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6049190145500307703/posts/default/581909832813374023'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6049190145500307703/posts/default/581909832813374023'/><link rel='alternate' type='text/html' href='http://dachaac.blogspot.com/2009/02/trying-to-use-qemu-and-gdb-to-debug.html' title='Trying to use QEMU and GDB to debug GRUB 2'/><author><name>daChaac</name><uri>http://www.blogger.com/profile/07011801319322762492</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6049190145500307703.post-7971766147844171757</id><published>2007-12-01T14:01:00.000+02:00</published><updated>2007-12-01T15:08:12.283+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ps3'/><category scheme='http://www.blogger.com/atom/ns#' term='ydl'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>New beta release for YDL's kernel for PS3</title><content type='html'>I tested out today new &lt;a href="http://ftp.yellowdoglinux.com/pub/yellowdog/betas/kernel/kernel-2.6.23-9.ydl5.1.ppc64.rpm"&gt;beta kernel&lt;/a&gt; released for PS3. It indeed seems that some progress was done with firmware 2.00. I can nicely see that access point scan shows better values for my WPA1+2 network. Actually it shows now new WPA2 values.&lt;br /&gt;&lt;br /&gt;Now everything would had been nice if YDL had also updated this aspect on their kernel update... Now it tells that we have this new type of security and this version of driver doesn't actually know how to handle it correctly... Rebooting and trying to reload network again (/etc/init.d/network restart) got it associated nicely.&lt;br /&gt;&lt;br /&gt;In bleeding edge driver there are new encryption modes that should be settable with 'iwpriv eth0 set_alg 4' for WPA2-PSK TKIP and 'iwpriv eth0 set_alg 5' for WPA2-PSK AES. But YDL's kernel driver doesn't accept values of 4 and 5... So if you are running WPA1 only network, then your setup should work fine (haven't tested it out though), if you also have WPA2 enabled then you may have some problems making connection.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6049190145500307703-7971766147844171757?l=dachaac.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dachaac.blogspot.com/feeds/7971766147844171757/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6049190145500307703&amp;postID=7971766147844171757' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6049190145500307703/posts/default/7971766147844171757'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6049190145500307703/posts/default/7971766147844171757'/><link rel='alternate' type='text/html' href='http://dachaac.blogspot.com/2007/12/new-beta-release-for-ydls-kernel-for.html' title='New beta release for YDL&apos;s kernel for PS3'/><author><name>daChaac</name><uri>http://www.blogger.com/profile/07011801319322762492</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6049190145500307703.post-3904917511493699196</id><published>2007-11-08T22:34:00.000+02:00</published><updated>2007-11-08T22:42:18.547+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ps3'/><category scheme='http://www.blogger.com/atom/ns#' term='ydl'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>New PS3 firmware 2.00 breaks wireless support on Linux</title><content type='html'>It seems that after upgrading to new Playstation 3 firmware (2.00) it seems hypervisors wireless support is incompatible with Yellow Dog Linux 5.0.2. This means that you can't get connected with wireless connection. Haven't tried with newest kernel from newest Cell Linux Distributors kit yet, but at least ydl is now broken. So if you need wireless support you'd better wait for either updated kernel package or next firmware release.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6049190145500307703-3904917511493699196?l=dachaac.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dachaac.blogspot.com/feeds/3904917511493699196/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6049190145500307703&amp;postID=3904917511493699196' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6049190145500307703/posts/default/3904917511493699196'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6049190145500307703/posts/default/3904917511493699196'/><link rel='alternate' type='text/html' href='http://dachaac.blogspot.com/2007/11/new-ps3-firmware-200-breaks-wireless.html' title='New PS3 firmware 2.00 breaks wireless support on Linux'/><author><name>daChaac</name><uri>http://www.blogger.com/profile/07011801319322762492</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6049190145500307703.post-3252305940402694268</id><published>2007-08-04T12:29:00.001+03:00</published><updated>2007-08-04T14:32:11.079+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ps3'/><category scheme='http://www.blogger.com/atom/ns#' term='ydl'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>Guide to get WPA-PSK working on PS3 - YDL 5.0.2</title><content type='html'>There were some requests for easier guide on how to get WPA working on Playstation 3 for Yellow Dog Linux 5.0.2. I looked around and found some free webspace for prebuilt binaries and for modified source RPMs. Please note that you will need your YDL root account in order to complete steps below.&lt;br /&gt;&lt;br /&gt;This guide was last updated on: 4.8.2007&lt;br /&gt;&lt;br /&gt;1. Update your wireless tools package&lt;br /&gt;&lt;br /&gt;Yellow Dog Linux 5.0.2 comes with wireless tools package compiled for PowerPC-32. While this may work for other systems with Playstation 3 this is a bit problematic as ioctl32 wireless interface is a bit broken. So easiest workaround for this is to compile wireless tools as PowerPC-64 binaries. You can get modified source RPMs and pre-built binaries for easier installation from &lt;a href="http://dachaac.googlepages.com/"&gt;my packages website&lt;/a&gt;.  Most users just need to download &lt;a href="http://dachaac.googlepages.com/wireless-tools-28-1.ppc64.rpm"&gt;wireless-tools-28-1.ppc64.rpm&lt;/a&gt; and install it. You can use USB Flash Memory or any other medium to transfer files.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;rpm -Uvh wireless-tools-28-1.ppc64.rpm&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;If it complains for conflicts add &lt;i&gt;--force&lt;/i&gt; to command line (usually don't do this, but I didn't want to update release numbers in case Yellow Dog Linux releases updated packages to replace this). Please note that this is modification of YDL's source RPM package so it is a bit older that what kernel would like to use. It will generate some warnings, but you can ignore those.&lt;br /&gt;&lt;br /&gt;2. Test that wireless tools works&lt;br /&gt;&lt;br /&gt;Next step is to test out that wirless tools works. Tools needed in this experiment are ifconfig, iwconfig, iwpriv, iwlist, and dhclient.&lt;br /&gt;&lt;br /&gt;First lets test out that you can wireless module loaded correctly. For this we will use iwconfig:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;iwconfig eth0&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;This will display something like (your details may be different):&lt;br /&gt;&lt;br /&gt;eth0      radio off  ESSID:off/any  &lt;br /&gt;          Mode:Managed  Frequency:2.462 GHz  Access Point: Not-Associated   &lt;br /&gt;          Bit Rate:54 Mb/s   &lt;br /&gt;          Encryption key:off&lt;br /&gt;          Link Quality:0  Signal level:0  Noise level:0&lt;br /&gt;          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0&lt;br /&gt;          Tx excessive retries:0  Invalid misc:0   Missed beacon:0&lt;br /&gt;&lt;br /&gt;Next let's make sure you have clean configuration for your wireless connection, command eth0 down and up:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;ifconfig eth0 down&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;ifconfig eth0 up&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Next you can try to search for access point to connect to using iwlist.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;iwlist eth0 scanning&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;This will display something like (your details will be different):&lt;br /&gt;&lt;br /&gt;eth0      Scan completed :&lt;br /&gt;    Cell 01 - Address: 77:88:99:AA:BB:CC&lt;br /&gt;              ESSID:"&lt;essid&gt;"&lt;br /&gt;              Protocol:IEEE 802.11bg&lt;br /&gt;              Mode:Managed&lt;br /&gt;              Channel:11&lt;br /&gt;              Encryption key:on&lt;br /&gt;              Quality=100/100  Signal level=-42 dBm&lt;br /&gt;              Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s&lt;br /&gt;                        24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s&lt;br /&gt;                        12 Mb/s; 48 Mb/s&lt;br /&gt;              Extra:bcn_int=100&lt;br /&gt;              Extra:ap_sec=0201&lt;br /&gt;&lt;br /&gt;You should note last line per entry &lt;i&gt;Extra:ap_sec=&lt;number&gt;&lt;/i&gt;. This number will tell what encryption algorithm is needed for your connection. 0201 means WPA-PSK - TKIP and 0202 would mean WPA2-PSK - AES. I have not been able to test out WPA2-PSK - AES, but it might work for you. For me 0100 shows up for WPA2-PSK - AES which is incorrect as that would mean WEP encryption.&lt;br /&gt;&lt;br /&gt;Next lest try manually connecting to Access Point. For this you will need to know your access point's ESSID, used encryption algorithm (WPA-PSK (TKIP), WPA2-PSK (AES)) and passphrase to access network.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;iwpriv eth0 set_alg 2&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;iwconfig eth0 key s:&lt;i&gt;passphrase&lt;/i&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;iwconfig eth0 essid &lt;i&gt;ESSID&lt;/i&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;If you have WPA2-PSK replace &lt;i&gt;set_alg 2&lt;/i&gt; with &lt;i&gt;set_alg 3&lt;/i&gt;. For WEP this would be &lt;i&gt;set_alg 1&lt;/i&gt;. After that you can observe output of iwconfig eth0 to see if you have been associated to access point (Access Point field changes from Not-Associated to MAC address of your AP).&lt;br /&gt;&lt;br /&gt;Next you can check out if you can get an IP address with dhclient.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;dhclient eth0&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;If it gives you an IP address you are free to test out your internet connection with your web browser or any other tool that needs connection.&lt;br /&gt;&lt;br /&gt;3. Setting it up automatically on boot&lt;br /&gt;&lt;br /&gt;Now that you have Wireless connection working it would be nice that it would work automatically after being rebooted.&lt;br /&gt;&lt;br /&gt;There are only two files to be modified.&lt;br /&gt;&lt;br /&gt;First, lets modify /etc/sysconfig/networking/devices/ifcfg-eth0.&lt;br /&gt;&lt;br /&gt;Set following fields to values shown below (of course change your ESSID) (other fields can be left empty):&lt;br /&gt;&lt;br /&gt;DEVICE=eth0&lt;br /&gt;BOOTPROTO=dhcp&lt;br /&gt;ONBOOT=yes&lt;br /&gt;ESSID=&lt;i&gt;ESSID&lt;/i&gt;&lt;br /&gt;TYPE=Wireless&lt;br /&gt;&lt;br /&gt;Next we need to store your passphrase so it will be automatically configured.&lt;br /&gt;&lt;br /&gt;Edit /etc/sysconfig/networking/devices/keys-eth0 to contain following:&lt;br /&gt;&lt;br /&gt;KEY=s:&lt;i&gt;passphrase&lt;/i&gt;&lt;br /&gt;IWPRIV="set_alg &lt;i&gt;2&lt;/i&gt;"&lt;br /&gt;&lt;br /&gt;Please not that those values are the same that you used during testing.&lt;br /&gt;&lt;br /&gt;After this you can try it, first bring eth0 down and then back to up:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;ifdown eth0&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;ifup eth0&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Thats all!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6049190145500307703-3252305940402694268?l=dachaac.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dachaac.blogspot.com/feeds/3252305940402694268/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6049190145500307703&amp;postID=3252305940402694268' title='98 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6049190145500307703/posts/default/3252305940402694268'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6049190145500307703/posts/default/3252305940402694268'/><link rel='alternate' type='text/html' href='http://dachaac.blogspot.com/2007/08/guide-to-get-wpa-psk-working-on-ps3-ydl.html' title='Guide to get WPA-PSK working on PS3 - YDL 5.0.2'/><author><name>daChaac</name><uri>http://www.blogger.com/profile/07011801319322762492</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>98</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6049190145500307703.post-6089403494065568291</id><published>2007-07-20T19:49:00.000+03:00</published><updated>2007-07-20T20:09:11.584+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ps3'/><category scheme='http://www.blogger.com/atom/ns#' term='ydl'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>How to get YDL 5.0.2 + PS3 + WPA working</title><content type='html'>First you need to recompile wireless-tools package as PowerPC64. Currently there is a bug in kernel (or feature) that does not allow ioctl32 calls to be used correctly. Therefore this causes ydl's default wireless-tools package not to work as it is compiled as PowerPC32.&lt;br /&gt;&lt;br /&gt;To recompile it you need source RPM for wireless tools package: wireless-tools-28-1.src.rpm. Install it. It should extract some files under /usr/src/yellowdog/*/*. Unfortunely this package has problems compiling for ppc64 so this needs to be fixed first. I have made a patch for it which can be found from &lt;a href="http://lists.terrasoftsolutions.com/pipermail/yellowdog-devel/2007-July/000505.html"&gt;yellowdog-devel mailing list&lt;/a&gt;. Basicly you need to copy that new makefile patch file over older makefile patch file and then you can build it. After that just run "rpmbuild -bb wireless-tools.spec --target=ppc64" and it builds could of RPMs to /usr/src/yellowdog/RPMS/ppc64/. Install wireless-tools-28-1.ppc64.rpm package (rpm -ivh &amp;lt;pkg&amp;gt;). After that you can use iwconfig, iwpriv tools nicely and configure WPA.&lt;br /&gt;&lt;br /&gt;To get it working automatically you must modify two files:&lt;br /&gt;/etc/sysconfig/networking/devices/ifcfg-eth0&lt;br /&gt;/etc/sysconfig/networking/devices/keys-eth0&lt;br /&gt;&lt;br /&gt;For ifcfg-eth0:&lt;br /&gt;&lt;br /&gt;DEVICE=eth0&lt;br /&gt;BOOTPROTO=dhcp&lt;br /&gt;ONBOOT=yes&lt;br /&gt;ESSID=&amp;lt;your ESSID&amp;gt;&lt;br /&gt;TYPE=Wireless&lt;br /&gt;&lt;br /&gt;(others can be left empty)&lt;br /&gt;&lt;br /&gt;If you don't use DHCP for some reason configure rest how you like.&lt;br /&gt;&lt;br /&gt;For keys-eth0:&lt;br /&gt;&lt;br /&gt;KEY=s:&amp;lt;your passphrase&amp;gt;&lt;br /&gt;IWPRIV="set_alg 2"&lt;br /&gt;&lt;br /&gt;Change "set_alg 2" to "set_alg 3" if you have WPA2-PSK (AES). I didn't get WPA2 working and I think it is hypervisor's firmware issue (as it works correcly in GameOS). This might be relative you Wireless Accesspoint in use or your PS3 hardware &amp;amp; firmware version. Check how it works, and tell us if you have success.&lt;br /&gt;&lt;br /&gt;Oh. YDL's wireless kernel driver is a bit old, so AP scan might not work correctly. It is possible to compile newer driver for YDL but I won't go to details this time.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6049190145500307703-6089403494065568291?l=dachaac.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dachaac.blogspot.com/feeds/6089403494065568291/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6049190145500307703&amp;postID=6089403494065568291' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6049190145500307703/posts/default/6089403494065568291'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6049190145500307703/posts/default/6089403494065568291'/><link rel='alternate' type='text/html' href='http://dachaac.blogspot.com/2007/07/how-to-get-ydl-502-ps3-wpa-working.html' title='How to get YDL 5.0.2 + PS3 + WPA working'/><author><name>daChaac</name><uri>http://www.blogger.com/profile/07011801319322762492</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6049190145500307703.post-4764028726769794464</id><published>2007-07-15T00:39:00.000+03:00</published><updated>2007-07-15T00:48:29.834+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ps3'/><title type='text'>Serving mp4 files to PS3</title><content type='html'>Playstation 3's webbrowser seems to be quite picky on what it accepts to be downloadable. On net there was some hints to rename filenames as avi. But at least for me it downloaded them but at least my &lt;a href="http://trailers.nerodigital.com/Sony/Resident_Evil_Extinction_STAN_AVC.mp4"&gt;mp4 trailer&lt;/a&gt; was reported as corrupt. Perhaps there should be correct AVI container data present for that trick to work. However that made me think. Perhaps my local server was just missing correct MIME type. Googled a bit and it seems that mp4 files should be recognized as video/mp4. Reconfigured apache to recognize this and voilá! mp4 files downloads nicely from my home server. And as extension was correct PS3's video player played that mp4 trailer nicely.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6049190145500307703-4764028726769794464?l=dachaac.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dachaac.blogspot.com/feeds/4764028726769794464/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6049190145500307703&amp;postID=4764028726769794464' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6049190145500307703/posts/default/4764028726769794464'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6049190145500307703/posts/default/4764028726769794464'/><link rel='alternate' type='text/html' href='http://dachaac.blogspot.com/2007/07/serving-mp4-files-to-ps3.html' title='Serving mp4 files to PS3'/><author><name>daChaac</name><uri>http://www.blogger.com/profile/07011801319322762492</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6049190145500307703.post-3218499931070183185</id><published>2007-07-03T22:28:00.001+03:00</published><updated>2007-12-01T14:09:29.333+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cdt'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='mylyn'/><title type='text'>Mylyn looks great!</title><content type='html'>With recent release of new &lt;a href="http://www.eclipse.org/europa/"&gt;Eclipse Europa&lt;/a&gt; there was new tools introduced or at least new to me. One of them was &lt;a href="http://www.eclipse.org/mylyn/"&gt;Mylyn&lt;/a&gt;, a task based workflow integration to Eclipse. I saw some web presentations with demonstration how nicely it integrated with Java work. It looked promising but there wasn't any info how it integrates with CDT or with other stuff. So I wanted to test it out. And yes, it looks like its source listing feature also works with CDT! Yay! This looks really promising and useful feature when working with large sets of code. It just needs a trac or bugzilla so it can share those filtering settings. Something to bake on my development server ;).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6049190145500307703-3218499931070183185?l=dachaac.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dachaac.blogspot.com/feeds/3218499931070183185/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6049190145500307703&amp;postID=3218499931070183185' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6049190145500307703/posts/default/3218499931070183185'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6049190145500307703/posts/default/3218499931070183185'/><link rel='alternate' type='text/html' href='http://dachaac.blogspot.com/2007/07/mylyn-looks-great.html' title='Mylyn looks great!'/><author><name>daChaac</name><uri>http://www.blogger.com/profile/07011801319322762492</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6049190145500307703.post-8262639137038661653</id><published>2007-07-01T15:48:00.001+03:00</published><updated>2007-07-01T15:52:54.014+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cdt'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><title type='text'>New Eclipse and CDT is released!</title><content type='html'>Yeay! We got new &lt;a href="http://www.eclipse.org/europa/"&gt;Eclipse Europa&lt;/a&gt; release. While checking it out I found about mylyn project. It integrates task based working to Eclipse IDE. Watched about some web presentation about it and it looks fine addition. Need to try this one later one. Now that new release CDT 4.0 is out I would propose that anyone working with C/C++ code would test it out :). It does not have great list of toolsets configured at the moment, but you can always use just makefiles. There are tons of other stuff that is new... probably takes ages to try them out :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6049190145500307703-8262639137038661653?l=dachaac.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dachaac.blogspot.com/feeds/8262639137038661653/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6049190145500307703&amp;postID=8262639137038661653' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6049190145500307703/posts/default/8262639137038661653'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6049190145500307703/posts/default/8262639137038661653'/><link rel='alternate' type='text/html' href='http://dachaac.blogspot.com/2007/07/new-eclipse-and-cdt-is-released.html' title='New Eclipse and CDT is released!'/><author><name>daChaac</name><uri>http://www.blogger.com/profile/07011801319322762492</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6049190145500307703.post-4518005219406724759</id><published>2007-07-01T15:31:00.000+03:00</published><updated>2007-07-04T00:08:44.852+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ps3'/><category scheme='http://www.blogger.com/atom/ns#' term='ydl'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>First wireless WPA connection with PS3 Linux!</title><content type='html'>It seems that PS3 Linux's gelic wireless driver is not designed to work with wpa_supplicant, instead it provides services (through hypervisor) to enable WPA &amp; WPA2 security. I got nice tip from author of the original driver on how to setup it. Only problem seems to be that from that last screenshot of iwconfig, I installed new firmware upgrade (1.82)... This does not seem to report WPA2+AES correctly anymore. During debugging it, I noticed that  current driver does not seem to handle association reporting correctly to Linux wireless stack so I had to add some code to report associations correctly. When I figured this out, I tried WPA+TKIP and got connection up... Now lets see if we can get fix for this WPA2+AES issue in future firmware.&lt;br /&gt;&lt;br /&gt;I would like to remind people wanting to get WPA or WPA2 working to wait a moment and lets fix problems before getting this on mainstream. (eg. do not ask patched driver from me ;))&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6049190145500307703-4518005219406724759?l=dachaac.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dachaac.blogspot.com/feeds/4518005219406724759/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6049190145500307703&amp;postID=4518005219406724759' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6049190145500307703/posts/default/4518005219406724759'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6049190145500307703/posts/default/4518005219406724759'/><link rel='alternate' type='text/html' href='http://dachaac.blogspot.com/2007/07/first-wireless-wpa-connection-with-ps3.html' title='First wireless WPA connection with PS3 Linux!'/><author><name>daChaac</name><uri>http://www.blogger.com/profile/07011801319322762492</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6049190145500307703.post-7285506903633171764</id><published>2007-06-30T01:20:00.000+03:00</published><updated>2007-06-30T01:35:49.040+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ps3'/><category scheme='http://www.blogger.com/atom/ns#' term='ydl'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>More WPA2 debugging</title><content type='html'>Tonight I was debugging more wireless and it seems that driver does not report that AP is using better encryption than WEP. Wpa_supplicant seems to look for WPA IE and/or RSN IE data so I need to find out where to get that or do I need to bake it somehow (or can I bake it).  Having no  documentation for gelic  is making it a bit hard to guess, but it would seem that this AP's IE information is not available from it. Need to study this more later on. I also implemented some ioctl's so that user space can query and set those values, wpa_supplicant was giving some warnings about those. Though I am still wondering should those values be used in driver itself and not just to provide storage helper ;). Hacked wpa_supplicant to accept my AP without whining about missing WPA, it went a bit further leaved scanning mode to another but then again failed. It looks like it sets wrong encryption session settings or something like that as it didn't get it from driver on those IE fields. Need to study this more too...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6049190145500307703-7285506903633171764?l=dachaac.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dachaac.blogspot.com/feeds/7285506903633171764/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6049190145500307703&amp;postID=7285506903633171764' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6049190145500307703/posts/default/7285506903633171764'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6049190145500307703/posts/default/7285506903633171764'/><link rel='alternate' type='text/html' href='http://dachaac.blogspot.com/2007/06/more-wpa2-debugging.html' title='More WPA2 debugging'/><author><name>daChaac</name><uri>http://www.blogger.com/profile/07011801319322762492</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6049190145500307703.post-4978192893799804521</id><published>2007-06-28T23:34:00.000+03:00</published><updated>2008-12-11T07:57:35.160+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ps3'/><category scheme='http://www.blogger.com/atom/ns#' term='ydl'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>WPA problems with PS3 Linux</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_yI_bX4qVDRM/RoQi8VwnzUI/AAAAAAAAAFs/e-DoCW3uzao/s1600-h/DSCN18270001.JPG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://3.bp.blogspot.com/_yI_bX4qVDRM/RoQi8VwnzUI/AAAAAAAAAFs/e-DoCW3uzao/s200/DSCN18270001.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5081224699609337154" /&gt;&lt;/a&gt;&lt;br /&gt;I was getting annoyed that WPA2 didn't work out of the box in Yellow Dog Linux, so I started to diagnose what is the problem. First I setuped seperate Linux kernel module building environment so I could compile newest ps3_gelic module in isolation. After long hours of debugging I think that ps3_gelic or gelic_wireless is working correctly. The problem is either Linux Wireless Extension userspace glue or with userspace applications. After all this seems to be problem with 64 bitness and inability of the tools to handle it correctly. I think there might be some hacks on x86-64 to get it working but those are probably not present on Cell (or powerpc arch within Linux kernel).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6049190145500307703-4978192893799804521?l=dachaac.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dachaac.blogspot.com/feeds/4978192893799804521/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6049190145500307703&amp;postID=4978192893799804521' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6049190145500307703/posts/default/4978192893799804521'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6049190145500307703/posts/default/4978192893799804521'/><link rel='alternate' type='text/html' href='http://dachaac.blogspot.com/2007/06/wpa-problems-with-ps3-linux.html' title='WPA problems with PS3 Linux'/><author><name>daChaac</name><uri>http://www.blogger.com/profile/07011801319322762492</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_yI_bX4qVDRM/RoQi8VwnzUI/AAAAAAAAAFs/e-DoCW3uzao/s72-c/DSCN18270001.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6049190145500307703.post-8954777038438126539</id><published>2007-06-25T12:23:00.000+03:00</published><updated>2007-06-30T01:42:25.913+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='realtime'/><title type='text'>Some thoughts about realtime buffers</title><content type='html'>One of the problems I have faced many times before is how can I avoid doing much locking in real time software. This is not an easy task, and failure to do it properly can cause obscure problems. While reading recent &lt;a href="http://www.ddj.com/dept/architect/199902669"&gt;Dr. Dobb's Journal issue&lt;/a&gt; I though I could write something about on subject, when to use locking and when it can be avoided (or minimized). I will assume that reader has at least some idea why in multi threaded application there should be some locking :)&lt;br /&gt;&lt;br /&gt;One of the principles of parallel programming is that if some resource is shared, its access should be synchronized or algorithm should be defined in a way that there are no sharing problems (like one writing to data that is being read elsewhere and incorrect result is being retrieved).&lt;br /&gt;&lt;br /&gt;One of the problems with synchronizing access is that it usually needs some locking to be made like in following pseudo code:&lt;br /&gt;&lt;pre&gt;read()&lt;br /&gt;  lock resource X&lt;br /&gt;  tmp = resource X&lt;br /&gt;  unlock resource X&lt;br /&gt;  return tmp&lt;br /&gt;&lt;br /&gt;write(new value)&lt;br /&gt;  lock resource X&lt;br /&gt;  resource X = new value&lt;br /&gt;  unlock resource X&lt;/pre&gt;&lt;br /&gt;Otherwise fine algorithm, safe to use but in some cases excessive locking can be a problem. If there are lots of read's and write's per second locking is starting to take lots of time and in some applications this is not favorable situation. Problem comes from fact that locking usually needs context switches which is usually quite expensive. One of the possible solutions for multicore (or multiple) processors is to use spinlocks - try to acquire lock multiple times before switching thread to sleep.&lt;br /&gt;&lt;br /&gt;One approach is to use algorithms that require lesser amount of locking. Perhaps most classical algorithm is &lt;span style="font-style: italic;"&gt;ring buffer&lt;/span&gt;. Caveat here is that system must support atomic reading &amp; writing of needed data types used to store buffer status - or otherwise some locking must be implemented in here too. Though the access time can be smaller as lock is needed only for small period of time.&lt;br /&gt;&lt;br /&gt;Algorithm proposed in Dr. Dobb's article was called &lt;span style="font-style: italic;"&gt;Spin Buffers&lt;/span&gt;. Basically it has multiple buffers (minimum of 3) set up as a ring. One buffer can only be owned by one party. Algorithm works like following. When writing new data: put data to current buffer and then if next buffer is free, switch to it for future writes, mark old buffer as free. When reading data, read current read buffer until it is empty, if next buffer is free, switch to it and mark old buffer as free. Reason why this algorithm needs at least 3 buffers is that it tries to always allow reading of written data, and if reader is not fast enough, writer can always write new data to current buffer (until its full). If reading and writing is not balanced it is possible that writer does not have possibility to switch to another buffer until next write is issued. Eg. issue many writes to fill all buffers so it will have to queue items to last buffer (before read buffer), then writer decides to go to sleep for some time. During this time write buffer pointer can't be incremented as it is reserved for writer only. Now reader wakes up and reads all data until there are no free buffers to be consumed, only buffer having data is write buffer and it cannot be accessed as it is reserved for writer. This situation can be unlocked only by waking up writer to switch to next free buffer.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6049190145500307703-8954777038438126539?l=dachaac.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dachaac.blogspot.com/feeds/8954777038438126539/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6049190145500307703&amp;postID=8954777038438126539' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6049190145500307703/posts/default/8954777038438126539'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6049190145500307703/posts/default/8954777038438126539'/><link rel='alternate' type='text/html' href='http://dachaac.blogspot.com/2007/06/some-thoughts-about-realtime-buffers.html' title='Some thoughts about realtime buffers'/><author><name>daChaac</name><uri>http://www.blogger.com/profile/07011801319322762492</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6049190145500307703.post-7526258656756896441</id><published>2007-06-17T13:39:00.001+03:00</published><updated>2008-12-11T07:57:35.422+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='grub'/><category scheme='http://www.blogger.com/atom/ns#' term='cdt'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><title type='text'>Using Eclipse for GRUB 2 development</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_yI_bX4qVDRM/RnUWlFjSbSI/AAAAAAAAAAc/aWfc9WP3pJ0/s1600-h/eclipse-europa-cdt.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://2.bp.blogspot.com/_yI_bX4qVDRM/RnUWlFjSbSI/AAAAAAAAAAc/aWfc9WP3pJ0/s200/eclipse-europa-cdt.png" alt="" id="BLOGGER_PHOTO_ID_5076988981331258658" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;As I have been using Eclipse for some time now I decided to give forthcoming &lt;a href="http://www.eclipse.org/europa/"&gt;Eclipse Europa&lt;/a&gt; release a try. Eclipse Europa is still in release candidate state (rc4) but it should be stable enough to be used. Final release of Europa should be within this month.&lt;br /&gt;&lt;br /&gt;I am currently using Ubuntu 7.04 for my GRUB 2 development activities so I needed to download GTK+ version of the Europa SDK. I also like to use Sun's Java so I also installed several sun-java6 packages from Ubuntu's package manager. After this, rest was quite easy. Extracted Europa SDK under /opt and gave access rights to my normal user to that directory so I could install additional plug-ins.&lt;br /&gt;&lt;br /&gt;After starting up Eclipse I installed CDT 4.0 (C/C++ Development Tools) from Europa repository. All went nicely without an issue. I noticed that they finally added this automatic mirror selection functionality to Eclipse! I have been waiting for this feature for a looooong time.&lt;br /&gt;&lt;br /&gt;Setting up a GRUB project was quite easy. First I downloaded up to date version from grub's developer ssh. Then I copied it to under my workspace and created a C project for it. While configuring C project, I noticed that Linux version of the Eclipse doesn't have managed build support at all. Well for this project it is not issue, but would be nice addition in future. I don't really like to play with makefiles or such, sometimes they are necessary evil. After running configure for grub2 all was ready from source for development activities. From Eclipse side, first I configured project settings (seems that they have changed how CDT's preferences looks) and added grub2's include directory to include search path. Then I added make target for building 'all'. I noticed that CVS team synchronization worked out of the box as .cvs folders was present. Tried up team synchronization, needed to add couple of folders and files to ignore to make list of files clean. All seems to be OK, so I tries to build all target. Surprisingly everything seems to work nicely. I event got warnings and errors list populated correctly. Now that those GRUB2's build files would reside on own directory......&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6049190145500307703-7526258656756896441?l=dachaac.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dachaac.blogspot.com/feeds/7526258656756896441/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6049190145500307703&amp;postID=7526258656756896441' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6049190145500307703/posts/default/7526258656756896441'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6049190145500307703/posts/default/7526258656756896441'/><link rel='alternate' type='text/html' href='http://dachaac.blogspot.com/2007/06/using-eclipse-for-grub-2-development.html' title='Using Eclipse for GRUB 2 development'/><author><name>daChaac</name><uri>http://www.blogger.com/profile/07011801319322762492</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_yI_bX4qVDRM/RnUWlFjSbSI/AAAAAAAAAAc/aWfc9WP3pJ0/s72-c/eclipse-europa-cdt.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6049190145500307703.post-2091171979051505480</id><published>2007-06-17T13:28:00.000+03:00</published><updated>2007-06-23T13:14:19.337+03:00</updated><title type='text'>Starting up my development blog</title><content type='html'>I decided to start blogging about my open source and other development activities. In this blog I will tell what I am currently working on and possibly even give some hints and tips. You are free to give comments and perhaps you could event influence what I write here.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6049190145500307703-2091171979051505480?l=dachaac.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dachaac.blogspot.com/feeds/2091171979051505480/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6049190145500307703&amp;postID=2091171979051505480' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6049190145500307703/posts/default/2091171979051505480'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6049190145500307703/posts/default/2091171979051505480'/><link rel='alternate' type='text/html' href='http://dachaac.blogspot.com/2007/06/starting-up-my-oss-blog.html' title='Starting up my development blog'/><author><name>daChaac</name><uri>http://www.blogger.com/profile/07011801319322762492</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
