1 setenv bootargs enable_wait_mode=off
5 setenv bootargs $bootargs video=mxcfb${nextcon}:dev=hdmi,1280x720M@60,if=RGB24
6 setenv fbmem "fbmem=28M";
7 setexpr nextcon $nextcon + 1
9 echo "------ no HDMI monitor";
13 if i2c probe 0x04 ; then
14 setenv bootargs $bootargs video=mxcfb${nextcon}:dev=ldb,LDB-XGA,if=RGB666
15 if test "0" -eq $nextcon; then
16 setenv fbmem "fbmem=10M";
18 setenv fbmem ${fbmem},10M
20 setexpr nextcon $nextcon + 1
22 echo "------ no Freescale display";
25 if i2c probe 0x38 ; then
26 setenv bootargs $bootargs video=mxcfb${nextcon}:dev=ldb,1024x600M@60,if=RGB666
27 if test "0" -eq $nextcon; then
28 setenv fbmem "fbmem=10M";
30 setenv fbmem ${fbmem},10M
32 setexpr nextcon $nextcon + 1
34 echo "------ no 1024x600 display";
37 if i2c probe 0x48 ; then
38 setenv bootargs $bootargs video=mxcfb${nextcon}:dev=lcd,CLAA-WVGA,if=RGB666
39 if test "0" -eq $nextcon; then
40 setenv fbmem "fbmem=10M";
42 setenv fbmem ${fbmem},10M
44 setexpr nextcon $nextcon + 1
46 echo "------ no 800x480 display";
49 while test "3" -ne $nextcon ; do
50 setenv bootargs $bootargs video=mxcfb${nextcon}:off ;
51 setexpr nextcon $nextcon + 1 ;
54 setenv bootargs $bootargs $fbmem
55 setenv bootargs "$bootargs console=ttymxc1,115200 vmalloc=400M consoleblank=0 rootwait"
57 if test "sata" = "${dtype}" ; then
58 setenv bootargs "$bootargs root=/dev/sda1" ;
60 setenv "bootargs $bootargs root=/dev/mmcblk0p1" ;
62 ${fs}load ${dtype} ${disk}:1 10800000 /boot/uImage && bootm 10800000 ;
63 echo "Error loading kernel image"