Archives

Archive for the ‘kernel’ Category

I write this article because some guys are talking about it in CLF. The question is: what is the difference between the two following definitions:
A. const char temp[]="abc";
B. const char *temp="abc";

You may have your own answer already. But wait a moment, let me write some test cases first and you can see whether your answer [...]

Apr 23rd, 2009 | Filed under kernel

I have spent about 1 month in making linux run on onda vx747 and it works now. Although it is a achievement, it's not the end of project jz-hacking.
These days I am always thinking about bringing virtualization into MIPS's world. You know, xen has been ported into ARM by Samsung and kvm into PPC by [...]

Feb 25th, 2009 | Filed under ARM/MIPS, JZ, kernel

1. About jz4740 DMA
JZ4740 has 2 groups of DMA, 4 channels in each group. The default prority is channel 0 has the highest priority and channel 7 has the loweset priority.
Channel 0 is used for SLCD and channel 2/3 are used for MMC TX/RX. Because the SLCD DMA is busy transmitting data from frame buffer [...]

Feb 24th, 2009 | Filed under JZ, kernel

Before reading this article, please please visit the following website and help this little girl. She is the daughter of panjet, the core member of this project. Without him, this project can not even happen.
http://yifanfund.com (English)
在阅读这篇文章前, 我恳请您花一点时间来帮助panjet的女儿怡帆. Panjet是这个项目的核心成员.如果没有他的参与,这个项目不可能成功地port linux到vx747上面. 赠人玫瑰,手留余香.  您的爱心一定能让小怡帆度过目前的困难.
http://help-yifan.org (中文)

Hi guys, a good news for you who are interested in running linux [...]

Feb 24th, 2009 | Filed under JZ, kernel

Working on qmeu-omap3. A starange problem. If I use the kernel image downloaded from http://beagleboard.googlecode.com/files/uImage_OTG, some kernel boot informations can be displayed in uart3. But when I use the kernel source from linux omap git and build it by myself, there are NO linux kernel boot informations at all.
Linux kernel uses printk to output informations [...]

Dec 12th, 2008 | Filed under OMAP, emulation, kernel

在LDD3上有一个例子,代码如下:

1: /* Wait for space for writing; caller must hold device semaphore. On
2: * error the semaphore will be released before returning. */
3: static int scull_getwritespace(struct scull_pipe *dev, struct file *filp)
4: {
5:
6: while (spacefree(dev) == 0)

7: { /* [...]

Oct 29th, 2008 | Filed under kernel