diff options
| author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2011-03-31 14:33:16 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-03-31 22:02:49 +0100 |
| commit | 7e6fb9209e0e7d08e420f33ecab79b51421ca418 (patch) | |
| tree | 06c6c1088e3f16200bb1e83e76e263a13d847e1f /README.hardware | |
| parent | 37f3ef2cfd385f4481b250e00fa74ca9104c1da4 (diff) | |
| download | poky-7e6fb9209e0e7d08e420f33ecab79b51421ca418.tar.gz | |
README.hardware: remove u-boot flashing instructions for mpc8315e-rdb
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.
(From OE-Core rev: 52a85e805797bff2ec53b2356da8daf224460e9e)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'README.hardware')
| -rw-r--r-- | README.hardware | 29 |
1 files changed, 3 insertions, 26 deletions
diff --git a/README.hardware b/README.hardware index 79607f7d31..025c6783fe 100644 --- a/README.hardware +++ b/README.hardware | |||
| @@ -234,32 +234,7 @@ You will need the following: | |||
| 234 | * nfs root setup on your workstation | 234 | * nfs root setup on your workstation |
| 235 | * tftp server installed on your workstation | 235 | * tftp server installed on your workstation |
| 236 | 236 | ||
| 237 | The original U-Boot image on board can't boot kernel versions 2.6.34 or later | 237 | Load the kernel and boot it as follows: |
| 238 | successfully, so the U-Boot image should be upgraded to the latest U-Boot. | ||
| 239 | |||
| 240 | 1. First build a new U-Boot image for mpc8315e-rdb, u-boot.bin.mpc8315erdb, | ||
| 241 | then make it available on your tftp server. To compile the new u-boot: | ||
| 242 | |||
| 243 | $ git clone git://git.denx.de/u-boot.git | ||
| 244 | $ cd u-boot | ||
| 245 | $ git checkout -b v2010.09-mpc8315erdb v2010.09 | ||
| 246 | $ make ARCH=powerpc CROSS_COMPILE=<powerpc cross compiler path> MPC8315ERDB_config | ||
| 247 | $ make ARCH=powerpc CROSS_COMPILE=<powerpc cross compiler path> all | ||
| 248 | $ cp u-boot.bin u-boot.bin.mpc8315erdb | ||
| 249 | |||
| 250 | 2. Set up the environment in U-Boot: | ||
| 251 | |||
| 252 | =>setenv ipaddr <board ip> | ||
| 253 | =>setenv serverip <tftp server ip> | ||
| 254 | |||
| 255 | 3. Flash the new U-Boot image: | ||
| 256 | |||
| 257 | =>tftp 200000 u-boot.bin.mpc8315erdb | ||
| 258 | =>protect off all | ||
| 259 | =>erase fe000000 +60000 | ||
| 260 | =>cp.b 200000 fe000000 60000 | ||
| 261 | |||
| 262 | Then the kernel can be booted successfully: | ||
| 263 | 238 | ||
| 264 | 1. Get the kernel (uImage.mpc8315erdb) and dtb (mpc8315erdb.dtb) files from | 239 | 1. Get the kernel (uImage.mpc8315erdb) and dtb (mpc8315erdb.dtb) files from |
| 265 | the Poky build tmp/deploy directory, and make them available on your tftp | 240 | the Poky build tmp/deploy directory, and make them available on your tftp |
| @@ -267,6 +242,8 @@ Then the kernel can be booted successfully: | |||
| 267 | 242 | ||
| 268 | 2. Set up the environment in U-Boot: | 243 | 2. Set up the environment in U-Boot: |
| 269 | 244 | ||
| 245 | =>setenv ipaddr <board ip> | ||
| 246 | =>setenv serverip <tftp server ip> | ||
| 270 | =>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 | 247 | =>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 |
| 271 | 248 | ||
| 272 | 3. Download kernel and dtb to boot kernel. | 249 | 3. Download kernel and dtb to boot kernel. |
