zoukankan      html  css  js  c++  java
  • linux powerqorpp1010rdb 编译过程

    1 编译u-boot的命令集(build_p1010rdb_release/work/p1010rdb-linux-gnuspe/u-boot-2010.12-r2/)

    echo "UBOOT_MACHINE = \"P1010RDB_NAND_config\"" > mycollection/recipes/u-boot/amend.inc
    echo "UBOOT_MACHINE = \"P1010RDB_NOR_config\"" > mycollection/recipes/u-boot/amend.inc
    echo "UBOOT_MACHINE = \"P1010RDB_SPIFLASH_config\"" > mycollection/recipes/u-boot/amend.inc
    echo "UBOOT_MACHINE = \"P1010RDB_SDCARD_config\"" > mycollection/recipes/u-boot/amend.inc

    ./scripts/create-config.py --config-file=fsl-p1010rdb/sample-create-config.ini --override-collection mycollection -j 4 -t 2

    bitbake -c clean u-boot
    bitbake u-boot

    2 编译linux-kernel的命令集

    edit /<install_path>/build_<bsp>_.../conf/local.conf and add the following based on your environment (prior to issuing the bitbake

    command).

    TERMCMD = "${GNOME_TERMCMD}"
    TERMCMDRUN = "${GNOME_TERMCMDRUN}"

    bitbake -c configure -f virtual/kernel

    bitbake -c menuconfig virtual/kernel

    bitbake virtual/kernel

    gnome-terminal --disable-factory -t 'linux Configuration' -x make menuconfig
    | No protocol specified
    | Failed to parse arguments: Cannot open display:
    | ERROR: Function do_menuconfig failed


    sudo apt-get install gnome-terminal

    3 重新编译内核kernel

    mkdir –p mycollection/recipes/linux/files

    cp defconfig mycollection/recipes/linux/files

    ./scripts/create-config.py --config-file=fsl-<bsp>/sample-create-config.ini --override-collection mycollection -j 4 -t 2

    bitbake -c clean virtual/kernel

    bitbake virtual/kernel

    4 重新编译内核rootfs

    mkdir -p mycollection/recipes/images

    touch mycollection/recipes/images/amend.inc

    echo "PROJECT_EXTRA_PKGS += \"i2c-flash-util, asf \"" > mycollection/recipes/images/amend.inc

    ./scripts/create-config.py --config-file=fsl-<bsp>/sample-create-config.ini --override-collection mycollection -j 4 -t 2

    bitbake devel-image

    local.conf IMAGE_FSTYPES = tar.gz  to generate a rootfs for NFS.

  • 相关阅读:
    关于贝宝支付的一些信息和思路
    自动执行的脚本不错的思路
    关于微信公众平台生成带参数的二维码的场景值和系统对接的问题
    centos7.3查看时区
    关于where和having的直观理解
    关于微信支付的退款那些事
    关于微信支付的那些事
    正则替换
    java 正则表达式语法
    正则表达式
  • 原文地址:https://www.cnblogs.com/zym0805/p/2147563.html
Copyright © 2011-2022 走看看