现在位置: 首页 > 技术文章 > Bootloader > 文章
2015年11月09日 Bootloader ⁄ 共 271字 fastboot: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory已关闭评论 ⁄ 阅读 2,104 次
今天测试fastboot的时候出现如下问题: Fastboot “fastboot: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory” 原因是: 缺少了安装依赖文件lib32stdc++6 使用下面的命令安装该库即可: apt-get install lib32stdc++6
阅读全文
2015年10月20日 Bootloader ⁄ 共 1386字 uboot for tiny4412中MMU虚拟地址的设置已关闭评论 ⁄ 阅读 2,230 次
以下为U-Boot中的代码,   从注释中可以看到 真个地址映射关系: enable_mmu: /* enable domain access */ ldr r5, =0x0000ffff mcr p15, 0, r5, c3, c0, 0 @load domain access register /* Set the TTB register */ ldr r0, =mmu_table ldr r1, =CONFIG_PHY_UBOOT_BASE ldr r2, =0xfff00000 bic r0, r0, r2 orr r1, r0, r1 mcr p15, 0, r1, c2, c0, 0 /* Enable the MMU */ mmu_on: mrc p15, 0, r0, c1, ...
阅读全文
2014年08月10日 Bootloader ⁄ 共 607字 mkimage” command not found – U-Boot images will not be buil已关闭评论 ⁄ 阅读 1,079 次
"mkimage" command not found - U-Boot images will not be built 如果使用make uImage 则能生成由uboot 引导的内核文件, 需要用到 uboot/tools/mkimage,可以在/etc/bashrc 文件末加入一下语句: export PATH:=$PATH:/usr/src/arm/u-boot-1.1.5/tools 这样就能直接引用mkimage 命令。 前提是uboot/tools目录下有mkimage这个工具,需要编译才能生成: 修改Makefile 找到 ifeq($(ARCH),arm) CROSS_COMPILE = 改成 ifeq($(ARCH),...
阅读全文
2014年08月07日 Bootloader ⁄ 共 11468字 U-Boot启动第一阶段代码分析 (二)已关闭评论 ⁄ 阅读 2,248 次
加上篇:  U-Boot启动第一阶段代码分析 (一)  http://www.techbulo.com/1095.html (7)关闭MMU,cache,执行CPU初始话。  接着往下看:        /*         * we do sys-critical inits only at reboot,         * not when booting from ram!         */ #ifndef CONFIG_SKIP_LOWLEVEL_INIT        bl    cpu_init_crit @如果没有定义CONFIG_SKIP_LOELEVEL_INIT,则执行cpu_init_crit.  #endif cpu_init_crit这段代码在U-Boot正...
阅读全文
2014年08月06日 Bootloader ⁄ 共 5983字 U-Boot启动第一阶段代码分析 (一)已关闭评论 ⁄ 阅读 2,047 次
预热 u-boot官方下载地址(包含了各个版本及当前最新版本):ftp://ftp.denx.de/pub/u-boot/ 这里我选择下载u-boot-1.1.6.tar.bz2(6402K) 之后的移植我再选择最新版本u-boot-2011.06.tar.bz2 U-Boot启动第一阶段代码分析 1:cpu自身的初始化:包括MMU,catch,时钟系统,SDRAM控制系统的初始话。 2:重定位:把自己从flash中搬到SDRAM 中 3:分配堆栈空间,设置堆栈指针 4:清零BSS数据段 5:跳转到第二阶段入口函数。  第一阶段...
阅读全文
×