* [ptxdist] different ptxdist versions
@ 2013-08-29 9:53 Ruben Louw
2013-08-29 9:59 ` Gieseler, Christian
2013-08-29 10:10 ` Alexander Dahl
0 siblings, 2 replies; 7+ messages in thread
From: Ruben Louw @ 2013-08-29 9:53 UTC (permalink / raw)
To: ptxdist
[-- Attachment #1.1: Type: text/plain, Size: 354 bytes --]
Hi All
I installed the ptxdist version 2012.12.0 and I installed another (for
mini6410 to play around with) which was ptxdist 2011.03.0. is there a way
to switch between the two versions? In the documentation it states that you
have to build certain bsp's with certain ptxdist versions.
i'm still very much a noob, but getting there.
thank you
Ruben
[-- Attachment #1.2: Type: text/html, Size: 482 bytes --]
[-- Attachment #2: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ptxdist] different ptxdist versions
2013-08-29 9:53 [ptxdist] different ptxdist versions Ruben Louw
@ 2013-08-29 9:59 ` Gieseler, Christian
2013-08-29 10:01 ` Ruben Louw
2013-08-30 8:54 ` Uwe Kleine-König
2013-08-29 10:10 ` Alexander Dahl
1 sibling, 2 replies; 7+ messages in thread
From: Gieseler, Christian @ 2013-08-29 9:59 UTC (permalink / raw)
To: ptxdist
[-- Attachment #1.1: Type: text/plain, Size: 935 bytes --]
Hi Ruben,
you should be able to switch by creating a symbolic link in you BSP root
folder like:
ln -s /usr/local/bin/ptxdist-2013.05.0 p
which results in
p -> /usr/local/bin/ptxdist-2013.05.0
Now you just execute ptxdist with ./p in your BSP folder.
Best Regards
Christian
From: ptxdist-bounces@pengutronix.de
[mailto:ptxdist-bounces@pengutronix.de] On Behalf Of Ruben Louw
Sent: Thursday, August 29, 2013 11:54 AM
To: ptxdist@pengutronix.de
Subject: [ptxdist] different ptxdist versions
Hi All
I installed the ptxdist version 2012.12.0 and I installed another (for
mini6410 to play around with) which was ptxdist 2011.03.0. is there a
way to switch between the two versions? In the documentation it states
that you have to build certain bsp's with certain ptxdist versions.
i'm still very much a noob, but getting there.
thank you
Ruben
[-- Attachment #1.2: Type: text/html, Size: 5055 bytes --]
[-- Attachment #2: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ptxdist] different ptxdist versions
2013-08-29 9:59 ` Gieseler, Christian
@ 2013-08-29 10:01 ` Ruben Louw
2013-08-29 10:04 ` Schenk, Gavin
2013-08-30 8:54 ` Uwe Kleine-König
1 sibling, 1 reply; 7+ messages in thread
From: Ruben Louw @ 2013-08-29 10:01 UTC (permalink / raw)
To: ptxdist
[-- Attachment #1.1: Type: text/plain, Size: 1343 bytes --]
thank you Christian, i'll try that.
Kind Regards
Ruben
On Thu, Aug 29, 2013 at 11:59 AM, Gieseler, Christian <CG@eks-engel.de>wrote:
> Hi Ruben,****
>
> ** **
>
> you should be able to switch by creating a symbolic link in you BSP root
> folder like:****
>
> ln –s /usr/local/bin/ptxdist-2013.05.0 p****
>
> ****
>
> which results in ****
>
> p -> /usr/local/bin/ptxdist-2013.05.0****
>
> ** **
>
> Now you just execute ptxdist with ./p in your BSP folder.****
>
> ** **
>
> Best Regards****
>
> Christian****
>
> ** **
>
> *From:* ptxdist-bounces@pengutronix.de [mailto:
> ptxdist-bounces@pengutronix.de] *On Behalf Of *Ruben Louw
> *Sent:* Thursday, August 29, 2013 11:54 AM
> *To:* ptxdist@pengutronix.de
> *Subject:* [ptxdist] different ptxdist versions****
>
> ** **
>
> Hi All****
>
> ****
>
> I installed the ptxdist version 2012.12.0 and I installed another (for
> mini6410 to play around with) which was ptxdist 2011.03.0. is there a way
> to switch between the two versions? In the documentation it states that you
> have to build certain bsp's with certain ptxdist versions. ****
>
> ****
>
> i'm still very much a noob, but getting there.****
>
> ****
>
> thank you****
>
> ****
>
> Ruben****
>
> --
> ptxdist mailing list
> ptxdist@pengutronix.de
>
>
[-- Attachment #1.2: Type: text/html, Size: 4975 bytes --]
[-- Attachment #2: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ptxdist] different ptxdist versions
2013-08-29 10:01 ` Ruben Louw
@ 2013-08-29 10:04 ` Schenk, Gavin
0 siblings, 0 replies; 7+ messages in thread
From: Schenk, Gavin @ 2013-08-29 10:04 UTC (permalink / raw)
To: ptxdist
[-- Attachment #1.1: Type: text/plain, Size: 1932 bytes --]
Hi,
after you changed this call:
./p migrate
in your BSP folder. This should migrate the old config files to the new ptxdist version.
Good luck :)
Gavin
From: ptxdist-bounces@pengutronix.de [mailto:ptxdist-bounces@pengutronix.de] On Behalf Of Ruben Louw
Sent: Thursday, August 29, 2013 12:01 PM
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] different ptxdist versions
thank you Christian, i'll try that.
Kind Regards
Ruben
On Thu, Aug 29, 2013 at 11:59 AM, Gieseler, Christian <CG@eks-engel.de<mailto:CG@eks-engel.de>> wrote:
Hi Ruben,
you should be able to switch by creating a symbolic link in you BSP root folder like:
ln -s /usr/local/bin/ptxdist-2013.05.0 p
which results in
p -> /usr/local/bin/ptxdist-2013.05.0
Now you just execute ptxdist with ./p in your BSP folder.
Best Regards
Christian
From: ptxdist-bounces@pengutronix.de<mailto:ptxdist-bounces@pengutronix.de> [mailto:ptxdist-bounces@pengutronix.de<mailto:ptxdist-bounces@pengutronix.de>] On Behalf Of Ruben Louw
Sent: Thursday, August 29, 2013 11:54 AM
To: ptxdist@pengutronix.de<mailto:ptxdist@pengutronix.de>
Subject: [ptxdist] different ptxdist versions
Hi All
I installed the ptxdist version 2012.12.0 and I installed another (for mini6410 to play around with) which was ptxdist 2011.03.0. is there a way to switch between the two versions? In the documentation it states that you have to build certain bsp's with certain ptxdist versions.
i'm still very much a noob, but getting there.
thank you
Ruben
--
ptxdist mailing list
ptxdist@pengutronix.de<mailto:ptxdist@pengutronix.de>
Eckelmann Aktiengesellschaft
Vorstand: Dr.-Ing. Gerd Eckelmann (Vorsitzender)
Dr.-Ing. Peter Cordes, Dr.-Ing. Frank-Thomas Mellert
Vorsitzender des Aufsichtsrats: Hubertus G. Krossa
Sitz der Gesellschaft: Berliner Str. 161, 65205 Wiesbaden, Amtsgericht Wiesbaden HRB 12636
http://www.eckelmann.de
[-- Attachment #1.2: Type: text/html, Size: 8742 bytes --]
[-- Attachment #2: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ptxdist] different ptxdist versions
2013-08-29 9:53 [ptxdist] different ptxdist versions Ruben Louw
2013-08-29 9:59 ` Gieseler, Christian
@ 2013-08-29 10:10 ` Alexander Dahl
2013-08-29 10:13 ` Ruben Louw
1 sibling, 1 reply; 7+ messages in thread
From: Alexander Dahl @ 2013-08-29 10:10 UTC (permalink / raw)
To: ptxdist
Hei hei,
Am 2013-08-29 11:53, schrieb Ruben Louw:
> I installed the ptxdist version 2012.12.0 and I installed another (for
> mini6410 to play around with) which was ptxdist 2011.03.0. is there a way
> to switch between the two versions? In the documentation it states that you
> have to build certain bsp's with certain ptxdist versions.
You can install more than one version in parallel and call them by
version number like ptxdist-2012.12.0 and ptxdist-2011.03.0 and so on.
If you call ptxdist only, it's a symlink to the last version you
installed (read: not necessarily the newest ptxdist version).
HTH & Greets
Alex
--
»With the first link, the chain is forged. The first speech censured,
the first thought forbidden, the first freedom denied, chains us all
irrevocably.« (Jean-Luc Picard, quoting Judge Aaron Satie)
*** GnuPG-FP: 02C8 A590 7FE5 CA5F 3601 D1D5 8FBA 7744 CC87 10D0 ***
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ptxdist] different ptxdist versions
2013-08-29 10:10 ` Alexander Dahl
@ 2013-08-29 10:13 ` Ruben Louw
0 siblings, 0 replies; 7+ messages in thread
From: Ruben Louw @ 2013-08-29 10:13 UTC (permalink / raw)
To: ptxdist
[-- Attachment #1.1: Type: text/plain, Size: 1144 bytes --]
excellent, thanks guys for all your help!
On Thu, Aug 29, 2013 at 12:10 PM, Alexander Dahl <post@lespocky.de> wrote:
> Hei hei,
>
> Am 2013-08-29 11:53, schrieb Ruben Louw:
> > I installed the ptxdist version 2012.12.0 and I installed another (for
> > mini6410 to play around with) which was ptxdist 2011.03.0. is there a way
> > to switch between the two versions? In the documentation it states that
> you
> > have to build certain bsp's with certain ptxdist versions.
>
> You can install more than one version in parallel and call them by
> version number like ptxdist-2012.12.0 and ptxdist-2011.03.0 and so on.
> If you call ptxdist only, it's a symlink to the last version you
> installed (read: not necessarily the newest ptxdist version).
>
> HTH & Greets
> Alex
>
> --
> »With the first link, the chain is forged. The first speech censured,
> the first thought forbidden, the first freedom denied, chains us all
> irrevocably.« (Jean-Luc Picard, quoting Judge Aaron Satie)
> *** GnuPG-FP: 02C8 A590 7FE5 CA5F 3601 D1D5 8FBA 7744 CC87 10D0 ***
>
> --
> ptxdist mailing list
> ptxdist@pengutronix.de
>
[-- Attachment #1.2: Type: text/html, Size: 1679 bytes --]
[-- Attachment #2: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ptxdist] different ptxdist versions
2013-08-29 9:59 ` Gieseler, Christian
2013-08-29 10:01 ` Ruben Louw
@ 2013-08-30 8:54 ` Uwe Kleine-König
1 sibling, 0 replies; 7+ messages in thread
From: Uwe Kleine-König @ 2013-08-30 8:54 UTC (permalink / raw)
To: ptxdist
Hello,
[reformated Christian Gieseler's mail to make it appear to use proper
quoting]
On Thu, Aug 29, 2013 at 11:59:38AM +0200, Gieseler, Christian wrote:
> > I installed the ptxdist version 2012.12.0 and I installed another (for
> > mini6410 to play around with) which was ptxdist 2011.03.0. is there a
> > way to switch between the two versions? In the documentation it states
> > that you have to build certain bsp's with certain ptxdist versions.
> you should be able to switch by creating a symbolic link in you BSP root
> folder like:
>
> ln -s /usr/local/bin/ptxdist-2013.05.0 p
>
> which results in
>
> p -> /usr/local/bin/ptxdist-2013.05.0
I'm using a script that autoselects the right ptxdist:
----------------------------------8<-----------------------------------
#! /bin/sh
debug() {
echo "$*"
}
if test -h p; then
exec ./p "$@"
fi
# guess ptxconfig to take
for ptxconfig in selected_ptxconfig configs/ptxconfig; do
if test -f "$ptxconfig"; then
break
fi
done
debug "Using \"$ptxconfig\""
ptxdistversion=$(sed -n 's/PTXCONF_CONFIGFILE_VERSION="\([^"]*\)"/\1/p; T; q' -- "$ptxconfig")
debug "Found version $ptxdistversion"
# todo: guess path to ptxdist.git if it's an unreleased version
case "$ptxdistversion" in
20[0-9][0-9].[01][0-9].[0-9])
exec "/opt/bin/ptxdist-$ptxdistversion" "$@"
;;
*)
echo "Sorry"
;;
esac
----------------------------------8<-----------------------------------
Then you don't even have to know the right version after you checked out
your project.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2013-08-30 8:54 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-29 9:53 [ptxdist] different ptxdist versions Ruben Louw
2013-08-29 9:59 ` Gieseler, Christian
2013-08-29 10:01 ` Ruben Louw
2013-08-29 10:04 ` Schenk, Gavin
2013-08-30 8:54 ` Uwe Kleine-König
2013-08-29 10:10 ` Alexander Dahl
2013-08-29 10:13 ` Ruben Louw
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox