电脑桌面
添加小米粒文库到电脑桌面
安装后可以在桌面快捷访问

exynos4412uboot移植笔记

exynos4412uboot移植笔记_第1页
1/11
exynos4412uboot移植笔记_第2页
2/11
exynos4412uboot移植笔记_第3页
3/11
Exynos4412 uboot 移植笔记 一、准备原料 三星原厂提供的 UBOOT 代码-u-boot-samsung-dev. 二、在 4212 平台代码基础上修改成自己的平台 YYGY4412 1.用户目录下新建文件夹 yygy4412-uboot cd, mkdir yygy4412-uboot 2.进入 yygy4412-uboot 文件夹,将三星平台代码压缩文件拷贝至此。解压, 重命名为 :yygy4412-uboot tar -vxf u-boot-samsung-dev.tar.gz mv u-boot-samsung-dev yygy4412-uboot 3.拷贝迅为的 CodeSign4SecureBoot 文件夹到当前目录。至此当前目录结构为: 4.进入文件夹 yygy4412-uboot cd yygy4412-uboot 进入三星平台 cd board/samsung cp -rf smdk4212 yygy4412 cd yygy4412 Mv clock_init_smdk4212.S clock_init_yygy4412.S Mv mem_init_smdk4212.S mem_init_yygy4412.S Mv smdk4212.c yygy4412.c Mv smdk4212_val.h yygy4212_val.h Mv smdk4412_val.h yygy4412_val.h Vi lowlevel_init.S #ifdef CONFIG_EXYNOS4412 #include "smdk4412_val.h" //改为#include "yygy4412_val.h" #else #include "smdk4212_val.h" //改为#include "yygy4212_val.h" #endif Vi clock_init_yygy4412.S #ifdef CONFIG_EXYNOS4412 #include "smdk4412_val.h" //改为#include "yygy4412_val.h" #else #include "smdk4212_val.h" //改为#include "yygy4212_val.h" #endif Vi Makefile 33 行:COBJS-y := smdk4212.o //改为:COBJS-y := yygy4412.o 37 行;SOBJS += mem_init_smdk4212.o //改为:SOBJS += mem_init_yygy4412.o 38 ;SOBJS += clock_init_smdk4212.o //改为:SOBJS += clock_init_yygy4412.o Cd , cd yygy4412-uboot/yygy4412-uboot 修改 boards.cfg 添加 yygy4412 arm armv7 yygy4412 samsung exynos Cp -av include/configs/smdk4412.h include/configs/yygy4412.h Vi include/configs/yygy4412.h 265: #define CONFIG_SYS_PROMPT "SMDK4412 # " 改为:#define CONFIG_SYS_PROMPT "YYGY4412 # " 319:#define CONFIG_IDENT_STRING " for SMDK4412" 改为;#define CONFIG_IDENT_STRING " for YYGY4412" Vi u-boot.lds board/samsung/smdk4212/libsmdk4212.o (.text) 修改为 : board/samsung/yygy4412/libyygy4412.o (.text) 5.编译 make yygy4412_config make 6.制作UBOOT...

1、当您付费下载文档后,您只拥有了使用权限,并不意味着购买了版权,文档只能用于自身使用,不得用于其他商业用途(如 [转卖]进行直接盈利或[编辑后售卖]进行间接盈利)。
2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。
3、如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。

碎片内容

exynos4412uboot移植笔记

确认删除?
VIP
微信客服
  • 扫码咨询
会员Q群
  • 会员专属群点击这里加入QQ群
客服邮箱
回到顶部