Forum Discussion

DLiu5's avatar
DLiu5
Icon for New Contributor rankNew Contributor
5 years ago

更新dtb以后SD卡boot卡住了!提示:Waiting for root device /dev/mmc

1. 我将DE10-Nano的 GHRD 工程基础上 增加了一个UART(RS-232 Serial Port) IP。
2. 修改top文件,增加串口的input和output 端口,并在例化里面新增了串口。
3. 综合后在pin planner里面将串口的端口接到了GPIO0的 IO上。
4. 生成rbf和dtb (hps_common_board_info.xml 、 soc_system_board_info.xml 、 soc_system.sopcinfo三个文件)

如果我只拷贝新的rbf到SD卡, 系统可以正常启动,

如果我继续将新的dtb拷贝到SD卡,系统卡在这里:
Waiting for root device /dev/mmcblk0p2

4 Replies

  • Hi,

    You cannot use two different device tree for the same design that has connection with HPS, you need to use the same device tree that was compiled from the original design.

    • DLiu5's avatar
      DLiu5
      Icon for New Contributor rankNew Contributor

      Thanks for reply!

      I did use the same Quartus project with same Quartus and EDS version.