OMAP uEnv.txt

1157 ワード


the older version's of u-boot used boot.scr to set boot parameter
----------------------------------------------------------
setenv bootargs 'console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait omapfb.mode=dvi:1280x1024MR-32 at 60 vram=12M' setenv bootcmd 'mmc init; fatload mmc 0 80000000 uImage; bootm 80000000'
boot
----------------------------------------------------------
 
Newer version's of u-boot now look for a uEnv.txt file to set boot parameter
----------------------------------------------------------
mpurate=1000dvimode=800x600MR-16@60 vram=4MB bootargs "console=ttyS2,115200n8 root=/dev/mmcblk0p2 rootwait ro vram=${vram} omapfb.mode=dvi:${dvimode} omapfb.vram=0:2M,1:2M mem=208M@0x80000000"boot
----------------------------------------------------------
By default, the frame buffer is only allocated for/dev/fb0. Option vram should be specified in u-boot bootargs variable to allocate frame buffer for/dev/fb1. For example:
   vram=8M omapfb.vram=4M,4M