openwrt finally released for sunxi

287 views
Skip to first unread message

Benjamin Henrion

unread,
May 25, 2015, 3:54:11 AM5/25/15
to linux...@googlegroups.com
Openwrt is finally released for sunxi:

https://downloads.openwrt.org/chaos_calmer/15.05-rc1/sunxi/generic/

We had to wait because otherwise there were only daily builds available.

If you use it, feel free to report bugs.

This is based on a 3.18 lts kernel.

--
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-4148403
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."

Juan Font

unread,
May 27, 2015, 5:31:41 AM5/27/15
to linux...@googlegroups.com, zoo...@gmail.com
Hi,

I'm trying to build it for Cubietruck (make image PROFILE=Cubietruck) using the ImageBuilder (https://downloads.openwrt.org/chaos_calmer/15.05-rc1/sunxi/generic/OpenWrt-ImageBuilder-15.05-rc1-sunxi.Linux-x86_64.tar.bz2) but it seems to have problems when looking for uboot:

Downloading file:packages/base/kmod-pppox_3.18.11-1_sunxi.ipk.
Installing uboot-envtools (2014.10-2) to root...
Downloading file:packages/base/uboot-envtools_2014.10-2_sunxi.ipk.
Unknown package 'uboot-sunxi'.
Installing uboot-sunxi-Cubietruck (2015.01) to root...
Downloading file:packages/base/uboot-sunxi-Cubietruck_2015.01_sunxi.ipk.
Installing uci (2015-04-09.1-1) to root...
Downloading file:packages/base/uci_2015-04-09.1-1_sunxi.ipk.
Configuring kmod-scsi-core.
Configuring kmod-ata-sunxi.
Configuring opkg.
Configuring kmod-nls-base.
Configuring kmod-usb-core.
...
...
Configuring ip6tables.
Configuring uboot-sunxi-Cubietruck.
Configuring ppp-mod-pppoe.
Collected errors:
 * opkg_install_cmd: Cannot install package uboot-sunxi.
Makefile:129: recipe for target 'package_install' failed
make[2]: *** [package_install] Error 255
make[2]: Leaving directory '/home/mads/juanfont/isg/OpenWrt-ImageBuilder-15.05-rc1-sunxi.Linux-x86_64'
Makefile:100: recipe for target '_call_image' failed
make[1]: *** [_call_image] Error 2
make[1]: Leaving directory '/home/mads/juanfont/isg/OpenWrt-ImageBuilder-15.05-rc1-sunxi.Linux-x86_64'
Makefile:178: recipe for target 'image' failed
make: *** [image] Error 2



Any idea?


Thanks,

Juan

Dmitriy B.

unread,
May 27, 2015, 5:58:13 AM5/27/15
to linux-sunxi, zoo...@gmail.com, juanfon...@gmail.com
2015-05-27 12:31 GMT+03:00 Juan Font <juanfon...@gmail.com>:
Hi,

Can confirm, have exactly the same error. Going to try to build from source.
 

Thanks,

Juan

 
On Monday, May 25, 2015 at 9:54:11 AM UTC+2, Benjamin Henrion wrote:
Openwrt is finally released for sunxi:

https://downloads.openwrt.org/chaos_calmer/15.05-rc1/sunxi/generic/

We had to wait because otherwise there were only daily builds available.

If you use it, feel free to report bugs.

This is based on a 3.18 lts kernel.

--
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-4148403
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators." 

Best Regards,
Dmitriy Beykun 

Dmitriy B.

unread,
May 28, 2015, 1:29:39 PM5/28/15
to linux-sunxi, Benjamin Henrion, Juan Font
Building from source helps, I've got working system.
If you have archlinux as a build machine, you need to apply https://patchwork.ozlabs.org/patch/475983/
 
 

Thanks,

Juan

 
On Monday, May 25, 2015 at 9:54:11 AM UTC+2, Benjamin Henrion wrote:
Openwrt is finally released for sunxi:

https://downloads.openwrt.org/chaos_calmer/15.05-rc1/sunxi/generic/

We had to wait because otherwise there were only daily builds available.

If you use it, feel free to report bugs.

This is based on a 3.18 lts kernel.

--
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-4148403
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators." 

Best Regards,
Dmitriy Beykun 


Best Regards,
Dmitriy Beykun 

Dmitriy B.

unread,
Jun 24, 2015, 2:46:43 PM6/24/15
to Benjamin Henrion, wig...@uid0.hu, linux...@googlegroups.com
2015-05-25 10:54 GMT+03:00 Benjamin Henrion <zoo...@gmail.com>:
Openwrt is finally released for sunxi:

https://downloads.openwrt.org/chaos_calmer/15.05-rc1/sunxi/generic/

We had to wait because otherwise there were only daily builds available.

If you use it, feel free to report bugs.

1) Cubietruck defconfig seems to miss something needed for onboard broadcom to power up.
Anyone got success running its wifi? 

2) A20 boards device trees seem to include cryptodev, which was proven to have HW bug on all Allwinner SoCs, fixed in A83. grep linux-sunxi mailing list for answers from Kevin in crypto hw acceleration patch threads. Does the version of crypto driver included in openwrt have updated patch? Since we have 3.1x here with patches from 4.x backported, this issue might be easily missed.

Apart from Cubietruck, I've got ok results from A10 boards, nothing seriously frustrating, almost everything works out of the git build.
 

This is based on a 3.18 lts kernel.

--
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-4148403
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."

--
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Best Regards,
Dmitriy Beykun

Zoltan HERPAI

unread,
Jun 24, 2015, 3:31:06 PM6/24/15
to rzk...@gmail.com, Benjamin Henrion, linux...@googlegroups.com
Dmitriy B. wrote:
> 2015-05-25 10:54 GMT+03:00 Benjamin Henrion <zoo...@gmail.com
> <mailto:zoo...@gmail.com>>:
>
> Openwrt is finally released for sunxi:
>
> https://downloads.openwrt.org/chaos_calmer/15.05-rc1/sunxi/generic/
>
> We had to wait because otherwise there were only daily builds
> available.
>
> If you use it, feel free to report bugs.
>
>
> 1) Cubietruck defconfig seems to miss something needed for onboard
> broadcom to power up.
> Anyone got success running its wifi?
>
> 2) A20 boards device trees seem to include cryptodev, which was proven
> to have HW bug on all Allwinner SoCs, fixed in A83. grep linux-sunxi
> mailing list for answers from Kevin in crypto hw acceleration patch
> threads. Does the version of crypto driver included in openwrt have
> updated patch? Since we have 3.1x here with patches from 4.x
> backported, this issue might be easily missed.
>
> Apart from Cubietruck, I've got ok results from A10 boards, nothing
> seriously frustrating, almost everything works out of the git build.
Hi Dmitriy,

1) I don't have a cubietruck so this wasn't tested - IIRC it was left
off where brcmfmac would've needed the SDIO code built as well. Patches
are most welcome. :)

2) I'll check this one, can't recall the exact series, probably it was a
v4 or a v5, based off the timestamps. The last one I saw around the
crypto driver is the v9 patchset, is that the one You're referring to?

Thanks,
Zoltan H

Priit Laes

unread,
Jun 25, 2015, 2:18:45 AM6/25/15
to rzk...@gmail.com, Benjamin Henrion, wig...@uid0.hu, linux...@googlegroups.com
On Wed, 2015-06-24 at 21:46 +0300, Dmitriy B. wrote:
> 2015-05-25 10:54 GMT+03:00 Benjamin Henrion <zoo...@gmail.com>:
> > Openwrt is finally released for sunxi:
> >
> > https://downloads.openwrt.org/chaos_calmer/15.05-rc1/sunxi/generic/
> >
> > We had to wait because otherwise there were only daily builds
> > available.
> >
> > If you use it, feel free to report bugs.
> 1) Cubietruck defconfig seems to miss something needed for onboard
> broadcom to power up.
> Anyone got success running its wifi?
>
> 2) A20 boards device trees seem to include cryptodev, which was
> proven to have HW bug on all Allwinner SoCs, fixed in A83. grep linux
> -sunxi mailing list for answers from Kevin in crypto hw acceleration
> patch threads. Does the version of crypto driver included in openwrt
> have updated patch? Since we have 3.1x here with patches from 4.x
> backported, this issue might be easily missed.

Only AES/DES/3DES CTR and CTS modes were flawed:

https://groups.google.com/forum/#!searchin/linux
-sunxi/AES$2FDES$2F3DS$20/linux-sunxi/tIQd4Bpxtzg/Btq0uBBcH48J

http://sunxi.montjoie.ovh/#support_overview


And the mainlining effort status with links to most of the patches:
http://linux-sunxi.org/Mainlining_Effort#Work_In_Progress


Päikest,
Priit Laes :)

Dmitriy B.

unread,
Jun 25, 2015, 3:52:39 AM6/25/15
to Zoltan HERPAI, Benjamin Henrion, linux...@googlegroups.com
2015-06-24 22:31 GMT+03:00 Zoltan HERPAI <wig...@uid0.hu>:
Dmitriy B. wrote:
2015-05-25 10:54 GMT+03:00 Benjamin Henrion <zoo...@gmail.com <mailto:zoo...@gmail.com>>:

    Openwrt is finally released for sunxi:

    https://downloads.openwrt.org/chaos_calmer/15.05-rc1/sunxi/generic/

    We had to wait because otherwise there were only daily builds
    available.

    If you use it, feel free to report bugs.


1) Cubietruck defconfig seems to miss something needed for onboard broadcom to power up.
Anyone got success running its wifi?
2) A20 boards device trees seem to include cryptodev, which was proven to have HW bug on all Allwinner SoCs, fixed in A83. grep linux-sunxi mailing list for answers from Kevin in crypto hw acceleration patch threads. Does the version of crypto driver included in openwrt have updated patch? Since we have 3.1x here with patches from 4.x backported, this issue might be easily missed.

Apart from Cubietruck, I've got ok results from A10 boards, nothing seriously frustrating, almost everything works out of the git build.
Hi Dmitriy,

1) I don't have a cubietruck so this wasn't tested - IIRC it was left off where brcmfmac would've needed the SDIO code built as well. Patches are most welcome. :)


If brcmfmac SDIO is selected, driver can see the chip, but can't load the firmware - its missing from openwrt firmware packages. When I added brcmfmac43362-sdio.bin by hand from linux-firmware.git driver couldnt load the firmware, probably missing patches from upstream for brcm43362 support or some sunxi SDIO work from Hans.
 
2) I'll check this one, can't recall the exact series, probably it was a v4 or a v5, based off the timestamps. The last one I saw around the crypto driver is the v9 patchset, is that the one You're referring to?

Yes, see Priit Laes answer.
 

Thanks,
Zoltan H


Best Regards,
Dmitriy Beykun 

Reply all
Reply to author
Forward
0 new messages