-
Posts
19 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Everything posted by sri
-
EMMC is not recognized in Nano Pi Neo/AIR new boards with legacy kernel 3.4.113
sri replied to sri's topic in Allwinner sunxi
I wish I am able to get paid support but unfortunately I am not there yet. Yet I am happy to know the cost of getting a paid support for me just in case. I tried mainline latest image, with it bluetooth and camera (CAM500B) are not working so its long shot. Certainly I will upgrade in next few months. Could you please point me the label in GIT for the "5.30 stable Debian GNU/Linux 8 (jessie) 3.4.113-sun8i" so I will try to rebuild with the eMMC fix. -
EMMC is not recognized in Nano Pi Neo/AIR new boards with legacy kernel 3.4.113
sri replied to sri's topic in Allwinner sunxi
That should be it... I didn't build from source. I downloaded 5.30 legacy image and only that version able to expose bluetooth HCI0. I downloaded latest legacy 5.37 which is not supporting bluetooth yet it is able to detect eMMC. Appreciate if you can point to fix the Bluetooth on 5.37 legacy kernel Image. -
EMMC is not recognized in Nano Pi Neo/AIR new boards with legacy kernel 3.4.113
sri replied to sri's topic in Allwinner sunxi
I can confirm that latest image can detect the eMMC and nand-sata-install works fine. Is there any thing I can do to make the legacy image working. I do not have resources to upgrade and test all software with mainline kernel for now. -
EMMC is not recognized in Nano Pi Neo/AIR new boards with legacy kernel 3.4.113
sri replied to sri's topic in Allwinner sunxi
Yes this version is working fine. Only newly ordered boards are failing. -
EMMC is not recognized in Nano Pi Neo/AIR new boards with legacy kernel 3.4.113
sri replied to sri's topic in Allwinner sunxi
Below is the new NANO-PI NEO/AIR PCB https://drive.google.com/open?id=0B8f669v6HDOxMW1qbFZsNkt0emU2dFVtU0VLYzFXVE1NN2JZ I will try latest kernel today and let you know. Regardless I need to make it working in this legacy kernel as I cant upgrade all software for main line kernel yet. -
EMMC is not recognized in Nano Pi Neo/AIR new boards with legacy kernel 3.4.113
sri replied to sri's topic in Allwinner sunxi
Thank you. I do not see mmcblk1 in my /dev or /sys/class/block directories. eMMC is booting with default Allwinner Linux OS, based on that I guess eMMC is working. Please give me some details on how to access emmc from os if its not visible from OS /dev directory. -
EMMC is not recognized in Nano Pi Neo/AIR new boards with legacy kernel 3.4.113
sri replied to sri's topic in Allwinner sunxi
Apologies :-) Here is the link from the command output http://sprunge.us/MnEmZo -
EMMC is not recognized in Nano Pi Neo/AIR new boards with legacy kernel 3.4.113
sri replied to sri's topic in Allwinner sunxi
Below is the tail of /var/log/armhwinfo.log -
I am using legacy kernel 3.4.113 with Nano-PI NEO/AIR. Up until recently every thing is fine. With NEO/AIR new boards nand-sata-install script is failing with "There is no targets". Unfortunately it is lot of work to upgrade the kernel to mainline at this stage. I greatly appreciate if anyone share the steps to fix this issue for this kernel.
-
Any solution for this. I am having same issue.
-
@Igor @Lex using cap_v4l2, I am able to get 2592X1936 " 7.5 fps :-) fswebcam is limiting to 800X600. guvcview is not working. (no still image , video files is black) I am wokring on porting cap_v4l2 to my openCV java binding to connect to app. I will run a field test to see the prformance and let you guys know :-) Thanks
-
Thaks for input @lex first time compiling Linux driver.. java guy here :-) I wget ov5640.c into /usr/src/linux-headers-3.4.112-sun8i/drivers/media/video/sunxi-vfe/device/ and ran make cmd from linux-headers-3.4.112-sun8i/ directory. root@nanopiair:/usr/src/linux-headers-3.4.112-sun8i# export CC=gcc root@nanopiair:/usr/src/linux-headers-3.4.112-sun8i# make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j2 INSTALL_MOD_PATH=output SUBDIRS=drivers/media/video/sunxi-vfe/device modules make[1]: *** No rule to make target 'drivers/media/video/sunxi-vfe/device/ov2640.c', needed by 'drivers/media/video/sunxi-vfe/device/ov2640.o'. Stop. make[1]: *** Waiting for unfinished jobs.... CC [M] drivers/media/video/sunxi-vfe/device/ov5640.o drivers/media/video/sunxi-vfe/device/ov5640.c:18:20: fatal error: camera.h: No such file or directory #include "camera.h" ^ compilation terminated. scripts/Makefile.build:313: recipe for target 'drivers/media/video/sunxi-vfe/device/ov5640.o' failed make[1]: *** [drivers/media/video/sunxi-vfe/device/ov5640.o] Error 1 Makefile:1368: recipe for target '_module_drivers/media/video/sunxi-vfe/device' failed make: *** [_module_drivers/media/video/sunxi-vfe/device] Error 2 Can't get my head around that camera.h. Below are the camera.h files in file system. root@nanopiair:/usr/src/linux-headers-3.4.112-sun8i# find -name camera.h ./include/config/soc/camera.h ./arch/arm/mach-omap1/include/mach/camera.h ./arch/arm/mach-pxa/include/mach/camera.h Not sure what I am missing :-)
-
Could you please point me the latest ov5640.c and makefile for armbian? I may try to figure out if I can compile the driver.
-
Below is the boot log @qualcomm.com>
-
OK, I suppose "avafinger" driver is targeting android. So I am trying to take allwinner's https://github.com/allwinner-ics/lichee_linux-3.0/blob/master/drivers/media/video/sun4i_csi/device/ov5640.c and do a merger with "avafinger" version to leverage his efforts. I am using https://cdn.sparkfun.com/datasheets/Sensors/LightImaging/OV5640_datasheet.pdffor understanding register values. Appreciate any suggestions to get this working. Please let me know if anybody already drove through this stuff :-)
-
Hi, I changed fex file as recommended and I see no issues in dmesg. The camera is recognized and here is the v4l2 output. I compiled and able to use https://github.com/avafinger/fswebcam. happy to see I have good exposure control. https://drive.google.com/open?id=0B-dDl4KN9nbdbVZwa2hhY29TLU0 Exposure range seems 0 - 5. I am only able to get max 800X600 resolution with default armbian ov5640 driver. My aim is to get control of exposure and frame-rate. As per https://github.com/avafinger/ov5640/tree/Armbian_H3I should be able to control frame rate as module params. So I am started comipleing drivier but i didnt see any make file in the project. So I added simple make file as blow obj-m += ov5640.o all: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules clean: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean make command returned errors make -C /lib/modules/3.4.112-sun8i/build M=/root/ov5640 modules make[1]: Entering directory '/usr/src/linux-headers-3.4.112-sun8i' CC [M] /root/ov5640/ov5640.o /root/ov5640/ov5640.c:18:20: fatal error: camera.h: No such file or directory #include "camera.h" ^ compilation terminated. scripts/Makefile.build:313: recipe for target '/root/ov5640/ov5640.o' failed make[2]: *** [/root/ov5640/ov5640.o] Error 1 Makefile:1368: recipe for target '_module_/root/ov5640' failed make[1]: *** [_module_/root/ov5640] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-3.4.112-sun8i' Makefile:5: recipe for target 'all' failed make: *** [all] Error 2 I am trying to work this cam with openCV. I used ELP 5MP usb camera with opencv before but I couldn't get control over frame-rate as that's hard coded in their UVC drivers. So I guess if I can get this ov5640 driver I may have an opportunity to good control through my app. I am doing an opencv image processing project. I appriciate any help on compiling this driver. Thanks
-
Hi, Thanks for that. I did below steps 1. cd /boot 2. bin2fex script.bin script.fex 3. Updated the [csi0] section with above fex config 4. fex2bin script.fex script.bin 5. nano /etc/modules-load/modules.conf 6. added ov5640 and vfe_v4l2 after reboot, I am able to see /dev/video0 and VFE seems ok but there are issues in CSI-0 pins and stuff. Below is the dmesg output. I installed v4l2-utils and fswebcam. wsfebcam output giving below error. --- Opening /dev/video0... Trying source module v4l2... /dev/video0 opened. No input was specified, using the first. Unable to query input 0. VIDIOC_ENUMINPUT: Invalid argument Thanks Sri
-
Hi, I am using Armbian for NanoPI NEO AIR + CAM500B. I am unable to see any /dev/video0. I am able to get the camera working with FA default image. Here is my dmeg output. I really appreciate any help to get this working. I would like to use OV5640 with https://github.com/avafinger/ov5640driversto control frame rate. Thanks
-
Hi, I am using Armbian for NanoPI NEO AIR + CAM500B. I am unable to see any /dev/video0. I am able to get camera working with FA default image. Here is my dmeg out put. I really appreciate any help to get this working. I would like to use OV5640 with https://github.com/avafinger/ov5640drivers to control frame rate. Thanks