Firefly Open Source Community

Title: Ubuntu16.04 for Firefly arrived [Print This Page]

Author: isle    Time: 8/29/2016 19:19
Title: Ubuntu16.04 for Firefly arrived
Last edited by isle In 9/23/2016 17:47 Editor

Firefly  keep moving on the open source area£¡this time  we bring you the lastest ubuntu 16.04 .



the new function:  Dual Display



the  problem of chromium-browser has finished.


GPU: higher performance




Dowdload this firmware from here:
baidu £ºhttps://pan.baidu.com/s/1i50kLdb
google £ºhttps://drive.google.com/open?id=0B7HO8lbGgAqAemxZUThVdWlqU2M
Author: mac-l1    Time: 8/31/2016 13:01
great stuff!
is that also based on kernel 3.14 or maybe mainline?
and will you share the kernel code?
good work!
Author: mo123    Time: 8/31/2016 22:46
mac-l1 Posted at 8/31/2016 13:01
great stuff!
is that also based on kernel 3.14 or maybe mainline?
and will you share the kernel co ...

Hi

Here is the kernel source code used.
https://github.com/T-Firefly/firefly-3.14-kernel

You might also find this useful, Rockchip's new wiki site.
http://rockchip.wikidot.com/build-kernel
http://rockchip.wikidot.com/linux-user-guide
http://rockchip.wikidot.com/porting-os
Author: mac-l1    Time: 8/31/2016 23:42
mo123 Posted at 8/31/2016 22:46
Hi

Here is the kernel source code used.

yep, i know. but i guess firefly hasnt updated their 3.14 repo yet with latest commits, is it?

actually I have some more patches (about 25) in store to push for their 3.14 repo as i now have mali r12p0 running, with vpu support (both native linux and using machybris - all but hevc) and also rga support, all on 16.04. i ported most patches from the rockchip repos.

just great that rockchip is finally opening up.
Author: mo123    Time: 9/1/2016 22:44
mac-l1 Posted at 8/31/2016 23:42
yep, i know. but i guess firefly hasnt updated their 3.14 repo yet with latest commits, is it?

...

That's great.
I think everyone can't wait to try some of your new work out.
Hope we don't have to wait too long
Author: mac-l1    Time: 9/9/2016 19:56
hi isle,

is this ubuntu 16.04 release based on kernel 3.14?
and if so, is your github kernel 3.14 repo now up to date or do you still need to push some commits?

if 3.14 repo is uptodate then i can push some more commits to add rga and vpu.

cheers -- mac-l1
Author: mo123    Time: 9/10/2016 12:02
mac-l1 Posted at 9/9/2016 19:56
hi isle,

is this ubuntu 16.04 release based on kernel 3.14?

In the Chinese Firefly forum they said the kernel used was that 3.14 one I posted above.
I think you should push your commits to it then they can merge it.
Author: AussieJohn    Time: 9/10/2016 14:30
is anyone having trouble getting the wifi to work? when i run ifconfig it doesn't even show up
Author: ujerry    Time: 9/12/2016 10:57
Last edited by ujerry In 9/12/2016 11:03 Editor
AussieJohn Posted at 9/10/2016 14:30
is anyone having trouble getting the wifi to work? when i run ifconfig it doesn't even show up

Oh , our mistakes, for ubuntu 16.04 use systemd instead of upstart. userspace firmware loading not support now. so we need to add brcmfmac firmware into kernel.
this bug is fixed
https://github.com/T-Firefly/firefly-3.14-kernel
Author: AussieJohn    Time: 9/12/2016 12:13
ujerry Posted at 9/12/2016 10:57
Oh , our mistakes, for ubuntu 16.04 use systemd instead of upstart. userspace firmware loading not ...

hi thanks, i'll compile a new kernel from your source to get wifi working again.
I've also noticed that i seem to get keyboard input lag and errors with typing, tried several keyboards as well and all present this issue.
another thing i noticed was that ubuntu seems to be having crashes causing error messages every now and then
Author: dalton.lai    Time: 9/14/2016 09:58
Last edited by dalton.lai In 9/14/2016 10:47 Editor
ujerry Posted at 9/12/2016 10:57
Oh , our mistakes, for ubuntu 16.04 use systemd instead of upstart. userspace firmware loading not ...

Hi Jerry,

Would you please help to check if we still need brcmfmac4339-sdio.bin for wifi firmware?

make[1]: *** No rule to make target 'firmware/brcm/brcmfmac4339-sdio.bin', needed by 'firmware/brcm/brcmfmac4339-sdio.bin.gen.o'.  Stop.
make[1]: *** Waiting for unfinished jobs....
  MK_FW   firmware/brcm/brcmfmac4339-sdio.bin.gen.S
Makefile:867: recipe for target 'firmware' failed
make: *** [firmware] Error 2

Thanks a lot.

Author: peba    Time: 9/20/2016 01:15
Last edited by peba In 9/21/2016 05:23 Editor

You could also try the Debian 8 image for the MiQi SBC on the Firefly board.
The current OS image from Benn Huang and mqmaker is based on kernel 4.4 and offers both 2D and 3D GPU acceleration, VPU acceleration for H.264 is also working via gstreamer. Currently I installed the beautiful Mate Desktop which works really well.  
read more:
https://forum.mqmaker.com/c/miqi
https://forum.mqmaker.com/t/miqi-with-debian8-jessie/477
http://www.bitkistl.com/2016/08/miqi-sbc-v10-hands-on.html
http://www.bitkistl.com/2016/09/ ... -mini-computer.html








Author: AussieJohn    Time: 9/20/2016 15:30
peba Posted at 9/20/2016 01:15
You could also try the Debian 8 image for the MiQi SBC on the Firefly board.
The current OS image f ...

hi peba, this looks very interesting as id like to be running mainline kernel on this board, can you confirm what hardware is working after flashing this MiQi firmware. for example does bluetooth and wifi work at all?
Author: peba    Time: 9/21/2016 03:12
Last edited by peba In 9/21/2016 03:17 Editor

Hi Aussie John, I do not know what will work on the firefly when you flash the miqi image on it. I do not own a firefly board so I can't test. Why not also buy a MiQi board ? It should not take too long until the firefly developers will provide an updated image with all drivers needed for the firefly board. Rockchip has decided to actively support Linux Distributions (Debian from linaro) on its SOC's like the RK3288. Read about the Rockchip toolbox here:
http://www.bitkistl.com/2016/09/the-rockchip-toolbox.html
https://forum.mqmaker.com/
Author: zzarr    Time: 9/23/2016 13:29
Hello!

I know it's an beta version, but I flashed the image on my Firefly RK3288 Plus and I got this two issues:

1. The HDMI signal turns off and on randlomly in such a way that the monitor turns off and on for about a second (it does not matter if I have X running or not).
2. I can't get keyboard or mouse to work at all.

Are this know problems?

Best Regards
/ Rasmus
Author: isle    Time: 9/23/2016 15:55
hi
  we haven't those problems.
  could you  give more informations(X11 log or kernel log )
Author: zzarr    Time: 9/24/2016 00:37
Hello!

Yes, here are the logs:

dmesg  http://pastebin.com/sp30EfF1
syslog http://pastebin.com/KYx6Sp8v
(quite long, expires 1 month from now)

kern.log https://dl.dropboxusercontent.com/u/90981951/kern.log
(super long, 2.6MB in size)

There is clearly something wrong with the graphics, I get this line often: "[drm:drm_mode_legacy_fb_format] *ERROR* bad bpp, assuming x8r8g8b8 pixel format", if it has to do with my setup (e.g. the TV I have connected the HDMI to, or anything else I don't know)

I hope anyone can find the problem.

Thanks!

Best Regards
/ Rasmus

Author: isle    Time: 9/24/2016 10:34
Hi
the HDMI problem :  please post the X11 log :"cat /var/log/Xorg.0.log" after the HDMI turn off and on.
the keyboard problem: connect the keyboard after the os is ready. then post the kernel log .
and use the cmd "lsusb" to see the usb devices.
Author: zzarr    Time: 9/25/2016 17:32
Hello isle!

lsusb finds the device, this line:
Bus 001 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver

Since it's much smoother with dropbox then pastebin, here's a link to Xorg.0.log.
https://dl.dropboxusercontent.com/u/90981951/Xorg.0.log

But I think that the framebuffer driver is to blame since even if I don't even start the X11 environment it's still turning off and on.

Best Regards
/ Rasmus
Author: isle    Time: 9/26/2016 10:47
Hi  
I find this from your Xorg.0,log
[    14.025] (EE) ARMSOC(0): Output HDMI-1 enabled but has no modes
[    14.025] (EE) ARMSOC(0): ERROR: xf86 Initial Configuration failed
[    14.025] (EE) ARMSOC(0): ERROR: Cannot get KMS resources

It is so strange ,we have never met before.
so ,as i think, the os try to find the best mode in your monitor by turn off and on.

Author: zzarr    Time: 9/26/2016 21:18
Hello again!

Hmm, I think I might have used another monitor which it did not find at all.

Sorry about that.

But it should have found it in any way (it's a normal monitor which I know works).

I have turned it off and on.

Should I try to install another system e.g. the official 14.04 and see if it works?

Best Regards
/ Rasmus
Author: isle    Time: 9/27/2016 09:45
Yeh
you should try.like this one :
https://drive.google.com/drive/u ... gAqAU0NRa1NHWHgweVE

the official and the beta firmware use the different display drivers.
Author: zzarr    Time: 9/27/2016 16:27
That's the one I will try with :-)

Does it have Open GL ES?

Or what is the difference?
Author: AussieJohn    Time: 9/27/2016 17:54
i ran into problems trying to add wifi firmware into the kernel as I'm not a linux expert. is there any timeframe from when firefly will update their image to include it?

also while not completely related i did check out debian 8 beta image and the mainline kernel is running very well so is there any plans to move away fro  3.14 to 4.x in the near future?
Author: isle    Time: 9/28/2016 09:35
No.That firmware have no Open GL ES£¬
you need add it by yourself like this :
http://bbs.t-firefly.com/forum.p ... &extra=page%3D1

the difference between the two firmware  is have different kernel ,one is 3.14 ,another is 3.10.

Author: isle    Time: 9/28/2016 09:36
AussieJohn Posted at 9/27/2016 17:54
i ran into problems trying to add wifi firmware into the kernel as I'm not a linux expert. is there  ...

Yes, we will update the kernel to 4.X from next version
Author: AussieJohn    Time: 9/28/2016 15:37
Isle that's great to hear, if there's anything I can do to help out please let me know
Author: dalton.lai    Time: 9/29/2016 08:35
isle Posted at 9/28/2016 09:35
No.That firmware have no Open GL ES£¬
you need add it by yourself like this :
http://bbs.t-firefl ...

hi isle,

how about openCL support in these two firmwares?
Author: isle    Time: 9/29/2016 09:50
AussieJohn Posted at 9/28/2016 15:37
Isle that's great to hear, if there's anything I can do to help out please let me know

Thanks.That is so kind of you.
Author: isle    Time: 9/29/2016 09:56
dalton.lai Posted at 9/29/2016 08:35
hi isle,

how about openCL support in these two firmwares?

the openCL support is  the same as the openGL ES's.

Author: zzarr    Time: 10/6/2016 14:52
Hello again!

I was gone for a while.

I tested the 14.04 image, but it would not even boot to a commandline.

So I flashed the 16.04 image back.

When is the release of a stable 16.04?

Best Regards
/ Rasmus
Author: isle    Time: 10/8/2016 09:46
Hi
It will  take a while,Maybe one or two months.
We will complete as fast as we possibly can.
Author: zzarr    Time: 10/9/2016 18:36
Hello again!

In that case I wait for the next version since it's a hobby project of mine with no deadline.

Best Regards
/ Rasmus
Author: zzarr    Time: 11/4/2016 20:36
Hi everyone again!

It's been a while since I looked here.

isle how do I set up an environment so that I can build an image like you do?

(I run Ubuntu)

Best Regards
/ Rasmus
Author: isle    Time: 11/7/2016 11:15
hi
can you read chinese £¿ the are some post in out chinese forum tells how to do it.
Author: zzarr    Time: 11/8/2016 15:56
Hello!

No, I can't read Chinese, there's no English translation?
Author: isle    Time: 11/9/2016 10:09
OK, we will translate  and post it later ¡£
Author: zzarr    Time: 11/11/2016 21:57
Nice, thanks
Author: kamikazer    Time: 12/7/2016 01:50
2D, video acceleration, 3D support? No? ok
Author: isle    Time: 12/7/2016 09:06
please check this  : http://bbs.t-firefly.com/forum.p ... &extra=page%3D1

it has 3D support (opengl es ) and video acceleration (VAAPI <only h264 >).
Author: pro777    Time: 1/14/2017 23:05
I flashed image Ubuntu 16.04.
The log Xorg.0.log contains an error:
"AIGLX error: dlopen of /usr/lib/arm-linux-gnueabihf/dri/rockchip_dri.so failed (/usr/lib/arm-linux-gnueabihf/dri/rockchip_dri.so: cannot open shared object file: No such file or directory)".
You can fix this?
Author: isle    Time: 2/5/2017 09:36
Hi:
the latest  image is here : http://bbs.t-firefly.com/forum.p ... &extra=page%3D1
Author: telemetrie42    Time: 2/6/2017 20:31
Hi isle ! Where is the new image ? i don't find it on google drive https://drive.google.com/drive/f ... gAqANHVpUS1kQWVOMjA
It Should be titled something like: Firefly-rk3288_Ubuntu_1604_2017_... or ?
Author: isle    Time: 2/7/2017 10:08
Hi
the latest image is 2016_1018 right now. we will update  it soon.
Author: ittai    Time: 2/28/2017 08:13
Anyone can confirm hdmi input is working now in linux? Otherwhise I send the board back to firefly and ask my money back. Too many promises, no clear communication at all
Author: isle    Time: 3/1/2017 09:16
Hi ,
the HDMI IN just working on android right now,It is not ready for linux,sorry for that.
Author: ittai    Time: 3/1/2017 20:16
Last edited by ittai In 3/1/2017 21:48 Editor

Ok, sorry is nice. But you promised it when you launched on kickstarter, so sorry is not enough.

It is part of the package you sold to customers, so people paid for it already.

Clear answer please: when is the linux driver going to be ready? What exact date?
Author: isle    Time: 3/2/2017 09:24
Hi ittai
we never put the firefly-rk3288 reload board to kickstarter ,even the firefly-rk3288,we only put the firefly-rk3399 board to it,
so ,do we really promise that? Could you please show we where ,Because we totally can't remember this promise?
Author: isle    Time: 3/2/2017 10:51
Last edited by isle In 3/2/2017 10:55 Editor

Hi ittai
Sorry for the misunderstand the HDMI IN support in linux . we didn't tested  the HDNI IN function in linux before.after server backer's advise, we do the test,then ,we find there are some source code we can't get,and we try and have nothing,we are sorry to tell you guys that we can't support it  ,Sorry for all about this.
Author: ittai    Time: 3/2/2017 10:59
Ok, I understand. So you will never have it, right?

Please: next time, instead of saying on the forum it is a uvc device, then afterwards say you are working on it, then say it is 'not ready', before saying: we cannot have it. Please, just say it honestly from the beginning.

We have been looking for this for a long time, spent hours on it. Then waited for it to get delivered all the way from china. Then have staff spending hours try to make it work, we lost a lot of time because of that. If you just admit it doesn't work, it's no big deal, we would not have bought it and moved on.

Good communication with customers is the key, if something goes wrong : just admit it. It's no big deal.
Author: isle    Time: 3/2/2017 11:38
Hi  ittai
yes,our mistake, we admit it,
we connect the rockchip and the another company who support  the HDNI IN   in android for us,to help we make it work in linux. But ,the answer is "no schedule yet",we are keep trying,but still have no positive feedback.
we know our backers have waited this for a log time ,but we can't make a promise for you guys. we really feel sorry for that.
we will keep trying,but we don't know the end.
Author: daverand    Time: 3/27/2017 21:59
I am having some trouble getting the M.2 SSD to work.  I have the SD card working fine, but it would appear the M.2 SSD card is not recognized under Ubuntu.  Does someone else have it running ok?
Author: psycmos    Time: 3/28/2017 15:39
You are connecting it via usb? What your M2 adapter?
Author: daverand    Time: 3/29/2017 21:51
psycmos Posted at 3/28/2017 15:39
You are connecting it via usb? What your M2 adapter?

I posted this to the wrong group.  I am using this on the RK-3399 board, which has the M.2 connector directly on the board, which is where I have the SSD plugged in.
Author: isle    Time: 4/6/2017 11:45
Hi  ittai
good news ,the rockchip finally promise  to help us with the HDMI-IN function,we plant to have a demo in one or two months
Author: isle    Time: 4/6/2017 11:47
daverand Posted at 3/29/2017 21:51
I posted this to the wrong group.  I am using this on the RK-3399 board, which has the M.2 connect ...

ok, we will check it ,
Author: kfchoong    Time: 4/17/2017 19:37
Hi,
I noticed that 2D graphics is pretty bad. May I know if  this is the current state or am I doing something wrong?
Author: isle    Time: 4/18/2017 09:19
Hi
yes,the 2D graphics acceleration  is not very good for X11. we are consider to change  to wayland£¬which was much better in 2D acceleration .
However,we have no enough hands to do all of these,Maybe, we will do it when we are not too busy.
Author: kfchoong    Time: 4/18/2017 20:15
isle Posted at 4/18/2017 09:19
Hi
yes,the 2D graphics acceleration  is not very good for X11. we are consider to change  to waylan ...

Hi,

Do you know if wayland will have much better performance? Or is the problem caused by the lack of graphics driver?
Author: CountRock    Time: 5/23/2017 05:03
Will there be a non beta Ubuntu 16.04 released soon?
Author: ittai    Time: 5/29/2017 19:08
Hi, any updates on the hdmi input? We're now beyond 2 months..
Author: isle    Time: 5/31/2017 10:07
Hi, I have just check with the rockchip's engineer. That 's a problem they haven't fixed, will plan to resolve it in weeks .
We will release it as soon as it is ready. Thanks for your patience.
Author: isle    Time: 8/2/2017 11:07
Hi, the demo is fine done,
But, there are a limit £¬when this demo is running ,the lightdm must be stopped. you can only see the HDMIIN picture, can't do any thing else.
we are discussing this problem with the RK,hope there is a solution later.
Author: Aijaz    Time: 12/27/2017 14:50
AussieJohn Posted at 9/12/2016 12:13
hi thanks, i'll compile a new kernel from your source to get wifi working again.
I've also notice ...

Hi
We are using Ubuntu 16.04 version on RK3288 Firefly Reload board but so far have been unsuccessful in getting the hotspot working. The Wifi module is based on AP6335 some of the debug messages indicate the signal strength as Zero. There is no SSID broadcast too.
Warm regards
Aijaz
Author: Jepplar    Time: 2/7/2018 18:21
Hello,

I'm using image Firefly-rk3288_Ubuntu_1604_201705250940 and looking to get LVDS output working through the output pins to drive an LCD display.
But I cannot see the LVDS output interface if i run "sudo xrandr --query". Is it possible for me to get this working?

Best regards,
Jesper
Author: SashaW    Time: 6/15/2018 00:12
I am interested in installing Ubuntu 16.04 for my RK3288, however the links you provided give 404 errors. Is the image available somewhere else?
Author: e97    Time: 7/16/2018 17:06
Last edited by e97 In 7/16/2018 17:12 Editor

Is there a new version of Ubuntu 16.04 or 18.04 the last one I have is :

Firefly-rk3288_Ubuntu_1604_2016_10181203_Beta

and the current version linked on the download page is:

Firefly-RK3288_Ubuntu14.04_201803201135.img.7z


Other option is to get uboot 2018.01 and port a minimal 18.04 or 16.04.4 with either rockchip 4.4 kernel/t-firefly 4.4 kernel or  4.14 mainline,
using latest linaro toolchain:

gcc-linaro-7.3.1-2018.05-x86_64_arm-linux-gnueabihf.tar.xz (cross-compile)

or

runtime-gcc-linaro-7.3.1-2018.05-arm-linux-gnueabihf.tar.xz ( native)


Author: glider43    Time: 12/17/2018 06:06
Could you please post an english link to down load this ubuntu and the firmware updater. and the sd card writer. Please
Author: penguin    Time: 12/17/2018 17:43
kernel 3.14 is not supported any more in official firmware.
Author: sivagudla    Time: 4/12/2019 07:24
Can you tell me about how did u install Ubuntu 16.04 on to the board?




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