摘要: /* SPL阶段函数调用过程 */ u-boot-spl.lds(arch/arm/cpu/arm/u-boot-spl.lds) |--> vectors.S(arch/arm/lib/vectors.S) |--> start.S(arch/arm/cpu/arm926ejs/start.S) 阅读全文
posted @ 2020-08-01 07:31 liujunhuasd 阅读(620) 评论(0) 推荐(0) 编辑
摘要: sys_config.fex sysconfig是全志平台定义的一种GPIO配置的方法。适用于 BOOT0 与 Uboot 环境 配置文件路径为: tina/device/config/chips/v853/configs/vision/sys_config.fex GPIO配置格式: Port:端 阅读全文
posted @ 2022-06-24 12:37 liujunhuasd 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 参考: https://www.cnblogs.com/embedded-linux/p/6654094.html https://www.cnblogs.com/sammei/p/3968916.html https://zhuanlan.zhihu.com/p/57784678 1、TINA . 阅读全文
posted @ 2022-06-22 16:54 liujunhuasd 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 脚步的主要功能: 1、建立必要的环境变量 2、定义功能命令 1 函数envsetup 主要功能建立必要的环境变量 1、通过tafget\allwinner\路径列表来获得PLATFORM_CHOICES。获得平台的数量特别多,下一步的工作就是通过其他的 设备路径来获得确切的平台 2、1)查找/dev 阅读全文
posted @ 2022-06-07 12:08 liujunhuasd 阅读(292) 评论(0) 推荐(0) 编辑
摘要: gdb 调试任何程序都提示 “Program received signal SIGTRAP, Trace/breakpoint trap.” (gdb) handle SIGTRAP nostop pass SIGTRAP is used by the debugger.Are you sure  阅读全文
posted @ 2022-05-17 20:21 liujunhuasd 阅读(1293) 评论(0) 推荐(0) 编辑
摘要: static int do_ping(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) { if (argc < 2) return CMD_RET_USAGE; net_ping_ip = string_to_ip(argv[1] 阅读全文
posted @ 2022-05-07 12:27 liujunhuasd 阅读(68) 评论(0) 推荐(0) 编辑
摘要: gcc提供了大量优化选项,用来对编译时间,目标文件长度,执行效率三个维度进行不同的取舍和平衡。 gcc 常用编译选项 -c 只编译并生成目标文件。 -E 只运行 C 预编译器。 -g 生成调试信息。GNU 调试器可利用该信息。 -Os 相对语-O2.5。 -o FILE 生成指定的输出文件。用在生成 阅读全文
posted @ 2022-05-03 09:11 liujunhuasd 阅读(275) 评论(0) 推荐(0) 编辑
摘要: asmlinkage void __init start_kernel(void){ char * command_line; extern const struct kernel_param __start___param[], __stop___param[]; /* * Need to run 阅读全文
posted @ 2022-05-02 10:07 liujunhuasd 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 注意版本不同: 阅读全文
posted @ 2022-04-07 07:00 liujunhuasd 阅读(32) 评论(0) 推荐(0) 编辑
摘要: . /Kconfig 无 ./arch/Kconfig 无 ./arch/arm/Kconfig config ARCH_NUC97X bool "Nuvoton NUC9xx platform" select CPU_ARM926EJS select DM select DM_GPIO selec 阅读全文
posted @ 2022-04-01 23:08 liujunhuasd 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 1、ARCH CROSS_COMPILE设置为默认值 # set default to nothing for native buildsifeq ($(HOSTARCH),$(ARCH))CROSS_COMPILE ?=endif 添加直接修改为使用的编译器: ARCH = arm CROSS_C 阅读全文
posted @ 2022-03-31 20:45 liujunhuasd 阅读(232) 评论(0) 推荐(0) 编辑