3 setenv bootargs enable_wait_mode=off
5 setenv bootargs $bootargs console=ttymxc1,115200 vmalloc=400M consoleblank=0 ;
9 if i2c probe 0x04 ; then
10 setenv bootargs $bootargs video=mxcfb${nextcon}:dev=ldb,LDB-XGA,if=RGB666
11 if test "0" -eq $nextcon; then
12 setenv fbcon "fbcon=10M";
14 setenv fbcon ${fbcon},10M
16 setexpr nextcon $nextcon + 1
18 echo "------ no Freescale display";
21 if i2c probe 0x38 ; then
22 setenv bootargs $bootargs video=mxcfb${nextcon}:dev=ldb,1024x600M@60,if=RGB666
23 if test "0" -eq $nextcon; then
24 setenv fbcon "fbcon=10M";
26 setenv fbcon ${fbcon},10M
28 setexpr nextcon $nextcon + 1
30 echo "------ no 1024x600 display";
33 if i2c probe 0x48 ; then
34 setenv bootargs $bootargs video=mxcfb${nextcon}:dev=lcd,CLAA-WVGA,if=RGB666 tsdev=tsc2004 calibration
35 if test "0" -eq $nextcon; then
36 setenv fbcon "fbcon=10M";
38 setenv fbcon ${fbcon},10M
40 setexpr nextcon $nextcon + 1
42 echo "------ no 800x480 display";
46 setenv bootargs $bootargs video=mxcfb${nextcon}:dev=hdmi,1280x720M@60,if=RGB24
47 if test "0" -eq $nextcon; then
48 setenv fbcon "fbcon=28M";
50 setenv fbcon ${fbcon},28M
52 setexpr nextcon $nextcon + 1
54 echo "------ no HDMI monitor";
57 while test "3" -ne $nextcon ; do
58 setenv bootargs $bootargs video=mxcfb${nextcon}:off ;
59 setexpr nextcon $nextcon + 1 ;
62 setenv bootargs $bootargs fbcon=$fbcon
63 ${fs}load ${dtype} ${disk}:1 10800000 uImage && ${fs}load ${dtype} ${disk}:1 12800000 uramdisk.img && bootm 10800000 12800000
64 echo "Error loading kernel image"