Patchwork Natty ti-omap4

login
register
mail settings
Submitter Bryan Wu
Date Dec. 7, 2010, 4:58 a.m.
Message ID <AANLkTi=xK8rYddxz3rHqqMKTZW0+7iqXLniJmwao61VU@mail.gmail.com>
Download mbox | patch
Permalink /patch/74489/
State Not Applicable
Headers show

Comments

Bryan Wu - Dec. 7, 2010, 4:58 a.m.
On Tue, Dec 7, 2010 at 7:59 AM, Tim Gardner <tcanonical@tpi.com> wrote:
> On 12/06/2010 04:29 PM, Dechesne, Nicolas wrote:
>>
>> Tim,
>>
>> On Mon, Dec 6, 2010 at 10:59 PM, Tim Gardner<tim.gardner@canonical.com>
>>  wrote:
>>>
>>> Bryan - I pushed a natty ti-omap4 branch which was initially based on
>>> Maverick ti-omap4 2.6.35-903.19. The new package version is
>>> 2.6.35-1100.1, but I'm still working on some build problems. I should
>>
>> is there any difference between -903.19 and -1100.1? Can you explain
>> what you've done?
>>
>
> No difference between Maverick and Natty other then packaging. The ABI has
> to be different so that there is no conflict with binary package names.
>

Great, that's a good start point for us. I've found the reason of the
building failure.
There is no 1100.0 change item in debian.ti-omap4/changelog.

>>> have it fixed tomorrow.

I think you will fix it, since it needs to revert the 1100.1 commit.

>>>
>>> Any status updates on rolling ti-omap4 forward to 2.6.37?
>>
>> we don't have, and won't have a .37 BSP for OMAP4. TI is focusing on
>> .35 for now because we are adding support for power management. the
>> current plan is for us to deliver a new .35 kernel with power
>> management for inclusion in natty. Sebastien will be working with
>> Bryan to make this. We will have everything ported over to .38 in
>> February, and we will submit pull request for natty at that time.
>>
>
> OK, I guess we'll just carry the .35 kernel versions until y'all are ready
> with .38
>

Thanks Nico and Tim, I will try to handle that with help from Sebastien.
Tim Gardner - Dec. 7, 2010, 2:09 p.m.
On 12/06/2010 09:58 PM, Bryan Wu wrote:
> On Tue, Dec 7, 2010 at 7:59 AM, Tim Gardner<tcanonical@tpi.com>  wrote:
>> On 12/06/2010 04:29 PM, Dechesne, Nicolas wrote:
>>>
>>> Tim,
>>>
>>> On Mon, Dec 6, 2010 at 10:59 PM, Tim Gardner<tim.gardner@canonical.com>
>>>   wrote:
>>>>
>>>> Bryan - I pushed a natty ti-omap4 branch which was initially based on
>>>> Maverick ti-omap4 2.6.35-903.19. The new package version is
>>>> 2.6.35-1100.1, but I'm still working on some build problems. I should
>>>
>>> is there any difference between -903.19 and -1100.1? Can you explain
>>> what you've done?
>>>
>>
>> No difference between Maverick and Natty other then packaging. The ABI has
>> to be different so that there is no conflict with binary package names.
>>
>
> Great, that's a good start point for us. I've found the reason of the
> building failure.
> There is no 1100.0 change item in debian.ti-omap4/changelog.
>
>>>> have it fixed tomorrow.
>
> I think you will fix it, since it needs to revert the 1100.1 commit.
>
>>>>
>>>> Any status updates on rolling ti-omap4 forward to 2.6.37?
>>>
>>> we don't have, and won't have a .37 BSP for OMAP4. TI is focusing on
>>> .35 for now because we are adding support for power management. the
>>> current plan is for us to deliver a new .35 kernel with power
>>> management for inclusion in natty. Sebastien will be working with
>>> Bryan to make this. We will have everything ported over to .38 in
>>> February, and we will submit pull request for natty at that time.
>>>
>>
>> OK, I guess we'll just carry the .35 kernel versions until y'all are ready
>> with .38
>>
>
> Thanks Nico and Tim, I will try to handle that with help from Sebastien.
>

OK, I banged on HEAD a little, so you'll have to reset --hard. It now 
builds correctly.

rtg
Tim Gardner - Dec. 7, 2010, 3:24 p.m.
On 12/07/2010 07:09 AM, Tim Gardner wrote:
> On 12/06/2010 09:58 PM, Bryan Wu wrote:
>> On Tue, Dec 7, 2010 at 7:59 AM, Tim Gardner<tcanonical@tpi.com>   wrote:
>>> On 12/06/2010 04:29 PM, Dechesne, Nicolas wrote:
>>>>
>>>> Tim,
>>>>
>>>> On Mon, Dec 6, 2010 at 10:59 PM, Tim Gardner<tim.gardner@canonical.com>
>>>>    wrote:
>>>>>
>>>>> Bryan - I pushed a natty ti-omap4 branch which was initially based on
>>>>> Maverick ti-omap4 2.6.35-903.19. The new package version is
>>>>> 2.6.35-1100.1, but I'm still working on some build problems. I should
>>>>
>>>> is there any difference between -903.19 and -1100.1? Can you explain
>>>> what you've done?
>>>>
>>>
>>> No difference between Maverick and Natty other then packaging. The ABI has
>>> to be different so that there is no conflict with binary package names.
>>>
>>
>> Great, that's a good start point for us. I've found the reason of the
>> building failure.
>> There is no 1100.0 change item in debian.ti-omap4/changelog.
>>
>>>>> have it fixed tomorrow.
>>
>> I think you will fix it, since it needs to revert the 1100.1 commit.
>>
>>>>>
>>>>> Any status updates on rolling ti-omap4 forward to 2.6.37?
>>>>
>>>> we don't have, and won't have a .37 BSP for OMAP4. TI is focusing on
>>>> .35 for now because we are adding support for power management. the
>>>> current plan is for us to deliver a new .35 kernel with power
>>>> management for inclusion in natty. Sebastien will be working with
>>>> Bryan to make this. We will have everything ported over to .38 in
>>>> February, and we will submit pull request for natty at that time.
>>>>
>>>
>>> OK, I guess we'll just carry the .35 kernel versions until y'all are ready
>>> with .38
>>>
>>
>> Thanks Nico and Tim, I will try to handle that with help from Sebastien.
>>
>
> OK, I banged on HEAD a little, so you'll have to reset --hard. It now
> builds correctly.
>
> rtg

Alas, a tools issue that does not show up with the cross compiler:

http://launchpadlibrarian.net/60273139/buildlog_ubuntu-natty-armel.linux-ti-omap4_2.6.35-1100.1_FAILEDTOBUILD.txt.gz
Bryan Wu - Dec. 9, 2010, 6:48 a.m.
On Tue, Dec 7, 2010 at 11:24 PM, Tim Gardner <tim.gardner@canonical.com> wrote:
> On 12/07/2010 07:09 AM, Tim Gardner wrote:
>>
>> On 12/06/2010 09:58 PM, Bryan Wu wrote:
>>>
>>> On Tue, Dec 7, 2010 at 7:59 AM, Tim Gardner<tcanonical@tpi.com>   wrote:
>>>>
>>>> On 12/06/2010 04:29 PM, Dechesne, Nicolas wrote:
>>>>>
>>>>> Tim,
>>>>>
>>>>> On Mon, Dec 6, 2010 at 10:59 PM, Tim Gardner<tim.gardner@canonical.com>
>>>>>   wrote:
>>>>>>
>>>>>> Bryan - I pushed a natty ti-omap4 branch which was initially based on
>>>>>> Maverick ti-omap4 2.6.35-903.19. The new package version is
>>>>>> 2.6.35-1100.1, but I'm still working on some build problems. I should
>>>>>
>>>>> is there any difference between -903.19 and -1100.1? Can you explain
>>>>> what you've done?
>>>>>
>>>>
>>>> No difference between Maverick and Natty other then packaging. The ABI
>>>> has
>>>> to be different so that there is no conflict with binary package names.
>>>>
>>>
>>> Great, that's a good start point for us. I've found the reason of the
>>> building failure.
>>> There is no 1100.0 change item in debian.ti-omap4/changelog.
>>>
>>>>>> have it fixed tomorrow.
>>>
>>> I think you will fix it, since it needs to revert the 1100.1 commit.
>>>
>>>>>>
>>>>>> Any status updates on rolling ti-omap4 forward to 2.6.37?
>>>>>
>>>>> we don't have, and won't have a .37 BSP for OMAP4. TI is focusing on
>>>>> .35 for now because we are adding support for power management. the
>>>>> current plan is for us to deliver a new .35 kernel with power
>>>>> management for inclusion in natty. Sebastien will be working with
>>>>> Bryan to make this. We will have everything ported over to .38 in
>>>>> February, and we will submit pull request for natty at that time.
>>>>>
>>>>
>>>> OK, I guess we'll just carry the .35 kernel versions until y'all are
>>>> ready
>>>> with .38
>>>>
>>>
>>> Thanks Nico and Tim, I will try to handle that with help from Sebastien.
>>>
>>
>> OK, I banged on HEAD a little, so you'll have to reset --hard. It now
>> builds correctly.
>>
>> rtg
>
> Alas, a tools issue that does not show up with the cross compiler:
>
> http://launchpadlibrarian.net/60273139/buildlog_ubuntu-natty-armel.linux-ti-omap4_2.6.35-1100.1_FAILEDTOBUILD.txt.gz
>

For this issue:
---
  AS      arch/arm/mach-omap2/omap-headsmp.o
/build/buildd/linux-ti-omap4-2.6.35/arch/arm/mach-omap2/omap-headsmp.S:
Assembler messages:
/build/buildd/linux-ti-omap4-2.6.35/arch/arm/mach-omap2/omap-headsmp.S:36:
Error: selected processor does not support ARM mode `smc #0'
make[3]: *** [arch/arm/mach-omap2/omap-headsmp.o] Error 1
make[2]: *** [arch/arm/mach-omap2] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/build/buildd/linux-ti-omap4-2.6.35'
make: *** [/build/buildd/linux-ti-omap4-2.6.35/debian/stamps/stamp-build-omap4]
Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
---
I think it's a issue of compiler, which is gcc 4.5.1 in Natty. When we
use gcc 4.5.1 to build 2.6.35 ARM kernel, it pops up. Gcc 4.5.1 can
build the 2.6.37 based Linaro kernel without this error.

I can build it in my Maverick machine with Linaro GCC 4.4.5 successfully.

I've pinged Marcin Juszkiewicz in the IRC about this and copied him
into this email.

Marcin, do you know any fix for this issue? Thanks.

Best Regards,
Dechesne, Nicolas - Dec. 9, 2010, 3:01 p.m.
bryan,

On Thu, Dec 9, 2010 at 7:48 AM, Bryan Wu <bryan.wu@canonical.com> wrote:

> For this issue:
> ---
>  AS      arch/arm/mach-omap2/omap-headsmp.o
> /build/buildd/linux-ti-omap4-2.6.35/arch/arm/mach-omap2/omap-headsmp.S:
> Assembler messages:
> /build/buildd/linux-ti-omap4-2.6.35/arch/arm/mach-omap2/omap-headsmp.S:36:
> Error: selected processor does not support ARM mode `smc #0'
> make[3]: *** [arch/arm/mach-omap2/omap-headsmp.o] Error 1
> make[2]: *** [arch/arm/mach-omap2] Error 2
> make[1]: *** [sub-make] Error 2
> make[1]: Leaving directory `/build/buildd/linux-ti-omap4-2.6.35'
> make: ***
> [/build/buildd/linux-ti-omap4-2.6.35/debian/stamps/stamp-build-omap4]
> Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> ---
> I think it's a issue of compiler, which is gcc 4.5.1 in Natty. When we
> use gcc 4.5.1 to build 2.6.35 ARM kernel, it pops up. Gcc 4.5.1 can
> build the 2.6.37 based Linaro kernel without this error.
>

could we be missing this:

http://marc.info/?l=linux-omap&m=129118316614865&w=2

nicolas

Patch

diff --git a/debian.ti-omap4/abi/2.6.35-1100.0/abiname b/debian.ti-omap4/abi/2.6.35-1100.0/abiname
index 71fb6fc..d878b32 100644
--- a/debian.ti-omap4/abi/2.6.35-1100.0/abiname
+++ b/debian.ti-omap4/abi/2.6.35-1100.0/abiname
@@ -1 +1 @@ 
-903
+1100
diff --git a/debian.ti-omap4/changelog b/debian.ti-omap4/changelog
index 4cad52b..3cef788 100644
--- a/debian.ti-omap4/changelog
+++ b/debian.ti-omap4/changelog
@@ -4,6 +4,12 @@  linux-ti-omap4 (2.6.35-1100.1) natty; urgency=low
 
  --  Tim Gardner <tim.gardner@canonical.com>  Mon, 06 Dec 2010 14:29:35 -0700
 
+linux-ti-omap4 (2.6.35-1100.0) natty; urgency=low
+
+  * Testing
+
+ --  Bryan Wu <bryan.wu@canonical.com>  Mon, 05 Dec 2010 14:29:35 -0700
+
 linux-ti-omap4 (2.6.35-903.19) maverick-proposed; urgency=low
 
   [ Upstream Kernel Changes ]