2021.01专题

OK6410A 开发板 (三) 13 u-boot-2021.01 boot 解析 U-boot 镜像运行部分 boot 详细解析2 relocate_vectors

从链接角度分析 u-boot.bin 的构成从运行的角度分析 u-boot.bin 前 64byte 的 relocate relocate_vectors 的实现 #ifdef CONFIG_HAS_VBAR// 虽然走的是这一套,但是找到的协处理器cp15的C12的实现(DDI0301H_arm1176jzfs_r0p7_trm.pdf)和下面的内容对不上// 那就分析 #else

OK6410A 开发板 (三) 13 u-boot-2021.01 boot 解析 SPL 镜像运行部分 boot 详细解析

url : git@github.com:lisider/u-boot.gitbranch : ok6410acommit id : e63a4077ad3aea53107495b0b68b95e720fe6033config : ok6410a_mini_defconfig// 涉及的 .S .s .c 文件 有 67个 从入口出口来看 // 运行在 0x0c00 0

OK6410A 开发板 (三) 12 u-boot-2021.01 boot 解析 U-boot 镜像运行部分 boot 详细解析1

url : git@github.com:lisider/u-boot.gitbranch : ok6410acommit id : e63a4077ad3aea53107495b0b68b95e720fe6033config : ok6410a_mini_defconfig// 涉及的 .S .s .c 文件 有 223个 reset arch

OK6410A 开发板 (三) 11 u-boot-2021.01 boot 解析 U-boot 镜像运行部分 命令的执行

1.命令的注册2.命令的调用3.命令的执行4.命令的返回 1 命令的注册(以help为例) cmd/help.c10 static int do_help(struct cmd_tbl *cmdtp, int flag, int argc, 11 char *const argv[])

OK6410A 开发板 (三) 10 u-boot-2021.01 boot 解析 U-boot 镜像运行部分 cmdline

url : git@github.com:lisider/u-boot.gitbranch : ok6410acommit id : e63a4077ad3aea53107495b0b68b95e720fe6033config : ok6410a_mini_defconfig// 涉及的 .S .s .c 文件 有 223个 reset arch

OK6410A 开发板 (三) 9 u-boot-2021.01 boot 解析 U-boot 镜像运行部分 bootcmd

url : git@github.com:lisider/u-boot.gitbranch : ok6410acommit id : e63a4077ad3aea53107495b0b68b95e720fe6033config : ok6410a_mini_defconfig// 涉及的 .S .s .c 文件 有 223个 reset arch

OK6410A 开发板 (三) 8 u-boot-2021.01 boot 解析 SPL镜像运行部分

url : git@github.com:lisider/u-boot.gitbranch : ok6410acommit id : e63a4077ad3aea53107495b0b68b95e720fe6033config : ok6410a_mini_defconfig// 涉及的 .S .s .c 文件 有 67个 从入口出口来看 // 运行在 0x0c00 0

OK6410A 开发板 (三) 7 u-boot-2021.01 boot 解析 u-boot 与linux配置部分

U-boot配置 make O=output ok6410a_mini_defconfig// 在配置的时候 不需要指定 ARCH(因为defconfig有写) 与 CROSS_COMPILE(因为现在并不需要,build的时候才需要)// 如果写了CROSS_COMPILE,会去检查CROSS_COMPILE , 然后build的时候还是需要写// 第一次用arm-gcc 的时刻, 编译

839. Similar String Groups(Leetcode每日一题-2021.01.31)

Problem Two strings X and Y are similar if we can swap two letters (in different positions) of X, so that it equals Y. Also two strings X and Y are similar if they are equal. For example, “tars” and

959. Regions Cut By Slashes(Leetcode每日一题-2021.01.25)--抄答案

Problem In a N x N grid composed of 1 x 1 squares, each 1 x 1 square consists of a /, , or blank space. These characters divide the square into contiguous regions. (Note that backslash characters ar

830. Positions of Large Groups(Leetcode每日一题-2021.01.05)

Problem In a string s of lowercase letters, these letters form consecutive groups of the same character. For example, a string like s = “abbxxxxzyy” has the groups “a”, “bb”, “xxxx”, “z”, and “yy”.

605. Can Place Flowers(Leetcode每日一题-2021.01.01)--抄答案

Problem You have a long flowerbed in which some of the plots are planted, and some are not. However, flowers cannot be planted in adjacent plots. Given an integer array flowerbed containing 0’s and