I'm running Debian Squeeze on a C4 BeagleBoard.
The "Clocking" section of http://elinux.org/BeagleBoard states that
BeagleBoards run at 500MHz to help longevity and on my machine dmesg
shows
[ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz
[snip]
[ 0.000000] Calibrating delay loop... 514.67 BogoMIPS (lpj=2011136)
which also look like 500MHz.
My question... Do the C4 BeagleBoards run at 500MHz or 720MHz?
-Ted
720Mhz..
Make sure you have X-loader 1.4.4 and Uboot 2010-03, with
"mpurate=${mpurate}" set in your bootargs.. (note if your kernel is
older then 2.6.34 (from rcn-ee.net), it won't change it to that rate
on boot..)
Regards,
side note, verify with 'cat /proc/cpuinfo' after boot, as the
calibration delay can happen before the final clock speed is set:
[ 0.000000] Kernel command line: console=ttyS2,115200n8
root=/dev/sda1 ro omapfb.mode=dvi:1280x720MR-16@60 buddy=unknown
mpurate=720
[ 0.000000] Calibrating delay loop... 496.77 BogoMIPS (lpj=1937408)
[ 0.000000] Switched to new clocking rate (Crystal/Core/MPU):
26.0/720/332 MHz
Regards,
Is there any way to update my bootargs to include "mpurate=${mpurate}"
from within debian? I don't have easy access to my serial connection
and do most stuff via ssh.
I set mpurate=720 by
mount /dev/mmcblk0p1 /tmp/boot
cd /tmp/boot
vi boot.cmd
[add mpurate=720 to bootargs]
mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Debian
Squeeze" -d ./boot.cmd ./boot.scr
reboot
Seems to have worked.
Yeah... if your using u-boot 2010-03 already (the mpurate didn't exist
in any of the recommend versions before that i believe..)
1: if you use boot scripts.. (boot.scr).. mount the fat boot
partition, open boot.scr in nano, remove the first line of header
information, add the mpurate variable, save as boot.cmd and then rerun
mkimage
boot script reference:
http://bazaar.launchpad.net/~beagleboard-kernel/+junk/image-builder/annotate/head:/tools/boot.cmd
debian tools needed: uboot-mkimage
sudo mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Boot
Script" -d boot.cmd boot.scr
2: if you store everything in nand
Load the mtd partition with:
/etc/fw_env.config <<FW
# MTD device name Device offset Env. size Flash sector size
/dev/mtd2 0x0000 0x20000 0x20000
and use the uboot-envtools to edit..
Regards,
Thanks a lot! Where would we be without Robert!