diff options
author | Moritz Fischer <moritz.fischer@ettus.com> | 2015-03-30 13:21:04 -0700 |
---|---|---|
committer | Moritz Fischer <moritz.fischer@ettus.com> | 2015-03-30 13:21:04 -0700 |
commit | da5311407bdabcb7206f8ffb0b77de32d294f083 (patch) | |
tree | aeb775e7cf414e29f4d8545cc7209f22f65f9f51 /host/docs | |
parent | 1fe6a3a8aa4ae6af023552786a190f2d98de8a87 (diff) | |
download | uhd-da5311407bdabcb7206f8ffb0b77de32d294f083.tar.gz uhd-da5311407bdabcb7206f8ffb0b77de32d294f083.tar.bz2 uhd-da5311407bdabcb7206f8ffb0b77de32d294f083.zip |
docs: e3x0: Add a paragraph on writing the sdcard.
This also fixes some numbering issues in hte paragraphs yocto
paragraphs.
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
Diffstat (limited to 'host/docs')
-rw-r--r-- | host/docs/usrp_e3x0.dox | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/host/docs/usrp_e3x0.dox b/host/docs/usrp_e3x0.dox index 38bf8d926..2965f4dad 100644 --- a/host/docs/usrp_e3x0.dox +++ b/host/docs/usrp_e3x0.dox @@ -179,7 +179,6 @@ knowledge of Linux. $ repo sync $ TEMPLATECONF=`pwd`/meta-ettus/conf source ./oe-core/oe-init-build-env ./build ./bitbake \endcode - At this point you should review the file in conf/local.conf and make sure path names make sense for your machine. @@ -190,27 +189,36 @@ builds) $ export MACHINE="ettus-e300" $ bitbake gnuradio-dev-image \endcode - When this completes, the files needed to create the sd card are in -`tmp-glibc/deploy/images/ettus-e300` +`tmp-glibc/deploy/images/ettus-e300`. See \ref e3x0_upgrade_sd_card for instructions to write the image to your sd card. + -# Build the toolchain. \code{.sh} $ bitbake -c populate_sdk gnuradio-dev-image \endcode - The sdk is in `tmp-glibc/deploy/sdk` - Note that you can set the `MACHINE` variable in `local.conf so that you no longer need to set it from the command line. +-# Using the environment When you log back in, you will need to setup the OpenEmbedded environment again by: + \code{.sh} + $ cd e300-oe-build/oe-core + $ . oe-core/oe-init-build-env ./build ./bitbake + \endcode -\code{.sh} - $ cd e300-oe-build/oe-core - $ . oe-core/oe-init-build-env ./build ./bitbake -\endcode +\section e3x0_upgrade_sd_card Upgrading / Writing image to sd card + +In order to upgrade or reinitialize a sd card for the first time, you can use the 'dd' tool. +Make sure that you are using the right block device for your sd card as failing to do so can wipe your harddrive. + +Replace <yourimage>.direct with your image file name and yoursdcard with your blockdevice e.g. /dev/mmcblk0 or /dev/sdb. + + $ sudo dd if=<yourimage>.direct of=/dev/<yoursdcard> bs=1M + +Notes: The commands will wipe the entire sd card and reinitialize it. Newer images need a 8GB sd card. \section e3x0_load_fpga_imgs Specifying a Non-standard FPGA Image |