|
板凳
楼主 |
发表于 2018-1-31 12:13:48
|
只看该作者
- U-Boot 2015.04-svn86 (Aug 09 2017 - 10:21:38)
- CPU: Freescale i.MX6Q rev1.5 at 792 MHz
- CPU: Temperature 38 C
- Reset cause: POR
- Board: MYZR i.MX6 Evaluation Kit
- Model: MY-IMX6-EK314-6Q-1G
- I2C: ready
- DRAM: 1 GiB
- MMC: FSL_SDHC: 0, FSL_SDHC: 1
- SF: Detected SST25VF016B with page size 256 Bytes, erase size 4 KiB, total 2 MiB
- No panel detected: default to Hannstar-XGA
- Display: Hannstar-XGA (1024x600)
- In: serial
- Out: serial
- Err: serial
- Net: using phy at 7
- FEC [PRIME]
- Normal Boot
- Hit any key to stop autoboot: 0
- => printenv
- baudrate=115200
- bootcmd=mmc dev ${mmcdev}; if run loadimage; then run mmcboot; else run netboot; fi;
- bootcmd_mfg=run mfgtool_args; bootz ${loadaddr} ${initrd_addr} ${fdt_addr};
- bootdelay=1
- console=ttymxc0
- display=
- ethact=FEC
- ethaddr=1c:87:76:51:8f:18
- ethprime=FEC
- fb0_hdmi=video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24
- fb0_lcd=video=mxcfb0:dev=lcd,SEIKO-WVGA,if=RGB24
- fb0_lvds0=video=mxcfb0:dev=ldb,if=RGB666 ldb=sin0
- fb0_lvds1=video=mxcfb0:dev=ldb,if=RGB666 ldb=sin1
- fb1_hdmi=video=mxcfb1:dev=hdmi,1920x1080M@60,if=RGB24
- fb1_lcd=video=mxcfb1:dev=lcd,SEIKO-WVGA,if=RGB24
- fb1_lvds0=video=mxcfb1:dev=ldb,if=RGB666 ldb=sin0
- fb1_lvds1=video=mxcfb1:dev=ldb,if=RGB666 ldb=sin1
- fdt_addr=0x18000000
- fdt_file=myimx6ek314-6q.dtb
- fdt_high=0xffffffff
- image_file=zImage-myimx6
- initrd_addr=0x12C00000
- initrd_high=0xffffffff
- ip_dyn=no
- ipaddr=192.168.0.81
- loadaddr=0x12000000
- loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}
- loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image_file}
- lvds_sync=video=mxcfb0:dev=ldb,if=RGB666 ldb=dul1
- mfgtool_args=setenv bootargs console=ttymxc0,115200 cma=320M rdinit=/linuxrc g_mass_storage.stall=0 g_mass_storage.removable=1 g_mass_storage.idVendor=0x066F g_mass_storage.idProduct=0x37FF g_mass_storage.iSerialNumber="" enable_wait_mode=off
- mmcargs=run set_disp; setenv bootargs console=${console},${baudrate} ${smp} cma=320M root=${mmcroot} ${disp_args}
- mmcboot=echo Booting from mmc ...; run mmcargs; if run loadfdt; then bootz ${loadaddr} - ${fdt_addr}; else echo WARN: Cannot boot from mmc; fi;
- mmcdev=1
- mmcpart=1
- mmcroot=/dev/mmcblk3p2 rootwait rw
- netargs=setenv bootargs console=${console},${baudrate} ${smp} cma=320M root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp
- netboot=echo Booting from net ...; run netargs; run set_net_cmd; ${get_cmd} ${loadaddr} ${image_file}; if ${get_cmd} ${fdt_addr} ${fdt_file}; then bootz ${loadaddr} - ${fdt_addr}; else echo WARN: Cannot boot from net; fi;
- serverip=192.168.0.18
- set_disp=setenv disp_args ${display}
- set_net_cmd=if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi;
- tftpboot=echo Booting from tftp ...; run mmcargs; run set_net_cmd; ${get_cmd} ${loadaddr} ${image_file}; if ${get_cmd} ${fdt_addr} ${fdt_file}; then bootz ${loadaddr} - ${fdt_addr}; else echo WARN: Cannot boot from tftp; fi;
- uboot_file=uboot-myimx6ek314-6q.imx
- update_fdt=run set_net_cmd; ${get_cmd} ${loadaddr} ${fdt_file}; fatwrite mmc ${mmcdev}:${mmcpart} ${loadaddr} ${fdt_file} 0x80000
- update_kern=run set_net_cmd; ${get_cmd} ${loadaddr} ${image_file}; fatwrite mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image_file} 0x600000
- update_uboot=if run set_net_cmd; then if ${get_cmd} ${loadaddr} ${uboot_file}; then sf probe 0; sf erase 0 0x200000; sf write ${loadaddr} 0x400 0x80000; fi; else echo FAIL: Update u-boot fail ...; fi;
- Environment size: 2927/8188 bytes
复制代码
上面是打印log,
update_kern 命令对应自动网络下载并烧录内核文件 image_file=zImage-myimx6
update_fdt 命令对应自动网络下载并烧录设备树文件 fdt_file=myimx6ek314-6q.dtb
对吧?
fdt_file=myimx6ek314-6q.dtb
fdt_addr=0x18000000 ---------------这个是设备树的烧录起始地址
fdt_high=0xffffffff
image_file=zImage-myimx6
initrd_addr=0x12C00000
initrd_high=0xffffffff
loadaddr=0x12000000 --------这个是内核的烧录起始地址吧?
initrd_addr=0x12C00000 ---这个地址是什么内容?
另外没找到文件系统的烧录起始地址,是initrd_addr 吗?
有文件系统的自动更新命令吗? |
|