• 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.

  • 相关阅读:
    ORACLE中seq$表更新频繁的分析
    VmWare平台Windows Server 2012 无响应宕机
    SQL Challenge ——快速找到1-100之间缺失的数
    ORACLE推导参数Derived Parameter介绍
    SQL SERVER 数据库各版本功能对比
    Jsp中格式化时间戳的常用标签
    SQL Server 2014 Database Mail重复发送邮件特殊案例
    采用HTML5之“data
    多线程之策略模式
    docker attach卡住,和exec的选择
  • 原文地址:https://www.cnblogs.com/zym0805/p/2147563.html
Copyright © 2020-2023  润新知