打印

stm32h7-linux bin文件

[复制链接]
221|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
你说说说说|  楼主 | 2018-7-11 16:42 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
这是目前移植好的 uboot  linux   bin文件
    解压附件文件  将 SD卡格式化  fat32
  第一步    复制 uImage  stm32h743i-eval.dtb 到SD卡下 将来插入到板子


  第二步    用stlink  烧录 uboot.bin 到flash 0x08000000

  第三步   下载secureCRT 串口终端   连接好串口线请确定连接好,然后设置好串口终端(设置步骤请移步百度)上电 在终端shell 执行下面的指令。(最好学习下UBOOT cmd指令 )

    uboot  命令下 复制以下3个命令:依次执行  

    1   env set bootargs "root=/dev/ram init=/linuxrc console=ttySTM0,115200 "  

    2   fatload mmc 0 c1000000 uImage;fatload mmc 0 c1400000 stm32h743i-eval.dtb

    3   bootm c1000000 - c1400000


备注:太懒 没写相关驱动  。。。。   如果要使用eth 网卡  需要将 I2C io扩展芯片 PCF8574T  Pin 12-13  连接起来。phy reset io

tftpboot  用tftpd64 软件搭建tftp服务器指定好IP 和 文件夹目录

1 env set bootargs "root=/dev/ram init=/linuxrc console=ttySTM0,115200 "

2 setenv gatewayip 192.168.xxx.xxx;setenv ipaddr 192.168.xxx.xxx;setenv netmask 255.255.255.0;setenv ethaddr  1a:5a:38:ef:38:d8;

3 tftpboot c1000000 192.168.xxx.xxx:uImage;tftpboot c1400000 192.168.xxx.xxx:stm32h743i-eval.dtb;

4 bootm c1000000 - c1400000

使用特权

评论回复

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

355

主题

355

帖子

1

粉丝