All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Ryser <peter.ryser@xilinx.com>
To: mcnernbm@notes.udayton.edu
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: Fw: Montavista Patch for ml403
Date: Thu, 07 Jul 2005 10:33:13 -0700	[thread overview]
Message-ID: <42CD6759.9090203@xilinx.com> (raw)
In-Reply-To: <OFEB66331D.10CE4400-ON85257037.005D805A-85257037.005D85D7@notes.udayton.edu>

The linux/patch_linux script has some information on how to apply the=20
patch. For the next release of the reference design we will include more=20
information and also have updated the patch. The new release will be=20
available within the next few days. Check=20
http://www.xilinx.com/products/boards/ml403/reference_designs.htm for=20
availability of the updates.

Further down find the updated instructions. I'll send you the updated=20
patch in a private email.

- Peter


  Building the Linux BSP (PPC405 Systems Only)

The EDK design comes with MLD/TCL technology to generate a Linux BSP for=20
ML40x and a script to patch a MontaVista Linux kernel from the ML300 LSP=20
for use with this BSP.

To build a BSP for and to patch the Linux kernel, proceed as follows:

1. Start XPS and load the Linux XMP:
$ xps system_linux.xmp

2. Generate the Linux BSP with Tools->Generate Libraries and BSPs

The resulting Linux BSP is located in=20
ppc405_0/libsrc/linux_mvl31_v1_00_a/linux.

3. Quit XPS

4. Create a copy of the MontaVista Linux kernel for the ML300 board.

The Linux kernel and the tools to build the Linux kernel are available=20
from MontaVista (http://www.mvista.com). For further information about=20
using Linux with EDK, refer to XAPP765: Getting Started with EDK and=20
MontaVista Linux (http://www.xilinx.com/bvdocs/appnotes/xapp765.pdf).

5. Patch the Linux kernel for use with the ML40x board
$ cd linux
$ ./patch_linux <path to the copy of the MontaVista Linux kernel>

This step copies the .config file from the linux directory to the Linux=20
kernel, patches the Linux kernel with necessary changes for the ML40x=20
board, and copies the Linux BSP into the Linux kernel.

Build the Linux kernel.
$ cd <path to the copy of the MontaVista Linux kernel>
$ make oldconfig dep bzImage

The resulting Linux kernel resides in arch/ppc/boot/images/zImage.elf

6. To build an ACE file consisting of the FPGA bitstream and the Linux=20
kernel, click Tools->Xygwin shell to run a shell, then type:
$ xmd =96tcl genace.tcl =96jprog =96hw implementation/download.bit =96elf=
 <Linux=20
elf file> -ace implementation/system.ace



mcnernbm@notes.udayton.edu wrote:

>
> Contained with in the reference design for the xilinx ml403 board is a=20
> patch for the montavista ml403 preview kit ot allow one to build the=20
> kernel for the ml403 board. But I am having trouble applying the=20
> patch. Does anyone know how to properly apply this patch. Also I tried=20
> to follow the instrucions on coping the bsp files over but exactly=20
> where to place them. Do I over write the folders with in the arch=20
> directory and the drivers folder in the main kernel directory? Its not=20
> 100% clear what files I need to over write.
> Any help would be greatly appreciated.
> Attached is the patch that come with the xilinx ml403 reference design
>
> Brett
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Linuxppc-embedded mailing list
>Linuxppc-embedded@ozlabs.org
>https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>

      reply	other threads:[~2005-07-07 17:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-07 17:01 Fw: Montavista Patch for ml403 mcnernbm
2005-07-07 17:33 ` Peter Ryser [this message]

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=42CD6759.9090203@xilinx.com \
    --to=peter.ryser@xilinx.com \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=mcnernbm@notes.udayton.edu \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.