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>
This commit is contained in:
parent
37f3ef2cfd
commit
7e6fb9209e
|
@ -234,32 +234,7 @@ You will need the following:
|
||||||
* nfs root setup on your workstation
|
* nfs root setup on your workstation
|
||||||
* tftp server installed 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
|
Load the kernel and boot it as follows:
|
||||||
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:
|
|
||||||
|
|
||||||
1. Get the kernel (uImage.mpc8315erdb) and dtb (mpc8315erdb.dtb) files from
|
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
|
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:
|
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
|
=>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.
|
3. Download kernel and dtb to boot kernel.
|
||||||
|
|
Loading…
Reference in New Issue