- 积分
- 14
贡献80
飞刀14 FD
注册时间2017-3-8
在线时间3 小时
扫一扫,手机访问本帖
|
本帖最后由 akaryqin 于 2017-3-30 18:00 编辑
我试了烧录qt linux并设置hdmi独显后,是可以正常显示的。
可是烧录console linux并设置hdmi独显后,显示器显示有信号,但是屏幕是全黑的。烧录步骤是按照OKMX6X-S2-Linux手册-V1.2-2017-01-18手册里所写来进行的,
使用的镜像文件也是下载的“OKMX6X-S2-Linux用户资料_20170210”资料中所带的镜像文件。
烧录后启动时进入uboot使用如下命令设置参数:
=>setenv mmcargs setenv bootargs console=ttymxc0,115200 root=/dev/mmcblk0p2 rootwait rw video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24,bpp=32 video=mxcfb1:off
=>saveenv
其实也尝试过了1920x1080和800x480的分辨率,都是一样屏全黑。
设置参数后重启动开发板,在终端看到的最终信息是:
arm-none-linux-gnueabi-gcc (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20) 4.6.2 20110630 (prerelease)
root filesystem built on Thu, 23 Apr 2015 13:54:31 +0800
Freescale Semiconductor, Inc.
freescale login:
应该是启动成功了吧?就是显示器一直是保持全黑。
我输出了环境配置参数如下:
=> printenv
baudrate=115200
boot_fdt=try
bootcmd=mmc dev ${mmcdev};if mmc rescan; then if run loadbootscript; then run bootscript; else if run loadimage; then run
mmcboot; else run netboot; fi; fi; else run netboot; fi
bootcmd_mfg=run mfgtool_args;bootz ${loadaddr} ${initrd_addr} ${fdt_addr};
bootdelay=1
bootscript=echo Running bootscript from mmc ...; source
calibrate=Y
console=ttymxc0
emmcdev=2
epdc_waveform=epdc_splash.bin
ethact=FEC
ethprime=FEC
fdt_addr=0x18000000
fdt_file=imx6dl-sabresd.dtb
fdt_high=0xffffffff
image=zImage
initrd_addr=0x12C00000
initrd_high=0xffffffff
ip_dyn=yes
loadaddr=0x12000000
loadbootscript=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};
loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}
loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}
mfgtool_args=setenv bootargs console=ttymxc0,115200 rdinit=/linuxrc g_mass_storage.stall=0 g_mass_storage.removable=1 g_ma
ss_storage.idVendor=0x066F g_mass_storage.idProduct=0x37FF g_mass_storage.iSerialNumber="" enable_wait_mode=off
mmcargs=setenv bootargs console=ttymxc0,115200 root=/dev/mmcblk0p2 rootwait rw video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24
,bpp=32 video=mxcfb1:off
mmcautodetect=yes
mmcboot=echo Booting from mmc ...; run mmcargs; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt;
then bootz ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi;
fi; else bootz; fi;
mmcdev=2
mmcpart=1
mmcroot=/dev/mmcblk0p2 rootwait rw
netargs=setenv bootargs console=${console},${baudrate} ${smp} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp
netboot=echo Booting from net ...; run netargs; if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tft
p; fi; ${get_cmd} ${image}; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if ${get_cmd} ${fdt_addr} ${fdt_file
}; then bootz ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; f
i; fi; else bootz; fi;
screensize=800x480-7-LCD
script=boot.scr
stderr=serial
stdin=serial
stdout=serial
update_emmc_firmware=if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; if ${get_cmd} ${upda
te_sd_firmware_filename}; then if mmc dev ${emmcdev} 1; then setexpr fw_sz ${filesize} / 0x200; setexpr fw_sz ${fw_sz} + 1
; mmc write ${loadaddr} 0x2 ${fw_sz}; fi; fi
update_sd_firmware=if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; if mmc dev ${mmcdev};
then if ${get_cmd} ${update_sd_firmware_filename}; then setexpr fw_sz ${filesize} / 0x200; setexpr fw_sz ${fw_sz} + 1; mmc
write ${loadaddr} 0x2 ${fw_sz}; fi; fi
wdtenable=enable
Environment size: 2782/8188 bytes
请问这个是什么问题呢?
另外问个问题,MX6DL核心板是否支持SD卡放置镜像文件进行烧录?或者说是否支持除OTG之外的其它更改固件方式?
|
|