Friday, June 6, 2008

eCos

eCos
Changelog
1998.11 - eCos 1.1, Cygnus Solutions
1999.05 - eCos 1.2
1999.11 - Cygnus Solutions was acquired by Red Hat
2000.03 - eCos 1.3, Red Hat
2003.05 - eCos 2.0, eCosCentric Original members of eCos team formed eCosCentric Limited in Cambridge.

2004 - I first met eCos
2008 - I second met eCos. Next assigned task is porting the eCos to a new ARM9 processor.

Some useful tools for creating a bootable USB flash drive

1. Windows-based Format Utility for HP DiskOnKey USB Device (HP)
Download here or here

2. Virtual Floppy Drive
Download here or here

Wednesday, June 4, 2008

Diff and Patch

發佈原始碼更新最常使用的工具是 patch 和 diff. 一開始建立兩個內容一樣的目錄“original directory”和“working directory”,然後在“working directory”中加上我們的修改。例如:

[]$ tar zxvf linux-2.6.24.tar.gz
[]$ mv linux linux-2.6.24-orig
[]$ tar zxvf linux-2.6.24.tar.gz
[]$ mv linux linux-2.6.24

在linux-2.6.24 目錄下修改。完成後利用下列指令來產生修補檔。

$ diff -Naur -X dontdiff linux-2.6.24-orig linux-2.6.24 > kernel.patch

Other instructions:

[]$ cd linux-2.6.24-orig
[]$ patch -p1 < ../2.6.25.patch
[]$ cd ..
[]$ mv linux-2.6.24-orig linux-2.6.25

[]$ cd linux-2.6.24
[]$ patch -p1 -R < ../kernel.patch
[]$ patch -p1 < ../2.6.25.patch
[]$ cd ..
[]$ mv linux-2.6.24 linux-2.6.25
[]$ cd linux-2.6.25
[]$ patch -p1 < ../kernel.patch

Linux Kernel Diagram

Install Apache and CGI in Windows System

Linux Kernel Development Second Edition

Some Notes about this book
Part 1
Part 2

Tuesday, June 3, 2008

eCos books


1. Embedded Software Development with eCos

Download PDF
Download Source Code
2. Programming Embedded Systems: With C and GNU Development Tools, 2nd Edition