分享

Linux Environment (Customization)

 海漩涡 2016-05-14


1、Make
Go to $WORKSPACE/release, set the path of the tool. Then, go to the directory that contains the kernel source, and execute make.

> cd $WORKSPACE/release/
> source ./set_gnutool_path.sh
> cd ain1e/dev/cpu0/kernel/src/linux-x.xx.xx-xarina/
> make


2、 Identification
Confirm that the three files uImage, zImage and Image have been generated.

> ls $WORKSPACE/release/ain1e/dev/cpu0/kernel/src/linux-x.xx.xx-xarina/arch/arm/boot/*Image
uImage
zImage
Image


3、 Copy to release directory
Copy “uImage” file to “$WORKSPACE/release/fw_image/kernel” directory with renaming. It is required because install_fw.sh gathers Linux kernel image from “$WORKSPACE/release/fw_image/kerne/” directory.

> cp $WORKSPACE/release/ain1e/dev/cpu0/kernel/src/linux-x.xx.xx-xarina/arch/arm/boot/uImage \
$WORKSPACE/release/fw_image/kerne/uImage_3.10.55_yyyymmdd_XARINA_evb
* yyyymmdd = “yyyy” is the year such as 2015, “mm” is the month, and “dd” is the date. These are all numbers.









    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多