Skip to content
This repository has been archived by the owner on Jan 4, 2024. It is now read-only.

Allwinner V831 SDK #2

Open
jonsmirl opened this issue Mar 14, 2021 · 20 comments
Open

Allwinner V831 SDK #2

jonsmirl opened this issue Mar 14, 2021 · 20 comments

Comments

@jonsmirl
Copy link

jonsmirl commented Mar 14, 2021

Can you please put the Allwinner V831 SDK up somewhere? We have a bunch of code running on the Allwinner V536 using their MPP library to implement WebRTC. I think this WebRTC code should easily port on to the V831 but I can't find the SDK anywhere to try it out.

No need for a giant 10GB tar file. Have a look at how Lindenis put the V536 SDK up on Github.
http://wiki.lindeni.org/index.php/Lindenis_V536#Downloading

The V831 SDK is supposed to be derived from the V536 one so I am expecting it to be 98% identical.

BTW: we just started porting the WebRTC to the RV1109/26. We have the Rockchip SDK and it does not look like much trouble to do the port. We are using the tiny Firefly RV1109 module right now. We just ordered 10 more full sized dev boards from another vendor, they aren't here yet.

Firefly used the same repo system to put the RV1109 SDK up...
http://wiki.t-firefly.com/en/CAM-C11092U/Source_code.html

@Neutree
Copy link
Member

Neutree commented Mar 16, 2021

Sorry, Allwinner tell us we can't open V831 SDK, so we can't put V831 SDK on github like lindenis..... but 1126's SDK will be open

@jonsmirl
Copy link
Author

jonsmirl commented Mar 16, 2021

Closed SDK makes the V831 a fairly worthless chip, probably only a couple of companies will use it. I had low confidence they'd get the NPU working anyway.

The RV1126 and RV1109 SDK are the same SDK, you can download the SDK using the Firefly link. It is just two different compile options. Based on the V831 news we'll put our main effort in to the RV1109. We have built and tested the SDK on the RV1109 -- it builds and works. We have started porting our app. I haven't found anyone shipping RV1126 boards, no chips?

@Neutree
Copy link
Member

Neutree commented Mar 18, 2021

Right the V831's NPU SDK now is pretty poor! RV1109 and 1126 is better if no price limitation, and Sipeed will start selling RV1126/RV1109 dev board and in stock

@ar055
Copy link

ar055 commented Mar 24, 2021

You can download a SDK for the SoC (Allwinner V831) from http://www.sochip.com.cn/v831/index.php?title=Downloading_the_Source

@jonsmirl
Copy link
Author

That won't work unless you buy the board from sochip ($500) and then they enter your public key on their side.

@ricardojlrufino
Copy link

I am also interested, I have an IP camera that uses an AllWinner chip and an SP2305 MIPI-CSI camera.
I would just like to access the camera image, but I can't find any information about it. sipeed-maix-ii uses the same camera.

@ar055
Copy link

ar055 commented Apr 11, 2021

ricardojlrufino https://github.com/sipeed/MaixPy3/tree/main/ext_modules/_maix_camera
Perhaps this will help you.

@ricardojlrufino
Copy link

ricardojlrufino https://github.com/sipeed/MaixPy3/tree/main/ext_modules/_maix_camera
Perhaps this will help you.

Hi @ar055 ,

I managed using libmax's pre-compiled libs. for some reason the libraries I had compiled (from Lindenis_V5) did not work on my camera.

I started the project, and had excellent results
https://github.com/ricardojlrufino/yicam_qrcode

Demo: https://youtu.be/o10Hf9vFvKs

@jiangotto
Copy link

That won't work unless you buy the board from sochip ($500) and then they enter your public key on their side.

I've mailed them and they replied me.Screenshot_20210603-201336__01.jpg
But how can I use those to get the.SDK from git@sochip.com.cn?

@jonsmirl
Copy link
Author

jonsmirl commented Jun 7, 2021

put them into .ssh like this....
jonsmirl@ares:~/.ssh$ ls
id_rsa id_rsa.pub

then git should work.

@jiangotto
Copy link

jiangotto commented Jun 8, 2021 via email

@jonsmirl
Copy link
Author

jonsmirl commented Jun 8, 2021

It should not ask for a password if everything is set up right.
$ cd ~/workspace
$ repo init -u git@sochip.com.cn:V831_IPC/manifest.git -b master -m sc1670v_ipc_remote.xml
$ repo sync

Did you send sochip your id_rsa.pub and they added it on their side?

@jiangotto
Copy link

jiangotto commented Jun 8, 2021 via email

@jonsmirl
Copy link
Author

jonsmirl commented Jun 8, 2021

You should not need a username and password. They have not added my id_rsa.pub so I get a prompt...
But if they had added my id_rsa.pub I won't get a prompt and it will work without a password.

jonsmirl@ares:/tmp$ repo init -u git@sochip.com.cn:V831_IPC/manifest.git -b master -m sc1670v_ipc_remote.xml
Downloading Repo source from https://gerrit.googlesource.com/git-repo
remote: Counting objects: 1, done
remote: Finding sources: 100% (18/18)
remote: Total 18 (delta 6), reused 18 (delta 6)
Unpacking objects: 100% (18/18), 10.16 KiB | 649.00 KiB/s, done.

... A new version of repo (2.15) is available.
... You should upgrade soon:
cp /tmp/.repo/repo/repo /home/jonsmirl/bin/repo

Downloading manifest from git@sochip.com.cn:V831_IPC/manifest.git
The authenticity of host 'sochip.com.cn (112.124.10.186)' can't be established.
ECDSA key fingerprint is SHA256:+ISSwvPGWB51zeaO+m+68uoW0d6Y+R3oiBd2MuPTH4w.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'sochip.com.cn,112.124.10.186' (ECDSA) to the list of known hosts.
git@sochip.com.cn's password:

@jonsmirl
Copy link
Author

jonsmirl commented Jun 8, 2021

You can practice with this on github, it works the same way. Make a project and try to access it with the git protocol. You won't be able to access it until your load your id_rsa.pub via the web interface into your account.

@jiangotto
Copy link

jiangotto commented Jun 8, 2021 via email

@thepian
Copy link

thepian commented Jul 6, 2021

Can you confirm that

  • RV1126 boards are coming
  • RV1126 will use the same TinaLinux base installation with only a change to the libmaix libraries.
  • RV1126 will be able to use the same ML models

@jonsmirl
Copy link
Author

jonsmirl commented Jul 6, 2021

There is much RV1109/26 info here:
https://wiki.t-firefly.com/en/CAM-C11262U/hardware.html

RK1126 is not TinaLinux based, that is Allwinner - these are Rockchip.

Rockchip source code here:
https://wiki.t-firefly.com/en/CAM-C11262U/Source_code.html

@thepian
Copy link

thepian commented Aug 22, 2021

Right the V831's NPU SDK now is pretty poor! RV1109 and 1126 is better if no price limitation, and Sipeed will start selling RV1126/RV1109 dev board and in stock

The money and time I've wasted on trying bad options are much more than any price difference. In the end I'm buying $400 dev boards to get around your black box. The whole thing is another example of how you don't do the first thing about taking care of your customers. I only have one single reason to continue with anything from Sipeed: "I haven't found any alternative"

Rockchip is only marginally better. I have to get source code from random sources, half behind the Chinese firewall. The whole rockchip-linux is seriously different from the original u-boot/linux source, which actually has a chance of being vetted. I'm seriously considering going with an alternative that costs 5x.

@jonsmirl
Copy link
Author

Much of the Rockchip source code is here...
https://github.com/rockchip-linux

Not everything, but a lot of it.

Rockchip is standard u-boot, kernel, buildroot setup. Google helps Rockchip a lot since Google uses their chips in various products.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants