Skip to contentSkip to conversation

getting 2.6.25 from git to run on omap35x evm

DISCUSSION twebb 5 participants 12 messages Sep 17, 2008 – Sep 19, 2008

lore
Share & tools
lore

twebb

author
#0 lore raw

The OMAP35x EVM (from TI/Mistral) runs their SDK 1.0.0 which is based on linux-2.6.22.18. I'm trying to get linux-2.6.25 (tag = v2.6.25-omap1 from linux-omap-2.6.git) running on the 35x EVM but having difficulties. The linux-2.6.22.18 including support for OMAP 35x EVM appears quite different from linux-omap-2.6.25 from git in the OMAP specific areas. Should linux-omap-2.6.25-v2.6.25-omap1 build and run without modifications on OMAP 35x EVM? If so, I should be able to port SDK 1.0.0 functionality (that perhaps hasn't made it into the linux-omap git yet) over to newer 2.6.25 kernel as necessary - correct? If not, is there another or newer kernel in linux-omap get that could/should run on 35x EVM, or is another approach suggested?

Thanks.

#1 lore raw

Op 17 sep 2008, om 20:36 heeft twebb het volgende geschreven:

Quoted 11 lines

The OMAP35x EVM (from TI/Mistral) runs their SDK 1.0.0 which is based on linux-2.6.22.18. I'm trying to get linux-2.6.25 (tag = v2.6.25-omap1 from linux-omap-2.6.git) running on the 35x EVM but having difficulties. The linux-2.6.22.18 including support for OMAP 35x EVM appears quite different from linux-omap-2.6.25 from git in the OMAP specific areas. Should linux-omap-2.6.25-v2.6.25-omap1 build and run without modifications on OMAP 35x EVM? If so, I should be able to port SDK 1.0.0 functionality (that perhaps hasn't made it into the linux-omap git yet) over to newer 2.6.25 kernel as necessary - correct? If not, is there another or newer kernel in linux-omap get that could/should run on 35x EVM, or is another approach suggested?

Why 2.6.25? Git has 2.6.26 already and currenly is at 2.6.27rc6, so why go from one obsolete version to another obsolete one? .27rc is pretty broken on the EVM atm, ut .26 should work fine.

regards,

Koen

author
#2 lore raw
Quoted 5 lines · Koen Kooi

Why 2.6.25? Git has 2.6.26 already and currenly is at 2.6.27rc6, so why go from one obsolete version to another obsolete one? .27rc is pretty broken on the EVM atm, ut .26 should work fine.

Was going with 2.6.25 because once I get basic functionality on the EVM with linux-omap-2.6.25, next step is applying a separate 2.6.25-based patch. So 2.6.26 should work OK on 35xEVM? If so, I'll see if patch applies without problems and give it a try.

Does anyone (TI?) know how far apart their linux-2.6.22.18 (SDK 1.0.0) is from the linux-omap-2.6.git and when they might converge? Along these lines, which defconfig to use for OMAP35x EVM: SDK = omap3evm_defconfig or linux-omap-2.6.25 = omap3_evm_defconfig (different names and different contents)?

Thanks.
twebb

#3 lore raw
Quoted 17 lines · twebb
Quoted 5 lines · Koen Kooi

Why 2.6.25? Git has 2.6.26 already and currenly is at 2.6.27rc6, so why go from one obsolete version to another obsolete one? .27rc is pretty broken on the EVM atm, ut .26 should work fine.

Was going with 2.6.25 because once I get basic functionality on the EVM with linux-omap-2.6.25, next step is applying a separate 2.6.25-based patch. So 2.6.26 should work OK on 35xEVM? If so, I'll see if patch applies without problems and give it a try.

Does anyone (TI?) know how far apart their linux-2.6.22.18 (SDK 1.0.0) is from the linux-omap-2.6.git and when they might converge? Along these lines, which defconfig to use for OMAP35x EVM: SDK = omap3evm_defconfig or linux-omap-2.6.25 = omap3_evm_defconfig (different names and different contents)?

Quoted 7 lines

Thanks.
twebb
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

If you take a look at the http://git.omapzoom.org tree as opposed to the official Linux OMAP tree, that things will be more linear to your 2.6.22.18 tree. I'm currently moving our 2.6.22.18 codebase to 2.6.27-rc3 based on the OMAPZOOM tree and it's faring a lot better then when I tried the official tree.

So use OMAPZOOM to quickly jump ahead and once up-to-date you can figure out what the next step is to get more towards the official L-O tree..

Regards
~ Ashwin

author
#4 lore raw
Quoted 14 lines · Ashwin Bihari
Quoted 7 lines

Does anyone (TI?) know how far apart their linux-2.6.22.18 (SDK 1.0.0) is from the linux-omap-2.6.git and when they might converge? Along these lines, which defconfig to use for OMAP35x EVM: SDK = omap3evm_defconfig or linux-omap-2.6.25 = omap3_evm_defconfig (different names and different contents)?

If you take a look at the http://git.omapzoom.org tree as opposed to the official Linux OMAP tree, that things will be more linear to your 2.6.22.18 tree. I'm currently moving our 2.6.22.18 codebase to 2.6.27-rc3 based on the OMAPZOOM tree and it's faring a lot better then when I tried the official tree.

Quoted 7 lines

So use OMAPZOOM to quickly jump ahead and once up-to-date you can figure out what the next step is to get more towards the official L-O tree..

Regards
~ Ashwin

Great, that's helpful. Do you know omapzoom linux-2.6.25 to be somewhat functional with OMAP 35x EVM, or would you suggest going with something newer like v2.6.26-ti-07252008? Or must I go to 2.6.27-rc3?
I assume newer (to a point) would result in better stability on the
35x EVM?

Thanks,
twebb

#5 lore raw
Quoted 23 lines · twebb
Quoted 14 lines · Ashwin Bihari
Quoted 7 lines

Does anyone (TI?) know how far apart their linux-2.6.22.18 (SDK 1.0.0) is from the linux-omap-2.6.git and when they might converge? Along these lines, which defconfig to use for OMAP35x EVM: SDK = omap3evm_defconfig or linux-omap-2.6.25 = omap3_evm_defconfig (different names and different contents)?

If you take a look at the http://git.omapzoom.org tree as opposed to the official Linux OMAP tree, that things will be more linear to your 2.6.22.18 tree. I'm currently moving our 2.6.22.18 codebase to 2.6.27-rc3 based on the OMAPZOOM tree and it's faring a lot better then when I tried the official tree.

Quoted 7 lines

So use OMAPZOOM to quickly jump ahead and once up-to-date you can figure out what the next step is to get more towards the official L-O tree..

Regards
~ Ashwin

Quoted 9 lines

Great, that's helpful. Do you know omapzoom linux-2.6.25 to be somewhat functional with OMAP 35x EVM, or would you suggest going with something newer like v2.6.26-ti-07252008? Or must I go to 2.6.27-rc3?
I assume newer (to a point) would result in better stability on the
35x EVM?

Thanks,
twebb

The EVM is a board option in this tree, so you're going to have the best possible luck with the latest and greatest code base. I have a custom board based on the OMAP3530. So I'm actually adding a new board-type and the necessary pieces appropriate for my platform.

Regards
~ Ashwin

#6 lore raw
In reply to twebb
Quoted 8 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of twebb
Sent: Thursday, September 18, 2008 1:41 AM
To: Ashwin Bihari
Cc: Koen Kooi; [email protected] Mailing List
Subject: Re: getting 2.6.25 from git to run on omap35x evm

Quoted 8 lines
Quoted 1 line · Ashwin Bihari

Great, that's helpful. Do you know omapzoom linux-2.6.25 to be somewhat functional with OMAP 35x EVM, or would you suggest going with something newer like v2.6.26-ti-07252008? Or must I go to 2.6.27-rc3?
I assume newer (to a point) would result in better stability on the
35x EVM?

On omapzoom.org, I try to test for functionality complete and working for primarily LDP board and also 3430SDP. I have not tested the EVM stuff.

I just completed up merging omapzoom tree to 2.6.27rc6 on branch: branch_2.6.27rc6_migration You could have a look at it if that helps.

Quoted 7 lines

Thanks,
twebb
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#11 lore raw
In reply to twebb
Quoted 17 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of twebb
Sent: Thursday, September 18, 2008 12:54 AM
To: Koen Kooi
Cc: [email protected] Mailing List
Subject: Re: getting 2.6.25 from git to run on omap35x evm

Quoted 5 lines · Koen Kooi

Why 2.6.25? Git has 2.6.26 already and currenly is at 2.6.27rc6, so why go from one obsolete version to another obsolete one? .27rc is pretty broken on the EVM atm, ut .26 should work fine.

Quoted 8 lines

Was going with 2.6.25 because once I get basic functionality on the EVM with linux-omap-2.6.25, next step is applying a separate 2.6.25-based patch. So 2.6.26 should work OK on 35xEVM? If so, I'll see if patch applies without problems and give it a try.

Does anyone (TI?) know how far apart their linux-2.6.22.18 (SDK 1.0.0) is from the linux-omap-2.6.git

My team is working on supporting OMAP35x with linux-omap-2.6 git. Some of the patches you notice on this list come for this effort.

Since the mailine is changing daily, we may not be able to provide the SDK on the latest kernel version. However, patches generated towards SDK development will be posted on this list regularly. Your 'refresh' against the linux-omap-2.6 git should go more smoothly.

Quoted 1 line

and when they might converge?

I cannot commit on a time frame; but effort has started, and we have made good progress.

Quoted 4 lines

Along these lines, which defconfig to use
for OMAP35x EVM: SDK = omap3evm_defconfig or linux-omap-2.6.25 = omap3_evm_defconfig (different names and different contents)?

If you are importing specific patches over the 2.6.22-18 kernel (from SDK release) then I suggest you use update omap3evm_defconfig (name doesn't matter - but for easy diff).

Quoted 10 lines

Thanks.
twebb
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html

author
#7 lore raw
In reply to Pandita, Vikram
Quoted 7 lines
Quoted 6 lines

Great, that's helpful. Do you know omapzoom linux-2.6.25 to be somewhat functional with OMAP 35x EVM, or would you suggest going with something newer like v2.6.26-ti-07252008? Or must I go to 2.6.27-rc3?
I assume newer (to a point) would result in better stability on the
35x EVM?

Quoted 5 lines

On omapzoom.org, I try to test for functionality complete and working for primarily LDP board and also 3430SDP. I have not tested the EVM stuff.

I just completed up merging omapzoom tree to 2.6.27rc6 on branch: branch_2.6.27rc6_migration You could have a look at it if that helps.

I tried the rc6_migration branch, and after a few hiccups got it basically running. However, seeing two problems - one is minor at this point but the other is a real issue.

#1 (minor) - I'm seeing the following and can't figure out why...
---
DSS:clk set: ask=124000000, tgt=104000000, sup=96000000 Unable to set the DSSfunctional clock to 96000000

UNABLE to enable dss TV fclk
---
any ideas?

#2 - when any key is pressed on the 35x EVM, I get the following output continuously...
TWL4030 module irq 369 is disabled but can't be masked! TWL4030 module irq 369 is disabled but can't be masked!
...

Though it sounds like no one is testing this code against a 35x EVM, I'm still hoping someone may have a clue about what is going wrong here.

Thanks,
twebb

#8 lore raw

Op 19 sep 2008, om 17:24 heeft twebb het volgende geschreven:

Quoted 24 lines
Quoted 7 lines
Quoted 6 lines

Great, that's helpful. Do you know omapzoom linux-2.6.25 to be somewhat functional with OMAP 35x EVM, or would you suggest going with something newer like v2.6.26-ti-07252008? Or must I go to 2.6.27-rc3? I assume newer (to a point) would result in better stability on the 35x EVM?

Quoted 5 lines

On omapzoom.org, I try to test for functionality complete and working for primarily LDP board and also 3430SDP. I have not tested the EVM stuff.

I just completed up merging omapzoom tree to 2.6.27rc6 on branch: branch_2.6.27rc6_migration You could have a look at it if that helps.

I tried the rc6_migration branch, and after a few hiccups got it basically running. However, seeing two problems - one is minor at this point but the other is a real issue.

#2 - when any key is pressed on the 35x EVM, I get the following output continuously...
TWL4030 module irq 369 is disabled but can't be masked! TWL4030 module irq 369 is disabled but can't be masked!
...

Quoted 3 lines

Though it sounds like no one is testing this code against a 35x EVM, I'm still hoping someone may have a clue about what is going wrong here.

The irq 369 problem is present on l-o git as well, no idea what's causing it. Basically: 2.6.26 is awesome, 2.6.27rc is broken crap[1].

regards,

Koen

[1] At least on beagle and evm, overo seems to work after a musb patch

author
#9 lore raw
Quoted 10 lines

The irq 369 problem is present on l-o git as well, no idea what's causing it. Basically: 2.6.26 is awesome, 2.6.27rc is broken crap[1].

regards,

Koen

[1] At least on beagle and evm, overo seems to work after a musb patch

Which is awesome, 2.6.26 on omapzoom.git or on linux-omap git?

I try linux-omap git (tag = v2.6.26-omap2) and have problems mounting rootfs. Appears to be trying to mount root via NFS and ignoring kernel command line specifying the mtdblock...

Kernel command line: mem=128M console=ttyS0,115200n8 noinitrd root=/dev/mtdblock 4 rw rootfstype=jffs2 ip=192.168.1.200:192.168.1.123:192.168.1.2:255.255.255.0::
eth0:on

Thanks,
twebb

#10 lore raw

Op 19 sep 2008, om 20:29 heeft twebb het volgende geschreven:

Quoted 4 lines
Quoted 4 lines

The irq 369 problem is present on l-o git as well, no idea what's causing it. Basically: 2.6.26 is awesome, 2.6.27rc is broken crap[1].

Quoted 8 lines
Quoted 6 lines

regards,

Koen

[1] At least on beagle and evm, overo seems to work after a musb patch

Which is awesome, 2.6.26 on omapzoom.git or on linux-omap git?

linux-omap git.

Quoted 9 lines

I try linux-omap git (tag = v2.6.26-omap2) and have problems mounting rootfs. Appears to be trying to mount root via NFS and ignoring kernel command line specifying the mtdblock...

Kernel command line: mem=128M console=ttyS0,115200n8 noinitrd root=/dev/mtdblock 4 rw rootfstype=jffs2 ip=192.168.1.200:192.168.1.123:192.168.1.2:255.255.255.0::
eth0:on

cmdlines work for me, did you set bootargs in uboot properly?

regards,

Koen