From 4ab7eb15f2f04e7bcbf1f0890665ab7b8f8f0bdc Mon Sep 17 00:00:00 2001 From: Huang Xin Date: Tue, 21 May 2019 17:21:42 +0800 Subject: [PATCH] Add readme --- Readme.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index 705a720..ceef2f4 100644 --- a/Readme.md +++ b/Readme.md @@ -21,13 +21,13 @@ ld Makefile和编译脚本目录 或 git pull - 2. #### 安装必要软件(UBuntu) + 2. #### 安装必要软件(UBuntu) sudo ./fsl-qoriq-glibc-x86_64-fsl-toolchain-aarch64-toolchain-2.4.1.sh sudo apt-get -y install git u-boot-tools device-tree-compiler autoconf curl flex sudo apt-get -y install automake dh-autoreconf libssl-dev openssl libpcap-dev bc sudo apt-get -y install python-pip qemu-utils libncurses5-dev python-crypto bison - 3. #### 安装 linux 内核源代码 + 3. #### 安装 linux 内核源代码 sudo mkdir -p /opt/fsl-kernel /opt/fsl-kernel/arm64 /opt/fsl-kernel/x86 sudo chmod 777 /opt/fsl-kernel -R cp ./vBRAS/Platform/kernel/linux-4.9.140.tar.gz /opt/fsl-kernel @@ -35,6 +35,7 @@ ld Makefile和编译脚本目录 tar -xvaf ./linux-4.9.140.tar.gz ./ cp ./linux-4.9.140 ./x86 cp ./linux-4.9.140 ./arm64 + 4. #### 设置环境变量 在 ~/.bashrc 文件末尾加上以下几行配置 export HUACHENG_LINUX_KERNEL=/opt/fsl-kernel/x86/linux-4.9.140 @@ -54,6 +55,7 @@ ld Makefile和编译脚本目录 为 ARCH ?= arm64 CROSS_COMPILE ?= aarch64-fsl-linux- + 然后运行 make 命令进行编译 + ## **安装方法**