Phoenix kernel 3.10 linux V2.0发布 ,内核版本 linux 3.10,参考设备为X1000 参考开发板Phoenix v2.0.
Tags:
ingenic-linux-kernel3.10-phoenix-v2.0-20151119
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.10-phoenix-v2.0-20151119
$ ./repo sync
$ ./repo forall -c "git reset --hard ingenic-linux-kernel3.10-phoenix-v2.0-20151119"
地址二:
$ ./repo init -u http://git.ingenic.cn:8082/gerrit/linux/manifest -b ingenic-linux-kernel3.10-phoenix-v2.0-20151119
$ ./repo sync
$ ./repo forall -c "git reset --hard ingenic-linux-kernel3.10-phoenix-v2.0-20151119"
32bit编译器下载命令
内网下载方法:
git clone ssh://192.168.1.26:29418/toolchains/install/mips-gnus/mips-gcc472-glibc216 -b linux_r2.1-32bit
外网下载方法:
git clone http://git1.ingenic.cn:8082/gerrit/toolchains/install/mips-gnus/mips-gcc472-glibc216 -b linux_r2.1-32bit
注意事项:
1,32bit服务器需将下载的编译器放在上述工程的phoenix/toolchains/mips-gcc472-glibc216-32bit目录下(没有此目录就新建)。
2,此次发布的版本为了兼容cim修改了打印串口的GPIO引脚,为确保启动时串口打印输出正常,则须将跳线帽J14、J15统一调换到远离白色箭头一端。如果需要查看烧录时的打印,则须将跳线帽J14、J15统一调换到白色箭头一端。
编译命令:
整体编译:
在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_linux_defconfig
$ make uImage
将会在arch/mips/boot/下生成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_linux_spinand_ubi_defconfig
$ make uImage
将会在arch/mips/boot/下生成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目录。
如需修改分区配置,详看开发手册。
从V1.0升级至V2.0版本,对airkiss做了升级,新版airkiss使用说明如下:
本次对airkiss的更新,支持多种协议(airkiss、cooee),同时也修改了它的使用方式,APK请见附件。
1. 首次使用
在终端执行
$ airkiss
同时使用app发送wifi名、密码,即可生成wifi的配置文件/etc/wpa_supplicant.conf,并且连接网络。
2. 再次使用
由于在第一次使用时,已经生成了配置文件。因此下次开机时将自动去连接网络,
如果此时配置文件中保存的wifi名和密码不存在或不正确,将无法连接网络,可以重新执行airkiss配置网络。
版本升级更新功能:
a. 支持spi nand
b. 更新烧录工具,添加对spi nand及mmc的烧录
c. 添加voice trigger功能
d. 更新文件系统中的airkiss应用
已知问题:
板子休眠状态下, USB HOST插、拔有问题。
目前支持的SPI nor型号:
MX25L12835F
GD25Q128C
GD25LQ128C
IS25LP128
win25Q128
目前支持的SPI nand型号:
GD5F1GQ4UBYIG
GD5F2GQ4UCY1G
PN26G01AWSIUG -1G-BIT
QPSYG01AW0A-A1
问题反馈:
有问题请发送邮件给:support@ingenic.com