PandaBoard ES uboot howto
来源:互联网 发布:什么网络兼职比较靠谱 编辑:程序博客网 时间:2024/05/14 20:09
PandaBoard ES uboot howto
Getting the Source
To get the source code for U-Boot, clone a copy of the Linaro U-Boot stable tree:
mkdir pandaboard-escd pandaboard-esgit clone git://git.linaro.org/boot/u-boot-linaro-stable.gitcd u-boot-linaro-stablegit checkout -b pandaboard-es origin/Linaro-u-boot-2011.12
As of 12/18/2011, the master branch tagged Linaro-u-boot-2011.12 produces a working MLO/U-Boot pair which will boot both Panda and Panda-ES boards. Previously, the Panda EA1 with rev ES2.0 silicon would not boot.
Configure and Compile
To configure and compile U-Boot for PandaBoard ES do the following:
export CROSS_COMPILE=arm-none-linux-gnueabi-make omap4_panda_configmake
Note: This assumes that you are using and have installed the CodeSourcery 2011.03-41 for ARM GNU/Linux toolchain. If you are using a different toolchain, make sure to adjust the CROSS_COMPILE variable accordingly.
Using "Sourcery CodeBench Lite 2011.09-70 for ARM GNU/Linux" generates a compiler error, as does using the toolchain that comes with Ubuntu's gcc-arm-linux-gnueabi package as follows:
... snip ...arm-linux-gnueabi-gcc -g -Os -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80E80000 -DCONFIG_SPL_TEXT_BASE=0x40303080 -I/home/rpjday/panda/uboot/u-boot-linaro-stable/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/arm-linux-gnueabi/4.6.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv5 -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security -o clocks.o clocks.c -cclocks.c: In function ‘enable_non_essential_clocks’:clocks.c:420:13: internal compiler error: in decode_addr_const, at varasm.c:2638Please submit a full bug report,with preprocessed source if appropriate.See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.Preprocessed source stored into /tmp/ccE2XxKg.out file, please attach this to your bugreport.
At the present time, this seems to be a problem with gcc 4.6.1.
GNU gcc 4.6.2 appears to have a fix for this issue. Stay tuned for a How-to on how to build a gcc 4.6.x toolchain that will properly compile u-boot.
Copy Files
Copy the MLO and U-Boot images to the boot partition of your mounted SD card:
cp MLO /media/bootcp u-boot.img /media/bootsync
Make sure you unmount your SD card prior to removing it from the host PC.
- PandaBoard
- PandaBoard ES uboot howto
- Pandaboard Es debug
- pandaboard ES学习之旅——3 Uboot源码下载与编译
- OMAP4 pandaboard ES开发资料总结
- OMAP4 pandaboard ES开发资料总结
- OMAP4 pandaboard ES开发资料总结
- OMAP4 pandaboard ES开发资料汇总
- pandaboard Es Rev b3 刷android4.2
- OMAP4 pandaboard ES开发资料总结
- pandaboard ES学习之旅——0 pandaboard ES开发板简介
- 嵌入式开发九:OMAP4 pandaboard ES开发资料总结
- Pandaboard ES学习日志_总体开发流程
- Pandaboard ES编译bootloader、xloader、内核、以及安卓系统
- PandaBoard ES配置SD卡及烧写
- PandaBoard ES所用到的引导加载程序
- Pandaboard ES编译bootloader、xloader、内核、以及安卓系统
- 嵌入式开发九:OMAP4 pandaboard ES开发资料总结
- uboot 2014.07 啟動流程分析 for pandaboard
- 杨氏矩阵-young tableau 算法分析+实现
- HTML中表格的操作(面试可能会用到)
- view和viewController的生命周期
- Python调用MongoDB使用心得
- 导出Excel的网址
- PandaBoard ES uboot howto
- sql语句 中datetime输入
- 驱动安装知识储备
- gcc的__attribute__编译属性
- 如何查看linux系统源码
- AFNetworking 学习笔记
- itk Casting and Intensity Mapping
- 这两天调试代码发现android4.0要求内存对齐
- C++ Builder 2010 如何调用Vs2008创建出的C++的DLL