Firefly开源社区

打印 上一主题 下一主题

Ubuntu for Firefly 固件更新

97

积分

0

威望

0

贡献

游客

积分
97
发表于 2016-10-19 17:17:19      楼主
本帖最后由 dalton.lai 于 2016-10-19 17:42 编辑

hi isle,

Thanks a lot for your great effort.
I have test this kernel, it can be compiled pass. (need to apply initrd for kernel 4.4 as below link)
https://github.com/T-Firefly/initrd/tree/for-kernel_4.4

After remove /etc/apt/apt.conf, it seems work well.

But, both openGL ES (test by glmark-es2) and openCL cannot work.
The error message is:
ERROR: The DDK is not compatible with any of the Mali GPUs on the system.
The DDK was built for 0x750 r0p0 status range [1..1], but none of the GPUs matched:

In openCL platform query, the version is "OpenCL 1.2 v1.r9p0-05rel0".
Hope we will have somthing updated soon, thanks a lot.

回复

使用道具 举报

97

积分

0

威望

0

贡献

游客

积分
97
发表于 2016-10-19 17:48:40      沙发
本帖最后由 dalton.lai 于 2016-10-19 18:33 编辑
wangdongx40423p 发表于 2016-10-19 17:39
which command do you use to compile this kernel ?
would you like to share the process of compilin ...

to compile the kernel, I have do:

1. make rk3288-firefly_linux_defconfig
    (you can check this pre-defined file in arch/arm/configs/rk3288-firefly_linux_defconfig)
2. make -j8 rk3288-firefly.img
    (I have remarked VGA related config in dts for reload board and brcmxxx in makefile, you can find this file in arch/arm/boot/dts/rk3288-firefly.dtsi and firmware/Makefile)
3. download initrd for kernel 4.4 in below path:
    https://github.com/T-Firefly/initrd/tree/for-kernel_4.4
    and make by "make -C initrd"
4. generate boot.img by below command
    mkbootimg --kernel arch/arm/boot/zImage --ramdisk initrd.img --second resource.img  -o boot.img
5. enjoy it ^_^
6. if something wrong, we may need help from isle, haha.
回复

使用道具 举报

97

积分

0

威望

0

贡献

游客

积分
97
发表于 2016-10-19 18:31:04      板凳
本帖最后由 dalton.lai 于 2016-10-19 18:34 编辑
wangdongx40423p 发表于 2016-10-19 18:04
rk3288-firefly_linux_defconfig  ,  I don't find this file

maybe you need to check if you have right branch: firefly-rk3288
https://github.com/T-Firefly/kernel_4.4/tree/firefly-rk3288

回复

使用道具 举报

97

积分

0

威望

0

贡献

游客

积分
97
发表于 2016-10-20 12:06:34      地板
isle 发表于 2016-10-20 10:42
hi I have tested the opengles by glmark2-es2,and the score is 50+
CMD:
sudo apt install glmark2- ...

hi isle,

first, thanks for your reply.
yes, you are right, it works, if program the firmware immediately without any change.
but it is not work, if use the kernel compile by my self.

the steps I performed are:
1. make rk3288-firefly_linux_defconfig
2. make -j8 rk3288-firefly.img
    (I have remarked VGA related config in dts for reload board and brcmxxx in makefile)
3. download initrd for kernel 4.4 in below path:
    https://github.com/T-Firefly/initrd/tree/for-kernel_4.4
    and make by "make -C initrd"
4. generate boot.img by below command
    mkbootimg --kernel arch/arm/boot/zImage --ramdisk initrd.img --second resource.img  -o boot.img

are there any steps wrong or something different between firmware and kernel source?

thanks a lot
回复

使用道具 举报

97

积分

0

威望

0

贡献

游客

积分
97
发表于 2016-10-21 13:32:42      5#
isle 发表于 2016-10-21 10:13
update the kernel source code and try it again.

hi isle,

thanks a lot for your help, both openGL ES/ openCL work after this update.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表