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 <[email protected]>
Envoyé : jeudi 20 mars 2014 14:30
À : CARAYOL Sophie; [email protected]
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
[email protected]

Reply via email to