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

Already on GitHub? Sign in to your account

Patches for Beagleboard xM at 1 GHz #15

Open
wants to merge 54 commits into
from

Conversation

Projects
None yet
2 participants
Contributor

Teknoman117 commented Sep 3, 2012

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 ;)

RobertCNelson and others added some commits May 22, 2012

@RobertCNelson RobertCNelson v3.4 first pass
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
9cf6142
@RobertCNelson RobertCNelson first pass on beagle expansion rewrite
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
92718c0
@RobertCNelson RobertCNelson zippy: need to add the regulators for mmc support
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
5da7de7
@RobertCNelson RobertCNelson update config
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
c634eab
@RobertCNelson RobertCNelson expansion rewrite
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
fd3890d
@RobertCNelson RobertCNelson add led reboot
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
775745e
@RobertCNelson RobertCNelson 3.4-x0 release
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
17deece
@RobertCNelson RobertCNelson add buddy=spidev patch
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
d69cb59
@RobertCNelson RobertCNelson bug fix: on some systems umount removes dir, so make sure directory e…
…xist before calling mount

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
57d48c2
@RobertCNelson RobertCNelson 3.4.1-x0 release
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
5665172
@RobertCNelson RobertCNelson 3.4.2-x0 release
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
e210af7
@RobertCNelson RobertCNelson sgx: 4.06.00.02 wip
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
6982b59
@RobertCNelson RobertCNelson 3.4.3-x0 release
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
498503f
@RobertCNelson RobertCNelson starting building device tree dtbs
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
eea7c54
@RobertCNelson RobertCNelson add dtc requirements
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
44945e8
@RobertCNelson RobertCNelson bug: race between dtbs and zImage/modules
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
a749ffe
@RobertCNelson RobertCNelson config: ubuntu 3.4 has this enabled
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
50d0961
@RobertCNelson RobertCNelson sgx: update to 4.06.00.03
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
20ee41c
@RobertCNelson RobertCNelson 3.4.4-x1 release
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
a83c530
@RobertCNelson RobertCNelson sgx: pkg up the examples, framebuffer works great, still need to hack…
… up the dri2 stuff

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
c520184
@RobertCNelson RobertCNelson bug: copy all GFX stuff
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
e710f8e
@RobertCNelson RobertCNelson dsp: in 3.4, this changed, why?
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
4be53cd
@RobertCNelson RobertCNelson 3.4.5-x1 release
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
d64892e
@RobertCNelson RobertCNelson sgx: add armhf binaries!!!
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
3bdc933
@RobertCNelson RobertCNelson sgx: use the correct dir for armhf bits
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
6d7685e
@RobertCNelson RobertCNelson bug: lots of emails on this, just define/clone torvalds git tree by d…
…efault as LINUX_GIT

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
c55374f
@RobertCNelson RobertCNelson 3.4.6-x1 release
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
f752b49
@RobertCNelson RobertCNelson 3.4.7-x1 release
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
22c36a0
@RobertCNelson RobertCNelson ubuntu: check for old /usr/lib location
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
e16fbbe
@RobertCNelson RobertCNelson cleanup: nit picky things
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
7f6b9b0
@RobertCNelson RobertCNelson bug: bring this back
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
5b72f58
@RobertCNelson RobertCNelson cleanup: couple more
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
c0993b9
@RobertCNelson RobertCNelson cleanup: pull out git functions and simplify kernel tag checkout
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
9ad38cd
@RobertCNelson RobertCNelson initial v3.5.x: todo ehci on beagle to fix, along with pulling in mai…
…nline cpuidle patches

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
1997b3b
@RobertCNelson RobertCNelson fix: ehci on beagle
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
267fb87
@RobertCNelson RobertCNelson omap4: cherrypick cpuidle patchset from v3.6-rc1
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
31d617a
@RobertCNelson RobertCNelson dtbs: updates
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
8a4a5b5
@RobertCNelson RobertCNelson dtbs: fixes
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
fd5b840
@RobertCNelson RobertCNelson dtbs fixes and bump to 3.5.1
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
05dc4e6
@RobertCNelson RobertCNelson fix: LATEST_GIT
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
d6533cf
@RobertCNelson RobertCNelson beagle: video works now, had to drop the hi-speed pll divider, as the…
… infastructure for it looks to have been removed

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
e7c8d9e
@RobertCNelson RobertCNelson 3.5.1-x1 release
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
3498bf6
@RobertCNelson RobertCNelson script: fixes
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
0ecf320
@RobertCNelson RobertCNelson 3.5.2-x1 release
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
164f731
@RobertCNelson RobertCNelson a few more cpuidle patches from v3.6-rc2 and omap4 fixes
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
88fcc7d
@RobertCNelson RobertCNelson omap4: linaro has these enabled
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
69c562d
@RobertCNelson RobertCNelson 3.5.2-x2 release
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
d4e0bdf
@RobertCNelson RobertCNelson add reference kms
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
ed7f9d2
@RobertCNelson RobertCNelson var before function
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
0ce342f
@RobertCNelson RobertCNelson 3.5.3-x2 release
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
4aef89b
@Teknoman117 Teknoman117 Patched to allow the beagleboard xM to run at 1 GHz under the 3.2.x L…
…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.
074f098
@Teknoman117 Teknoman117 Update README
Added simple instruction that one can build with the gcc-arm-linux-gnueabihf compiler now
29076b6
Owner

RobertCNelson commented Sep 3, 2012

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,

Contributor

Teknoman117 commented Sep 3, 2012

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