Contents |
This page includes Beagle board specific information.
The bootloaders (x-loader and u-boot), the Linux kernel and the file system for the beagleboard are created when building the ALIP platform for the beagleboard project (i.e. the matrix commands are called with -cbeagleboard (config directory for beagleboard). See the From_scratch page for more information.
You can modify and re-build those components by adding them as arguments in the matrix command, e.g. for the kernel and bootloaders :
matrix install -cbeagleboard x-loader u-boot linux-2.6
The bootloaders (x-loader and u-boot) and the linux kernel are built in the folder /boot (you can copy this folder in /tmp so that you can access it outside Scratchbox)
One convenient way of booting is to boot from SD/MMC card. Formatting an SD/MMC card is described here and the Beagle's hardware setup page has some extra information.
Boot the board from the SD/MMC card, i.e. make sure you hold the USER button down while you power on the board (or while pressing & releasing the RESET button)
Mounting the rootfs from second partition of the card, use the following bootcmd and bootargs:
setenv bootcmd mmc init\;fatload mmc 0 0x80000000 uImage\;bootm 0x80000000 setenv bootargs console=ttyS2,115200n8 noinitrd root=/dev/mmcblk0p2 rw rootwait
To use 640x680 resolution with 16bit depth, append these to the above bootargs:
omap-dss.def_disp=lcd omapfb.video_mode=640x480MR-16@60
or other resolutions listed here. The omapfb parameters are described in "Documentation/arm/OMAP/DSS" in the kernel source tree or here.