Halley2 kernel 3.10 linux V2.0发布
2016.04.12

Halley2 kernel 3.10 linux V2.0发布 ,内核版本 linux 3.10,参考设备为X1000  


参考开发板:

  (1)Halley2_v2.0 (SPI-nor 文件系统JFFS2).

  (2)Halley2_v2.0 (SPI-nand 文件系统UBI).


Tags:

       ingenic-linux-kernel3.10.14-halley2-v2.0-20160411

 

 

目前支持的开发板型号:

  •     Halley2_v2.0(SPI-nor,默认型号:GD25Q128C)

  •     Halley2_v2.0(SPI-nand)


Repo 工具下载 : 

            $ mkdir Manhattan-Halley2

            $ cd Manhattan-Halley2

            $ wget http://git.ingenic.cn:8082/bj/repo

            $ chmod +x repo


代码下载:

   外网下载:

    地址一:

 
           $ ./repo init -u
http://git1.ingenic.cn:8082/gerrit/Manhattan/platform/manifest -b
ingenic-linux-kernel3.10.14-halley2-v2.0-20160411

-m boards/halley2.xml        

             $ ./repo sync

             $ ./repo forall -c "git reset --hard ingenic-linux-kernel3.10.14-halley2-v2.0-20160411"


    地址二:

 
           $ ./repo init -u
http://git.ingenic.cn:8082/gerrit/Manhattan/platform/manifest -b
ingenic-linux-kernel3.10.14-halley2-v2.0-20160411

-m boards/halley2.xml

             $ ./repo sync

             $ ./repo forall -c "git reset --hard ingenic-linux-kernel3.10.14-halley2-v2.0-20160411"


32bit编译器下载命令

  外网下载方法:

            git clone http://git1.ingenic.cn:8082/gerrit/toolchains/install/mips-gnus/mips-gcc472-glibc216  -b linux_r2.1-32bit



注意事项:

   32bit服务器需将下载的编译器放在上述工程的prebuilts/toolchains/mips-gcc472-glibc216/目录下。


编译命令:

  整体编译SDK:

    

Halley2 (spi nor 版本)

  1. 进入工程目录, 执行以下命令

        $ source build/envsetup.sh

        $ lunch

  2.  选择halley2_norflash-eng, 或者 halley2_norflash-user.

        $ make

  3.  在 out/product/halley2/image/ 下生成烧录所需要的文件:

  • system.jffs2

  • u-boot-with-spl.bin

  • uImage 

Halley2 (spi nand 版本)


    1. 进入工程目录, 执行以下命令

        $ source build/envsetup.sh

        $ lunch

    2. 选择halley2_spinand-eng, 或者 halley2_spinand-user.

        $ make

    3. 在 out/product/halley2/image/ 下生成烧录所需要的文件:

  • system.ubi

  • u-boot-with-spl.bin

  • uImage


注意不支持 make -jN 多线程编译


单独编译uboot和kernel:


(1) 编译uboot

       spi nor 版本 :

             $ make distclean

             $ make halley2_v10_uImage_sfc_nor


       spi nand 版本:

             $ make distclean

             $ make halley2_v10_uImage_sfc_nand



(2) 编译kernel

       spi nor版本:

             $ make halley2_nor_v10_linux_defconfig

             $ make uImage


        spi nand 版本:

            $ make halley2_linux_sfcnand_ubi_defconfig

            $ make uImage



主要功能

发布默认配置功能

    1. sfc quad mode(四线spi flash)

    2. USB Device(adb,mass storage, rndis)

    3. mmc(SD卡)

    4. watchdog

    5. i2c

    6. spi

    7. audio  (基于tinyalsa)

    8. 串口 

    9. 休眠唤醒

    10. wifi+bt (BCM43438)

    11. LCD

    12. VPU(jpeg)

    13. Camera  (GC2125)

    14. USB Host (otg, mass storage, USB Camera)

    15. MAC(RMII)


可配置功能:

    1. DMIC 语音唤醒

    2. audio (基于alsa)

    3. 思必驰语音识别


相对第一版的改动:

    1. 蓝牙wifi稳定。

    2. Camera测试程序稳定,可支持720P拍照。

    3. 使用Manhattan编译系统,方便代码资源整合。

    4. 去掉halley2_mini版本支持。

    5. 系统更稳定。



关于烧录工具,Manhhatan工程,内核驱动等详细介绍,可参考文档《X1000软件开发手册V1.0.pdf》。


存在的问题:

  Camera拍照可能不清晰,原因是Camera(GC2155)是定焦摄像头,需要手动调节焦距。



 目前支持的SPI nor型号:

           MX25L12835F 

           GD25Q128C 

           GD25LQ128C 

           IS25LP128 

           win25Q128


目前支持的SPI nand型号:

           GD5F1GQ4UBYIG 

           GD5F2GQ4UCY1G


问题反馈:


         有问题请发送邮件给: support@ingenic.com