Re: Are there any efficient methods to manage andriod code at normal kernel line?

2010-02-23 Thread Peter Chen
Xiangfu Liu wrote: Hi Peter Chen Peter Chen wrote: Hi, all I would like to manage android patch and normal kernel code at one code base, as some customers would like to get the android patched kernel, but some would like to get the non-android patched kernel. It can be done by

Are there any efficient methods to manage andriod code at normal kernel line?

2010-02-23 Thread Peter Chen
will inconvenient for diff the code between local and database like svn status, it will have lots of M, but in fact, you only change one file. Any suggestions is welcome Thank you! -- Best regards, Peter Chen -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies&quo

Are there any places to put bug report for specific kernel versions?

2009-10-21 Thread Peter Chen
0x2c) r7:000b r6:becf42fc r5:000d28b4 r4:becf44fe Code: e5906010 e5812000 e5803000 e59f30c0 (e5821004) Kernel panic - not syncing: Fatal exception in interrupt Thank you! -- Best regards, Peter Chen -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to

Re: How to make USB to work dynamically

2009-06-25 Thread Peter Chen
Hi, In our platform, we use udev to implement that host/slave problem. Best Regards, Peter Chen On Thu, 2009-06-25 at 12:46 +0530, Arjun Joshi wrote: > Hi Greg, > > I am trying to make USB work dynamically on an OMAP board which has a > USB OTG controller. The board has a mini-A

Re: The biggest continual physical memory we can get during the kernel running?

2009-03-30 Thread Peter Chen
Thank you, peter. Yes, graphical guys ask me the same questions, and the other device drivers which don't support scatter buffer also have this doubt. Best Regards, Peter Chen On Mon, 2009-03-30 at 11:53 -0400, Peter Teoh wrote: > On Mon, Mar 30, 2009 at 8:13 AM, Peter Chen wrote: &g

The biggest continual physical memory we can get during the kernel running?

2009-03-30 Thread Peter Chen
dymatically, not using alloc_bootmem during the system bootup. Thank you in advance Best Regards, Peter Chen

Re: question about mapping RAM into user space.

2009-03-26 Thread Peter Chen
Hi, I use remap_pfn_range to do mmap, and it can work. Best Regards, Peter Chen On Thu, 2009-03-26 at 14:03 +0800, yihect wrote: > It seems the mux_vma_nopage() operation hadn't been called. > - Original Message - > From: yihect >

Re: Two questions about scheduler

2009-03-22 Thread Peter Chen
ler, and irq_exit(). Best Regards, Peter Chen On Sun, 2009-03-22 at 12:33 +0100, Henrik Austad wrote: > On Sunday 22. March 2009 11.44.13 Peter Chen wrote: > > Dear all, > > > > Recently, I have read the book <> > > > > And I have two points not clearly about sc

Re: CONFIG_SMP for single-core CPU

2009-03-22 Thread Peter Chen
t for spin_lock, are there any other overhead for CONFIG_SMP for single-core cpu? Thank you. BR, Peter chen On Sun, 2009-03-22 at 13:12 +0200, Mircea Gherzan wrote: > Hi, > > Peter Chen wrote: > > 1. Does SMP technology can be only used at Dual-core processor, or > > only D

Two questions about scheduler

2009-03-22 Thread Peter Chen
d for process B. 2. At IRQ handler, it wakes up process B. then, after IRQ exiting, the higher priority process B will preempt process A who is interrupted by above IRQ. -- Best Regards Peter Chen -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecar

CONFIG_SMP for single-core CPU

2009-03-22 Thread Peter Chen
Hi all, My CPU is AMD Sempron 2800+: http://en.wikipedia.org/wiki/List_of_AMD_Sempron_microprocessors#.22Palermo.22_.28Socket_754.2C_D0.2C_E3_.26_E6.2C_90_nm.29 It sounds a single-core cpu, as I haven't find it at AMD cpu lists which support SMP: http://en.wikipedia.org/wiki/Symmetric_multiproces

Re: the fb_prepare_logo(./drivers/video/fbmem.c) no longer export as symbol at 2.6.27 Kernel

2009-03-01 Thread Peter Chen
rg/fbdev-dri.html > > and this is uclinux specific (a tool called fbcon): > > http://docs.blackfin.uclinux.org/doku.php?id=the_framebuffer_console > > u may continue these different directions from here :-). > > On Fri, Feb 27, 2009 at 8:42 PM, Peter Chen wrote: > > Hi, all > >

the fb_prepare_logo(./drivers/video/fbmem.c) no longer export as symbol at 2.6.27 Kernel

2009-02-27 Thread Peter Chen
Hi, all In 2.6.27 kernel, it doesn't export symbol for fb_prepare_logo(at ./drivers/video/fbmem.c), in 2.6.23 it did. So if I compile my framebuffer as module and want to display LOGO at my framebuffer device driver what should I do? Thank you BR, Chen

About tasklet and workqueue

2009-02-12 Thread Peter Chen
Hi, all, I read the code about tasklet (softirq.c) and workqueue (workqueue.c), and there are two points I can't understand, Hope you can tell me why, and point out if i made any errors below.Thank you. 1. Both tasklet and workqueue are created by kthread_create, it's default priority is the same