Hi Vladimir,
Am 14.12.2015 um 11:29 schrieb Vladimir Nadvornik:
> in my Hackweek project[1] I tested Orange Pi PC board[2] with openSUSE.
> This is what I found:
>
> There is Tumbleweed image with downstream kernel 3.4.39 [3]
> - it works with problems, I hit some incompatible IOCTL in V4L2 driver
> and kernel firmware loading does not work
> - the kernel can be recompiled from these sources [4]
>
>
> Adding support to mainline is in progress:
> - U-boot 2016.01-rc2 can boot
Does -rc1 build, too? Then please submit an SR to Base:System u-boot
adding the sub-package now (see pre_checkin.pl).
> - I recompiled Tumbleweed kernel with patches from lkml[5]. It boots
> with gpio and mmc card working. There seems to be also some patches
> for usb support, but I was not able to identify, what patch exactly
> is needed.
Tumbleweed is at 4.3.0. Have you tried 4.4-rcX from Kernel:HEAD [9]? We
had a report from another Hackweek project that USB on Cubietruck (A20)
was not working in 4.3.0 but in ~4.4.rc3.
You could also try to get Kernel:linux-next [10] building (still new),
which would include all queued maintainer patches.
Once some kernel is building the next steps would be
Base:System/dtb-source (pre_checkin.sh) and openSUSE:Factory:ARM/JeOS.
> I also tried to package OpenCV 3.0 library with NEON support [6]
> - the package is here [7], it needs more work on qt5 spec file
%ifarch %arm aarch64
-DENABLE_VFPV3=ON \
-DENABLE_NEON=ON \
%endif
This looks problematic to me. For one, armv6hl does not have VFPv3 or
NEON, so %arm seems a bad choice. For another, armv7hl cannot rely on
NEON instructions at compile time, it needs to test at runtime whether
they work on the target system - you'll need to check what ENABLE_NEON
actually does, enabling detection or hardcoding of those features.
Cheers,
Andreas
> - in my python code[8] I got about 25% higher fps compared to OpenCV 2
>
>
> Vladimir
>
>
> [1] https://hackweek.suse.com/13/projects/1130
> [2] http://www.orangepi.org/orangepipc/
> [3] http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=342
> [4] https://github.com/loboris/OrangePI-Kernel
> [5] https://lkml.org/lkml/2015/12/4/685
> [6] http://opencv.org/opencv-3-0.html
> [7] https://build.opensuse.org/package/show/home:nadvornik:opencv3/opencv3
> [8] https://github.com/nadvornik/astro
[9] https://build.opensuse.org/project/show/Kernel:HEAD
[10]
https://build.opensuse.org/package/show/Kernel:linux-next/kernel-vanilla
--
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton; HRB 21284 (AG Nürnberg)
--
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]