Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patches for Beagleboard xM at 1 GHz #15

Open
wants to merge 54 commits into
base: master
Choose a base branch
from
Open

Patches for Beagleboard xM at 1 GHz #15

wants to merge 54 commits into from

Conversation

teknoman117
Copy link
Contributor

I found some patches on the internet (credit is given) from an application specific buildroot setup for the Beagleboard xM that allowed it to run at 1 GHz on kernel 3.2.x. The other day you said it would be nice if I could get it working as well on 3.4.x, so I will try for that next ;)

Signed-off-by: Robert Nelson <[email protected]>
Signed-off-by: Robert Nelson <[email protected]>
Signed-off-by: Robert Nelson <[email protected]>
Signed-off-by: Robert Nelson <[email protected]>
Signed-off-by: Robert Nelson <[email protected]>
Signed-off-by: Robert Nelson <[email protected]>
…xist before calling mount

Signed-off-by: Robert Nelson <[email protected]>
Signed-off-by: Robert Nelson <[email protected]>
Signed-off-by: Robert Nelson <[email protected]>
Signed-off-by: Robert Nelson <[email protected]>
Signed-off-by: Robert Nelson <[email protected]>
Signed-off-by: Robert Nelson <[email protected]>
Signed-off-by: Robert Nelson <[email protected]>
Signed-off-by: Robert Nelson <[email protected]>
Signed-off-by: Robert Nelson <[email protected]>
Signed-off-by: Robert Nelson <[email protected]>
Signed-off-by: Robert Nelson <[email protected]>
Signed-off-by: Robert Nelson <[email protected]>
Signed-off-by: Robert Nelson <[email protected]>
Signed-off-by: Robert Nelson <[email protected]>
Signed-off-by: Robert Nelson <[email protected]>
RobertCNelson and others added 22 commits August 1, 2012 09:17
Signed-off-by: Robert Nelson <[email protected]>
Signed-off-by: Robert Nelson <[email protected]>
Signed-off-by: Robert Nelson <[email protected]>
Signed-off-by: Robert Nelson <[email protected]>
Signed-off-by: Robert Nelson <[email protected]>
Signed-off-by: Robert Nelson <[email protected]>
Signed-off-by: Robert Nelson <[email protected]>
… infastructure for it looks to have been removed

Signed-off-by: Robert Nelson <[email protected]>
Signed-off-by: Robert Nelson <[email protected]>
Signed-off-by: Robert Nelson <[email protected]>
Signed-off-by: Robert Nelson <[email protected]>
Signed-off-by: Robert Nelson <[email protected]>
Signed-off-by: Robert Nelson <[email protected]>
Signed-off-by: Robert Nelson <[email protected]>
Signed-off-by: Robert Nelson <[email protected]>
Signed-off-by: Robert Nelson <[email protected]>
…inux kernel (3.2.28-x14 tested).

Additions are two patches I found at http://blog.galemin.com/2012/03/buildroot-2012-02-for-beagleboard-xm-with-li-5m03-mt9p031-camera-support/
that allowed a 3.2.8 kernel to run at 1 GHz on the BB xM in an application specific buildroot setup.
They required no additional modification to run under Robert C Nelson's awesome patches and build scripts.
Added simple instruction that one can build with the gcc-arm-linux-gnueabihf compiler now
@RobertCNelson
Copy link
Owner

Hi Nathaniel,

Couple things...

0002-Fix-sprz319-erratum-2.1.patch

"sprz319" is disabled as it causes classic Beagle Cx's to hard lock on bootup (checked this morning, it still locks up after "Uncompressing Linux... done, booting the kernel.")... I've debugged it previously, and it seems the omap36xx check is being ignored... I left it in the repo so xM users can easily enable it... So we can't enable it by default across all boards...

0021-Enable-1-GHz-clock-for-Beagleboard-xM.patch
Yeap, this correctly enables 1Ghz operation, but it's still risky (xM life time wise) without the SmartReflex 1.5 patchset..

Angstrom used this against 3.0.x, some of these never made it upstream..
https://github.com/Angstrom-distribution/meta-ti/tree/master/recipes-kernel/linux/linux-3.0/pm-wip/voltdm

Still pretty cool it works now.. In the past i've enabled via:
https://github.com/Angstrom-distribution/meta-ti/blob/master/recipes-kernel/linux/linux-3.0/beagle/0004-OMAP3-beagle-HACK-add-in-1GHz-OPP.patch

and it just hard locks on my xM... So really cool it boots now..

Nishanth Menon, was the last guy at TI working on this..
Haven't heard anything since: http://us.generation-nt.com/answer/patch-v3-00-10-pm-create-avs-adaptive-voltage-scaling-help-207248721.html?page=9

Regards,

@teknoman117
Copy link
Contributor Author

Okay, so I'll check those out when I get a chance. I guess that's why no one has ported the patches yet - no one wants to walk though over a hundred patches and inspect them for changes. As far as "forcing it," I hadn't realized that the SmartReflex driver didn't work properly, because I only enable the frequency increase if smart reflex was compiled into the kernel.

As far as the sprz319 erratum patch causing a lock up in the beagleboard Cx series, I'll just add a parameter to say that you are using a beagleboard xm so people don't have to walk through and un-comment it.

You mentioned that forcing it without the smart reflex driver being enabled was dangerous to its life span, unscientifically, for what its worth I hadn't noticed much of an increase in the heat output of the CPU on my Beagleboard xM rev. C. Also, the site that I initially found the patches on mentioned issues with the Beagleboard xM rev. A.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants