摘要: 0 I'm following linux bootloading using u-boot (using SPL falcon mode where u-boot-spl launches linux directly) on a qemu virtual machine. Now the cod 阅读全文
posted @ 2022-02-27 19:44 liujunhuasd 阅读(579) 评论(0) 推荐(0) 编辑
摘要: __weak int checkcpu(void) { return 0; } 阅读全文
posted @ 2022-02-27 15:53 liujunhuasd 阅读(29) 评论(0) 推荐(0) 编辑
摘要: CONFIG_FLASH_CFI_LEGACY CONFIG_FLASH_CFI_DRIVER CONFIG_FLASH_CFI_MTD https://blog.csdn.net/novawl/article/details/7875289 https://blog.csdn.net/han_da 阅读全文
posted @ 2022-02-26 22:46 liujunhuasd 阅读(194) 评论(0) 推荐(0) 编辑
摘要: struct uclass *uclass_find(enum uclass_id key) { list_for_each_entry(uc, gd->uclass_root, sibling_node) } static int uclass_add(enum uclass_id id, str 阅读全文
posted @ 2022-02-24 14:02 liujunhuasd 阅读(704) 评论(0) 推荐(0) 编辑
摘要: static int initr_binman(void) initr_dm_devices https://www.cnblogs.com/zyly/p/15600819.html https://blog.csdn.net/a1598025967/article/details/10703064 阅读全文
posted @ 2022-02-24 12:18 liujunhuasd 阅读(79) 评论(0) 推荐(0) 编辑
摘要: dm_init_and_scan dm_init_and_scan(false)中主要有两点:一个是初始化驱动模型的根节点,另一个就是扫描设备书创建udevice、uclass绑定、申请空间等 static int initr_dm(void) { int ret; /* Save the pre- 阅读全文
posted @ 2022-02-24 12:18 liujunhuasd 阅读(379) 评论(0) 推荐(0) 编辑
摘要: /** * driver_check_compatible() - Check if a driver matches a compatible string * * @param of_match: List of compatible strings to match * @param of_i 阅读全文
posted @ 2022-02-24 12:16 liujunhuasd 阅读(51) 评论(0) 推荐(0) 编辑
摘要: int uclass_bind_device(struct udevice *dev) { struct uclass *uc; int ret; uc = dev->uclass;// list_add_tail(&dev->uclass_node, &uc->dev_head); if (dev 阅读全文
posted @ 2022-02-24 12:16 liujunhuasd 阅读(44) 评论(0) 推荐(0) 编辑
摘要: 函数位置driver/core/lists.c文件 int lists_bind_fdt(struct udevice *parent, ofnode node, struct udevice **devp, bool pre_reloc_only) { struct driver *driver 阅读全文
posted @ 2022-02-24 12:14 liujunhuasd 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 摘要: 安规距离要求部分 抗干扰、EMC部分 整体布局及走线部分 热设计部分 工艺处理部分 安规距离要求部分 包括电气间隙(空间距离),爬电距离(沿面距离)和绝缘穿透距离。 1、电气间隙:两相邻导体或一个导体与相邻电机壳表面的沿空气测量的最短距离。 2、爬电距离:两相邻导体或一个导体与相邻电机壳表面 阅读全文
posted @ 2022-02-23 21:13 liujunhuasd 阅读(1364) 评论(0) 推荐(0) 编辑