Hi3520D 制作U-boot uImage 根文件系统
来源:互联网 发布:淘宝网客户端登录 编辑:程序博客网 时间:2024/05/03 06:12
1 生成U-boot
基于Hi3520D_SDK_V1.0.5.0
1.1 编译U-boot
在Hi3520D_SDK_V1.0.5.0/osdrv/uboot目录下运行
make ARCH=armCROSS_COMPILE=arm-hisiv100nptl-linux- hi3520d_config
make ARCH=armCROSS_COMPILE=arm-hisiv100nptl-linux-
编译成功后,在 U-boot 目录下生成 u-boot.bin; 这一步生成的 u-boot.bin 只是一个中间件,并不是最终在单板上执行的 U-boot 镜像
1.2 生成最终使用的U-boot镜像
拷贝上面生成的u-boot.bin 到Hi3520D_SDK_V1.0.5.0/osdrv/tools/pc_tools/uboot_tools目录下;并在此目录下运行
mv reg_info_Hi3515A-bvt_No1_600_300_600_ddr_innerFEPHY.binreg_info_hi3515a.bin
mv reg_info_Hi3520D-bvt_No1_660_330_660_ddr_innerFEPHY.binreg_info_hi3520d.bin
./mkboot-hi3520d.sh reg_info_hi3515a.bin reg_info_hi3520d.binu-boot-hi3520d-wzt2016.bin
文件u-boot-hi3520d-wzt2016.bin 及为最终镜像文件
说明: 文件 reg_info_Hi3515A-bvt_No1_600_300_600_ddr_innerFEPHY.bin
文件reg_info_Hi3520D-bvt_No1_660_330_660_ddr_innerFEPHY.bin
都是SDK自带的文件,如果没有的话,需要手动生成;单击表格第一个标签页上的按钮“Generage reg bin file”,生成临时文件 reg_info.bin
2 生成Linux内核
基于Hi3520D_SDK_V1.0.5.0
配置内核之前需要将Hi3520D UART2和UART3加载到内核以及在内核中复用UART2,UART3管脚;配置为串口功能;
2.1 配置内核
在Hi3520D_SDK_V1.0.5.0/osdrv/kernel目录下运行
cp arch/arm/configs/hi3520d_full_defconfig.config
make ARCH=armCROSS_COMPILE=arm-hisiv100nptl-linux- menuconfig
2.2 编译内核
在Hi3520D_SDK_V1.0.5.0/osdrv/kernel目录下运行
make ARCH=armCROSS_COMPILE=arm-hisiv100nptl-linux- uImage
uImage 为最终使用的内核
2.3 在内核中编译驱动模块
在Hi3520D_SDK_V1.0.5.0/osdrv/kernel目录下运行
make ARCH=armCROSS_COMPILE=arm-hisiv100nptl-linux- modules
- Hi3520D 制作U-boot uImage 根文件系统
- Hi3520d uImage制作 uboot制作 rootfs制作
- 内核驱动-U-Boot+内核制作+根文件系统制作
- u-boot与uImage
- U-boot和根文件系统
- 嵌入式Linux Ramdisk文件系统制作(u-boot, busybox)
- Image uImage zImage U-Boot的区别
- Unpacking and repacking U-Boot uImage files
- Image uImage zImage U-Boot的区别
- Image uImage zImage U-Boot的区别
- 编译 uImage 和测试 u-Boot
- Image uImage zImage U-Boot的区别
- Image uImage zImage U-Boot的区别
- 制作u-boot.bin
- Hi3520d uboot uImage rootfs 移植与升级
- u-boot通过tftp下载uImage断断续续的问题
- u-boot访问jffs2文件系统
- mini2440无盘启动------文件系统制作以及从u-boot启动无盘mini2440-----3
- HDU 5783 Divide the Sequence
- zcmu-1685
- Jenkins安装与配置
- 实现读取本地json格式文件并解析
- 官方API指南之访问资源
- Hi3520D 制作U-boot uImage 根文件系统
- RedHat6.3安装Oracle详解
- 使用Storm实现实时大数据分析
- C语言中声明与定义
- 使用Gson进行JSON处理
- sqoop1安装在hadoop2.6.0上不能使用import命令的问题
- split() 方法
- IE6,IE7,IE8输入元素input,textarea继承父节点margin-left值解决办法
- ART世界探险(11) - OAT文件格式分析