ecos on QEMU for mini2440 编译方法

    技术2022-05-20  51

    (原创文章,欢迎转载,请注明出处,谢谢。)

    1. Redboot的编译方法

     

    ecosconfig new mini2440 redboot

    ecosconfig tree

    make

     

    2. ecos 内核的编译方法

     

    ecosconfig new mini2440

    ecosconfig tree

    make

     

    3.ecos的测试方法

     

    在下载好的cos源码中的根目录有examples

    进入这个目录

     

    make INSTALL_DIR=你的ecos里面的install目录的绝对路径 

    会生成几个可执行文件。

     

    修改qemu.sh,举例:

     

     

    ./qemu-system-arm  -M mini2440 -m 128M -kernel examples/twothreads -show-cursor -serial stdio

     

     

     


    最新回复(0)