sipeed / libmaix

New MaixCDK will replace this repo: https://github.com/sipeed/MaixCDK
https://github.com/sipeed/MaixCDK
MIT License
66 stars 27 forks source link

Allwinner V831 SDK #2

Open jonsmirl opened 3 years ago

jonsmirl commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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

jonsmirl commented 3 years ago

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

ricardojlrufino commented 3 years ago

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 commented 3 years ago

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

ricardojlrufino commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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

then git should work.

jiangotto commented 3 years ago

They just sent me username and password , like this⬇ “V831 WIKI 上面的文档,请用以下账号下载 用户名:V831 密 码:V831_TINAxxxxxxxxxxxxx”

The two files I generated before are already in .ssh jyh@Otto:~/.ssh$ ls id_rsa id_rsa.pub known_hosts jyh@Otto:~/.ssh$ repo init -u @.:V831_IPC/manifest.git -b master -m sc1670v_ipc_remote.xml @.'s password:

I don’t know what the password is.

发件人: Jon @.> 发送时间: 2021年6月8日 0:30 收件人: @.> 抄送: @.>; @.> 主题: Re: [sipeed/libmaix] Allwinner V831 SDK (#2)

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

then git should work.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/sipeed/libmaix/issues/2#issuecomment-856085311, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANT7GSEYZCIO5INUDN2VVBDTRTX3TANCNFSM4ZFP7B3Q.

jonsmirl commented 3 years ago

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 commented 3 years ago

Yes, I sent my id_rsa.pub to them and they just gave me the user name and password. I don’t even know whether they added it or not.

发件人: Jon @.> 发送时间: 2021年6月8日 20:29 收件人: @.> 抄送: @.>; @.> 主题: Re: [sipeed/libmaix] Allwinner V831 SDK (#2)

It should not ask for a password if everything is set up right. $ cd ~/workspace $ repo init -u @.**@.>: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?

― You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/sipeed/libmaix/issues/2#issuecomment-856722876, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANT7GSB3WPHYFWIRBNCPDQDTRYEKJANCNFSM4ZFP7B3Q.

jonsmirl commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

Yes, I see. I don’t know why they just sent me those🤷‍♂️. But, surprisingly, I can access ftp://sochip.com.cn/ with the username and password🤣. @.D75CA8.07B20F90] Tough nothing is useful. 发件人: Jon @.> 发送时间: 2021年6月8日 20:40 收件人: @.> 抄送: @.>; @.***> 主题: Re: [sipeed/libmaix] Allwinner V831 SDK (#2)

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.

@.:/tmp$ repo init -u @*.**@*.***>: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 @.**@.>: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. @.**@.>'s password:

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/sipeed/libmaix/issues/2#issuecomment-856730661, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANT7GSECMOHYFB5KZLCK3PDTRYFU3ANCNFSM4ZFP7B3Q.

thepian commented 3 years ago

Can you confirm that

jonsmirl commented 3 years ago

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 commented 2 years ago

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 commented 2 years ago

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.