uboot and linux kernel deüelop process on zedboard
来源:互联网 发布:印刷排版软件 编辑:程序博客网 时间:2024/05/18 17:01
1 sudo gedit /etc/bash.bashrc and insert
"export ARCH=arm"
"export CROSS_COMPILE=arm-xilinx-linux-gnueabi-"
and then run "source /etc/bash.bashrc" to make it work;
2 building the u-boot
cd to dir "u-boot-xlnx",run"make ARCH=arm zynq_zed"
add PATH: export PATH=/home/ubuntu/openhw/u-boot-xlnx/tools:$PATH
2 building the linux kernel;
cd to linux-audio_zynq dir;
run "make zync_xcomm_adv7511_defconfig" to get .config file;
gedit ./config,make it"#CONFIG_XILINX_FIXED_DEVTREE_ADDR is not set"
run "make uImage LOADADDR=0x8000"
3 when boot ,wo need to run "'fatload mmc 0 0x3000000 uImage && fatload mmc 0 0x2A00000 devicetree.dtb && bootm 0x3000000 - 0x2A00000'" in the serail;
4 how to autoboot:
modify the zynq_commoc.h,the
"sdboot=echo Copying Linux from SD to RAM... && " \
"mmcinfo && " \
"fatload mmc 0 0x3000000 ${kernel_image} && " \
"fatload mmc 0 0x2A00000 ${devicetree_image} && " \
"fatload mmc 0 0x2000000 ${ramdisk_image} && " \
"bootm 0x3000000 0x2000000 0x2A00000\0" \
to
"sdboot=echo Copying Linux from SD to RAM... && " \
"mmcinfo && " \
"fatload mmc 0 0x3000000 uImage && " \
"fatload mmc 0 0x2A00000 devicetree.dtb && " \
"bootm 0x3000000 - 0x2A00000\0" \
modify :
#define CONFIG_BOOTCOMMAND "${modeboot}"
to
#define CONFIG_BOOTCOMMAND "run sdboot"
"export ARCH=arm"
"export CROSS_COMPILE=arm-xilinx-linux-gnueabi-"
and then run "source /etc/bash.bashrc" to make it work;
2 building the u-boot
cd to dir "u-boot-xlnx",run"make ARCH=arm zynq_zed"
add PATH: export PATH=/home/ubuntu/openhw/u-boot-xlnx/tools:$PATH
2 building the linux kernel;
cd to linux-audio_zynq dir;
run "make zync_xcomm_adv7511_defconfig" to get .config file;
gedit ./config,make it"#CONFIG_XILINX_FIXED_DEVTREE_ADDR is not set"
run "make uImage LOADADDR=0x8000"
3 when boot ,wo need to run "'fatload mmc 0 0x3000000 uImage && fatload mmc 0 0x2A00000 devicetree.dtb && bootm 0x3000000 - 0x2A00000'" in the serail;
4 how to autoboot:
modify the zynq_commoc.h,the
"sdboot=echo Copying Linux from SD to RAM... && " \
"mmcinfo && " \
"fatload mmc 0 0x3000000 ${kernel_image} && " \
"fatload mmc 0 0x2A00000 ${devicetree_image} && " \
"fatload mmc 0 0x2000000 ${ramdisk_image} && " \
"bootm 0x3000000 0x2000000 0x2A00000\0" \
to
"sdboot=echo Copying Linux from SD to RAM... && " \
"mmcinfo && " \
"fatload mmc 0 0x3000000 uImage && " \
"fatload mmc 0 0x2A00000 devicetree.dtb && " \
"bootm 0x3000000 - 0x2A00000\0" \
modify :
#define CONFIG_BOOTCOMMAND "${modeboot}"
to
#define CONFIG_BOOTCOMMAND "run sdboot"
- uboot and linux kernel deüelop process on zedboard
- Linux Kernel Developement process base on debian OS
- linux kernel startup process!
- Linux kernel boot process
- uboot and kernel boot flow
- uboot linux kernel 交汇处
- linux uboot,kernel启动流程
- Analysis of Process Multi-Thread Manangement Based on a simpilified Linux Kernel--myKernel
- Linux kernel Process Management 1——Conparison and Contrast between linux 2.4 VS linux 2.6 in process kernel stack layout
- Linux kernel Process Management 2.1(amd64)——Creation and Switch
- Linux kernel Process Management 2.2(x86)——Creation and Switch
- All About Process On Value and Process On Help
- All About Process On Value and Process On Help
- process memory segment on linux
- [Zedboard u-boot Linux系统移植]-Embedded Linux® Hands-on Tutorial for the ZedBoard™
- Understand the linux kernel-ch3-Process descriptor
- Understanding the linux kernel-ch3-Process descriptor
- Understanding the linux kernel-ch3-Process Switch
- dp、dip、sp、pt
- 第一个java程序
- open和fopen的区别
- Chapter 3, Exercise 3.2.3
- 剖析RFC 4140
- uboot and linux kernel deüelop process on zedboard
- android本地库编译小问题
- QQ电脑管家登录协议分析
- Chapter 3, Exercise 3.2.4
- c# 获取全屏 中鼠标焦点的位置坐标
- android本地库编译小问题
- char *s="\ta\017bc"中指针变量s 指向的字符串所占字节数是6的原因
- iOS内存管理
- Linux学习(1)----一些简单的命令