mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: CARAYOL Sophie <s.carayol@lacroix-electronics.com>
To: Juergen Beisert <jbe@pengutronix.de>,
	"ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Subject: Re: [ptxdist] Compilation of OSELAS Toolchain
Date: Thu, 20 Mar 2014 14:35:40 +0000	[thread overview]
Message-ID: <657f0f8acddf4b749858a644f0e0a6a7@AMSPR07MB470.eurprd07.prod.outlook.com> (raw)
In-Reply-To: <201403201430.03312.jbe@pengutronix.de>

Hi Juergen,

1- OK for the mailing list
2- Yes, the directory "/opt/OSELAS.Toolchain-2013.12.1/arm-v7a-linux-gnueabihf/" exists and contains a toolchain.
3- I wrote a source and need to create all needed files to be used with Ptxdist. I usually use "how to become a Ptxdist Guru" but there is nothing explained to start from sources without makefile, etc.
4- I have created another project for my sources and don't compile in the toolchain directory
5- It seems the problem appears when I launched the "$ pxtdist compile my_packet" command. Something was broken but where ? I have installed again the toolchain and ptxdist but the problem remains...

Best regards,
Sophie




________________________________________
De : Juergen Beisert <jbe@pengutronix.de>
Envoyé : jeudi 20 mars 2014 14:30
À : CARAYOL Sophie; ptxdist@pengutronix.de
Objet : Re: [ptxdist] Compilation of OSELAS Toolchain

Hi Sophie,

please, please, keep the mailing list at least on CC.

On Thursday 20 March 2014 10:33:03 CARAYOL Sophie wrote:
> it's not the problem of this file. It's the same with the original file. I
> joined the file i used (there was light changes).

--- arm-v7a-linux-gnueabihf_gcc-4.8.3_glibc-2.18_binutils-2.24_kernel-3.12-sanitized.ptxconfig
+++ arm-v7a-linux-gnueabihf_gcc-4.8.3_glibc-2.18_binutils-2.24_kernel-3.13.6-sanitized.ptxconfig
@@ -57,13 +57,13 @@
 PTXCONF_CROSS_BINUTILS_MD5="e0f71a7b2ddab0f8612336ac81d9636b"
 # PTXCONF_CROSS_ELF2FLT is not set
 PTXCONF_KERNEL_HEADERS=y
-PTXCONF_KERNEL_HEADERS_VERSION="3.12"
-PTXCONF_KERNEL_HEADERS_MD5="cc6ee608854e0da4b64f6c1ff8b6398c"
+PTXCONF_KERNEL_HEADERS_VERSION="3.13.6"
+PTXCONF_KERNEL_HEADERS_MD5="445aa27da818617409982f42902a6e41"
 PTXCONF_KERNEL_HEADERS_SANITIZED=y
 PTXCONF_CROSS_GCC=y
 PTXCONF_CROSS_GCC_VERSION="4.8.3"
-PTXCONF_CROSS_GCC_MD5="729f4ac34ad404892ecafb991bea2da5"
-PTXCONF_CROSS_GCC_DL_VERSION="linaro-4.8-2013.11"
+PTXCONF_CROSS_GCC_MD5="2b3bbea7806931e2048e0fc5983021c8"
+PTXCONF_CROSS_GCC_DL_VERSION="linaro-4.8-2014.02"
 PTXCONF_CROSS_GCC_PKGVERSION="${PTXCONF_PROJECT} ${PTXCONF_CROSS_GCC_DL_VERSION}"
 PTXCONF_CROSS_GCC_43=y
 PTXCONF_CROSS_GCC_45=y

Not that much changes. But when I use your config file and start the build, I
get:

---------------------------------------------------------------------
[jbe@thebe]> ptxdist go
error: '/opt/OSELAS.Toolchain-2013.12.1/arm-v7a-linux-gnueabihf/gcc-4.8.3-glibc-2.18-binutils-2.24-kernel-3.13.6-sanitized'
             does not exist and cannot be created!
             Please create that dir with write permissions for you.

press enter to let sudo do that job!
---------------------------------------------------------------------

Where is this step on your machine? Does the "/opt/OSELAS.Toolchain-2013.12.1/arm-v7a-linux-gnueabihf/"
directory already exist and already contains a toolchain?

> The problem occurred the first time when I tried to use the joined document
> "Application Note : work with sources".

How do "Application Note : work with sources" correlates with building a
toolchain? What do you intend to do?

> Maybe, I made something wrong... but there are bugs also in the document :-)

First of all: this document is veeeery old. Please try the current "How to
become a PTXdist guru" [1] instead.

> so I gave up and the problem remains. Maybe the problem is linked to
> rules files...

Please keep the toolchain building a separate step. Start with the
"arm-v7a-linux-gnueabihf" toolchain.

If you want to build your own application with the help of PTXdist, create
a new PTXdist project, do not re-use the toolchain project for this purpose.

Regards,
Juergen

[1] http://www.pengutronix.de/software/ptxdist/appnotes/OSELAS.BSP-Pengutronix-Generic-arm-Quickstart.pdf

--
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |
________________________________

[http://www.lacroix-electronics-solutions.com/sites/default/files/pictures/achievements/201401_MEDTECHPHARMA_LE_exhibit.png]

________________________________
 Pour des raisons légales et de sécurité, les informations contenues dans ce message ne sont pas juridiquement contraignantes. Sur demande, nous vous adresserons une confirmation écrite nous engageant. Les informations contenues dans ce message électronique ont un caractère strictement confidentiel et sont exclusivement destinées à la personne à laquelle il est adressé. Toute divulgation, utilisation, diffusion ou reproduction de tout ou partie de ce message, ou des informations qu'il contient, est interdite. Ce message est destiné exclusivement à la personne à laquelle il est adressé ou son représentant. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de détruire ce message.
For legal and security reasons the information provided in this e-mail is not legally binding. Upon request we would be pleased to provide you with a legally binding confirmation in written form. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer..
Aus gesetzlichen und Sicherheitsgründen sind die in dieser Nachricht enthaltenen Informationen rechtlich unverbindlich. Auf Anfrage senden wir Ihnen eine verbindliche, schriftliche Bestätigung. Die in dieser E-Mail enthaltenen Informationen sind streng vertraulich und ausschließlich für den Empfänger bestimmt. Jede vollständige oder teilweise Veröffentlichung, Verwendung, Verbreitung oder Vervielfältigung dieser Nachricht oder der darin enthaltenen Informationen ist untersagt. Diese Nachricht ist ausschließlich für die Person bestimmt, an die sie adressiert ist, oder für ihren Vertreter. Sollten Sie diese Nachricht versehentlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie die Nachricht..
Disclaimer Lacroix Electronics

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2014-03-20 14:35 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-17 11:04 Sophie
2014-03-17 13:14 ` Juergen Beisert
2014-03-17 20:09 ` Alexander Aring
2014-03-18  8:06   ` CARAYOL Sophie
2014-03-19  8:04     ` Juergen Beisert
2014-03-19 10:37       ` CARAYOL Sophie
2014-03-19 10:58         ` Juergen Beisert
2014-03-20  7:58           ` CARAYOL Sophie
2014-03-20  8:30             ` Juergen Beisert
2014-03-20  9:33               ` CARAYOL Sophie
2014-03-20 13:30                 ` Juergen Beisert
2014-03-20 14:35                   ` CARAYOL Sophie [this message]
2014-03-20 15:39                     ` Juergen Beisert
2014-03-21 13:50                       ` CARAYOL Sophie
2014-03-19 13:44         ` Uwe Kleine-König

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=657f0f8acddf4b749858a644f0e0a6a7@AMSPR07MB470.eurprd07.prod.outlook.com \
    --to=s.carayol@lacroix-electronics.com \
    --cc=jbe@pengutronix.de \
    --cc=ptxdist@pengutronix.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox