Blogs

Implement BFS over FUSE

Blog post by raghuram87 on Thu, 2009-05-28 09:07

I am a BTech 4th year student at Indian Institute of Technology Madras, Chennai, India.

I will be working on implementing a FUSE based filesystem for BFS so that BFS partitions can be mounted natively in Linux and other POSIX operating systems.

I enjoy building systems like these where the final outcome is really interesting to watch and useful. I will be keeping the community updated regarding the progress in this blog. Happy coding all! Enjoy your summer!!

Locale Kit : status update n.2

Blog post by PulkoMandy on Wed, 2009-05-27 11:51

These two weeks I've been quite busy with other things, so the project didn't move as much as I wanted. However, I managed to get the catalog engine to internationalize an app for the first time. It's not a big application, just a very simple Hello World test program. And the lack of a tool for translating catalogs means I had to edit them by hand to get the translation done.
I will be working in a Catalog AddOn writing a catalog as full text for easier editing.

So, to test the program, you have to

1) run make
2) mkdir obj.x86/locale
3) mkdir obj.x86/locale/catalogs
4) mkdir obj.x86/locale/x-vnd.Be-HelloWorldSample
5) cpp HelloWindow.cpp > HelloWindow.precpp
6) collectcatkeys -s HELO HelloWindow.precpp -o obj.x86/locale/catalogs/x-vnd.Be-HelloWorldSample/english.catalog
7) run the application
8) you can edit the last occurence of "Hello World!" in the catalog file to change what the app displays.

It seems that attaching catalog as resource or attribute to the executable file doesn't work yet.
You can get the project here: http://dl.free.fr/vqHTlU63B

Feedback is welcome :)

Haiku-ARM progress

Blog post by pfoetchen on Tue, 2009-05-19 16:18

I got the kernel to boot "a bit" ;) but since u-boot does not pass the kernel arguments when loading with loadelf I had to fake some kernel arguments etc..
So it's not realy a working system but serial out works ;) (input does not work yet :( ) and I can see some stuff on my screen..
The kernel runs on a emulated gumstix verdex since there is no emulator for the gumsitx overo we will use and the beagleboard emulator did not really work (no sd card support for example)

[pfoetchen@styleoverfunction verdextest]$ qemu-system-arm -M verdex -m 512 -nographic  -pflash flash.img -sd mmc.img  -p 1234 -d in_asm
pxa2xx_clkpwr_write: CPU frequency change attempt


U-Boot 1.2.0 (May 10 2008 - 21:17:19) - PXA270@400 MHz - 1604

*** Welcome to Gumstix ***

DRAM:  256 MB
pflash_write: Unimplemented flash cmd sequence (offset 00000000, wcycle 0x0 cmd 0x0 value 0x90)
Flash: 32 MB
Using default environment

pflash_write: Unimplemented flash cmd sequence (offset 00000000, wcycle 0x0 cmd 0x0 value 0x90)
pflash_write: Unimplemented flash cmd sequence (offset 00000000, wcycle 0x0 cmd 0x0 value 0x90)
Hit any key to stop autoboot:  0 
GUM> mmcinit
Detected: 2097152 blocks of 512 bytes (1024MB) SD card.
Vendor: Man aa OEM XY "QEMU!" Date 02/2006
Product: 3735928559
Revision: 0.1
GUM>  fatload mmc 0:1 0xa2000000 kernel_arm
reading kernel_arm

1641609 bytes read
GUM> bootelf
Loading .interp @ 0xa2500000 (9 bytes)
Loading .hash @ 0xa250000c (22512 bytes)
Loading .dynsym @ 0xa25057fc (57168 bytes)
Loading .dynstr @ 0xa251374c (116718 bytes)
Loading .rel.got @ 0xa252ff3c (152 bytes)
Loading .text @ 0xa252ffe0 (725160 bytes)
Loading .rodata @ 0xa25e1088 (162176 bytes)
Loading .data @ 0xa2608a08 (24504 bytes)
Loading _haiku_revision @ 0xa260e9c0 (4 bytes)
Loading .gcc_except_table @ 0xa260e9c4 (124 bytes)
Loading .ctors @ 0xa260ea40 (120 bytes)
Loading .dtors @ 0xa260eab8 (116 bytes)
Loading .got @ 0xa260eb2c (88 bytes)
Loading .dynamic @ 0xa260eb84 (128 bytes)
Clearing .bss @ 0xa260ec40 (47812 bytes)
## Starting application at 0xa2541d5c ...
Welcome to kernel debugger output!
Haiku revision: 0
INIT: init CPU
INIT: init interrupts
INIT: init VM
PANIC: vm_init: go buy some RAM please.
Welcome to Kernel Debugging Land...
Thread 0 "" running on CPU -0
kdebug>

Introduction to the (Unnamed) Full Text Searching and Indexing Tool

Blog post by GeneralMaximus on Sun, 2009-05-17 13:29

Hi, I'm Ankur Sethi. I'm a first year Information Technology student at Indraprastha University, New Delhi. I will be working on a full text indexing and search application for Haiku Code Drive 2009.

I use Mac OS X as my primary OS. Before I switched to the Mac, I had been an Ubuntu user for four solid years. I first read about Haiku on OSNews back in 2007 (my profile says my account is 1 year 36 weeks old), and I was hooked. What first caught my attention was the incredibly short boot time, and the low resource usage. When I read up more about what Haiku is like under the hood, this is what I thought: WANT (excuse the meme). I'm waiting for the day I can just pop a Haiku install disk into my PC and use Haiku as my primary OS.

About The Project

The objective is to build an application that can be brought up with a simple keystroke and used to navigate to important documents and applications quickly, thus reducing mouse usage.

Here are my project goals, exactly as I listed them in my GSoC application:

  • Implement a full-text indexing tool which uses a database for indexing files containing textual content, and filesystem attributes for non-text files (MP3s, images, etc.).
  • Create a plugin-based architecture that allows the indexer to index different kinds of textual content (i.e., PDFs, ODFs etc.).
  • Implement a userland process to keep the index in sync as the files change on disk.
  • Create a mechanism to query the index and implement an algorithm to sort search results by relevance.
  • Create a GUI front end for querying the index.

I will keep the Haiku world updated on what I'm doing through this blog. Looking forward to a fun summer :)

EDIT: Changed title. Names, anyone?

Network Services Kit Introduction

Blog post by AntiRush on Sun, 2009-05-17 03:20

Hello Haiku World, I'm Tom Fairfield and I've been chosen to work on a project for the Code Drive this summer. You'll see me around IRC and elsewhere as fairfieldt or AntiRush. I'm a 4th year computer science major at Xavier University in Cincinnati, Ohio.

I've been interested in operating system development for quite some time and Haiku is a great looking project in that regard.

The project I proposed and was chosen to complete is a Network Services Kit for Haiku.

List of project goals:
o Design an API for the Services kit
o Implement a basic Services Kit that provides this base API that's extendable for any web service
o As a byproduct create various utility classes for HTTP/HTTPS and other web-oriented functions that can be easily re-used.
o Build a Twitter service on top of the base Services Kit
o Write a proof-of-concept application that utilizes the Twitter functions of the Services Kit
o Fully document the base Services Kit so that it is easy for future developers to add their own services. This will be both documenting the API and with a tutorial following the implementation of a protocol. Given time the tutorial will be written in conjunction with another server. Flickr? Facebook?
o Fully document the Twitter Service as well as the application. Again this will be both API documentation and a tutorial following the development of the Twitter application to demonstrate the use of the Services Kit.

The first step is to design and implement the HTTP library. I've been working with Pier Fiorini to design an api for both the HTTP library and the Network Services kit itself. At this point I've begun writing code for the HTTP side of things.

I'll try to frequently update with new blog posts to keep the community involved. Any comments or suggestions are more than welcomed - it can only make my project better!

Locale Kit : status update n.1

Blog post by PulkoMandy on Sun, 2009-05-03 16:34

The work on the Locale Kit as part of the Summer of Code has already started :)
This week we have been working on proper integration of my work in the Haiku tree. So you can now checkout Haiku from svn and get the Locale Kit as part of it.
Of course, some parts are still broken (or not yet written), but some of the tests seems to be already working.

I'm now looking at ICU sourcecode to study the best way to integrate it in Haiku.

So, nothing much to say this week, but a lot of work done.

GCC4 Builds on Haiku-Files

Blog post by Sikosis on Thu, 2009-04-30 05:20

Just thought we'd let you know that, Haiku-Files is now hosting GCC4 builds of Haiku in both RAW and VM image formats.

You can obtain these builds in the usual directories and we've updated the RSS feeds as well.

We've also fixed the VMX file that is distributed with the pre-alpha images to have the correct virtual hard disk name. Sorry for this oversight, I wasn't aware of it, until I was playing around with VMware Fusion last night.

Syndicate content