-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GK710X Linux SDK ver. 2.0.0 #124
Comments
Thank you. where do you found that SDK? |
Thanks, was good enough for me to build my own kernel w/builtin support for ext2, ext3 and ext4. Now i still gotta figure out why i get "detect sflash fail" during boot + empty /proc/mtd with custom ps. you can use GK710X_LinuxSDK_v2.0.0/linux/kernel/3.4.43/scripts/extract-ikconfig for dumping |
@aalm how did you manage to build a working kernel with that SDK? Mine hangs at boot, both with the Goke GCC and a regular one. Which GCC did you use? This would really help me! I'm trying to get a mainline kernel running on the GK7101, documented here, and all help is welcome! Incidentally @paus56 I would very much like to know how you got that SDK, and is there any more? An older version (to match what's on the camera), or a datasheet... |
GCC from the SDK did work for me, i'm using debian(i686/32bit) in a vm as my build host. At which point does it exactly hang? Does it print anything? How are you loading it from u-boot? i also have ip001_linux.rar[0] in which i haven't yet ran diff over to v2 SDK, [0] sha256: 7B42BE862CF720788F9B8643249DAE7DFB4767DB2F1A39CEBF6E926492FF520E |
I tried natively, and in a debian trusty VM but also 64 bit. I'll try a 32-bit VM.
Just "Uncompressing Linux... done, booting the kernel.". That's the decompressor, using its own UART driver. No output from the actual kernel. Loading it from U-Boot with "dhcp; bootm". Feeding it the stock kernel from the tftp server that way makes it boot, so the method is ok.
Found it, thanks. Building that kernel within the SDK environment results in a kernel which hangs after the decompressor, exactly like the SDK kernel. |
Did you try with a .config as is extracted from your original vendor kernel? iirc. both SDKs were preconfigured for "GK710XS", so i guess you you should atleast switch to "GK710X", oh, i only just now noticed the link to your blog, interesting :] |
Yes, did a manual config to GK7101 earlier, and tried with the extracted config from the booting kernel. The result was the same. |
Hi Bert, did you have tested the sample applications in your build? I trying to make the sample applications work using the kernel that come in the camera but not working. |
@alesimoes no, I'm only working on the kernel. |
alesimoes
лучше использовать портированную прошивку оттуда: #129 |
Hi @paus56, I could see your posts in 4pda.ru and thanks for share the SDK. I'm able to build and write my application in camera but it is incompatible with adi lib. I think this SDK have an adi lib different of the cameras that I'm working on. My cloud works with H264 baseline profile, but the firmware have the Main profile. do you know how can I solve this issue? |
@aalm still no luck with a 32-bit VM, but that was always voodoo :) |
Sure, we can try something. |
.config extracted from vendor kernel on mtdblock2: https://paste.ubuntu.com/p/2CYG2R4sY4/ |
didn't figure out better way to share the zImage[0]. |
Ok, that kernel also doesn't boot for me, hangs at the same point. Somehow my test platform doesn't like these... I do have some other GK710x gear, will try on those. |
This SDK 2.0 is definitely ahead of what my hardware runs, I've found some differences in hardware writes and even hw_ops fields. Definitely would like to get my hands on an earlier SDK version. Which GK7101 hardware are you using by the way? |
The camera i have is actually with GK7102S. |
Do you have a link to it? I might get one to try out. |
Missed your Q earlier; no, and unfortunately i wasn't able to find the product again. But I just found something i think you might find interesting: and there was more under ../bsp/gkipc/, I hope you will continue your blog, it got me into trying out ghidra... i already knew about i got a script for ghidra allowing saving modified bytes under selection back into the elf, i've found enough "worth adapting" srcs w/reasonable licenses to cover most |
That whole gkipc directory is specifically a port of RT-Thread to the Goke 710x platform (gkipc = Goke IP camera). It's easy to build, but... doesn't work. No interrupts. I've also ported ChibiOS to the gk7101, as it's small/easy to control. No interrupts. Nothing works :-(
Yeah, I don't see serious problems on the userspace end, or even in porting kernel drivers (it's just a lot of work). But there's no way to even get started until I have a basic mainline kernel running, and that's where I'm stuck. |
my best guess atm. is, that you might be running into a situation possibly referred here. |
Hello Everyone, |
[https://github.com/aalm]
> Now i still gotta figure out why i get "detect sflash fail" during boot + empty /proc/mtd with custom
[https://github.com/aalm] |
sure, iirc. i took some sflash definitions from the ".rar sdk". |
hmm, didn't find more than the quote from above, but it should be enough |
Set CONFIG_MTD_M25P80=y in .config. Or do |
i am not able to find the PTZ folder in the SDK ,could you please help me where i can find that file and how do i add it to my demo application. |
Link to SDK download appears to be dead. I get 'invalid link code' message. Can someone pls provide a working link to download the SDK? |
@paus56 or anyone else, |
Hi Guys, I´m trying to fix my cam. It seems to be in bootloop. After opening the case, I saw a Goke GK7101 chip and now I am trying to catch any info as much as possible. I noticed the SDK link is not working anymore. Can someone post a new link or share the SDK again. Thank you all. |
Hi @paus56, could you please fix the download link? Thank you. |
Download SDK: https://disk.yandex.ru/d/oJJyHwfsp7bnKA |
Hi you all, does anyone know if can I build rtsp/onvif for my GK7101S based cameras (netvue vigil 2)? thanks i'm trying to use this sdk but idk how it works... |
Can someone please help me understand how to compile a complete firmware image that includes the u-boot bootloader? I downloaded the SDK, ran Also, I've run into an issue where the only output on the serial console is Without a datasheet, it's extremely difficult to understand what's going on. |
Where or how did you do this? I couldn't find any Makefiles in the SDK that supported any type of |
@csurf |
@aalm can you please help me figure out how to compile u-boot for the GK7102? I'm struggling to figure out how to get a working bootloader built. My original SPI flash chip died, and I didn't have a backup, so I need to build u-boot from scratch & load the u-boot image onto my flash chip. I've tried multiple build options for u-boot, but the processor won't boot. I simply get 'UGKMC' output on the serial console (UART0). |
@csurf SDK creates uboot, kernel, and rootfs images. For the start you need to flash only uboot. Then get other parts via tftp and flash them via uboot. |
Hi friends! I have others cams based on GK7102 and copying some files in SDCard all start to works. Thanks everyone. |
Can someone help me with a .bin tab for my ST-291-2M-AI camera, it uses GK7102S sensor 2053 |
Linux SDK for our cameras on the GK710X
Download the Linux SDK
The text was updated successfully, but these errors were encountered: