All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabio Estevam <festevam@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] doc: README.mxs: Add instruction to install 'libssl-dev'
Date: Sat, 14 Sep 2013 19:21:39 -0300	[thread overview]
Message-ID: <1379197299-29122-1-git-send-email-festevam@gmail.com> (raw)

From: Fabio Estevam <fabio.estevam@freescale.com>

Building the mx28evk target on a host PC without the 'libssl-dev' package, 
results in the following build error:

mxsimage.c:18:25: fatal error: openssl/evp.h: No such file or directory

Add an entry about the need of installing this package.

Also, remove the 'elftosb' text, since now we have the new 'mxsimage' method.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 doc/README.mxs | 37 +++----------------------------------
 1 file changed, 3 insertions(+), 34 deletions(-)

diff --git a/doc/README.mxs b/doc/README.mxs
index 5d9e72f..265cebd 100644
--- a/doc/README.mxs
+++ b/doc/README.mxs
@@ -27,41 +27,10 @@ Contents
 1) Prerequisites
 ----------------
 
-To make a MXS based board bootable, some tools are necessary. The first one is
-the "elftosb" tool distributed by Freescale Semiconductor. The other one is the
-"mxsboot" tool found in U-Boot source tree.
+To make a MXS based board bootable, it is necessary to install the following
+package on the host PC. On a Debian-based distribution it would be:
 
-Firstly, obtain the elftosb archive from the following location:
-
-	ftp://ftp.denx.de/pub/tools/elftosb-10.12.01.tar.gz
-
-We use a $VER variable here to denote the current version. At the time of
-writing of this document, that is "10.12.01". To obtain the file from command
-line, use:
-
-	$ VER="10.12.01"
-	$ wget ftp://ftp.denx.de/pub/tools/elftosb-${VER}.tar.gz
-
-Extract the file:
-
-	$ tar xzf elftosb-${VER}.tar.gz
-
-Compile the file. We need to manually tell the linker to use also libm:
-
-	$ cd elftosb-${VER}/
-	$ make LIBS="-lstdc++ -lm" elftosb
-
-Optionally, remove debugging symbols from elftosb:
-
-	$ strip bld/linux/elftosb
-
-Finally, install the "elftosb" binary. The "install" target is missing, so just
-copy the binary by hand:
-
-	$ sudo cp bld/linux/elftosb /usr/local/bin/
-
-Make sure the "elftosb" binary can be found in your $PATH, in this case this
-means "/usr/local/bin/" has to be in your $PATH.
+sudo apt-get install libssl-dev
 
 2) Compiling U-Boot for a MXS based board
 -------------------------------------------
-- 
1.8.1.2

             reply	other threads:[~2013-09-14 22:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-14 22:21 Fabio Estevam [this message]
2013-09-15  5:28 ` [U-Boot] [PATCH] doc: README.mxs: Add instruction to install 'libssl-dev' Fabio Estevam
2013-09-15 14:03   ` Marek Vasut
2013-09-15 15:12     ` Fabio Estevam
2013-09-15 15:21       ` Marek Vasut

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=1379197299-29122-1-git-send-email-festevam@gmail.com \
    --to=festevam@gmail.com \
    --cc=u-boot@lists.denx.de \
    /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.