debian stretch + kernel 4.4 firmware release (hw accelerated), kodi installable

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:

cheers and have fun! – mac-l1

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

WOW, What a greate work ! I will check it later, thanks, Mac-l1.

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

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 "

sudo apt-get install libudev1

" first.

cheers – mac-l1

Hi kxz:
the “upgrade_tool” with version 1.24 can replace the “rkdeveloptool” .use the same argument.
I have checked ,

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

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?

Hello,

Is this installable on Firefly RK3399 as well?

Thanks!

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

does this give acces to the hdmi input?

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

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!

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!

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:

Message from syslogd@localhost at Jul  6 14:56:19 ...
 kernel:[ 3690.721460] thermal thermal_zone0: critical temperature reached(90 C),shutting down
Connection to 192.168.0.109 closed by remote host.
Connection to 192.168.0.109 closed.

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.

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?

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

+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.

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…

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.

Hi mac-I1,
i’ve found solution. to install libudev for i386 can make it work.

sudo apt-get install libudev-dev:i386