linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Madhavi Manchala <madhavi.linux@gmail.com>
To: Greg Ungerer <gerg@snapgear.com>
Cc: linux-arch@vger.kernel.org
Subject: Re: Support for ARM940T core Samsung S3C2510A MCU under Linux
Date: Tue, 22 Mar 2011 18:13:10 +0530	[thread overview]
Message-ID: <AANLkTik1jSNpuREDuX3-LhNafD43m5T=14ZDwNUC5a8X@mail.gmail.com> (raw)
In-Reply-To: <4D87363A.7090209@snapgear.com>

Hi Greg,

Thank you very much for your valuable information and suggestions.

On Mon, Mar 21, 2011 at 4:57 PM, Greg Ungerer <gerg@snapgear.com> wrote:
>
> Hi Madhavi,
>
> On 19/03/11 01:54, Madhavi Manchala wrote:
>>
>> I have one basic question about the architecture files in Linux
>> kernels. We have a board with Samsung S3C2510A MCU (ARM940T core)
>> which is a no-mmu based CPU. I heard that "there was not a lot of ARM
>> no-mmu support at the moment" from Ben Dooks.
>
> The core is there, but there is very little specific machine support.
> The one I use for testing is non-MMU ARM is the Atmel/AT91X40 (that is
> CONFIG_ARCH_AT91X40). I don't run it on real hardware, but on the
> SkyEye emulator.

I saw the mach-at91/at91x40.c and mach-at91/at91x40_time.c file
sources. There is a few lines of code is available in these two files.
I guess, some of the common files are there for all Atmel boards and
that is also included as a part of at91x40 board. Am I correct?

I found only at91_aic_init() function only called from at91x40.c file.
What about other initialization like serial etc.?  Is this included
from common files for Atmel boards?

>
>> So, I started developing the architecture files for my Samsung
>> S3C2510A MCU (ARM940T core) by looking at the existing S3C2410A
>> (ARM920 core) architecture files. Is this my porting (developing the
>> architecture files) correct?
>
> Would make sense to start on something similar, yes.

I downloaded the latest uClinux sources from
http://sourceforge.net/projects/uclinux/files/uClinux%20Stable/ and
the name of the file is uClinux-dist-20101026.tar.bz2. In this
distribution, I found mach-s3c24a0, mach-s3c3410, s3c44b0x and
mach-s5c7375 sources in linux-2.6.x/arch/arm/ directory. (Arnd asked
me to see these sources as a reference, only). So, I am looking at
these sources and especially s3c3410 sources as remaining are
different like s3c24a0 is a MMU based etc.

>
>> How can I port the Linux on to my board which has a Samsung S3C2510A
>> MCU (ARM940T core) which is a NO-MMU based CPU?
>>
>> Thanks for your suggestions / hints / comments.
>
> You can look at what I did with the AT91X40 for an example.
> Or look at the patches that Ithamar Adema sent to the ARM linux
> mailing list in the last few days for supporting the NXP LPC2K
> family as another example (they are also non-MMU parts).

As I said above, there are only two files which are related to at91x40
board. However, I found some sources for the Ithamar Adema patches at
the following link.
http://www.spinics.net/lists/arm-kernel/msg118932.html

These sources (patches) are similar to samsung sources which are
available in uClinux-dist. So, I will look into the Ithamar Adema
patches and uClinux-dist samsung machine directory sources. Please
suggest me.

My final question, All these samsung machines (s3c24a0, s3c3410,
s3c44b0x and s5c7375) are ARM7TDMI core based MCUs. My MCU (Samsung
s3c2510A) is a ARM9TDMI core based. So, is this porting will help?

I am extreamly sorry, If I asked silly questions here.

Once again, thanks for your suggestions and valuable inforamtion.

Thanks and Regards,
Madhavi. M

> Regards
> Greg
>
>
> ------------------------------------------------------------------------
> Greg Ungerer  --  Principal Engineer        EMAIL:     gerg@snapgear.com
> SnapGear Group, McAfee                      PHONE:       +61 7 3435 2888
> 8 Gardner Close                             FAX:         +61 7 3217 5323
> Milton, QLD, 4064, Australia                WEB: http://www.SnapGear.com
>

  reply	other threads:[~2011-03-22 12:43 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-18 15:54 Support for ARM940T core Samsung S3C2510A MCU under Linux Madhavi Manchala
2011-03-21 11:27 ` Greg Ungerer
2011-03-22 12:43   ` Madhavi Manchala [this message]
2011-03-22 13:12     ` Arnd Bergmann
2011-03-23 12:07     ` Greg Ungerer
2011-03-23 12:36       ` Madhavi Manchala
2011-03-23 13:18         ` Greg Ungerer
  -- strict thread matches above, loose matches on Subject: below --
2011-03-19  9:53 Madhavi Manchala
2011-03-19 10:46 ` Geert Uytterhoeven
2011-03-19 20:14   ` Arnd Bergmann
2011-03-21 11:37     ` Greg Ungerer
2011-03-21 12:20       ` Arnd Bergmann
2011-03-22 11:09         ` Greg Ungerer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTik1jSNpuREDuX3-LhNafD43m5T=14ZDwNUC5a8X@mail.gmail.com' \
    --to=madhavi.linux@gmail.com \
    --cc=gerg@snapgear.com \
    --cc=linux-arch@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).