From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.204]) by ozlabs.org (Postfix) with ESMTP id 4474868747 for ; Tue, 15 Nov 2005 23:10:19 +1100 (EST) Received: by zproxy.gmail.com with SMTP id x3so1610485nzd for ; Tue, 15 Nov 2005 04:10:19 -0800 (PST) To: Date: Tue, 15 Nov 2005 13:03:51 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0036_01C5E9E5.073A21C0" From: Joachim Denil Message-ID: <4379ce76.65b4ffc2.2c64.274a@mx.gmail.com> Subject: porting linux to new board type List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This is a multi-part message in MIME format. ------=_NextPart_000_0036_01C5E9E5.073A21C0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, For an internship I have to port linux to custom made board. I assume I'll have to set the memory-map right and make the hardware initialize, set IRQ, .. Browsing trough the kernel source I found that all that happens within /arch/ppc/platforms and there are separate files for each board. But how do I start to write my own code. Can someone give me some pointers or is there any documentation on this subject? This is what my board is made of: * 64 Mb SDRAM (a PLD copy's the kernel to this location (0x00000000)) * 1 MB boot ram (a PLD copy's the boot loader from flash to this location at the end of the memory map) * MMC card reader * Flash 8MB (don't have to use it though-> the PLD's use them to copy boot loader and kernel there) * Leds that I can use through a PLD-register The processor is a 405Gr processor, 1 UART is connected to a V24 iface. The boot loader is a striped version of ppcboot, and is now used to load a self written RTOS. So I guess I can use that version. Is there besides this something else I 'll have to adjust? Thanks, Joachim Denil Student @ Karel De Grote hogeschool Antwerpen (Belgium) ------=_NextPart_000_0036_01C5E9E5.073A21C0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

For an internship I = have to port linux to custom made board. I assume = I’ll have to set the memory-map right and make the hardware initialize, set = IRQ, …. Browsing trough the kernel source I = found that all that happens within /arch/ppc/platforms = and there are separate files for each board. But how do I start to write my own = code. Can someone give me some pointers or is there any documentation on this = subject? This is what my board is made of:

 

  • 64 Mb SDRAM (a PLD copy’s the = kernel to this location (0x00000000))
  • 1 MB boot ram (a PLD copy’s = the boot loader from flash to this location at the end of the memory = map)
  • MMC card = reader
  • Flash 8MB (don’t have to use = it though-> the PLD’s use them to copy boot = loader and kernel there)
  • Leds that I can use through a = PLD-register

 

The processor is a = 405Gr processor, 1 UART is connected to a V24 iface.

The boot loader is a = striped version of ppcboot, and is now used to load = a self written RTOS. So I guess I can use that = version.

 

Is there besides this = something else I ‘ll = have to adjust?

 

Thanks,

 

Joachim Denil

Student @ Karel De Grote hogeschool Antwerpen (Belgium)

------=_NextPart_000_0036_01C5E9E5.073A21C0--