3 if itest.s x6SX == "x${cpu}" || itest.s x7D == "x${cpu}"; then
8 if itest.s "x1" == "x$m4enabled" ; then
18 setenv initrd_high 0xffffffff
19 if itest.s "x" == "x${dtbname}" ; then
20 if itest.s x6SOLO == "x${cpu}" ; then
21 dtbname=imx6dl-${board}.dtb;
22 elif itest.s x6DL == "x${cpu}" ; then
23 dtbname=imx6dl-${board}.dtb;
24 elif itest.s x6QP == "x${cpu}" ; then
25 dtbname=imx6qp-${board}.dtb;
26 elif itest.s x6SX == "x${cpu}" ; then
27 dtbname=imx6sx-${board}${m4}.dtb;
28 elif itest.s x7D == "x${cpu}" ; then
29 dtbname=imx7d-${board}${m4}.dtb;
31 dtbname=imx6q-${board}.dtb;
35 if load ${dtype} ${disk}:1 ${a_script} uEnv.txt ; then
36 env import -t ${a_script} ${filesize}
39 if itest.s x == x${bootdir} ; then
43 if itest.s x${bootpart} == x ; then
47 if load ${dtype} ${disk}:${bootpart} ${a_fdt} ${bootdir}${dtbname} ; then
49 setenv fdt_high 0xffffffff
51 echo "!!!! Error loading ${bootdir}${dtbname}";
57 if itest.s "x" != "x${cmd_custom}" ; then
62 if itest.s "x" != "x${cmd_hdmi}" ; then
65 if itest.s x == x${allow_noncea} ; then
66 setenv bootargs ${bootargs} mxc_hdmi.only_cea=1;
67 echo "only CEA modes allowed on HDMI port";
69 setenv bootargs ${bootargs} mxc_hdmi.only_cea=0;
70 echo "non-CEA modes allowed on HDMI, audio may be affected";
74 if itest.s "x" != "x${cmd_lcd}" ; then
78 if itest.s "x" != "x${cmd_lvds}" ; then
82 if itest.s "x" != "x${cmd_lvds2}" ; then
87 if itest.s "x" == "x${cmd_xxx_present}" ; then
88 echo "!!!!!!!!!!!!!!!!"
89 echo "warning: your u-boot may be outdated, please upgrade"
90 echo "!!!!!!!!!!!!!!!!"
93 setenv bootargs "${bootargs} console=${console},115200 vmalloc=400M consoleblank=0 rootwait fixrtc"
95 if test "sata" = "${dtype}" ; then
96 setenv bootargs "${bootargs} root=/dev/sda${bootpart}" ;
97 elif test "usb" = "${dtype}" ; then
98 setenv bootargs "${bootargs} root=/dev/sda${bootpart}" ;
100 setenv bootargs "${bootargs} root=/dev/mmcblk${disk}p${bootpart}"
103 if itest.s "x" != "x${disable_giga}" ; then
104 setenv bootargs ${bootargs} fec.disable_giga=1
107 if itest.s "x" != "x${wlmac}" ; then
108 setenv bootargs ${bootargs} wlcore.mac=${wlmac}
111 if itest.s "x" != "x${gpumem}" ; then
112 setenv bootargs ${bootargs} galcore.contiguousSize=${gpumem}
115 if itest.s "x" != "x${cma}" ; then
116 setenv bootargs ${bootargs} cma=${cma}
119 if itest.s "x" != "x${show_fdt}" ; then
123 if itest.s "x" != "x${show_env}" ; then
127 if load ${dtype} ${disk}:${bootpart} ${a_zImage} ${bootdir}/zImage ; then
128 bootz ${a_zImage} - ${a_fdt}
130 echo "Error loading kernel image"