OpenIPC / firmware

Alternative IP Camera firmware from an open community
https://openipc.org
MIT License
1.16k stars 226 forks source link

SDK toolchain links #203

Closed oliv3r closed 8 months ago

oliv3r commented 2 years ago

Hey Guys,

should we have a page that links (maybe even mirrors) these vendor SDK's? I know the hisilicon one is easily to be obtained I think, e.g. kernel sources, u-boot sources; but when searching for the anyka sources, I only find sites that speak of 'Linux SDK' in text, without URL's. Has anybody tried to obtain these? Should we keep links in the wiki etc?

Btw, Anyka seems to be rebadged hisilicon? So maybe the sdk is the same too?

oliv3r commented 2 years ago

As I have reached out to a few vendors, the first ot reply, is 'ezviz' which has a few doorbell/PTZ/cameras. Not sure who the real OEM is however. They redirect us to http://opensource.ys7.com/ for their stuff. So this might be the 'central location for all'. Sadly however, the copyright page at the bottom explicitly lists their copyright explicitly, so they might be their own OEM.

Also looking at one of the systems I was curious for, it does not seem to be listed, and worse, the supplied u-boot is from 2010. We know from the meari stuff, that the default is 2013 ...

oliv3r commented 2 years ago

For meari, I just found this https://github.com/Mearitek/MeariSdk but it's far from an SDK ...

jimsmt commented 2 years ago

ezviz is part of hikvision, no way they will give you soc SDK. Guess you will have to apply directly from anyka http://www.anyka.com/en/proApply.aspx

Or I see someone is selling anyka SDK on taobao.com, price is 700CNY(110USD), you can buy there if you have methods

oliv3r commented 2 years ago

ezviz is part of hikvision, no way they will give you soc SDK. Guess you will have to apply directly from anyka http://www.anyka.com/en/proApply.aspx I did, but anyka's mailboxes are full, so those signup requests just bounce :p

as for 'ezviz is part of hikvision', what do you mean, ezvi is a consumer brand, hikvision a chip and camera manufacturer. You suggesting that ezviz is to hikvision as toyota is to lexus? Could make sense.

Or I see someone is selling anyka SDK on taobao.com, price is 700CNY(110USD), you can buy there if you have methods redicilous :p

to be fair, we don't really care for the SDK, we REALLY care for the GPL source code, which usually is part of the SDK. I've already started to go down the 'GPL source code request' route; but as you can imagine, that is a quite difficult one.

jimsmt commented 2 years ago

ezviz is a brand created and owned by hikvision, ezviz is for lower-end consumer market, while hikvision is mainly for higher-end commercial market, and hikvision doesn't manufacture or design any chip, they just print their own logo on the chips they ordered from other chip companies like hisilicon, for example, the most used HK-2015-1 equals Hi3516AV100, nothing different

oliv3r commented 2 years ago

Ah yeah, I knew the hikvision/hisilicon bit, thought I thought they where the same company. They sounded so similar, that I've always treated them as one. So ezviz is the 'cheap' hikvision bit then as suspected.

I bought an LSC myself, which uses anyka chips. From the model name alone, I would almost expect the same situation however, E.g. a Hi3618EV300 = AK3918EV300 (ish?) or are they completly unrelated. I doubt that so many 'unique' SoC vendors exist ... Tons of 're-branders' though :)

jimsmt commented 2 years ago

Hisilicon is part of Huawei, a much larger company than hikvision, they design chips but can't manufacture it, they used to own the largest market share of the IP camera SoC, but after the US sanction on Huawei, they can't find any chip foundry that is allowed to manufacture their chips. So then comes the other companies like Anyka, Fullhan, Goke, Ingenic and SigmaStar which are not sanctioned by the US government. They are the cheap replacement of hisilicon's low-end chips

Anyka has nothing to do with Hisilicon, it's just another independent chip company which ezviz happens to used their chips on some of their cameras. Their chips have nothing to do with the ones of hisilicon

oliv3r commented 2 years ago

That is sad, in any case, looking at the kernel modules from my camera, I can find the matching source code for some of them here: https://github.com/Lamobo/Lamobo-D1 so that's probably leaked from the SDK; missing though, is the U-Boot sources, I have not found those yet ...

khseal commented 2 years ago

Anyka has nothing to do with Hisilicon, it's just another independent chip company which ezviz happens to used their chips on some of their cameras.

I think you are wrong. I have a camera with a hisilicon processor. The software in the camera is from the anuka processor.

[root@anyka ~]$ cat /proc/cpuinfo Processor : ARM926EJ-S rev 5 (v5l) BogoMIPS : 199.06 Features : swp half fastmult edsp java CPU implementer : 0x41 CPU architecture: 5TEJ CPU variant : 0x0 CPU part : 0x926 CPU revision : 5

Hardware : CLOUD39EV3_AK3918EV300_MNBD Revision : 0000 Serial : 0000000000000000

photo_2022-07-16_10-02-31

widgetii commented 2 years ago

It's a wrong assumption. HiSilicon and Anyka SDK have different APIs

khseal commented 2 years ago

How does it work then? Perhaps the processor is relabeled?

ZigFisher commented 2 years ago

It's a vile Chinese knockoff. The chip marking is specially applied incorrectly to attract attention

ZigFisher commented 2 years ago

Hardware : CLOUD39EV3_AK3918EV300_MNBD Revision : 0000 Serial : 0000000000000000

Please send me dump from this device via PM in Telegram messenger (my nick @FlyRouter)