From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ashok Babu Subject: Self modifying code in ARM 11 architectures Date: Tue, 24 May 2011 15:45:41 +0530 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3737431330946516442==" Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kernelnewbies-bounces@kernelnewbies.org Errors-To: kernelnewbies-bounces@kernelnewbies.org To: linux-omap@vger.kernel.org, Kernelnewbies@kernelnewbies.org List-Id: linux-omap@vger.kernel.org --===============3737431330946516442== Content-Type: multipart/alternative; boundary=0016e6d260a8cef1d904a402dee1 --0016e6d260a8cef1d904a402dee1 Content-Type: text/plain; charset=ISO-8859-1 Hi All, I am no success in booting up the ARM1176 processor with the linux-2.6.32 kernel. While googling about the ARM Harvard architecture, I came to know that we have to flush/invalidate the D-Cache and I-Cache when using the self modifying codes. So here my questions/doubts : 1) Is'nt it the kernel itself is self modifying code with lots of function pointers ? If yes, how is synchronization b/w d-cache and i-cache handled in the kernel ? 2) Can this be the reason for the kernel not booting for me ? Because If i disable the I-Cache in the config, then the kernel boots up without any issues. Any pointers on this will be of great help. Thanks & Best Regards Ashok --0016e6d260a8cef1d904a402dee1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi All,

I am no success in booting up the ARM1176 proces= sor with the linux-2.6.32 kernel.

While googling a= bout the ARM=A0Harvard=A0architecture, I came to know that we have to flush= /invalidate the D-Cache and I-Cache=A0
when using the self modifying codes.

So here = my questions/doubts :
1) Is'nt it the kernel itself is self m= odifying code with lots of function pointers ?
=A0 =A0 If yes, ho= w is synchronization b/w d-cache and i-cache handled in the kernel ?
2) Can this be the reason for the kernel not booting for me ?
=A0 =A0 Because If i disable the I-Cache in the config, then the kernel b= oots up without any issues.

Any pointers on this w= ill be of great help.

Thanks & Best Regards
Ashok
=A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0

=
--0016e6d260a8cef1d904a402dee1-- --===============3737431330946516442== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============3737431330946516442==--