X1000 Phoenix Kernel 3.0.8 Linux V3.0发布
2015.11.06

Phoenix Linux V3.0发布 ,内核版本 Linux 3.08,参考设备为X1000  参考开发板Phoenix v2.0.


Tags:


      ingenic-linux-kernel3.0.8-phoenix-v3.0-20151106 


 

Repo 工具下载 :

            $ mkdir phoenix

            $ cd phoenix

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

            $ chmod +x repo


 

代码下载:

地址一:

 
         $ ./repo init -u
http://git1.ingenic.cn:8082/gerrit/linux/manifest -b
ingenic-linux-kernel3.0.8-phoenix-v3.0-20151106 -m phoenix_3.08.xml

           $ ./repo sync

           $ ./repo forall -c "git reset --hard ingenic-linux-kernel3.0.8-phoenix-v3.0-20151106"

地址二:

 
         $ ./repo init -u
http://git.ingenic.cn:8082/gerrit/linux/manifest -b
ingenic-linux-kernel3.0.8-phoenix-v3.0-20151106 -m phoenix_3.08.xml

           $ ./repo sync

           $ ./repo forall -c "git reset --hard ingenic-linux-kernel3.0.8-phoenix-v3.0-20151106"




 32bit编译器下载命令:

  外网下载方法:

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



 编译命令:

  整体编译:

     在phoenix目录下进入platform目录

         $ cd platform

         $ source tools/build/source.sh

         $ make

      编译完成后会在 /out/target/product/phoenix/image/下生成三个镜像文件u-boot-with-spl.bin,uImage,system.jffs2



     如需安装测试程序和工具到系统中,则执行如下命令。

         $ make install

     该命令同时也会编译所有的工程源码。



  部分编译:

     首先执行如下命令:

         $ cd platform

         $ source tools/build/source.sh



     编译bootloader:

         $ cd u-boot

         $ make phoenix_v10_uImage_sfc_nor

     将会生成u-boot-with-spl.bin.



      编译kernel

         $ cd kernel

         $ make phoenix_v10_linux_defconfig

         $ make uImage


     将会在arch/mips/boot/compressed/下生成uImage


 使用SPI NAND :

      a. 工程编译

           将development/device/device.mk中的MAKE_SPI_NAND改为MAKE_SPI_NAND=y

            即可按如上方法进行整体工程编译,生成支持spi nand的镜像。


            部分编译:

                编译bootloader:

                    $ cd u-boot

                    $ make phoenix_v10_uImage_spi_nand


                 编译kernel

                     $ cd kernel

                     $ make phoenix_v10_linux_spinand_ubi_defconfig

                     $ make uImage


                     将会在arch/mips/boot/compressed/下生成uImage


                     注:

                          1,开发环境必须是64位。

                          2,如果工程编译过spi nor的配置请先执行make distclean清除工程,然后在编译spi nand的配置。


          b. 文件系统

               spi nand 目前使用ubi文件系统。


           c. 分区信息

                 uboot  ---> 1M

                 kernel ---> 8M

                system ---> 40M

                data   ---> 剩余空间

                data分区默认mount到根目录下的data目录。

                如需修改分区配置,详看开发手册。 



  版本升级更新功能:  

         a. 支持spi nand

         b. 更新烧录工具,添加对spi nand及mmc的烧录 


  目前支持的SPI nor型号:

          MX25L12835F 

          GD25Q128C 

          GD25LQ128C 

          IS25LP128 

          Win25Q128


  目前支持的SPI nand型号:

          GD5F1GQ4UBYIG 

          GD5F2GQ4UCY1G

          PN26G01AWSIUG -1G-BIT 

          QPSYG01AW0A-A1 

已知问题:

    板子休眠状态下, 插、拔USB HOST会出现无法唤醒的现象。



  问题反馈:

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