Skip to contentSkip to conversation

Chase Maupin : linux-ti33x-psp: add am335x-evm support

DISCUSSION Arago Project git 5 participants 9 messages Mar 1, 2012 – Mar 4, 2012

lore
Share & tools
lore
#0 lore raw
Module: meta-ti
Branch: master
Commit: 8172b803e73126c2e336050d43251538bdc4d09b
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=8172b803e73126c2e336050d43251538bdc4d09b
Author: Chase Maupin <[email protected]>
Date:   Tue Feb 28 17:28:14 2012 -0600

linux-ti33x-psp: add am335x-evm support

* Added a defconfig file for the am335x-evm and moved the common configs directory from the beaglebone directory to the top of the kernel files tree.

---

 .../linux/linux-ti33x-psp-3.2/am335x-evm/defconfig | 2640 ++++++++++++++++++++
 .../{beaglebone => }/configs/empty                 |    0
 2 files changed, 2640 insertions(+), 0 deletions(-)

Diff: http://arago-project.org/git/meta-ti.git?a=commitdiff;h=8172b803e73126c2e336050d43251538bdc4d09b

#1 lore raw

Op 1 mrt. 2012, om 22:28 heeft Arago Project git het volgende geschreven:

Quoted 14 lines
Module: meta-ti
Branch: master
Commit: 8172b803e73126c2e336050d43251538bdc4d09b
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=8172b803e73126c2e336050d43251538bdc4d09b
Author: Chase Maupin <[email protected]>
Date:   Tue Feb 28 17:28:14 2012 -0600

linux-ti33x-psp: add am335x-evm support

* Added a defconfig file for the am335x-evm and moved the common configs directory from the beaglebone directory to the top of the kernel files tree.

Quoted 8 lines

---

.../linux/linux-ti33x-psp-3.2/am335x-evm/defconfig | 2640 ++++++++++++++++++++
.../{beaglebone => }/configs/empty | 0

2 files changed, 2640 insertions(+), 0 deletions(-)

As Gary points out, this breaks the beaglebone kernel build

regards,

Koen

#2 lore raw

Koen,

Looks like my build was not clean. I see now that when I clean everything even the am335x-evm build will fail to find the configs. So now the question is why this happens. I'm used to if the configs wasn't found in the beaglebone or am335x-evm directory, you would fall back to looking in the base linux-ti33x-psp-3.2 directory. However, it looks like this fallback does not happen. My reading of FILESPATH is that the linux/linux-ti33x-psp-3.2 directory is in the FILESPATH.

Sincerely,
Chase Maupin
Software Applications
ARM MPU

For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/

Quoted 42 lines

-----Original Message-----
From: Koen Kooi [mailto:[email protected]]
Sent: Friday, March 02, 2012 8:58 AM
To: Maupin, Chase
Cc: [email protected]
Subject: Re: [meta-ti] Chase Maupin : linux-ti33x-psp: add am335x- evm support

Op 1 mrt. 2012, om 22:28 heeft Arago Project git het volgende geschreven:

Quoted 4 lines
Module: meta-ti
Branch: master
Commit: 8172b803e73126c2e336050d43251538bdc4d09b
URL:    http://arago-project.org/git/meta-

ti.git?a=commit;h=8172b803e73126c2e336050d43251538bdc4d09b

Quoted 10 lines
Author: Chase Maupin <[email protected]>
Date:   Tue Feb 28 17:28:14 2012 -0600

linux-ti33x-psp: add am335x-evm support

* Added a defconfig file for the am335x-evm and moved the common configs directory from the beaglebone directory to the top of the kernel files tree.

Quoted 6 lines

---

.../linux/linux-ti33x-psp-3.2/am335x-evm/defconfig | 2640

++++++++++++++++++++

Quoted 2 lines

.../{beaglebone => }/configs/empty | 0

2 files changed, 2640 insertions(+), 0 deletions(-)

As Gary points out, this breaks the beaglebone kernel build

regards,

Koen

#3 lore raw

Any ETA on a fix? If it will take a few days I suggest reverting the cset that moved the configs/ dir so I won't have to deal with the weekend workers hitting this bug :)

regards,

Koen

Op 2 mrt. 2012, om 16:49 heeft Maupin, Chase het volgende geschreven:

Quoted 56 lines

Koen,

Looks like my build was not clean. I see now that when I clean everything even the am335x-evm build will fail to find the configs. So now the question is why this happens. I'm used to if the configs wasn't found in the beaglebone or am335x-evm directory, you would fall back to looking in the base linux-ti33x-psp-3.2 directory. However, it looks like this fallback does not happen. My reading of FILESPATH is that the linux/linux-ti33x-psp-3.2 directory is in the FILESPATH.

Sincerely,
Chase Maupin
Software Applications
ARM MPU

For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/

Quoted 42 lines

-----Original Message-----
From: Koen Kooi [mailto:[email protected]]
Sent: Friday, March 02, 2012 8:58 AM
To: Maupin, Chase
Cc: [email protected]
Subject: Re: [meta-ti] Chase Maupin : linux-ti33x-psp: add am335x- evm support

Op 1 mrt. 2012, om 22:28 heeft Arago Project git het volgende geschreven:

Quoted 4 lines
Module: meta-ti
Branch: master
Commit: 8172b803e73126c2e336050d43251538bdc4d09b
URL:    http://arago-project.org/git/meta-

ti.git?a=commit;h=8172b803e73126c2e336050d43251538bdc4d09b

Quoted 10 lines
Author: Chase Maupin <[email protected]>
Date:   Tue Feb 28 17:28:14 2012 -0600

linux-ti33x-psp: add am335x-evm support

* Added a defconfig file for the am335x-evm and moved the common configs directory from the beaglebone directory to the top of the kernel files tree.

Quoted 6 lines

---

.../linux/linux-ti33x-psp-3.2/am335x-evm/defconfig | 2640

++++++++++++++++++++

Quoted 2 lines

.../{beaglebone => }/configs/empty | 0

2 files changed, 2640 insertions(+), 0 deletions(-)

As Gary points out, this breaks the beaglebone kernel build

regards,

Koen

#4 lore raw

I'll make a patch this afternoon to put configs in both directories. Still don't know why it isn't finding the normal configs directory and keeps looking in the MACHINE directory.

Sincerely,
Chase Maupin
Software Applications
ARM MPU
e-mail: [email protected]
phone: (214) 567-2950

For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/

Quoted 84 lines

-----Original Message-----
From: Koen Kooi [mailto:[email protected]]
Sent: Friday, March 02, 2012 2:30 PM
To: Maupin, Chase
Cc: [email protected]
Subject: Re: [meta-ti] Chase Maupin : linux-ti33x-psp: add am335x- evm support

Any ETA on a fix? If it will take a few days I suggest reverting the cset that moved the configs/ dir so I won't have to deal with the weekend workers hitting this bug :)

regards,

Koen

Op 2 mrt. 2012, om 16:49 heeft Maupin, Chase het volgende geschreven:

Quoted 3 lines

Koen,

Looks like my build was not clean. I see now that when I clean

everything even the am335x-evm build will fail to find the configs. So now the question is why this happens. I'm used to if the configs wasn't found in the beaglebone or am335x-evm directory, you would fall back to looking in the base linux-ti33x-psp-3.2 directory. However, it looks like this fallback does not happen. My reading of FILESPATH is that the linux/linux-ti33x-psp-3.2 directory is in the FILESPATH.

Quoted 17 lines

Sincerely,
Chase Maupin
Software Applications
ARM MPU

For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/

Quoted 6 lines

-----Original Message-----
From: Koen Kooi [mailto:[email protected]]
Sent: Friday, March 02, 2012 8:58 AM
To: Maupin, Chase
Cc: [email protected]
Subject: Re: [meta-ti] Chase Maupin : linux-ti33x-psp: add

am335x-

Quoted 10 lines
Quoted 10 lines

evm support

Op 1 mrt. 2012, om 22:28 heeft Arago Project git het volgende geschreven:

Quoted 4 lines
Module: meta-ti
Branch: master
Commit: 8172b803e73126c2e336050d43251538bdc4d09b
URL:    http://arago-project.org/git/meta-
Quoted 8 lines
Quoted 8 lines

ti.git?a=commit;h=8172b803e73126c2e336050d43251538bdc4d09b

Quoted 7 lines
Author: Chase Maupin <[email protected]>
Date:   Tue Feb 28 17:28:14 2012 -0600

linux-ti33x-psp: add am335x-evm support

* Added a defconfig file for the am335x-evm and moved the

common

Quoted 18 lines
Quoted 18 lines
Quoted 9 lines

configs directory from the beaglebone directory to the top of the kernel files tree.

---

.../linux/linux-ti33x-psp-3.2/am335x-evm/defconfig | 2640

++++++++++++++++++++

Quoted 2 lines

.../{beaglebone => }/configs/empty | 0

2 files changed, 2640 insertions(+), 0 deletions(-)

As Gary points out, this breaks the beaglebone kernel build

regards,

Koen

#5 lore raw
Quoted 3 lines · Chase

I'll make a patch this afternoon to put configs in both directories. Still don't know why it isn't finding the normal configs directory and keeps looking in the MACHINE directory.

I've been trying to debug it and looks like it's broken in bitbake's fetcher, which is not very obvious, but it tries to unpack there and for some reason defaults to machine-specific directory. Maybe it doesn't like * in the path... I'll keep looking into it for now, but if I can't fix it, I'll push a workaround.

Signature · 1 line
Denys
Quoted 90 lines
Quoted 59 lines

-----Original Message-----
From: Koen Kooi [mailto:[email protected]]
Sent: Friday, March 02, 2012 2:30 PM
To: Maupin, Chase
Cc: [email protected]
Subject: Re: [meta-ti] Chase Maupin : linux-ti33x-psp: add am335x- evm support

Any ETA on a fix? If it will take a few days I suggest reverting the cset that moved the configs/ dir so I won't have to deal with the weekend workers hitting this bug :)

regards,

Koen

Op 2 mrt. 2012, om 16:49 heeft Maupin, Chase het volgende geschreven:

Quoted 3 lines

Koen,

Looks like my build was not clean. I see now that when I clean

everything even the am335x-evm build will fail to find the configs. So now the question is why this happens. I'm used to if the configs wasn't found in the beaglebone or am335x-evm directory, you would fall back to looking in the base linux-ti33x-psp-3.2 directory. However, it looks like this fallback does not happen. My reading of FILESPATH is that the linux/linux-ti33x-psp-3.2 directory is in the FILESPATH.

Quoted 17 lines

Sincerely,
Chase Maupin
Software Applications
ARM MPU

For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/

Quoted 6 lines

-----Original Message-----
From: Koen Kooi [mailto:[email protected]]
Sent: Friday, March 02, 2012 8:58 AM
To: Maupin, Chase
Cc: [email protected]
Subject: Re: [meta-ti] Chase Maupin : linux-ti33x-psp: add

am335x-

Quoted 12 lines
Quoted 12 lines

evm support

Op 1 mrt. 2012, om 22:28 heeft Arago Project git het volgende geschreven:

Quoted 4 lines
Module: meta-ti
Branch: master
Commit: 8172b803e73126c2e336050d43251538bdc4d09b
URL:    http://arago-project.org/git/meta-

ti.git?a=commit;h=8172b803e73126c2e336050d43251538bdc4d09b

Quoted 1 line
Quoted 25 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Author: Chase Maupin <[email protected]>
Date:   Tue Feb 28 17:28:14 2012 -0600

linux-ti33x-psp: add am335x-evm support

* Added a defconfig file for the am335x-evm and moved the

common

Quoted 18 lines
Quoted 18 lines
Quoted 9 lines

configs directory from the beaglebone directory to the top of the kernel files tree.

---

.../linux/linux-ti33x-psp-3.2/am335x-evm/defconfig | 2640

++++++++++++++++++++

Quoted 2 lines

.../{beaglebone => }/configs/empty | 0

2 files changed, 2640 insertions(+), 0 deletions(-)

As Gary points out, this breaks the beaglebone kernel build

regards,

Koen

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

#6 lore raw
Quoted 10 lines · Denys Dmytriyenko
Quoted 3 lines · Chase

I'll make a patch this afternoon to put configs in both directories. Still don't know why it isn't finding the normal configs directory and keeps looking in the MACHINE directory.

I've been trying to debug it and looks like it's broken in bitbake's fetcher, which is not very obvious, but it tries to unpack there and for some reason defaults to machine-specific directory. Maybe it doesn't like * in the path... I'll keep looking into it for now, but if I can't fix it, I'll push a workaround.

Ok, please test the latest "fix":

BitBake's fetch2 unpack() seems to be picky about multi-kernel's file://configs/* and defaults to only looking into machine-specific location. This fixes the issue, as tested by building these platforms:
beaglebone, am335x-evm and am180x-evm.

Seems to build those platforms, when multi-kernel configs reside in machine-specific directories and outside. But more testing is definitely needed.

As a side note, sstate seems to be really broken, as building the first machine in a clean setup works fine, but then trying to build a second machine in the same setup leads to weird breakages in perl, gcc-cross-initial, gcc-cross-intermediate, then binutils etc. Even though both machines are armv7a and supposed to share those packages w/o rebuilding them... Cleaning sstate and/or entire build takes too much time and is really painful switching between platforms.

Signature · 1 line
Denys
Quoted 95 lines
Quoted 81 lines
Quoted 81 lines

-----Original Message-----
From: Koen Kooi [mailto:[email protected]]
Sent: Friday, March 02, 2012 2:30 PM
To: Maupin, Chase
Cc: [email protected]
Subject: Re: [meta-ti] Chase Maupin : linux-ti33x-psp: add am335x- evm support

Any ETA on a fix? If it will take a few days I suggest reverting the cset that moved the configs/ dir so I won't have to deal with the weekend workers hitting this bug :)

regards,

Koen

Op 2 mrt. 2012, om 16:49 heeft Maupin, Chase het volgende geschreven:

Quoted 3 lines

Koen,

Looks like my build was not clean. I see now that when I clean

everything even the am335x-evm build will fail to find the configs. So now the question is why this happens. I'm used to if the configs wasn't found in the beaglebone or am335x-evm directory, you would fall back to looking in the base linux-ti33x-psp-3.2 directory. However, it looks like this fallback does not happen. My reading of FILESPATH is that the linux/linux-ti33x-psp-3.2 directory is in the FILESPATH.

Quoted 17 lines

Sincerely,
Chase Maupin
Software Applications
ARM MPU

For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/

Quoted 6 lines

-----Original Message-----
From: Koen Kooi [mailto:[email protected]]
Sent: Friday, March 02, 2012 8:58 AM
To: Maupin, Chase
Cc: [email protected]
Subject: Re: [meta-ti] Chase Maupin : linux-ti33x-psp: add

am335x-

Quoted 10 lines
Quoted 10 lines

evm support

Op 1 mrt. 2012, om 22:28 heeft Arago Project git het volgende geschreven:

Quoted 4 lines
Module: meta-ti
Branch: master
Commit: 8172b803e73126c2e336050d43251538bdc4d09b
URL:    http://arago-project.org/git/meta-
Quoted 8 lines
Quoted 8 lines

ti.git?a=commit;h=8172b803e73126c2e336050d43251538bdc4d09b

Quoted 7 lines
Author: Chase Maupin <[email protected]>
Date:   Tue Feb 28 17:28:14 2012 -0600

linux-ti33x-psp: add am335x-evm support

* Added a defconfig file for the am335x-evm and moved the

common

Quoted 15 lines
Quoted 15 lines
Quoted 9 lines

configs directory from the beaglebone directory to the top of the kernel files tree.

---

.../linux/linux-ti33x-psp-3.2/am335x-evm/defconfig | 2640

++++++++++++++++++++

Quoted 2 lines

.../{beaglebone => }/configs/empty | 0

2 files changed, 2640 insertions(+), 0 deletions(-)

As Gary points out, this breaks the beaglebone kernel build

Quoted 9 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

regards,

Koen

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

#7 lore raw
Quoted 8 lines · Denys Dmytriyenko

As a side note, sstate seems to be really broken, as building the first machine in a clean setup works fine, but then trying to build a second machine in the same setup leads to weird breakages in perl, gcc-cross-initial, gcc-cross-intermediate, then binutils etc. Even though both machines are armv7a and supposed to share those packages w/o rebuilding them... Cleaning sstate and/or entire build takes too much time and is really painful switching between platforms.

Please report this on oe-core list if you have not already.

#8 lore raw
Quoted 11 lines · William Mills
Quoted 8 lines · Denys Dmytriyenko

As a side note, sstate seems to be really broken, as building the first machine in a clean setup works fine, but then trying to build a second machine in the same setup leads to weird breakages in perl, gcc-cross-initial, gcc-cross-intermediate, then binutils etc. Even though both machines are armv7a and supposed to share those packages w/o rebuilding them... Cleaning sstate and/or entire build takes too much time and is really painful switching between platforms.

Please report this on oe-core list if you have not already.

I will, once I collect the logs and more details.

Signature · 1 line
Denys