fdt命令的使用
来源:互联网 发布:淘宝网滥用商标关键字 编辑:程序博客网 时间:2024/05/24 06:09
官方参考:https://www.denx.de/wiki/DULG/UBootCmdFDT
U_BOOT_CMD(fdt,255,0,do_fdt,"flattened device tree utility commands", "addr <addr> [<length>] - Set the fdt location to <addr>\n"#ifdef CONFIG_OF_BOARD_SETUP"fdt boardsetup - Do board-specific set up\n"#endif"fdt move <fdt> <newaddr> <length> - Copy the fdt to <addr> and make it active\n""fdt resize - Resize fdt to size + padding to 4k addr\n""fdt print <path> [<prop>] - Recursive print starting at <path>\n""fdt list <path> [<prop>] - Print one level starting at <path>\n""fdt set <path> <prop> [<val>] - Set <property> [to <val>]\n""fdt mknode <path> <node> - Create a new node after <path>\n""fdt rm <path> [<prop>] - Delete the node or <property>\n""fdt header - Display header info\n""fdt bootcpu <id> - Set boot cpuid\n""fdt memory <addr> <size> - Add/Update memory node\n""fdt rsvmem print - Show current mem reserves\n""fdt rsvmem add <addr> <size> - Add a mem reserve\n""fdt rsvmem delete <index> - Delete a mem reserves\n""fdt chosen [<start> <end>] - Add/update the /chosen branch in the tree\n"" <start>/<end> - initrd start/end addr\n""NOTE: Dereference aliases by omiting the leading '/', ""e.g. fdt print ethernet0.");
示例:
1. 首先将dtb文件上传
tftpboot 0x84000000 board.dtb
2.设置fdt的地址
fdt addr 0x84000000
3. 打印header信息
fdt header
4.打印/
fdt print /
阅读全文
0 0
- fdt命令的使用
- u-boot中fdt命令的使用
- u-boot中fdt命令的使用
- u-boot中fdt命令的使用
- FDT 使用flex sdk4.6 出现的一个问题
- 关于FDT的加密算法...
- Eclipse 的Flash插件FDT
- uboot 下 FDT的支持
- 子目录FDT的簇链结构
- 子目录FDT的簇链结构
- Linux3.x后的fdt 机制x
- myeclipse _9.fdt (系统找不到指定的文件。) mavent 解决方法
- 嵌入式PowerPC上的扁平设备树FDT
- 全面解析PowerPC架构下的扁平设备树FDT
- 全面解析PowerPC架构下的扁平设备树FDT
- 嵌入式PowerPC上的扁平设备树FDT
- 嵌入式PowerPC上的扁平设备树FDT
- 嵌入式PowerPC上的扁平设备树FDT
- Linux常用命令
- [知了堂学习笔记] jQuery Ajax
- JAVA摘要算法
- 网页设计大赛
- 学习总结6
- fdt命令的使用
- Python3爬虫学习4:降爬取的信息保存到本地
- 互斥同,-临界区,互斥量,信号量,事件
- mybatis表不存在的解决办法
- 今天是第一天所以写两个,这个是总结以前学到的一些知识看看自己以后的学习方向
- ubuntu开启ssh服务
- 检测url是否可用
- OpenCV_图像滤波
- ETH