Firefly Open Source Community

Title: linux 4.5 for firefly. [Print This Page]

Author: pqy    Time: 4/3/2016 22:18
Title: linux 4.5 for firefly.
[attach]779[/attach]
Hi, everyone!
I have just ported the ap6335 driver to linux 4.5. I would like to share my ugly patch to you.
I have also packed a new firmware, which is built with buildroot, for you. You can have a try easily.
You can login with root acount, blank password.
If you want to create a access point, just :
echo /lib/firmware/fw_bcm4339a0_ag_apsta.bin > /sys/module/bcmdhd/parameters/firmware_path
ifconfig wlan0 up
hostapd -B /etc/hostapd.conf

The default ssid/password is firefly/11111111, you can change it by editing /etc/hostapd.conf.

Enjoy youself!



Author: pqy    Time: 4/3/2016 22:19
patch-4.5-firefly.bzip2 (788.73 KB, Down times: 39)
Author: pqy    Time: 4/4/2016 13:30
Oh,sorry. I forgot one step.
Before you run hostapd -B /etc/hostapd.conf, you should give wlan0 a ip addr 10.0.0.1(depends on /etc/dnsmasq.conf)
ifconfig wlan0 10.0.0.1 netmask 255.255.255.0
Author: tlgimenes    Time: 4/5/2016 01:47
Great job !!

Does it support the VGA/HDMI output or serial console only ?

Thanks !
Author: pqy    Time: 4/5/2016 10:12
tlgimenes Posted at 4/5/2016 01:47
Great job !!

Does it support the VGA/HDMI output or serial console only ?

Sadly not. I only struggle with ap6335. It still has some problems, though.
Author: pqy    Time: 4/5/2016 20:05
sdio_reset_comm() will cause kernel crash. So I remove ENABLE_INSMOD_NO_FW_LOAD . You cannot change between ap mode and client mode without reboot.
Author: tlgimenes    Time: 4/5/2016 21:39
Ohh, I see, but it's really nice anyways !

I'm trying to recruit people to create a fork of the latest linux version on github (4.6-rc3 in this case) and create some linux images with it. Would you be willing to help us doing the ap6335 work on it ?

thanks !
Author: pqy    Time: 4/5/2016 22:29
tlgimenes Posted at 4/5/2016 21:39
Ohh, I see, but it's really nice anyways !

I'm trying to recruit people to create a fork of the l ...

why using unstable version?
Author: tlgimenes    Time: 4/6/2016 23:53
Well, you have your point !

I just thought a newer version would be better because our fork would take longer to be outdated like firefly's stock kernel (3.10), but maybe going with the stable one would be better in this case.

So, would you be willing to help us (me) to bring kernel 4.5 to firefly with your ap6335 port ?

Thanks !
Author: pqy    Time: 4/7/2016 22:14
openwrt for firefly, is it interesting?

Author: tlgimenes    Time: 4/8/2016 06:15
Wow !! It is !!

I Need this image ! Can you post it in here ?!

Grate job !
Author: pqy    Time: 4/8/2016 10:08
tlgimenes Posted at 4/8/2016 06:15
Wow !! It is !!

I Need this image ! Can you post it in here ?!

it wasn't time yet.
Author: pqy    Time: 5/19/2016 19:48
linux 4.6 is here!

firefly-openwrt.patch.bzip2

805.46 KB, Down times: 13

patch for linux 4.6


Author: sghazagh    Time: 5/25/2016 11:18
Perhaps here I can ask my question with regard to Firefly TK3288 Linux Kerenl.

Can you please advise what latest version of Linux is officially available for Firefly RK3288.
At the moment I use 3.10.0 and I think the 4.4.0 mainline wasn't ready couple of months ago.

Can you please provide the latest stable kernel GIT branch which we can safely use to compile and make the kernel for Firefly RK3288?

Thanks
Author: AussieJohn    Time: 5/25/2016 16:33
have a look at the slackware forum thread, its on  kernel 4.5 runs well apart from gfx performance. personally i'd rather something ubuntu based so i hope this is helpful
Author: sghazagh    Time: 5/25/2016 19:09
AussieJohn Posted at 5/25/2016 16:33
have a look at the slackware forum thread, its on  kernel 4.5 runs well apart from gfx performance.  ...

Thank mate,
I have already created a Ubuntu 16.04 LTS based image and all graphic and wifi works fine.
However, I am still using 3.10.0 kernel compiled and customized for my use. (Nothing changed except 1w though)

Was wondering if it's worth to try the newer kernel.
Will have a look but if you place a link here it will be appreciated.
Author: pqy    Time: 5/25/2016 23:01
sghazagh Posted at 5/25/2016 11:18
Perhaps here I can ask my question with regard to Firefly TK3288 Linux Kerenl.

Can you please adv ...

I have no any vga/hdmi monitor, so the graphic part is not necessary for me. I just want to use as a router running openwrt, as you know. The GPU driver is too hard.
If you do not need any sound or graphic, you can use the newest mainline kernel.
My network is very bad. So I just share a patch, not whole git tree.
Author: sghazagh    Time: 5/26/2016 07:04
pqy Posted at 5/25/2016 23:01
I have no any vga/hdmi monitor, so the graphic part is not necessary for me. I just want to use as ...

Thanks guys,
I think I got some idea about the kernel development stage of Firefly RK3288!!!
So just I should clear that for myself that what I wanna relay do! Stick to old kernel or new kernel with less functionality!

Author: mara    Time: 6/21/2016 00:39
hi pqy
I try your patch for the 4.6.x kernel, wifi works and es8323 initialization an error

  1. [    2.333021] of_get_named_gpiod_flags: parsed 'spk-con-gpio' property of node '/i2c@ff660000/es8323@10[0]' - status (0)
  2. [    2.333045] of_get_named_gpiod_flags: parsed 'hp-det-gpio' property of node '/i2c@ff660000/es8323@10[0]' - status (0)
  3. [    3.333633] es8323 probe error
  4. [    3.343474] rockchip-es8323 rockchip-es8323: ASoC: CODEC DAI ES8323 HiFi not registered
  5. [    3.351521] rockchip_es8323_audio_probe() register card failed:-517
  6. [    5.108992] rockchip-es8323 rockchip-es8323: ASoC: CODEC DAI ES8323 HiFi not registered
  7. [    5.117382] rockchip_es8323_audio_probe() register card failed:-517
  8. [    5.132872] rockchip-es8323 rockchip-es8323: ASoC: CODEC DAI ES8323 HiFi not registered
  9. [    5.141336] rockchip_es8323_audio_probe() register card failed:-517
  10. [   14.582997] rockchip-es8323 rockchip-es8323: ASoC: CODEC DAI ES8323 HiFi not registered
  11. [   14.583008] rockchip_es8323_audio_probe() register card failed:-517
  12. [   34.569384] rockchip-es8323 rockchip-es8323: ASoC: CODEC DAI ES8323 HiFi not registered
  13. [   34.569419] rockchip_es8323_audio_probe() register card failed:-517
  14. [   34.569954] rockchip-es8323 rockchip-es8323: ASoC: CODEC DAI ES8323 HiFi not registered
  15. [   34.569982] rockchip_es8323_audio_probe() register card failed:-517
  16. [   34.586518] rockchip-es8323 rockchip-es8323: ASoC: CODEC DAI ES8323 HiFi not registered
  17. [   34.586554] rockchip_es8323_audio_probe() register card failed:-517
  18. [   34.611029] rockchip-es8323 rockchip-es8323: ASoC: CODEC DAI ES8323 HiFi not registered
  19. [   34.611046] rockchip_es8323_audio_probe() register card failed:-517
Copy the code






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