Firefly Open Source Community

Title: debian stretch + kernel 4.4 firmware release (hw accelerated), kodi installable [Print This Page]

Author: mac-l1    Time: 6/6/2017 18:04
Title: debian stretch + kernel 4.4 firmware release (hw accelerated), kodi installable
Last edited by mac-l1 In 6/13/2017 17:29 Editor

TESTRELEASE: debian stretch + kernel 4.4 firmware release (hw accelerated), kodi installable
THANKS TO: @Kwiboo for sharing his kernel work and the rockchip guys @wzyy2, @stdint/@ayaka

hi all,

i have made a firmware release for firefly and miqi rk3288 devices including recent:
* rockchip kernel 4.4 (VPU, GPU, DRM RGA and WIFI device drivers)
* rockchip debian stretch (GPU based xserver, hw accelerated gstreamer)

how to install:
* download 7z file: http://mac-l1.com/firefly/debian9_kernel4.4_firefly_miqi_v0.1.7z
* unpack it: 7z x debian9_kernel4.4_firefly_miqi_v0.1.7z
* put device in recovery/maskrom mode
* sudo ./flash.sh
* user and pwd are: linaro

cheers and have fun! -- mac-l1

note: to install kodi, see http://bbs.t-firefly.com/forum.php?mod=viewthread&tid=1953&extra=


Author: isle    Time: 6/8/2017 09:49
WOW, What a greate work !   I will check it later, thanks, Mac-l1.
Author: kxz    Time: 6/10/2017 18:33
How to flash on Windows or Linux with RKFlashKit?

Getting error - upgrade_tool: error while loading shared libraries: libudev.so.1: cannot open shared object file: No such file or directory when using sudo ./flash.sh
Author: mac-l1    Time: 6/13/2017 02:00
kxz Posted at 6/10/2017 18:33
How to flash on Windows or Linux with RKFlashKit?

Getting error - upgrade_tool: error while loadi ...

the latest linux tool from rockchip is used in the flash.sh script: rkdeveloptool
it replaces the old upgrade_tool and is included in the 7z file.
it can also be found here: https://github.com/rockchip-linux/rkbin/tree/master/tools

don't think the old upgrade_tool or rkflashkit are still usable as rockchip has moved to more linux generic firmware files instead of rockchip dedicated ones.

maybe also try to "
  1. sudo apt-get install libudev1
Copy the code
" first.

cheers -- mac-l1
Author: isle    Time: 6/13/2017 10:30
Hi kxz:
the "upgrade_tool" with version 1.24 can replace the "rkdeveloptool" .use the same argument.
I have checked ,

Author: isle    Time: 6/13/2017 14:27
Hi mac-l1
the KODI performed very good on the firefly-rk3288 board. the H264,H265 and the 4K all works fine !
Thanks for your excellent work
Author: dewettie    Time: 6/13/2017 22:53
It will be great if it can be combined with an Android firmware, dual-boot perhaps?
But I don't know about different bootloaders, Android, Linux how it will work?
Author: ttodorov    Time: 6/17/2017 14:28
Hello,

Is this installable on Firefly RK3399 as well?

Thanks!
Author: mac-l1    Time: 6/18/2017 16:34
ttodorov Posted at 6/17/2017 14:28
Hello,

Is this installable on Firefly RK3399 as well?

hi ttodorov,
no, it wouldnt work on rk3399. maybe a developer could do the same for rk3399 as the sources (boot, kernel, debian, libs) are also available for rk3399. i dont have such a device, so cant help you here...
cheers -- mac-l1
Author: ittai    Time: 6/19/2017 05:26
does this give acces to the hdmi input?
Author: mac-l1    Time: 6/19/2017 14:54
Last edited by mac-l1 In 6/19/2017 14:56 Editor
ittai Posted at 6/19/2017 05:26
does this give acces to the hdmi input?

i dont know. i have only built this for the original firefly not the firefly reloaded. the original doesnt have hdmi in.
kernel could easily be replaced with firefly reloaded kernel as this is also supported by rockchip kernel in https://github.com/rockchip-linux/kernel/tree/release-4.4and https://github.com/rockchip-linux/build

Author: zeno    Time: 6/25/2017 19:11
Guys,

first of all thanks a lot to mac-l1 for his great job!!

I am trying to load the bin file onto my rk3288 Firefly but I got thi message:

# ./flash.sh
+ ./rkdeveloptool db rk3288_ubootloader_v1.01.06.bin
The  Device did not support this operation!


The device seems to be fine when I test it:

# ./rkdeveloptool td
Test Device OK.


Do you have hints?

Thanks!
Author: zeno    Time: 6/26/2017 01:16
zeno Posted at 6/25/2017 19:11
Guys,

first of all thanks a lot to mac-l1 for his great job!!

Ok,

I had issues with bootloader and had to go to maskrom mode.

All works now!
Author: firefly_dev_740    Time: 7/6/2017 23:15
Last edited by firefly_dev_740 In 7/6/2017 23:20 Editor

Hello, guys! Thank you for your work.
I have an issue with thermal module in kernel. I used to successfully build opencv 2.4.9 on Firefly-RK3288 with Ubuntu 14.04 server firmware (slightly altered, I've installed X server and OpenBox there) with no issues on all 4 cores (make -j4).
However, with this firmware installed I got my Firefly automatically switched off with following message:
  1. Message from syslogd@localhost at Jul  6 14:56:19 ...
  2. kernel:[ 3690.721460] thermal thermal_zone0: critical temperature reached(90 C),shutting down
  3. Connection to 192.168.0.109 closed by remote host.
  4. Connection to 192.168.0.109 closed.
Copy the code


How can I disable this feature or make temperature limit higher? As I mentioned earlier, I've successfully built this version of opencv on all cores, but now kernel is more aware of current CPU temperature. Thanks.
Author: firefly_dev_740    Time: 7/7/2017 00:19
Last edited by firefly_dev_740 In 7/7/2017 00:20 Editor

Also I have an issue with taking backup of device partitions. Android Tool on Windows 8 show me, that my device is in Maskrom mode.

This strange behavior started to happen after I've downloaded rk3288_ubootloader_v1.01.06.bin bootloader. Could you please help with backing up procedure?
Author: sghazagh    Time: 8/12/2017 08:06
Can you please provide exact working device tree which has HDMI sound output for Reload that we can use on normal  RK3288-Firefly?

GIT link or patch,...

Thanks
Author: firefly_dev_740    Time: 8/13/2017 18:28
+1 for git link.
I've tried this: https://github.com/rockchip-linux/kernel/tree/release-4.4 (it's 4.4.71 when mac-l1's distro is based on 4.4.55) with extracted configuration from /proc/config.gz, now I have eDP-1 presented in xrandr. If I switch eDP-1 off (e.g. xrandr --output eDP-1 --off or by passing kernel parameter video=eDP-1:d), then image shows normally.
I'm also interested in building fast booting system for embedded development, so it would be nice to have building instructions.
Author: sghazagh    Time: 8/16/2017 15:23
hi all,
I am also using https://github.com/rockchip-linux/kernel/tree/release-4.4 for my kernel which at the moment is 4.4.77.
But the HDMI output is not available as I believe is not implemented in device three.

Do you guys can get the audio on HDMI when using mac-l1 KODI packages?
I only have option for SPDIF output and there is no sound on HDMI!
I appreciate any assistance....
Author: firefly_dev_740    Time: 8/16/2017 18:51
sghazagh Posted at 8/16/2017 15:23
hi all,
I am also using https://github.com/rockchip-linux/kernel/tree/release-4.4 for my kernel whi ...

Hello sghazagh. How do you build a kernel?
I use instructions from here http://rockchip.wikidot.com/linux-user-guide to build linux kernel and uboot. There is also device tree generated at build time. Make sure you are using latest source code from rockchip-linux.
Also, what is the problem with HDMI output? Despite having extra output eDP-1, image is pretty stable. You can switch eDP-1 off either with

xrand --display :0 --output eDP-1 --off

or by appending parameter

video=eDP-1:d

to kernel boot arguments.
Author: louisycyang    Time: 9/4/2017 13:19
Hi mac-I1,
i've found solution. to install libudev for i386 can make it work.

sudo apt-get install libudev-dev:i386


Author: firefly_dev_740    Time: 9/11/2017 22:33
Guys, please respond. We need instructions on building HW accelerated OS distribution. There are lots of demos on the Internet, but nobody wants to tell, how they achieved the result
Author: mysemantic    Time: 2/25/2018 03:10
Last edited by mysemantic In 2/25/2018 03:11 Editor

Thanks for making it working with Kodi!
Just one question, I can play movie and sound in stereo by plusa via HDMI. However I don't have the option to use ALSA driver to do pass-through DTS etc. to my receiver.
aplay -l just show one singl HDMI plusa device for stereo.

Any idea? or do we have to get the right device tree for the firefly 3288 dev board?

br + thanks again for the great work!


Author: cszhy    Time: 11/11/2022 22:09
link dead, is it possible to share it again? thanks




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1