qemu & arm debug uboot kernel

来源:互联网 发布:nginx conf配置详解 编辑:程序博客网 时间:2024/06/05 15:15
  • 配置编译环境
    • ARCH CROSS_COMPILE
    • add gcc to PATH
    • all in .barshrc
  • 首先解压kernel并配置和编译zImage和dts
    • make zImage
    • make dtbs
  • 配置编译uboot

  • 启动tftp servier
  • qemu启动系统
    • 网络启动
    • sd 卡启动



------------------
  • local 编译qemu (通过apt-get install的貌似无法正常打开dtb file,于是换成local编译生成)
    • ./configure --prefix=installdir(obsulate path) --target-list=arm-softmmu
    • make -j4
      • 需要安装一系列的工具 flex libz ....
    • make install
      • 可以在配置的目录中找到
原创粉丝点击