Booting MX28-EVK without bootloader support

2012-06-07 Thread Subodh Nijsure
I am using git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git for-next branch to get familiar with device tree. I am following procedure described in following thread -- http://lists.ozlabs.org/pipermail/devicetree-discuss/2012-April/014600.html Turn on CONFIG_ARM_APPENDED_DTB, C

Re: How can I disable all USB devices?

2012-06-07 Thread 夏业添
Sorry for reply so late. I'm an intern and I cannot test your suggestion in the past two days. I didn't fully understand this udev stuff and your reply, and here is my questions: a. about ":=" The man page says that the ":=" means that "Assign a value to a key finally; disallow any later changes

Re: Compile the pwm driver

2012-06-07 Thread Arun KS
Hello Jeshwanth, On Fri, Jun 8, 2012 at 8:31 AM, jeshwanth Kumar N K wrote: > Hello all > Accidenteally my sys interface for pwm got deleted in beaglebone. Now I have > got the source code, it contains kconfig, make file and source code. Please > help me to compile and install I am new to kconfig

Compile the pwm driver

2012-06-07 Thread jeshwanth Kumar N K
Hello all Accidenteally my sys interface for pwm got deleted in beaglebone. Now I have got the source code, it contains kconfig, make file and source code. Please help me to compile and install I am new to kconfig such things. Thank you. Sent from my HTC

How to understand super.c/descriptor_loc for ext2/ext3/ext4?

2012-06-07 Thread Ryan Wang
Hi, I'm reading the source code for ext2/ext3/ext4, and cannot figure out how descriptor_loc() runs: 1600static ext3_fsblk_t descriptor_loc(struct super_block *sb, 1601ext3_fsblk_t logic_sb_block, 1602int nr) 1603{ 1604

hooking above libata

2012-06-07 Thread Com Developer
Hi There, I am looking for a way  to block a SATA drive from being recognized by SCSI subsystem. Is there any way to block between libata and scsi subsystem? I don't want to modify libata, but looking for a way through loading a module. Thanks Irfan_

Re: Module vs Kernel main performacne

2012-06-07 Thread Abu Rasheda
wrote: > Hi again! > Hi > How did you call from Kernel module? In original code, copied data is dmaed and in experimental code data is dropped. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/li

Re: Module vs Kernel main performacne

2012-06-07 Thread Peter Senna Tschudin
Hi again! On Tue, May 29, 2012 at 8:50 PM, Abu Rasheda wrote: > Hi, > > I am working on x8_64 arch. Profiled (oprofile) Linux kernel module > and notice that whole lot of cycles are spent in copy_from_user call. > I compared same flow from kernel proper and noticed that for more data > through pu

Re: Module vs Kernel main performacne

2012-06-07 Thread Peter Senna Tschudin
Hello Abu, On Thu, Jun 7, 2012 at 2:47 PM, Abu Rasheda wrote: >> Hello Abu, >> >> I had to include or an error was issued about >> "THIS_MODULE". > > > I am running this tool on Scientific Linux 6.0, which is 2.6.32 kernel. I > know this is old but this is what I have for my product. > > >> >> W

Re: Module vs Kernel main performacne

2012-06-07 Thread Abu Rasheda
> > Hello Abu, > > I had to include or an error was issued about > "THIS_MODULE". > I am running this tool on Scientific Linux 6.0, which is 2.6.32 kernel. I know this is old but this is what I have for my product. > What Kernel version are you using? I'm trying to compile it and I'm > getting

Re: New kernel for Chipbox

2012-06-07 Thread Harishkumar V
2.6.3x will be good to start with. On Thu, Jun 7, 2012 at 6:37 PM, Sertac TULLUK wrote: > ** > How about 3.4.1 ? (2.6.32.XX is even enough for me) > > - Original Message - > *From:* Harishkumar V > *To:* Sertac TULLUK > *Cc:* kernelnewbies@kernelnewbies.org > *Sent:* Thursday, June 0

How to understand super.c/descriptor_loc for ext2/ext3/ext4?

2012-06-07 Thread Ryan Wang
Hi, I'm reading the source code for ext2/ext3/ext4, and cannot figure out how descriptor_loc() runs: 1600 static ext3_fsblk_t descriptor_loc (struc

Re: Module vs Kernel main performacne

2012-06-07 Thread Peter Senna Tschudin
Hello Abu, I had to include or an error was issued about "THIS_MODULE". What Kernel version are you using? I'm trying to compile it and I'm getting the error: [peter@ace m]$ make make -C /lib/modules/3.3.7-1.fc17.x86_64/build SUBDIRS=`pwd` modules make[1]: Entering directory `/usr/src/kernels/3

Re: New kernel for Chipbox

2012-06-07 Thread Sertac TULLUK
How about 3.4.1 ? (2.6.32.XX is even enough for me) - Original Message - From: Harishkumar V To: Sertac TULLUK Cc: kernelnewbies@kernelnewbies.org Sent: Thursday, June 07, 2012 3:53 PM Subject: Re: New kernel for Chipbox To which kernel version, u going to

Re: New kernel for Chipbox

2012-06-07 Thread Harishkumar V
ok, then start with that. But, do understand the normal kernel changes betwwen ur kernel source and current one. On Thu, Jun 7, 2012 at 6:05 PM, Sertac TULLUK wrote: > ** > There is no plat- directory in the chipbox kernel: > > root@ubuntu:/chipbox/chipbox-kernel/arch/arm# ls > bootconfigs K

Re: New kernel for Chipbox

2012-06-07 Thread Harishkumar V
Also, check whether this approach is correct by an experienced kernel buddies from the list. On Thu, Jun 7, 2012 at 6:07 PM, Harishkumar V wrote: > ok, then start with that. But, do understand the normal kernel changes > betwwen ur kernel source and current one. > > > On Thu, Jun 7, 2012 at 6:05

Re: New kernel for Chipbox

2012-06-07 Thread Sertac TULLUK
There is no plat- directory in the chipbox kernel: root@ubuntu:/chipbox/chipbox-kernel/arch/arm# ls bootconfigs Kconfig.debug libmach-clps7500 mach-epxa10db mach-h720x mach-integrator mach-ixp2000 mach-l7200mach-omap mach-pxa mach-s3c2410 mach-shark Makefile

Re: New kernel for Chipbox

2012-06-07 Thread Harishkumar V
check also directory starting with plat- like, plat-omap, etc. On Thu, Jun 7, 2012 at 5:54 PM, Sertac TULLUK wrote: > ** > Here we go: > > root@ubuntu:/chipbox/chipbox-kernel/arch/arm# ls > bootconfigs Kconfig.debug libmach-clps7500 > mach-epxa10dbmach-h720x mach-integrato

Re: New kernel for Chipbox

2012-06-07 Thread Sertac TULLUK
Here we go: root@ubuntu:/chipbox/chipbox-kernel/arch/arm# ls bootconfigs Kconfig.debug libmach-clps7500 mach-epxa10db mach-h720x mach-integrator mach-ixp2000 mach-l7200mach-omap mach-pxa mach-s3c2410 mach-shark Makefile nwfpe tools common Kconfig kern

Re: New kernel for Chipbox

2012-06-07 Thread Harishkumar V
Sertac, Starting point will be, arch/arm. make platform base CPU SoC code and serial up. If u able to make these things up, then its addition of pheripherals. On Thu, Jun 7, 2012 at 5:28 PM, Sertac TULLUK wrote: > ** > Harishkumar, > > I already know my SoC name, it is Celestial CSM1203, and it

Re: New kernel for Chipbox

2012-06-07 Thread Sertac TULLUK
Harishkumar, I already know my SoC name, it is Celestial CSM1203, and it is not available in any official kernel source tree ( the last one I checked it 3.4.1 10 minutes ago). Since it is not available in the original kernel source, we had to make those thousands of changes one-by-one, and it

Re: New kernel for Chipbox

2012-06-07 Thread Sertac TULLUK
Dear Harishkumar; I already know how to find the changes, please see my 1st e-mail below. The problem is, those changes are more than thousands of lines of code, and hundreds of files are added or modified. I wonder, how can I apply those thousands of changes to new kernel source quickly and e

Re: New kernel for Chipbox

2012-06-07 Thread Harishkumar V
Sertac, Also, if u know ur chip SoC name, u can find whether open source linux kernel may have already support inbuilt in it. u can google around it, before deciding to port. On Thu, Jun 7, 2012 at 5:18 PM, Harishkumar V wrote: > Sertac, > > From your present source, u can find the Celestial SoC

Re: New kernel for Chipbox

2012-06-07 Thread Harishkumar V
Sertac, >From your present source, u can find the Celestial SoC change. check for arch/arm folder. then in corresponding drivers, like usb,serial,video etc. On Thu, Jun 7, 2012 at 4:36 PM, Sertac TULLUK wrote: > ** > Dear Harishkumar; > > Thank you very much for your quick answer. > > Where

Re: New kernel for Chipbox

2012-06-07 Thread Sertac TULLUK
Dear Harishkumar; Thank you very much for your quick answer. Where can I find related Celestial SoC & driver patch file? Best Regards Sertac - Original Message - From: Harishkumar V To: Sertac TULLUK Cc: kernelnewbies@kernelnewbies.org Sent: Thursday, June 07, 2012 1:31 PM

Re: New kernel for Chipbox

2012-06-07 Thread Harishkumar V
Sertac, Basically u need to have Celestial SoC & drivers related patch. Then, u can download desired kernel or latest 3.3.x. Apply and do the forward porting. It won't be straight forward, u need to re-write a bit. U can always refer any other celectial SoC family in latest kernel source or other

New kernel for Chipbox

2012-06-07 Thread Sertac TULLUK
Dear All; I have a digital satellite receiver (named Chipbox), which uses linux kernel 2.6.12.5. Main chipset name is Celestial CSM1203 ( It is ARM926EJ-S core). The original kernel source (and all other sources) can be downloaded here: http://www.merihvideo.com.tr/chipbox-source.php I would