linux 4.5 for firefly.

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!

patch-4.5-firefly.bzip2 (789 KB)

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

Great job !!

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

Thanks !

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.

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.

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 !

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?

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 !

openwrt for firefly, is it interesting?

Wow !! It is !!

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

Grate job !

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. :lol

linux 4.6 is here!
firefly-openwrt.patch.bzip2 (805 KB)

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

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

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.

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.

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!

hi pqy
I try your patch for the 4.6.x kernel, wifi works and es8323 initialization an error

[    2.333021] of_get_named_gpiod_flags: parsed 'spk-con-gpio' property of node '/i2c@ff660000/es8323@10[0]' - status (0)
[    2.333045] of_get_named_gpiod_flags: parsed 'hp-det-gpio' property of node '/i2c@ff660000/es8323@10[0]' - status (0)
[    3.333633] es8323 probe error
[    3.343474] rockchip-es8323 rockchip-es8323: ASoC: CODEC DAI ES8323 HiFi not registered
[    3.351521] rockchip_es8323_audio_probe() register card failed:-517
[    5.108992] rockchip-es8323 rockchip-es8323: ASoC: CODEC DAI ES8323 HiFi not registered
[    5.117382] rockchip_es8323_audio_probe() register card failed:-517
[    5.132872] rockchip-es8323 rockchip-es8323: ASoC: CODEC DAI ES8323 HiFi not registered
[    5.141336] rockchip_es8323_audio_probe() register card failed:-517
[   14.582997] rockchip-es8323 rockchip-es8323: ASoC: CODEC DAI ES8323 HiFi not registered
[   14.583008] rockchip_es8323_audio_probe() register card failed:-517
[   34.569384] rockchip-es8323 rockchip-es8323: ASoC: CODEC DAI ES8323 HiFi not registered
[   34.569419] rockchip_es8323_audio_probe() register card failed:-517
[   34.569954] rockchip-es8323 rockchip-es8323: ASoC: CODEC DAI ES8323 HiFi not registered
[   34.569982] rockchip_es8323_audio_probe() register card failed:-517
[   34.586518] rockchip-es8323 rockchip-es8323: ASoC: CODEC DAI ES8323 HiFi not registered
[   34.586554] rockchip_es8323_audio_probe() register card failed:-517
[   34.611029] rockchip-es8323 rockchip-es8323: ASoC: CODEC DAI ES8323 HiFi not registered
[   34.611046] rockchip_es8323_audio_probe() register card failed:-517

The article gave me so much value in such a short time. The 3V0-32.23 reliable test collection materials content is fantastic and free, and I hope it helps you.