Tags:
ingenic-linux-kernel3.10-Phoenix-v1.0-20151016
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-v1.0-20151016
$ ./repo sync
$ ./repo forall -c "git reset --hard ingenic-linux-kernel3.10-Phoenix-v1.0-20151016"
地址二:
$ ./repo init -u http://git.ingenic.cn:8082/gerrit/linux/manifest -b ingenic-linux-kernel3.10-Phoenix-v1.0-20151016
$ ./repo sync
$ ./repo forall -c "git reset --hard ingenic-linux-kernel3.10-Phoenix-v1.0-20151016"
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
主要驱动及功能:
1. sfc quad mode(单线,双线,四线)
2. USB host/otg
3. mmc(SD卡)
4. watchdog
5. cim
6. slcd
7. i2c
8. spi
9. audio (Alsa)
10. bluetooth
11. wifi
12. 休眠唤醒
13. SLCD,cim及jpeg联通
14. mac
15. OTA
目前支持的SPI nor型号:
(1)MX25L12835F GD25Q128C GD25LQ128C IS25LP128 win25Q128
问题反馈:
有问题请发送邮件给:support@ingenic.com