Firefly开源社区

标题: Firefly-RK3288 Android5.1版本SDK发布 [打印本页]

作者: wico    时间: 2015-9-11 16:58
标题: Firefly-RK3288 Android5.1版本SDK发布
本帖最后由 wico 于 2015-9-15 11:43 编辑

Firefly-RK3288 Android5.1版本SDK已经发布,基本功能已经移植完成,有兴趣的同学可以下载下来编译,或者直接下载固件升级。

请选择以下云盘之一下载 firefly-rk3288_android5.1_git_20150910.tar:
下载完成后先验证一下 MD5 码:
  1. $ md5sum /path/to/firefly-rk3288_android5.1_git_20150910.tar
  2. 83a07f127abe57482047a417f29e3115  firefly-rk3288_android5.1_git_20150910.tar
复制代码

确认无误后,就可以解压:
  1. mkdir -p ~/proj/firefly-rk3288-lollipop
  2. cd ~/proj/firefly-rk3288-lollipop
  3. tar xf /path/to/firefly-rk3288_android5.1_git_20150910.tar
  4. git reset --hard
  5. # git remote add bitbucket https://bitbucket.org/T-Firefly/firenow-lollipop.git
复制代码

具体使用请参考WiKi

Note:该SDK仅供学习和交流使用,官方不做主力维护。

作者: 暴走的阿Sai    时间: 2015-9-11 17:44
沙发,强力支持!
作者: home    时间: 2015-9-11 17:46
沙發被搶了
作者: carlinluo    时间: 2015-9-11 17:49
板凳也被抢了
作者: 聆听    时间: 2015-9-12 09:48
天花板,没被抢
作者: pqy    时间: 2015-9-12 15:33
百度太慢了,逼我翻墙去google drive下载
作者: superxingzheng    时间: 2015-9-13 11:43
对5.5寸触屏的支持会加进去吗?
作者: home    时间: 2015-9-14 18:31
終於編譯出來
VGA 輸出為黑幕
影片播放 相容度差 之前能播放的 現在不能

作者: mrlikai    时间: 2015-9-16 15:57
编译报错啊!
frameworks/base/libs/storage/IObbActionListener.cpp:33:18: warning: unused parameter 'filename' [-Wunused-parameter]
     virtual void onObbResult(const String16& filename, const int32_t nonce, const int32_t state) { }
                  ^
frameworks/base/libs/storage/IObbActionListener.cpp:33:18: warning: unused parameter 'nonce' [-Wunused-parameter]
frameworks/base/libs/storage/IObbActionListener.cpp:33:18: warning: unused parameter 'state' [-Wunused-parameter]
target thumb C++: libstorage <= frameworks/base/libs/storage/IMountService.cpp
target StaticLib: libstorage (out/target/product/rk3288_box/obj/STATIC_LIBRARIES/libstorage_intermediates/libstorage.a)
target SharedLib: libandroid (out/target/product/rk3288_box/obj/SHARED_LIBRARIES/libandroid_intermediates/LINKED/libandroid.so)
target Symbolic: libandroid (out/target/product/rk3288_box/symbols/system/lib/libandroid.so)
target Strip: libandroid (out/target/product/rk3288_box/obj/lib/libandroid.so)
Import includes file: out/target/product/rk3288_box/obj/STATIC_LIBRARIES/cpufeatures_intermediates/import_includes
target thumb C: cpufeatures <= ndk/sources/android/cpufeatures/cpu-features.c
target StaticLib: cpufeatures (out/target/product/rk3288_box/obj/STATIC_LIBRARIES/cpufeatures_intermediates/cpufeatures.a)
target SharedLib: libwebviewchromium (out/target/product/rk3288_box/obj/SHARED_LIBRARIES/libwebviewchromium_intermediates/LINKED/libwebviewchromium.so)
collect2: error: ld terminated with signal 9 [Killed]
/home/lk/firefly/source/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld.gold: warning: hidden symbol 'SkBitmap::lockPixels() const' in out/target/product/rk3288_box/obj/STATIC_LIBRARIES/skia_skia_library_gyp_intermediates/skia_skia_library_gyp.a(SkBitmap.o) is referenced by DSO out/target/product/rk3288_box/obj/lib/libjnigraphics.so
/home/lk/firefly/source/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld.gold: warning: hidden symbol 'SkBitmap::unlockPixels() const' in out/target/product/rk3288_box/obj/STATIC_LIBRARIES/skia_skia_library_gyp_intermediates/skia_skia_library_gyp.a(SkBitmap.o) is referenced by DSO out/target/product/rk3288_box/obj/lib/libjnigraphics.so
/home/lk/firefly/source/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld.gold: warning: hidden symbol 'SkBitmap::notifyPixelsChanged() const' in out/target/product/rk3288_box/obj/STATIC_LIBRARIES/skia_skia_library_gyp_intermediates/skia_skia_library_gyp.a(SkBitmap.o) is referenced by DSO out/target/product/rk3288_box/obj/lib/libjnigraphics.so
make: *** [out/target/product/rk3288_box/obj/SHARED_LIBRARIES/libwebviewchromium_intermediates/LINKED/libwebviewchromium.so] Error 1
make: *** Deleting file `out/target/product/rk3288_box/obj/SHARED_LIBRARIES/libwebviewchromium_intermediates/LINKED/libwebviewchromium.so'

作者: jpchen    时间: 2015-9-16 16:32
mrlikai 发表于 2015-9-16 15:57
编译报错啊!
frameworks/base/libs/storage/IObbActionListener.cpp:33:18: warning: unused parameter ' ...

请尝试make clean后在编译
作者: pqy    时间: 2015-9-16 19:12
mrlikai 发表于 2015-9-16 15:57
编译报错啊!
frameworks/base/libs/storage/IObbActionListener.cpp:33:18: warning: unused parameter ' ...

内存不足,内存必须8G以上,我试过6G都不行,启用了zram才编译出来。
作者: mrlikai    时间: 2015-9-17 08:53
total       used       free     shared    buffers     cached
Mem:       8169456    5649816    2519640          0     946096    3280980
-/+ buffers/cache:    1422740    6746716
Swap:      4191228          0    4191228

8G不够吗?要不我搞个16G的虚拟机试试看
作者: zhansb    时间: 2015-9-17 11:23
mrlikai 发表于 2015-9-17 08:53
total       used       free     shared    buffers     cached
Mem:       8169456    5649816    25196 ...

swap太小了吧,才4G
改成16G试试
作者: mrlikai    时间: 2015-9-17 16:23
执行./mkimage.sh报错


TARGET_PRODUCT=rk3288_box
TARGET_HARDWARE=rk30board
IMG_TARGET=all , ota = withoutkernel
system filesysystem is ext4
`kernel/arch/arm/boot/zImage' -> `/home/lk/firefly5.1/source/out/target/product/rk3288_box/kernel'
create boot.img without kernel... done.
create recovery.img with kernel and with out resource... done.
create misc.img.... done.
create system.img... done.
cp: cannot stat `u-boot/RK3288UbootLoader*.bin': No such file or directory

作者: jpchen    时间: 2015-9-18 09:07
mrlikai 发表于 2015-9-17 16:23
执行./mkimage.sh报错

cp: cannot stat `u-boot/RK3288UbootLoader*.bin': No such file or directory
此问题可以忽略,仅是个拷贝的动作而已
作者: mrlikai    时间: 2015-9-18 09:58
jpchen 发表于 2015-9-18 09:07
cp: cannot stat `u-boot/RK3288UbootLoader*.bin': No such file or directory
此问题可以忽略,仅是 ...

谢谢
作者: nov_tim    时间: 2015-9-23 11:43
好厉害啊
作者: Formular    时间: 2015-10-25 15:34
楼主“固件”链接里的文件似乎没有 preview,难道是5.1正式版?

作者: smartsharp    时间: 2015-12-11 10:42
按照教程 http://wiki.t-firefly.com/index. ... ld_android_lollipop 编译了,也下载了,
可是开机用 hdmi 接到显示器看不到输出啊,pc上用adb shell 也出现错误。编译指令用的make -j8 PRODUCT-rk3288_box-eng,板子是2GB内存的。
有人知道怎么回事吗?
作者: jpchen    时间: 2015-12-11 15:54
smartsharp 发表于 2015-12-11 10:42
按照教程 http://wiki.t-firefly.com/index.php/Firefly-RK3288/Build_android_lollipop 编译了,也下载了 ...

对于此问题,先试一下官网的5.1的固件看是否有同样的问题,
还有编译的方式如下
编译 Android:

cd ~/proj/firefly-rk3288-lollipop
. build.sh
make -j8
./mkimage.sh


作者: opjk    时间: 2015-12-24 01:27
mrlikai 发表于 2015-9-17 16:23
执行./mkimage.sh报错

你可以重新编译  bin文件,或者使用tools中的bin文件,我就是重新编译的。
作者: jingjin221    时间: 2015-12-28 10:44
这5.1的,看看视频解码做的怎么样!还是BOX强大啊!
作者: yayo2004    时间: 2016-6-22 10:04
make: *** [out/target/product/rk3288_box/obj/SHARED_LIBRARIES/libwebviewchromium_intermediates/LINKED/libwebviewchromium.so] 错误 1

#### make failed to build some targets (14:35:56 (hh:mm:ss)) ####

root@yayo2016:/home/yayo/android5.1_git_20150910# ./mkimage.sh
TARGET_PRODUCT=rk3288_box
TARGET_HARDWARE=rk30board
IMG_TARGET=all , ota = withoutkernel
system filesysystem is ext4
"kernel/arch/arm/boot/zImage" -> "/home/yayo/android5.1_git_20150910/out/target/product/rk3288_box/kernel"
create boot.img without kernel... ./mkimage.sh: 行 80: minigzip: 未找到命令
./mkimage.sh: 行 80: mkbootfs: 未找到命令
done.
create recovery.img with kernel and with out resource... done.
create misc.img.... done.
create system.img... ls: 无法访问/home/yayo/android5.1_git_20150910/out/target/product/rk3288_box/system.img: 没有那个文件或目录
./mkimage.sh: 第 129 行: [: -gt: 需要一元表达式
Please make first!!!
编译报错
作者: xiaose135    时间: 2021-7-22 17:40
yayo2004 发表于 2016-6-22 10:04
make: *** [out/target/product/rk3288_box/obj/SHARED_LIBRARIES/libwebviewchromium_intermediates/LINKE ...

遇到同样的问题,请问楼主解决了吗




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1