Back

Linux on BeagleBoard: tips & tricks

I run Angstrom on my BeagleBoard. (Here should follow where I took it from - many sources are listed in google)

Enable autologin in Angstrom X11

Problem:
I want my BeagleBoard to load Xorg without user login prompt.

Solution:
vi /etc/sysconfig/gpelogin It should look now as below:
# GPE Login Config
 
#AUTOLOGIN="false"
AUTOLOGIN="true"

if [ "$AUTOLOGIN" = "true" ]; then
  USER="root"
  HOME=`grep ^${USER}: /etc/passwd |cut -d: -f6`
fi


Set BeagleBoard display resolution

Problem:
I want my BeagleBoard to work properly with 800x480 LCD display.
I tried to do
setenv bootargs 'console=ttyS2,115200n8 console=tty0 root=/dev/mmcblk0p2 rootdelay=2 rootfstype=ext3 video=omapfb:vram:2M,vram:4M'
saveenv
boot
but this did not work - uBoot seems to ignore setenv and work at 640x480 only.

Solution:
At uBoot prompt type:
setenv dvimode 800x480MR-16@60
saveenv
You can also use
printenv
to see all environment variables and change them individually.