Skip to content
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

CONFIG_MEDIA_USB_SUPPORT is not set #1

Open
aizukanne opened this issue Aug 1, 2018 · 0 comments
Open

CONFIG_MEDIA_USB_SUPPORT is not set #1

aizukanne opened this issue Aug 1, 2018 · 0 comments

Comments

@aizukanne
Copy link

Hello,

I am trying to use a USB Camera on the OrangePi 2G IoT but it didn't work. I noticed the uvcvideo driver was not compiled in the kernel and looking through the sources here confirmed that. I have tried to compile the kernel with this feature and it has failed repeatedly.

Is it possible to provide another firmware with the module included (CONFIG_MEDIA_USB_SUPPORT =y)?
If not can you provide detailed instructions on requirements to compile new kernel.

When I try to compile on the OrangePi 2G IoT Board, I get the following error

init/do_mounts_rd.o: In function return_address': do_mounts_rd.c:(.text+0x0): multiple definition of return_address' init/do_mounts.o:do_mounts.c:(.text+0x20): first defined here init/do_mounts_initrd.o: In function return_address': do_mounts_initrd.c:(.text+0x64): multiple definition of return_address' init/do_mounts.o:do_mounts.c:(.text+0x20): first defined here scripts/Makefile.build:441: recipe for target 'init/mounts.o' failed make[1]: *** [init/mounts.o] Error 1 Makefile:797: recipe for target 'init' failed make: *** [init] Error 2

When I try to compile on other machine, i get another error
kernel/exit.c: In function ‘exit_mm’: kernel/exit.c:506:28: error: ‘TIF_MM_RELEASED’ undeclared (first use in this function) set_tsk_thread_flag(tsk, TIF_MM_RELEASED); ^ kernel/exit.c:506:28: note: each undeclared identifier is reported only once for each function it appears in scripts/Makefile.build:308: recipe for target 'kernel/exit.o' failed make[1]: *** [kernel/exit.o] Error 1 Makefile:797: recipe for target 'kernel' failed make: *** [kernel] Error 2

Your help will be very much appreciated.

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

No branches or pull requests

1 participant