All of lore.kernel.org
 help / color / mirror / Atom feed
From: Darren Hart <dvhart@linux.intel.com>
To: Paul Eggleton <paul.eggleton@linux.intel.com>
Cc: poky@yoctoproject.org, openembedded-core@lists.openembedded.org
Subject: Re: [poky] [PATCH 1/1] README.hardware: remove u-boot flashing	instructions for mpc8315e-rdb
Date: Thu, 31 Mar 2011 09:27:42 -0700	[thread overview]
Message-ID: <4D94AB7E.4030603@linux.intel.com> (raw)
In-Reply-To: <41ae31ba057b63d3c518e2edf217109c59b64603.1301578942.git.paul.eggleton@linux.intel.com>



On 03/31/2011 06:46 AM, Paul Eggleton wrote:
> From: Paul Eggleton<paul.eggleton@linux.intel.com>
>
> Upgrading u-boot is apparently not necessary with current board revisions,
> and these instructions may not work properly anyway (our toolchain seems not
> to be able to compile u-boot in the way described), and given that they are
> potentially risky they should be removed.
>
> Signed-off-by: Paul Eggleton<paul.eggleton@linux.intel.com>

Acked-by: Darren Hart <dvhart@linux.intel.com>

> ---
>   README.hardware |   29 +++--------------------------
>   1 files changed, 3 insertions(+), 26 deletions(-)
>
> diff --git a/README.hardware b/README.hardware
> index 79607f7..025c678 100644
> --- a/README.hardware
> +++ b/README.hardware
> @@ -234,32 +234,7 @@ You will need the following:
>   * nfs root setup on your workstation
>   * tftp server installed on your workstation
>
> -The original U-Boot image on board can't boot kernel versions 2.6.34 or later
> -successfully, so the U-Boot image should be upgraded to the latest U-Boot.
> -
> - 1. First build a new U-Boot image for mpc8315e-rdb, u-boot.bin.mpc8315erdb,
> -    then make it available on your tftp server. To compile the new u-boot:
> -
> - $ git clone git://git.denx.de/u-boot.git
> - $ cd u-boot
> - $ git checkout -b v2010.09-mpc8315erdb v2010.09
> - $ make ARCH=powerpc CROSS_COMPILE=<powerpc cross compiler path>  MPC8315ERDB_config
> - $ make ARCH=powerpc CROSS_COMPILE=<powerpc cross compiler path>  all
> - $ cp u-boot.bin u-boot.bin.mpc8315erdb
> -
> - 2. Set up the environment in U-Boot:
> -
> - =>setenv ipaddr<board ip>
> - =>setenv serverip<tftp server ip>
> -
> - 3. Flash the new U-Boot image:
> -
> - =>tftp 200000 u-boot.bin.mpc8315erdb
> - =>protect off all
> - =>erase fe000000 +60000
> - =>cp.b 200000 fe000000 60000
> -
> -Then the kernel can be booted successfully:
> +Load the kernel and boot it as follows:
>
>    1. Get the kernel (uImage.mpc8315erdb) and dtb (mpc8315erdb.dtb) files from
>       the Poky build tmp/deploy directory, and make them available on your tftp
> @@ -267,6 +242,8 @@ Then the kernel can be booted successfully:
>
>    2. Set up the environment in U-Boot:
>
> + =>setenv ipaddr<board ip>
> + =>setenv serverip<tftp server ip>
>    =>setenv bootargs root=/dev/nfs rw nfsroot=<nfsroot ip>:<rootfs path>  ip=<board ip>:<server ip>:<gateway ip>:255.255.255.0:mpc8315e:eth0:off console=ttyS0,115200
>
>    3. Download kernel and dtb to boot kernel.

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel



WARNING: multiple messages have this Message-ID (diff)
From: Darren Hart <dvhart@linux.intel.com>
To: Paul Eggleton <paul.eggleton@linux.intel.com>
Cc: poky@yoctoproject.org, openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 1/1] README.hardware: remove u-boot flashing	instructions for mpc8315e-rdb
Date: Thu, 31 Mar 2011 09:27:42 -0700	[thread overview]
Message-ID: <4D94AB7E.4030603@linux.intel.com> (raw)
In-Reply-To: <41ae31ba057b63d3c518e2edf217109c59b64603.1301578942.git.paul.eggleton@linux.intel.com>



On 03/31/2011 06:46 AM, Paul Eggleton wrote:
> From: Paul Eggleton<paul.eggleton@linux.intel.com>
>
> Upgrading u-boot is apparently not necessary with current board revisions,
> and these instructions may not work properly anyway (our toolchain seems not
> to be able to compile u-boot in the way described), and given that they are
> potentially risky they should be removed.
>
> Signed-off-by: Paul Eggleton<paul.eggleton@linux.intel.com>

Acked-by: Darren Hart <dvhart@linux.intel.com>

> ---
>   README.hardware |   29 +++--------------------------
>   1 files changed, 3 insertions(+), 26 deletions(-)
>
> diff --git a/README.hardware b/README.hardware
> index 79607f7..025c678 100644
> --- a/README.hardware
> +++ b/README.hardware
> @@ -234,32 +234,7 @@ You will need the following:
>   * nfs root setup on your workstation
>   * tftp server installed on your workstation
>
> -The original U-Boot image on board can't boot kernel versions 2.6.34 or later
> -successfully, so the U-Boot image should be upgraded to the latest U-Boot.
> -
> - 1. First build a new U-Boot image for mpc8315e-rdb, u-boot.bin.mpc8315erdb,
> -    then make it available on your tftp server. To compile the new u-boot:
> -
> - $ git clone git://git.denx.de/u-boot.git
> - $ cd u-boot
> - $ git checkout -b v2010.09-mpc8315erdb v2010.09
> - $ make ARCH=powerpc CROSS_COMPILE=<powerpc cross compiler path>  MPC8315ERDB_config
> - $ make ARCH=powerpc CROSS_COMPILE=<powerpc cross compiler path>  all
> - $ cp u-boot.bin u-boot.bin.mpc8315erdb
> -
> - 2. Set up the environment in U-Boot:
> -
> - =>setenv ipaddr<board ip>
> - =>setenv serverip<tftp server ip>
> -
> - 3. Flash the new U-Boot image:
> -
> - =>tftp 200000 u-boot.bin.mpc8315erdb
> - =>protect off all
> - =>erase fe000000 +60000
> - =>cp.b 200000 fe000000 60000
> -
> -Then the kernel can be booted successfully:
> +Load the kernel and boot it as follows:
>
>    1. Get the kernel (uImage.mpc8315erdb) and dtb (mpc8315erdb.dtb) files from
>       the Poky build tmp/deploy directory, and make them available on your tftp
> @@ -267,6 +242,8 @@ Then the kernel can be booted successfully:
>
>    2. Set up the environment in U-Boot:
>
> + =>setenv ipaddr<board ip>
> + =>setenv serverip<tftp server ip>
>    =>setenv bootargs root=/dev/nfs rw nfsroot=<nfsroot ip>:<rootfs path>  ip=<board ip>:<server ip>:<gateway ip>:255.255.255.0:mpc8315e:eth0:off console=ttyS0,115200
>
>    3. Download kernel and dtb to boot kernel.

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel


  parent reply	other threads:[~2011-03-31 16:29 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-31 13:46 [PATCH 0/1] remove u-boot flashing instructions for mpc8315e-rdb Paul Eggleton
2011-03-31 13:46 ` [PATCH 1/1] README.hardware: " Paul Eggleton
2011-03-31 14:19   ` [poky] " Wolfgang Denk
2011-03-31 14:19     ` Wolfgang Denk
2011-03-31 14:23     ` [poky] " Bruce Ashfield
2011-03-31 14:23       ` Bruce Ashfield
2011-03-31 14:45       ` [poky] " Wolfgang Denk
2011-03-31 14:45         ` Wolfgang Denk
2011-03-31 16:32     ` [poky] " Darren Hart
2011-03-31 16:32       ` Darren Hart
2011-03-31 21:31       ` [poky] " Wolfgang Denk
2011-03-31 21:31         ` Wolfgang Denk
2011-03-31 22:18         ` [poky] " Darren Hart
2011-03-31 22:18           ` Darren Hart
2011-03-31 16:27   ` Darren Hart [this message]
2011-03-31 16:27     ` Darren Hart
2011-03-31 14:38 ` [PATCH 0/1] " Richard Purdie
2011-03-31 14:38   ` [OE-core] " Richard Purdie

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=4D94AB7E.4030603@linux.intel.com \
    --to=dvhart@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=paul.eggleton@linux.intel.com \
    --cc=poky@yoctoproject.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 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.