ARM cortex A8 serial kernel

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
wade456
Posts: 2
Joined: Wed Mar 21, 2012 8:54 pm

ARM cortex A8 serial kernel

Post by wade456 »

Is anyone know a good kernel for contex A8 serial like beagleboard (except linux and BSD*)?
I need study contex A8 so i want to write a contex A8 serial kernel.
Has anyone write a open source kernel for contex a8 (mmu is need)?
thx a lot~
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Re: ARM cortex A8 serial kernel

Post by JamesM »

Hi,
wade456 wrote:Is anyone know a good kernel for contex A8 serial like beagleboard (except linux and BSD*)?
I need study contex A8 so i want to write a contex A8 serial kernel.
Has anyone write a open source kernel for contex a8 (mmu is need)?
thx a lot~
The CPU on a board is unrelated to the serial controller. Whether a board has a Cortex-A8, Cortex-A9, A15, R4 or M3 doesn't matter - the serial controller is a separate piece of RTL.

If you're interested in the serial controller on the Beagleboard, have you looked at the technical documentation for the Beagleboard on its website? That details the register mapping and protocol for using the serial port.

That is, if you want to write a serial port driver. If you don't, why not use Linux or FreeBSD?

Cheers,

James
User avatar
bluemoon
Member
Member
Posts: 1761
Joined: Wed Dec 01, 2010 3:41 am
Location: Hong Kong

Re: ARM cortex A8 serial kernel

Post by bluemoon »

Since "serial kernel" has no match on google, I suppose that is something alien technology or not exist in our universe :shock:

Well, perhaps he meant kernel for A8 series processor?
User avatar
xenos
Member
Member
Posts: 1121
Joined: Thu Aug 11, 2005 11:00 pm
Libera.chat IRC: xenos1984
Location: Tartu, Estonia
Contact:

Re: ARM cortex A8 serial kernel

Post by xenos »

berkus wrote:Serial controller on Beagleboard is standard 16650 compatible, you can get the MMIO addresses in the Linux sources, for example.
...or the Technical Reference Manual.
But um "serial kernel", what's that supposed to mean?
I guess the OP wants to get some "Hello World" (or whatever) output from the serial console.
Programmers' Hardware Database // GitHub user: xenos1984; OS project: NOS
User avatar
mutex
Member
Member
Posts: 131
Joined: Sat Jul 07, 2007 7:49 pm

Re: ARM cortex A8 serial kernel

Post by mutex »

I may be wrong, but my interpretation of this "Cortex A8 serial kernel" is that he means a "mainstream, normal A8 core" and no specialized ARM A8 compatible SoC like Samsung's etc..

Ubuntu have toolchain for ARM in its package repository and writing a kernel for ARM is basically not much more different than doing it for x86 etc..

You need to do some lowlevel boilerplate initialization (like for x86 etc) but when you get that up and running its pretty straight forward. I recommend creating a C - code stub doing while(1) and creating some boilerplate code in ASM and get that up and running first anyway.

I have ported my kernel to ARM and it was done very easily. Using the Beagleboard xm.. Booting is easy with the internal bootloader.

regards
Thomas
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Re: ARM cortex A8 serial kernel

Post by JamesM »

"mainstream, normal A8 core"
I don't think you're quite "getting" it. ARM chips are not sold themselves. Instead, the IP is sold to semiconductor manufacturers who add their own IP and put that on a chip as a SoC.

The Cortex-A8 processor is a processor. It doesn't contain a UART. Most SoCs with one in however will. There's no such thing as a "normal" A8 SoC because all semi companies put their own fabric on them! :)

So you need to know for which SoC you're designing in order to know how to access the peripherals.
User avatar
mutex
Member
Member
Posts: 131
Joined: Sat Jul 07, 2007 7:49 pm

Re: ARM cortex A8 serial kernel

Post by mutex »

Of course i know..... :? I just told what I thought he meant (I think I stated that clearly, but understand why I might have made you missunderstand) (Samsung part...) ..? Sorry if I did not make it clear enough.

If he means serial in like rs232 there is the hardware manual for that specific chip/SoC.

Anyway rest of my post is still vaild and can be recommended by myself based on my experience with my kernel :)
wade456
Posts: 2
Joined: Wed Mar 21, 2012 8:54 pm

Re: ARM cortex A8 serial kernel

Post by wade456 »

ha ~sorry to all
My means want using ARMv7 architecture CPU (like beagleboard) develop OS.
I think ARMv7 is very universal and powerful in embedded system.

As far as I know has no open source micro kernel is porting to ARMv7 architecture so i want find it.
minix on ARM seems dead. :(
OSwhatever
Member
Member
Posts: 595
Joined: Mon Jul 05, 2010 4:15 pm

Re: ARM cortex A8 serial kernel

Post by OSwhatever »

wade456 wrote:ha ~sorry to all
My means want using ARMv7 architecture CPU (like beagleboard) develop OS.
I think ARMv7 is very universal and powerful in embedded system.

As far as I know has no open source micro kernel is porting to ARMv7 architecture so i want find it.
minix on ARM seems dead. :(
BeagleBoard is based on Ti OMAP and Linux supports this board for example. Probably you'll find more OS support for this board once you start looking.
OSwhatever
Member
Member
Posts: 595
Joined: Mon Jul 05, 2010 4:15 pm

Re: ARM cortex A8 serial kernel

Post by OSwhatever »

berkus wrote:I guess what he's fixed on is _micro-kernels_.
Ok. According to beagleboard.org on the main page you can find that

RISC OS
Symbian
QNX Neutrino

Supports beagleboard. Symbian and QNX are supposed to be microkernels.
Post Reply