General question : Debugging Kernel on PPC

2012-02-02 Thread Arshad, Farrukh
Greetings All, I have general question regarding kernel debugging on PowerPC platform. Except printk what are other ways for kernel / kernel modules debugging on PowerPC architecture (i.e P1022DS/RDK boards). I am specifically referring to the option of connecting hardware probe and debug the

RE: Problem in getting shared memory access on P1022RDK

2012-01-25 Thread Arshad, Farrukh
PM To: Arshad, Farrukh Cc: Scott Wood; linuxppc-dev@lists.ozlabs.org Subject: Re: Problem in getting shared memory access on P1022RDK Arshad, Farrukh wrote: Adding more it, I have removed the shared memory kernel driver dependency just to narrow down the problem area and I have written a small

LCD (connected over DVI) not working on P1022DS

2012-01-24 Thread Arshad, Farrukh
Greetings All, I am trying to connect LCD with P1022DS via DVI port, I have also configured CONFIG_FB_FSL_DIU and using following boot parameters, but I can't see anything on the LCD not even the Linux Logo (I have configured it as well in the kernel) instead I only see on the LCD No Signal

Searching TLB entry for a page frame number.

2012-01-23 Thread Arshad, Farrukh
Greetings All, I have a quick question regarding TLB dump for P1022. Please excuse me for being naïve. I want to dump the TLB entry for a page number. I know my page frame number. If I read TLB0 dump using tlbre instruction, the instruction output TLB0 entries in MAS0 - MAS3 registers. After

RE: Problem in getting shared memory access on P1022RDK

2012-01-11 Thread Arshad, Farrukh
Adding more it, I have removed the shared memory kernel driver dependency just to narrow down the problem area and I have written a small piece of code in user space. A writer a reader application which access the shared memory and I got the same behavior as with the shared memory kernel

RE: OpenPIC warnings on P1022RDK AMP configuration

2012-01-10 Thread Arshad, Farrukh
Change kernel configuration as per following to fix this warning. Disable Kernel Options - Support for enabling/disabling CPUs Disable Kernel Options - Distribute interrupts on all CPUs by default Regards, Farrukh Arshad From: Arshad, Farrukh Sent: Friday, December 23, 2011 11:18 AM

RE: OpenPIC warnings on P1022RDK AMP configuration

2012-01-10 Thread Arshad, Farrukh
Does each dtb have the correct CPU number, both from the command line boot cpu flag and in the CPU node? Yes both CPUs have the correct CPU numbers and also both DTBs are build with their respective -b flag. Do both device trees have pic-no-reset in the mpic node? Yes, both have

RE: Problem in getting shared memory access on P1022RDK

2012-01-04 Thread Arshad, Farrukh
which is causing all these issues. Kernel sources / configuration of both cores are 100% same except (CONFIG_PHYSICAL_START) param and kernel version is 2.6.32.13. Any thoughts. Regards, Farrukh Arshad -Original Message- From: Arshad, Farrukh Sent: Wednesday, January 04, 2012 11:50

RE: Problem in getting shared memory access on P1022RDK

2012-01-04 Thread Arshad, Farrukh
Was the kernel option, CONFIG_SMP, enabled for both two kernels? Yes CONFIG_SMP is enabled for both kernels. Maybe you should make sure if kernel have a appropriate memory attribute by dumping TLB entry. Thanks for the pointer. I will try this one. Regards, Farrukh Arshad

RE: Problem in getting shared memory access on P1022RDK

2012-01-03 Thread Arshad, Farrukh
Adding more to it, When I write from Core 1 on the shared memory region it is visible at Core 0 and it can read what I have written from Core 1 but when I write from Core 0 on this shared memory it is not visible on Core 1. Regards, Farrukh Arshad From: Arshad, Farrukh Sent: Tuesday, January

RE: Problem in getting shared memory access on P1022RDK

2012-01-03 Thread Arshad, Farrukh
0x0C00, -- CONFIG_PHYSICAL_START = bootm_low = Base Address Shared Mem 0x1C00, 0x0400, Regards, Farrukh Arshad -Original Message- From: Scott Wood [mailto:scottw...@freescale.com] Sent: Tuesday, January 03, 2012 10:10 PM To: Arshad, Farrukh Cc: linuxppc

Problem in getting shared memory access on P1022RDK

2012-01-02 Thread Arshad, Farrukh
Greetings All, Please excuse me for a 'not very precise' question but I just need some clue or point to look for the trouble. I am running linux in AMP configuration on P1022RDK dual core. My memory partitioning is given below Core Base Address (CONFIG_PHYSICAL_START / bootm_low) Size

RE: Kernel not booting when supplying boot parameter mem

2011-12-28 Thread Arshad, Farrukh
11:19 AM To: Arshad, Farrukh Cc: linuxppc-dev@lists.ozlabs.org Subject: Re: Kernel not booting when supplying boot parameter mem Arshad, Farrukh wrote: Hi Tiejun, Thanks for your response. Yes, I am running two kernels one on each core in SAMP configuration on P1022RDK board. Given is my

RE: Kernel not booting when supplying boot parameter mem

2011-12-27 Thread Arshad, Farrukh
-Original Message- From: tiejun.chen [mailto:tiejun.c...@windriver.com] Sent: Tuesday, December 27, 2011 4:08 PM To: Arshad, Farrukh Cc: linuxppc-dev@lists.ozlabs.org Subject: Re: Kernel not booting when supplying boot parameter mem Arshad, Farrukh wrote: Greetings All, I have a basic

Kernel not booting when supplying boot parameter mem

2011-12-23 Thread Arshad, Farrukh
Greetings All, I have a basic question. I have 512 MB memory. I want my kernel to use only last 128 MB of memory starting from address 0x1000. I have configured the kernel CONFIG_PHYSICAL_START=0x1000 and in kernel boot parameter I have set mem=128M. In this scenario my kernel is not

OpenPIC warnings on P1022RDK AMP configuration

2011-12-22 Thread Arshad, Farrukh
Greetings All I am running dual linux on P1022RDK in AMP configuration. My memory partitioning is as below - Core | Base Address |Size |

Unable to connect via Ethernet on P1022RDK

2011-12-09 Thread Arshad, Farrukh
Greetings All, I am doing a dual boot on P1022RDK with following configuration Core 0: Linux RT: Running fine, ethernet@B is working fine. Core 1: Linux: Crashing at following, ethernet@B1000 is not creating a link I have allocated ethernet1 to core 1 in its DTS file but when I boot my

RE: Multi-OS on P1022RDK Failing

2011-12-08 Thread Arshad, Farrukh
default Regards, Farrukh Arshad -Original Message- From: Arshad, Farrukh Sent: Thursday, December 08, 2011 11:35 AM To: 'Scott Wood' Cc: Linuxppc-dev@lists.ozlabs.org Subject: RE: Multi-OS on P1022RDK Failing Thanks Scott. Fixing cpu 1 release address solved my problem. Also thanks

RE: Multi-OS on P1022RDK Failing

2011-12-07 Thread Arshad, Farrukh
Thanks Scott. Fixing cpu 1 release address solved my problem. Also thanks for the CONFIG_LOWMEM_SIZE suggestions. Regards, Farrukh Arshad -Original Message- From: Scott Wood [mailto:scottw...@freescale.com] Sent: Thursday, December 08, 2011 2:24 AM To: Arshad, Farrukh Cc: Linuxppc

Booting Linux on one core of P1022

2011-11-29 Thread Arshad, Farrukh
Greetings All, I am working on P1022RDK (P1022 Processor). I am trying to bring up LTIB Linux only on Core1 of the processor. I have configured the cpus node in the device tree file as following way Cpus { #address-cells = 1; #size-cells = 0; PowerPC,P1022@1 {