Ucino Posted September 3, 2018 Posted September 3, 2018 On 9/2/2018 at 5:57 PM, jps said: Excuse my clumsiness, but I don't know what to do with the files in https://github.com/avafinger/gc2035 i can not find the paths related in this link.... i can not make the camera work in last Armbian. Thanks any help... Hello, Could you tell us which nano computer you are using, which version of armbian, and which camera ? thanks
jps Posted September 5, 2018 Posted September 5, 2018 On 9/3/2018 at 9:51 PM, Ucino said: Hello, Could you tell us which nano computer you are using, which version of armbian, and which camera ? thanks Sure. Orange Pi Lite + CSI camera orange Pi native (Shenzhen Xunlong Software CO.,Limited) camera, and last Armbian for Lite Armbian_5.59_Orangepilite_Ubuntu_bionic_next_4.14.65. Thank you very much
Ucino Posted September 6, 2018 Posted September 6, 2018 Thanks for your feedback. As olivluca suggest, I think the first step you can try to do is using the 3.X kernel : https://www.armbian.com/orange-pi-lite/ at the end of the page : https://dl.armbian.com/orangepilite/Ubuntu_xenial_default_desktop.7z I hope it will works, please tell us the result.
jps Posted September 9, 2018 Posted September 9, 2018 On 9/6/2018 at 1:40 PM, Ucino said: Thanks for your feedback. As olivluca suggest, I think the first step you can try to do is using the 3.X kernel : https://www.armbian.com/orange-pi-lite/ at the end of the page : https://dl.armbian.com/orangepilite/Ubuntu_xenial_default_desktop.7z Yes, 3.X kernel have the drivers. Works fine. Thank you. But... but I still have the doubt that what to do with the content of https://github.com/avafinger/gc2035. Thank again.
Ucino Posted September 9, 2018 Posted September 9, 2018 Cool if it works. Sorry I didn't remember about the content of gc2035 on github . If it's works fine for you, maybe you have nothing to do ? Why do you think you have to care about it, maybe you have some other problems with the video ?
olivluca Posted September 9, 2018 Posted September 9, 2018 For me the version on github works better than the version included with armbian: On 3/29/2018 at 8:04 PM, olivluca said: I compiled the module from here https://github.com/avafinger/gc2035 (gc2035.c, without trying to apply the patch in the same repository) and it works much better than the one included in armbian (though it has other quirks, see below). I tried many of the advertised resolutions and they all work: 640 x 480 (flipped horizontally) 800x600 (ok) 1280x720 (slightly washed up) 1600x1200 (too much for motion) Let's see if it lasts or if it causes more problems, but if nobody is going to fix the current driver I propose to revert to the older one.
jps Posted September 9, 2018 Posted September 9, 2018 On 9/9/2018 at 3:22 PM, Ucino said: Cool if it works. Sorry I didn't remember about the content of gc2035 on github . If it's works fine for you, maybe you have nothing to do ? Why do you think you have to care about it, maybe you have some other problems with the video ? But... I still have the doubt that what to do with the content of https://github.com/avafinger/gc2035........... I mean ... i don't know how to build a module. Anyway, all it's working, so thanks.
Ucino Posted September 10, 2018 Posted September 10, 2018 21 hours ago, jps said: But... I still have the doubt that what to do with the content of https://github.com/avafinger/gc2035........... I mean ... i don't know how to build a module. Anyway, all it's working, so thanks. I'm newbie about drivers and compiling things, so becarefull of what I'm writting, it's certainly wrong. You maybe have 3 possibilities : 1) - copy and past a file (this what I have done one time : 2) - compiling the full armbian and adding to him the patch during compiling ( cf. https://docs.armbian.com/Developer-Guide_Build-Preparation/ ) 3) - or compiling inside your armbian. When we are looking in https://github.com/avafinger/gc2035 we can see at the end of the page an example of compiling for BSP, so it seems that the right way is the option 3). It seems that you will have to adapt things of the compiling step : make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j2 INSTALL_MOD_PATH=output SUBDIRS=drivers/media/video/sunxi-vfe/device modules CC [M] drivers/media/video/sunxi-vfe/device/gc2035.o Building modules, stage 2. MODPOST 40 modules CC drivers/media/video/sunxi-vfe/device/gc2035.mod.o LD [M] drivers/media/video/sunxi-vfe/device/gc2035.ko But I'm sorry, I have no idea on how you can adapt this for armbian. Maybe, after you have done a backup of your files and OS, you can give it a try, and tell us the result ?
jps Posted September 10, 2018 Posted September 10, 2018 Thanks Ucino, i arrived till there. In my first post i wrote: Quote i can not find the paths related... so, i need to read much more about how to compile a driver in a live Armbian distribution. Thank you anyway.
Ucino Posted September 11, 2018 Posted September 11, 2018 Oh sorry I didn't have seen this message, good luck.
olivluca Posted September 29, 2018 Posted September 29, 2018 In case it is useful for somebody else, I put the source and the module here: https://drive.google.com/open?id=1KM3AFoSJCpJ0RpafeKRmH8iZWr3waQlH There you'll find the binary module (I compiled for my current kernel which is 3.4.113-sun8i #68) and the tar.gz with the source I used to compile it. It's just the files from github (in the "device" directory), I added a Makefile and the files from the drivers/media/video/sunxi-vfe in the original kernel source (taken from the linux-source-default-sun8i_5.60_all.deb package...well, actually I don't remember where I took those files, but I have compared them to the one provided in the deb and they are the same). To compile it just cd to the device directory and issue a make (provided you have the linux-headers package installed for the current kernel, but IIRC that's installed by default in armbian). I don't understand why armbian supplies a worse implementation of the gc2035 module but since I can use the good (or at least not so bad) one I don't care.
Igor Posted September 29, 2018 Posted September 29, 2018 3 hours ago, olivluca said: I don't understand why armbian supplies a worse implementation Because someone needs to implement and test. We seriously lack "someones". 1
olivluca Posted September 29, 2018 Posted September 29, 2018 Well, I didn't implement it, I just took what was already available. Maybe what doesn't work for me works for somebody else or vice-versa, I don't know. In theory the version supplied with armbian should be better (it should auto select the parameters at device opening time instead of determining them at module load time), in practice it doesn't work.
r3mu5 Posted March 28, 2019 Posted March 28, 2019 Hi! Did anybody solved the problem with gc2035? $ uname -a Linux orangepipcplus 4.19.20-sunxi #5.75 SMP Sat Feb 9 19:02:47 CET 2019 armv7l armv7l armv7l GNU/Linux $ modprobe gc2035 modprobe: FATAL: Module gc2035 not found in directory /lib/modules/4.19.20-sunxi $ modprobe vfe_v4l2 modprobe: FATAL: Module vfe_v4l2 not found in directory /lib/modules/4.19.20-sunxi
DoubleHP Posted April 22, 2019 Posted April 22, 2019 On 3/28/2019 at 9:43 AM, r3mu5 said: Hi! Did anybody solved the problem with gc2035? $ uname -a Linux orangepipcplus 4.19.20-sunxi #5.75 SMP Sat Feb 9 19:02:47 CET 2019 armv7l armv7l armv7l GNU/Linux In short, there is no hope to get the camera working on 4.x kernels, because they don't have CSI support ATM. I did not get it to work yet, but, first, grab something using 3.4.x kernel. Spent 3 days on it, still stuck. Also, try gc_2035 ... just in case ... or with dash ... not sure.
DoubleHP Posted April 22, 2019 Posted April 22, 2019 (edited) On 3/28/2019 at 9:43 AM, r3mu5 said: Hi! Did anybody solved the problem with gc2035? At last, I have found something that works, and produces images. In short, use ubuntu_lxde_desktop_OrangePipc_v0_9_1.img . Long story is here: http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=4270&page=1&extra=#pid25253 Edit: I also suceeded with image Armbian_5.75_Orangepione_Ubuntu_xenial_default_3.4.113_desktop.7z Edited April 22, 2019 by DoubleHP
chwe Posted June 30, 2019 Posted June 30, 2019 the CSI driver isn't the problem here.. iirc @@lex already had successfully cameras working under mainline linux (ov5640 if I'm right).. Problem is, there's to my knowledge no gc2035 mainline driver available (at least, there wasn't the last time I checked it).. As long as nobody touches this up we won't see gc2035 cameras working on mainline.
appz Posted July 25, 2019 Posted July 25, 2019 http://ix.io/1Ps7 sudo apt-get install motion sudo nano /etc/motion/motion.conf Edit line bellow: stream_localhost off width 640 height 480 framerate 2 If crash is happened: mkdir ~/motion chmod 777 motion Start motion server: sudo /etc/init.d/motion start Here you are: More detail But ! DO NOT touch /etc/modules. Leave it like that: #w1-sunxi #w1-gpio #w1-therm #gc2035 #vfe_v4l2 Here my /etc/rc.local modprobe gc2035 modprobe vfe_v4l2 sunxi-pio -m "PG11<1><0><1><1>" #DOVDD sunxi-pio -m "PE15<1><0><1><0>" #Power_Down sunxi-pio -m "PE14<1><0><1><1>" #reset 1
kreston Posted August 18, 2019 Posted August 18, 2019 Dear friends! Of all the topics on this forum and elsewhere, this only one really looks like the truth! So I ask for help here ... I bought from Steven Zhao Orange Pi PC+ and CSI camera 5mp! On Android camera is working... But I like Armbian and want to use camera here! I tried all from this topic, but /dev/video0 does not appear... uname -a: Linux smart 3.4.113-sun8i #2 SMP PREEMPT Wed May 8 15:09:43 CEST 2019 armv7l armv7l armv7l GNU/Linux modprobe vfe_v4l2 modprobe gc2035 modprobe ov5640 sunxi-pio -m "PG11<1><0><1><1>" lsmod Module Size Used by ov5640 42238 0 vfe_v4l2 1016182 0 videobuf_dma_contig 3509 1 vfe_v4l2 videobuf_core 14682 2 vfe_v4l2,videobuf_dma_contig gc2035 19554 0 vfe_subdev 4507 3 vfe_v4l2,gc2035,ov5640 cci 22800 3 vfe_v4l2,gc2035,ov5640 vfe_os 4277 3 cci,vfe_v4l2,vfe_subdev mali_drm 2732 2 drm 178282 3 mali_drm zram 8964 5 pcf8591 3363 0 bmp085 3487 0 mali 123158 0 ump 29379 3 mali 8189fs 1050875 0 btrfs 712473 0 ls /dev/v* /dev/vcs /dev/vcs2 /dev/vcs4 /dev/vcs6 /dev/vcsa /dev/vcsa2 /dev/vcsa4 /dev/vcsa6 /dev/vmouse /dev/vcs1 /dev/vcs3 /dev/vcs5 /dev/vcs7 /dev/vcsa1 /dev/vcsa3 /dev/vcsa5 /dev/vcsa7
olivluca Posted August 18, 2019 Posted August 18, 2019 I think you have to activate the gpio before loading the modules
kreston Posted August 19, 2019 Posted August 19, 2019 12 hours ago, olivluca said: I think you have to activate the gpio before loading the modules Dear friend, I tried it! sunxi-pio -m "PG11<1><0><1><1>" modprobe vfe_v4l2 modprobe gc2035 modprobe ov5640 This give same result... /dev/video0 does not appear... May be someone have some description (or link on description), like "how to work CSI" ? What does udev need to identify a CSI-device?
DoubleHP Posted August 19, 2019 Posted August 19, 2019 21 hours ago, olivluca said: I think you have to activate the gpio before loading the modules I also would perform a sleep 1 or sleep 3 between the two. GPIO handling may take some time, on chipset side. If the pins we talk about are power, or ENABLE pins for the client, even longer time may be required (for internal firmware to startup). Before complaining /dev/video0 does not appear, you need to report the output of dmesg, which gives details about what driver found ... or not. Also check 10 times your sunxi line; many tuto may give wrong addresses; and sometimes even for the same board, different libs may use different numbering schemes ... (had the issue on rPi).
olivluca Posted August 19, 2019 Posted August 19, 2019 Well, if you look earlier in the thread, I solved the problem by activating the gpio in uboot (and even then the pin could be different depending on the board). I never managed to make it work using sunxi-pio (though I never really tried).
kreston Posted August 22, 2019 Posted August 22, 2019 On 8/19/2019 at 3:23 PM, DoubleHP said: Before complaining /dev/video0 does not appear, you need to report the output of dmesg, which gives details about what driver found ... or not. It's output of my dmesg: Spoiler :~$ dmesg [ 0.000000] Booting Linux on physical CPU 0 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 3.4.113-sun8i (root@armbian.com) (gcc version 5.5.0 (Linaro GCC 5.5-2017.10) ) #2 SMP PREEMPT Wed May 8 15:09:43 CEST 2019 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine: sun8i [ 0.000000] cma: CMA: reserved 256 MiB at 50000000 [ 0.000000] Memory policy: ECC disabled, Data cache writealloc [ 0.000000] On node 0 totalpages: 262144 [ 0.000000] free_area_init_node: node 0, pgdat c095d180, node_mem_map c0a96000 [ 0.000000] Normal zone: 1710 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 192850 pages, LIFO batch:31 [ 0.000000] HighMem zone: 594 pages used for memmap [ 0.000000] HighMem zone: 66990 pages, LIFO batch:15 [ 0.000000] script_init enter! [ 0.000000] script_init exit! [ 0.000000] PERCPU: Embedded 8 pages/cpu @c13ad000 s11968 r8192 d12608 u32768 [ 0.000000] pcpu-alloc: s11968 r8192 d12608 u32768 alloc=8*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 259840 [ 0.000000] Kernel command line: root=UUID=d6a85488-4be7-4896-9091-90b81a91d635 rootwait rootfstype=ext4 console=tty1 console=ttyS0,115200 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 loglevel=1 ubootpart=00000000-01 ubootsource=mmc usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u cma=96M cgroup_enable=memory swapaccount=1 [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] allocated 2097152 bytes of page_cgroup [ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups [ 0.000000] Memory: 1024MB = 1024MB total [ 0.000000] Memory: 757440k/757440k available, 291136k reserved, 270336K highmem [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] vmalloc : 0xf0000000 - 0xff000000 ( 240 MB) [ 0.000000] lowmem : 0xc0000000 - 0xef800000 ( 760 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc089d024 (8789 kB) [ 0.000000] .init : 0xc089e000 - 0xc08f0ec0 ( 332 kB) [ 0.000000] .data : 0xc08f2000 - 0xc09619f0 ( 447 kB) [ 0.000000] .bss : 0xc09621ac - 0xc0a95700 (1230 kB) [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Additional per-CPU info printed with stalls. [ 0.000000] NR_IRQS:544 [ 0.000000] Architected local timer running at 24.00MHz. [ 0.000000] Switching to timer-based delay loop [ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms [ 0.000000] Console: colour dummy device 80x30 [ 0.000000] console [tty1] enabled [ 0.000278] Calibrating delay loop (skipped), value calculated using timer frequency.. 4800.00 BogoMIPS (lpj=24000000) [ 0.000302] pid_max: default: 32768 minimum: 301 [ 0.000472] Security Framework initialized [ 0.000495] AppArmor: AppArmor disabled by boot time parameter [ 0.000685] Mount-cache hash table entries: 512 [ 0.001704] Initializing cgroup subsys cpuacct [ 0.001721] Initializing cgroup subsys memory [ 0.001769] Initializing cgroup subsys devices [ 0.001781] Initializing cgroup subsys freezer [ 0.001791] Initializing cgroup subsys blkio [ 0.001814] Initializing cgroup subsys perf_event [ 0.001898] CPU: Testing write buffer coherency: ok [ 0.001940] ftrace: allocating 24521 entries in 72 pages [ 0.030327] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.030345] [sunxi_smp_prepare_cpus] enter [ 0.030384] Setting up static identity map for 0x405fc0a8 - 0x405fc100 [ 0.031370] CPU1: Booted secondary processor [ 0.031370] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.031504] CPU2: Booted secondary processor [ 0.031504] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002 [ 0.031504] CPU3: Booted secondary processor [ 0.031504] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003 [ 0.040205] Brought up 4 CPUs [ 0.040222] SMP: Total of 4 processors activated (19200.00 BogoMIPS). [ 0.040952] devtmpfs: initialized [ 0.044115] wakeup src cnt is : 2. [ 0.044127] [exstandby]leave extended_standby_enable_wakeup_src : event 0x800000 [ 0.044138] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_map 0x0 [ 0.044149] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_group 0x40 [ 0.044160] [exstandby]leave extended_standby_enable_wakeup_src : event 0x800000 [ 0.044170] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_map 0x8 [ 0.044181] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_group 0x40 [ 0.044192] sunxi pm init [ 0.044339] pinctrl core: initialized pinctrl subsystem [ 0.058903] NET: Registered protocol family 16 [ 0.059849] DMA: preallocated 2048 KiB pool for atomic coherent allocations [ 0.059849] script_sysfs_init success [ 0.059849] sunxi_dump_init success [ 0.059849] gpiochip_add: registered GPIOs 0 to 383 on device: sunxi-pinctrl [ 0.059849] sunxi-pinctrl sunxi-pinctrl: initialized sunXi PIO driver [ 0.059849] plat: add bmp085 device [ 0.059849] plat: add pcf8591 device [ 0.059849] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.059849] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.060051] script config pll_video to 297 Mhz [ 0.060068] script config pll_de to 864 Mhz [ 0.060360] script config pll_ve to 402 Mhz [ 0.060374] sunxi_default_clk_init [ 0.060382] try to set pll6ahb1 to 200000000 [ 0.060401] try to set ahb clk source to pll6ahb1 [ 0.060409] set ahb clk source to pll6ahb1 [ 0.060419] try to set ahb1 to 200000000 [ 0.060429] try to set apb1 to 100000000 [ 0.070250] bio: create slab <bio-0> at 0 [ 0.070319] [ARISC] :sunxi-arisc driver v1.04 [ 0.080990] [ARISC] :arisc version: [v0.1.58] [ 0.173618] [ARISC] :sunxi-arisc driver v1.04 startup succeeded [ 0.180462] SCSI subsystem initialized [ 0.180666] usbcore: registered new interface driver usbfs [ 0.180741] usbcore: registered new interface driver hub [ 0.180772] usbcore: registered new device driver usb [ 0.180772] twi_chan_cfg()340 - [twi0] has no twi_regulator. [ 0.180772] twi_chan_cfg()340 - [twi1] has no twi_regulator. [ 0.180772] twi_chan_cfg()340 - [twi2] has no twi_regulator. [ 0.180918] Linux video capture interface: v2.00 [ 0.181158] Advanced Linux Sound Architecture Driver Version 1.0.25. [ 0.181923] cfg80211: Calling CRDA to update world regulatory domain [ 0.181985] NetLabel: Initializing [ 0.181985] NetLabel: domain hash size = 128 [ 0.181985] NetLabel: protocols = UNLABELED CIPSOv4 [ 0.181985] NetLabel: unlabeled traffic allowed by default [ 0.181985] Switching to clocksource arch_sys_counter [ 0.193671] FS-Cache: Loaded [ 0.193970] CacheFiles: Loaded [ 0.205383] NET: Registered protocol family 2 [ 0.216754] IP route cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.217372] TCP established hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.219270] TCP bind hash table entries: 65536 (order: 7, 786432 bytes) [ 0.220362] TCP: Hash tables configured (established 131072 bind 65536) [ 0.220374] TCP: reno registered [ 0.220388] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 0.220425] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 0.220791] NET: Registered protocol family 1 [ 0.221230] RPC: Registered named UNIX socket transport module. [ 0.221242] RPC: Registered udp transport module. [ 0.221250] RPC: Registered tcp transport module. [ 0.221259] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.221471] Trying to unpack rootfs image as initramfs... [ 0.570183] Freeing initrd memory: 5100K [ 0.570711] hw perfevents: enabled with ARMv7 Cortex_A7 PMU driver, 5 counters available [ 0.570841] sunxi_reg_init enter [ 0.571781] audit: initializing netlink socket (disabled) [ 0.571836] type=2000 audit(0.570:1): initialized [ 0.573102] highmem bounce pool size: 64 pages [ 0.573480] VFS: Disk quotas dquot_6.5.2 [ 0.573674] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.574243] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.574441] misc fatfs initialized [ 0.574658] NFS: Registering the id_resolver key type [ 0.575067] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.575081] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 0.575579] NTFS driver 2.1.30 [Flags: R/W]. [ 0.575913] fuse init (API version 7.18) [ 0.576341] msgmni has been set to 1473 [ 0.577863] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 0.577883] io scheduler noop registered [ 0.577892] io scheduler deadline registered [ 0.577955] io scheduler cfq registered (default) [ 0.578367] [DISP]disp_module_init [ 0.578673] cmdline,init_disp= [ 0.578704] cmdline,disp= [ 0.594165] [DISP] Fb_map_kernel_logo,line:932:Fb_map_kernel_logo failed! [ 0.630101] Console: switching to colour frame buffer device 240x67 [ 0.666879] [DISP]disp_module_init finish [ 0.667109] sw_uart_get_devinfo()1503 - uart0 has no uart_regulator. [ 0.667431] uart0: ttyS0 at MMIO 0x1c28000 (irq = 32) is a SUNXI [ 0.667445] sw_uart_pm()890 - uart0 clk is already enable [ 0.667464] sw_console_setup()1233 - console setup baud 115200 parity n bits 8, flow n [ 0.667803] console [ttyS0] enabled [ 0.668346] sunxi_cmatest_init enter [ 0.668385] sunxi_cmatest_init success [ 0.672656] brd: module loaded [ 0.676642] loop: module loaded [ 0.676952] sunxi_spi_chan_cfg()1376 - [spi-0] has no spi_regulator. [ 0.676966] sunxi_spi_chan_cfg()1376 - [spi-1] has no spi_regulator. [ 0.677567] spi spi0: master is unqueued, this is deprecated [ 0.678679] PPP generic driver version 2.4.2 [ 0.678880] PPP BSD Compression module registered [ 0.678890] PPP Deflate Compression module registered [ 0.681778] PPP MPPE Compression module registered [ 0.681797] NET: Registered protocol family 24 [ 0.681879] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.701987] sunxi-ehci sunxi-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.702024] sunxi-ehci sunxi-ehci.1: new USB bus registered, assigned bus number 1 [ 0.702612] sunxi-ehci sunxi-ehci.1: irq 104, io mem 0xf1c1a000 [ 0.720041] sunxi-ehci sunxi-ehci.1: USB 0.0 started, EHCI 1.00 [ 0.720149] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 0.720164] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.720176] usb usb1: Product: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.720188] usb usb1: Manufacturer: Linux 3.4.113-sun8i ehci_hcd [ 0.720198] usb usb1: SerialNumber: sunxi-ehci [ 0.720791] hub 1-0:1.0: USB hub found [ 0.720816] hub 1-0:1.0: 1 port detected [ 0.741192] sunxi-ehci sunxi-ehci.2: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.741222] sunxi-ehci sunxi-ehci.2: new USB bus registered, assigned bus number 2 [ 0.741652] sunxi-ehci sunxi-ehci.2: irq 106, io mem 0xf1c1b000 [ 0.760032] sunxi-ehci sunxi-ehci.2: USB 0.0 started, EHCI 1.00 [ 0.760049] ehci_irq: highspeed device connect [ 0.760124] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 [ 0.760138] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.760150] usb usb2: Product: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.760161] usb usb2: Manufacturer: Linux 3.4.113-sun8i ehci_hcd [ 0.760172] usb usb2: SerialNumber: sunxi-ehci [ 0.760640] hub 2-0:1.0: USB hub found [ 0.760664] hub 2-0:1.0: 1 port detected [ 0.781032] sunxi-ehci sunxi-ehci.3: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.781062] sunxi-ehci sunxi-ehci.3: new USB bus registered, assigned bus number 3 [ 0.781477] sunxi-ehci sunxi-ehci.3: irq 108, io mem 0xf1c1c000 [ 0.800032] sunxi-ehci sunxi-ehci.3: USB 0.0 started, EHCI 1.00 [ 0.800104] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002 [ 0.800120] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.800133] usb usb3: Product: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.800147] usb usb3: Manufacturer: Linux 3.4.113-sun8i ehci_hcd [ 0.800159] usb usb3: SerialNumber: sunxi-ehci [ 0.800644] hub 3-0:1.0: USB hub found [ 0.800668] hub 3-0:1.0: 1 port detected [ 0.821075] sunxi-ehci sunxi-ehci.4: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.821105] sunxi-ehci sunxi-ehci.4: new USB bus registered, assigned bus number 4 [ 0.821517] sunxi-ehci sunxi-ehci.4: irq 110, io mem 0xf1c1d000 [ 0.840030] sunxi-ehci sunxi-ehci.4: USB 0.0 started, EHCI 1.00 [ 0.840045] ehci_irq: highspeed device connect [ 0.840097] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002 [ 0.840110] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.840121] usb usb4: Product: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.840133] usb usb4: Manufacturer: Linux 3.4.113-sun8i ehci_hcd [ 0.840143] usb usb4: SerialNumber: sunxi-ehci [ 0.840635] hub 4-0:1.0: USB hub found [ 0.840654] hub 4-0:1.0: 1 port detected [ 0.841040] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 0.861113] sunxi-ohci sunxi-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 0.861141] sunxi-ohci sunxi-ohci.1: new USB bus registered, assigned bus number 5 [ 0.861174] sunxi-ohci sunxi-ohci.1: irq 105, io mem 0xf1c1a400 [ 0.924095] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001 [ 0.924109] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.924121] usb usb5: Product: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 0.924132] usb usb5: Manufacturer: Linux 3.4.113-sun8i ohci_hcd [ 0.924142] usb usb5: SerialNumber: sunxi-ohci [ 0.924611] hub 5-0:1.0: USB hub found [ 0.924631] hub 5-0:1.0: 1 port detected [ 0.944997] sunxi-ohci sunxi-ohci.2: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 0.945026] sunxi-ohci sunxi-ohci.2: new USB bus registered, assigned bus number 6 [ 0.945059] sunxi-ohci sunxi-ohci.2: irq 107, io mem 0xf1c1b400 [ 0.960200] ehci_irq: highspeed device disconnect [ 1.004093] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001 [ 1.004107] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.004119] usb usb6: Product: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 1.004130] usb usb6: Manufacturer: Linux 3.4.113-sun8i ohci_hcd [ 1.004140] usb usb6: SerialNumber: sunxi-ohci [ 1.004655] hub 6-0:1.0: USB hub found [ 1.004677] hub 6-0:1.0: 1 port detected [ 1.025093] sunxi-ohci sunxi-ohci.3: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 1.025124] sunxi-ohci sunxi-ohci.3: new USB bus registered, assigned bus number 7 [ 1.025158] sunxi-ohci sunxi-ohci.3: irq 109, io mem 0xf1c1c400 [ 1.040086] ehci_irq: highspeed device disconnect [ 1.084087] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001 [ 1.084101] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.084113] usb usb7: Product: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 1.084125] usb usb7: Manufacturer: Linux 3.4.113-sun8i ohci_hcd [ 1.084135] usb usb7: SerialNumber: sunxi-ohci [ 1.084653] hub 7-0:1.0: USB hub found [ 1.084673] hub 7-0:1.0: 1 port detected [ 1.105069] sunxi-ohci sunxi-ohci.4: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 1.105099] sunxi-ohci sunxi-ohci.4: new USB bus registered, assigned bus number 8 [ 1.105131] sunxi-ohci sunxi-ohci.4: irq 111, io mem 0xf1c1d400 [ 1.164092] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001 [ 1.164106] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.164118] usb usb8: Product: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 1.164129] usb usb8: Manufacturer: Linux 3.4.113-sun8i ohci_hcd [ 1.164139] usb usb8: SerialNumber: sunxi-ohci [ 1.164594] hub 8-0:1.0: USB hub found [ 1.164614] hub 8-0:1.0: 1 port detected [ 1.164948] Initializing USB Mass Storage driver... [ 1.165183] usbcore: registered new interface driver usb-storage [ 1.165195] USB Mass Storage support registered. [ 1.165261] usbcore: registered new interface driver ums-alauda [ 1.165314] usbcore: registered new interface driver ums-cypress [ 1.165372] usbcore: registered new interface driver ums-datafab [ 1.165418] usbcore: registered new interface driver ums_eneub6250 [ 1.165465] usbcore: registered new interface driver ums-freecom [ 1.165513] usbcore: registered new interface driver ums-isd200 [ 1.165558] usbcore: registered new interface driver ums-jumpshot [ 1.165603] usbcore: registered new interface driver ums-karma [ 1.165649] usbcore: registered new interface driver ums-onetouch [ 1.165709] usbcore: registered new interface driver ums-realtek [ 1.165761] usbcore: registered new interface driver ums-sddr09 [ 1.165810] usbcore: registered new interface driver ums-sddr55 [ 1.165857] usbcore: registered new interface driver ums-usbat [ 1.166079] uinput result 0 , vmouse_init [ 1.166689] mousedev: PS/2 mouse device common for all mice [ 1.166923] sunxikbd_init failed. [ 1.167418] ls_fetch_sysconfig_para: type err device_used = -1073057372. [ 1.167430] =========script_get_err============ [ 1.167439] ltr_init: ls_fetch_sysconfig_para err. [ 1.167895] [RTC] WARNING: Rtc time will be wrong!! [ 1.167905] [RTC] WARNING: use *internal OSC* as clock source [ 1.168169] sunxi-rtc sunxi-rtc: rtc core: registered sunxi-rtc as rtc0 [ 1.168225] i2c /dev entries driver [ 1.168621] sunxi cedar version 0.1 [ 1.168662] [cedar]: install start!!! [ 1.168857] [cedar]: install end!!! [ 1.169099] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x18) [ 1.169270] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x19) [ 1.169436] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x1a) [ 1.169602] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x29) [ 1.169767] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x2a) [ 1.169932] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x2b) [ 1.170100] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x4c) [ 1.170267] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x4d) [ 1.170432] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x4e) [ 1.170630] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x18) [ 1.170824] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x19) [ 1.171016] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x1a) [ 1.171207] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x29) [ 1.171400] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x2a) [ 1.171592] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x2b) [ 1.171784] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x4c) [ 1.171976] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x4d) [ 1.172168] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x4e) [ 1.172182] sunxi_wdt_init_module: sunxi WatchDog Timer Driver v1.0 [ 1.172352] sunxi_wdt_probe: devm_ioremap return wdt_reg 0xf1c20ca0, res->start 0x01c20ca0, res->end 0x01c20cbf [ 1.172539] sunxi_wdt_probe: initialized (g_timeout=16s, g_nowayout=0) [ 1.172554] wdt_enable, write reg 0xf1c20cb8 val 0x00000000 [ 1.172567] timeout_to_interv, line 167 [ 1.172576] interv_to_timeout, line 189 [ 1.172587] wdt_set_tmout, write 0x000000b0 to mode reg 0xf1c20cb8, actual timeout 16 sec [ 1.173006] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com [ 1.173228] calibrat: max_cpufreq 1200Mhz Type 0! [ 1.173547] [mmc]: SD/MMC/SDIO Host Controller Driver(v1.111 2015-4-13 15:24) Compiled in May 8 2019 at 15:08:15 [ 1.173584] [mmc]: get mmc0's sdc_power is null! [ 1.173612] [mmc]: get mmc1's sdc_power is null! [ 1.173621] [mmc]: get mmc1's 2xmode ok, val = 1 [ 1.173631] [mmc]: get mmc1's ddrmode ok, val = 1 [ 1.173659] [mmc]: get mmc2's sdc_power is null! [ 1.173668] [mmc]: get mmc2's 2xmode ok, val = 1 [ 1.173677] [mmc]: get mmc2's ddrmode ok, val = 1 [ 1.173690] [mmc]: MMC host used card: 0x7, boot card: 0x0, io_card 2 [ 1.177401] [mmc]: sdc0 power_supply is null [ 1.180916] no blue_led, ignore it! [ 1.181168] Registered led device: red_led [ 1.181284] Registered led device: green_led [ 1.181299] no led_0, ignore it! [ 1.181307] no led_1, ignore it! [ 1.181314] no led_2, ignore it! [ 1.181321] no led_3, ignore it! [ 1.181328] no led_4, ignore it! [ 1.181335] no led_5, ignore it! [ 1.181342] no led_6, ignore it! [ 1.181349] no led_7, ignore it! [ 1.182178] usbcore: registered new interface driver usbhid [ 1.182188] usbhid: USB HID core driver [ 1.186321] asoc: sndcodec <-> sunxi-codec mapping ok [ 1.187447] [DAUDIO]sunxi-daudio cannot find any using configuration for controllers, return directly! [ 1.187651] [I2S]snddaudio cannot find any using configuration for controllers, return directly! [ 1.187665] [DAUDIO0] driver not init,just return. [ 1.190898] asoc: sndhdmi <-> sunxi-hdmiaudio.0 mapping ok [ 1.192206] oprofile: using arm/armv7-ca7 [ 1.192414] u32 classifier [ 1.192423] Performance counters on [ 1.192431] input device check on [ 1.192438] Actions configured [ 1.192757] TCP: bic registered [ 1.192768] TCP: cubic registered [ 1.192776] TCP: westwood registered [ 1.192784] TCP: highspeed registered [ 1.192791] TCP: hybla registered [ 1.192799] TCP: htcp registered [ 1.192806] TCP: vegas registered [ 1.192814] TCP: veno registered [ 1.192821] TCP: scalable registered [ 1.192829] TCP: lp registered [ 1.192836] TCP: yeah registered [ 1.192843] TCP: illinois registered [ 1.192850] Initializing XFRM netlink socket [ 1.193067] NET: Registered protocol family 10 [ 1.194168] NET: Registered protocol family 17 [ 1.194200] NET: Registered protocol family 15 [ 1.194249] Registering the dns_resolver key type [ 1.194702] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 1.194724] ThumbEE CPU extension supported. [ 1.194747] Registering SWP/SWPB emulation handler [ 1.195321] registered taskstats version 1 [ 1.195814] cmdline,disp= [ 1.195856] [HDMI] power vcc-hdmi-18 [ 1.226955] ths_fetch_sysconfig_para: type err device_used = 1. [ 1.228181] CPU Budget:corekeeper enabled [ 1.228413] CPU Budget:Register notifier [ 1.228427] CPU Budget:register Success [ 1.228441] sunxi-budget-cooling sunxi-budget-cooling: Cooling device registered: thermal-budget-0 [ 1.231868] [rf_pm]: module power0 name vcc-wifi-33 [ 1.231886] [rf_pm]: Did not config module_power1 in sys_config [ 1.231896] [rf_pm]: Did not config module_power2 in sys_config [ 1.231906] [rf_pm]: Did not config module_power3 in sys_config [ 1.231916] [rf_pm]: mod has no chip_en gpio [ 1.231925] [rf_pm]: regulator on. [ 1.231940] [rf_pm]: set losc_out 32k out[wifi_pm]: set wl_reg_on 1 ! [ 1.244623] mmc0: new high speed SDHC card at address 0007 [ 1.245145] mmcblk0: mmc0:0007 SD32G 29.0 GiB [ 1.246599] mmcblk0: p1 [ 1.247191] mmcblk mmc0:0007: Card claimed for testing. [ 1.247206] mmc0:0007: SD32G 29.0 GiB [ 1.248784] [mmc]: sdc2 power_supply is null [ 1.324471] mmc2: new high speed DDR MMC card at address 0001 [ 1.324941] mmcblk1: mmc2:0001 8GME4R 7.28 GiB [ 1.325179] mmcblk1boot0: mmc2:0001 8GME4R partition 1 4.00 MiB [ 1.325419] mmcblk1boot1: mmc2:0001 8GME4R partition 2 4.00 MiB [ 1.326811] mmcblk1: p1 [ 1.329651] mmcblk1boot1: unknown partition table [ 1.331187] mmcblk1boot0: unknown partition table [ 1.331405] mmcblk mmc2:0001: Card claimed for testing. [ 1.331420] mmc2:0001: 8GME4R 7.28 GiB [ 1.332272] hci: ERR: sunxi_ehci is already enable, can not enable again [ 1.332285] hci: ERR: sunxi_ohci is already enable, can not enable again [ 1.333803] [mmc]: sdc1 power_supply is null [ 1.380047] usb 6-1: new low-speed USB device number 2 using sunxi-ohci [ 1.389015] mmc1: new high speed SDIO card at address 0001 [ 1.432308] [wifi_pm]: wifi gpio init is OK !! [ 1.432368] [rfkill]: init no bt used in configuration [ 1.432377] ALSA device list: [ 1.432385] #0: audiocodec [ 1.432391] #1: sndhdmi [ 1.433271] Freeing init memory: 328K [ 1.602114] usb 6-1: New USB device found, idVendor=413c, idProduct=301a [ 1.602138] usb 6-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 1.602151] usb 6-1: Product: Dell MS116 USB Optical Mouse [ 1.602161] usb 6-1: Manufacturer: PixArt [ 1.610084] generic-usb 0003:413C:301A.0001: input,hidraw0: USB HID v1.11 Mouse [PixArt Dell MS116 USB Optical Mouse] on usb-sunxi-ohci-1/input0 [ 1.790134] usb 8-1: new low-speed USB device number 2 using sunxi-ohci [ 1.830124] [DISP] disp_device_attached_and_enable,line:159:attched ok, mgr0<-->device0, type=4, mode=10 [ 1.844251] vmouse_input_dev_open [ 1.910133] vmouse_input_dev_close [ 2.012095] usb 8-1: New USB device found, idVendor=04f2, idProduct=1516 [ 2.012115] usb 8-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 2.012127] usb 8-1: Product: USB Keyboard [ 2.012136] usb 8-1: Manufacturer: Chicony [ 2.021254] generic-usb 0003:04F2:1516.0002: input,hidraw1: USB HID v1.11 Keyboard [Chicony USB Keyboard] on usb-sunxi-ohci-1/input0 [ 2.030850] generic-usb 0003:04F2:1516.0003: input,hidraw2: USB HID v1.11 Device [Chicony USB Keyboard] on usb-sunxi-ohci-1/input1 [ 2.662676] Btrfs loaded [ 8.049697] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null) [ 8.437612] systemd[1]: System time before build time, advancing clock. [ 9.000377] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN) [ 9.000761] systemd[1]: Detected architecture arm. [ 9.031120] systemd[1]: Set hostname to <smart>. [ 9.439560] systemd[1]: Reached target Swap. [ 9.460431] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ 9.480675] systemd[1]: Created slice User and Session Slice. [ 9.500340] systemd[1]: Listening on udev Kernel Socket. [ 9.520194] systemd[1]: Reached target Encrypted Volumes. [ 9.540851] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ 9.560380] systemd[1]: Listening on Journal Socket (/dev/log). [ 9.580309] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. [ 9.600179] systemd[1]: Reached target Remote File Systems (Pre). [ 9.620182] systemd[1]: Reached target Remote File Systems. [ 9.640304] systemd[1]: Listening on Syslog Socket. [ 9.660345] systemd[1]: Listening on Journal Socket. [ 9.680306] systemd[1]: Listening on fsck to fsckd communication Socket. [ 9.700404] systemd[1]: Started Trigger resolvconf update for networkd DNS. [ 9.720612] systemd[1]: Created slice System Slice. [ 9.740506] systemd[1]: Reached target Slices. [ 9.860678] systemd[1]: Starting Create list of required static device nodes for the current kernel... [ 10.030818] systemd[1]: Starting Set console keymap... [ 10.160528] systemd[1]: Starting Nameserver information manager... [ 10.275394] systemd[1]: Mounting POSIX Message Queue File System... [ 10.410356] systemd[1]: Mounting Debug File System... [ 10.510517] systemd[1]: Created slice system-systemd\x2dfsck.slice. [ 10.530962] systemd[1]: Created slice system-serial\x2dgetty.slice. [ 10.610695] systemd[1]: Starting Remount Root and Kernel File Systems... [ 10.701220] EXT4-fs (mmcblk1p1): re-mounted. Opts: commit=600,errors=remount-ro [ 10.710850] systemd[1]: Starting Load Kernel Modules... [ 10.940828] systemd[1]: Starting Restore / save the current clock... [ 10.960727] systemd[1]: Listening on Journal Audit Socket. [ 10.980280] systemd[1]: Reached target User and Group Name Lookups. [ 10.997221] [wifi_pm]: set wl_reg_on 1 ! [ 11.000502] systemd[1]: Listening on udev Control Socket. [ 11.005317] 29 81 03 CC 00 00 50 00 00 00 04 CC 0A 0C 00 00 [ 11.005357] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 11.005395] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 11.005433] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 11.005471] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 11.005509] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 11.005547] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 11.005585] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 11.005623] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 11.005661] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 11.005699] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 11.005737] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 11.005775] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 11.005813] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 11.005851] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 11.005889] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 11.005927] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 11.005965] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 11.006003] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 11.006040] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 11.006078] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 11.006117] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 11.006154] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 11.006192] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 11.006230] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 11.006268] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 11.006306] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 11.006344] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 11.006382] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 11.006420] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 11.006458] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 11.006496] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 11.022829] UMP: UMP device driver loaded [ 11.032601] mali clk: 252 MHz [ 11.032825] mali clk: 252 MHz [ 11.034753] Mali: Mali device driver loaded [ 11.133430] systemd[1]: Mounted Debug File System. [ 11.150318] systemd[1]: Mounted POSIX Message Queue File System. [ 11.340132] systemd[1]: Started Create list of required static device nodes for the current kernel. [ 11.520183] systemd[1]: Started Set console keymap. [ 11.940202] systemd[1]: Started Remount Root and Kernel File Systems. [ 12.110150] systemd[1]: Started Load Kernel Modules. [ 12.230151] systemd[1]: Started Restore / save the current clock. [ 12.400731] systemd[1]: Started Nameserver information manager. [ 12.484268] systemd[1]: Time has been changed [ 12.513103] systemd[1]: Reached target Network (Pre). [ 12.590474] systemd[1]: Mounting FUSE Control File System... [ 12.750746] systemd[1]: Starting Apply Kernel Variables... [ 12.930752] systemd[1]: Starting udev Coldplug all Devices... [ 13.120767] systemd[1]: Starting Load/Save Random Seed... [ 13.280851] systemd[1]: Starting Create Static Device Nodes in /dev... [ 13.309467] systemd[1]: Mounted FUSE Control File System. [ 13.680152] systemd[1]: Started Apply Kernel Variables. [ 14.080308] systemd[1]: Started Load/Save Random Seed. [ 14.210161] systemd[1]: Started Create Static Device Nodes in /dev. [ 14.350129] systemd[1]: Started udev Coldplug all Devices. [ 14.404663] systemd[1]: Reached target Local File Systems (Pre). [ 14.530385] systemd[1]: Mounting /tmp... [ 14.660822] systemd[1]: Starting udev Kernel Device Manager... [ 14.755906] systemd[1]: Mounted /tmp. [ 14.850794] systemd[1]: Started Entropy daemon using the HAVEGE algorithm. [ 14.971059] systemd[1]: Starting Journal Service... [ 15.021067] systemd[1]: Started udev Kernel Device Manager. [ 15.046428] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ 15.078442] systemd[1]: Reached target Sound Card. [ 15.100679] systemd[1]: Started Journal Service. [ 15.376157] systemd-journald[243]: Received request to flush runtime journal from PID 1 [ 15.528512] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x77) [ 15.528554] bmp085: probe of 0-0077 failed with error -70 [ 15.531916] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x48) [ 15.532140] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x48) [ 15.601631] vmouse_input_dev_open [ 15.660298] vmouse_input_dev_close [ 17.077326] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null) [ 17.999578] zram: module is from the staging directory, the quality is unknown, you have been warned. [ 18.000466] zram: Creating 6 devices ... [ 18.085544] Adding 128124k swap on /dev/zram1. Priority:5 extents:1 across:128124k SS [ 18.118747] Adding 128124k swap on /dev/zram2. Priority:5 extents:1 across:128124k SS [ 18.151507] Adding 128124k swap on /dev/zram3. Priority:5 extents:1 across:128124k SS [ 18.184297] Adding 128124k swap on /dev/zram4. Priority:5 extents:1 across:128124k SS [ 19.199796] EXT4-fs (zram0): mounted filesystem without journal. Opts: discard [ 24.005978] sysctl: The scan_unevictable_pages sysctl/node-interface has been disabled for lack of a legitimate use case. If you have one, please send an email to linux-mm@kvack.org. [ 26.415167] [DISP] disp_ioctl,line:1584:para err in disp_ioctl, cmd = 0x0,screen id = 65536 [ 26.456320] [drm] Initialized drm 1.1.0 20060810 [ 26.464923] Mali DRM initialize, driver name: mali_drm, version 2.1 [ 26.465471] [drm] Initialized mali_drm 2.1.1 20101111 on minor 0 [ 26.465548] Mali DRM initialize, driver name: mali_drm, version 2.1 [ 26.465983] [drm] Initialized mali_drm 2.1.1 20101111 on minor 1 [ 28.477015] vmouse_input_dev_open [ 28.509497] gmac0: probed [ 28.511662] gmac0 gmac0: eth0: eth0: PHY ID 00441400 at 0 IRQ poll (gmac0-0:00) [ 29.907150] ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 33.673616] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 61.398647] gc2035: Unknown parameter `hres' [ 71.899597] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 117.259564] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 163.194765] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 508.059714] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 553.158972] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 598.200346] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 643.207203] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 988.057819] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 1033.152055] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 1078.210699] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 1123.189549] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 1468.060254] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 1513.199953] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 1558.206911] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 1603.253090] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 1829.150834] cfg80211: Calling CRDA for country: RU [ 1829.181015] cfg80211: Regulatory domain changed to country: RU [ 1829.181033] cfg80211: DFS Master region ETSI [ 1829.181042] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 1829.181056] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm) [ 1829.181068] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm) [ 1829.181080] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2000 mBm) [ 1829.181092] cfg80211: (5650000 KHz - 5730000 KHz @ 80000 KHz), (N/A, 3000 mBm) [ 1829.181104] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm) [ 1829.181116] cfg80211: (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm) [ 1829.181554] cfg80211: Calling CRDA to update world regulatory domain [ 1829.201872] cfg80211: World regulatory domain updated: [ 1829.201895] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 1829.201909] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm) [ 1829.201922] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (N/A, 2000 mBm) [ 1829.201934] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm) [ 1829.201946] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm) [ 1829.201958] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2000 mBm) [ 1829.201969] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm) [ 1829.201981] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm) [ 1829.201993] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm) [ 1830.805715] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 1830.805921] cfg80211: Calling CRDA for country: RU [ 1830.825929] cfg80211: Regulatory domain changed to country: RU [ 1830.825948] cfg80211: DFS Master region ETSI [ 1830.825957] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 1830.825971] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm) [ 1830.825983] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm) [ 1830.825995] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2000 mBm) [ 1830.826007] cfg80211: (5650000 KHz - 5730000 KHz @ 80000 KHz), (N/A, 3000 mBm) [ 1830.826019] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm) [ 1830.826031] cfg80211: (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm) [ 1949.061058] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 1994.205803] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 2039.251927] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 2085.198647] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 2430.062249] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 2475.211592] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 2520.251989] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 2566.210835] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 2911.052818] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 2956.156390] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 3001.197405] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 3046.168469] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 3391.058866] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 3436.151827] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 3481.200388] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 3526.205564] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 3871.060782] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 3916.157574] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 3961.194790] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 4006.201958] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 4351.064552] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 4396.194901] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 4441.147071] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 4486.158562] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 4831.057941] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 4876.169932] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 4921.149546] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 4966.159984] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 5311.030440] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 5356.194455] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 5401.156423] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 5446.207656] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 5791.057733] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 5836.155001] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 5881.194961] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 5926.197434] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 6271.063931] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 6316.160162] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 6361.188461] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 6406.206746] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 6751.062914] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 6796.124509] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 6841.194574] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 6886.166132] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 6918.546328] [OV5640@lex]init_sensor - frame_rate: 0, max_win_size: 11 [ 6936.010236] [ISP] isp platform_id = 5! [ 6936.020258] [VFE_ERR]Error registering v4l2 subdevice No such device! [ 7231.062673] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 7276.205808] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 7321.217468] ADDRCONF(NETDEV_UP): eth0: link is not ready
kreston Posted August 22, 2019 Posted August 22, 2019 On 7/19/2017 at 8:17 PM, olivluca said: I finally worked around the issue by modifying boot.cmd adding the lines gpio set PL10 gpio set PG11 at the beginning, right after the "DO NOT EDIT THIS FILE " comment. The I regenerated boot.scr mkimage -A arm -T script -O linux -d boot.cmd boot.scr And rebooted. Dear olivluca, I read "man gpio". There no command "set"! May be need to use command "write"? And I dont know, how can understand what pin need activate for supply CSI of OrangePiPcPlus??? PL10? PG11? where can I to read it? I'm really afraid to give voltage on wrong pin!
olivluca Posted August 24, 2019 Posted August 24, 2019 On 8/22/2019 at 10:38 AM, kreston said: Dear olivluca, I read "man gpio". There no command "set"! May be need to use command "write"? And I dont know, how can understand what pin need activate for supply CSI of OrangePiPcPlus??? PL10? PG11? where can I to read it? I'm really afraid to give voltage on wrong pin! The "gpio" there is an uboot command, not a linux one, so "set" is correct. I cannot help on the correct gpio to set for your board, mine is an opi pc.
Mamdouh Meo Posted September 8, 2019 Posted September 8, 2019 Hi everyone . first of all i'm sorry for bad English and I hope you can help . I spent the last three days trying to make the camera work again on Orange pi Lite but did not work , the camera was working fine before two years ago but after I used the current version this --> ( Armbian_5.91_Orangepilite_Debian_buster_next_4.19.59 ) it's no longer working, I tried to install other distro available but all are not working on it . one version ( Armbian_5.91_Orangepilite_Debian_buster_next_4.19.59 ) that i can install driver on it ,but when try open the motion software in browser only i get black screen with Unable to open video device . Can you help me again to make it alive again . Thanks.
olivluca Posted September 9, 2019 Posted September 9, 2019 There are no drivers for the camera in mainline kernel. You have to use a version based on a legacy kernel (https://dl.armbian.com/orangepilite/Ubuntu_xenial_default_desktop.7z). I don't know the progress in mainline regarding gc2035. Edit: looking at the table here I see that the csi driver has been mainlined in kernel 5.0. Without that the camera cannot work. What I don't know is if the gc2035 driver is available in 5.0
olivluca Posted February 29, 2020 Posted February 29, 2020 Any update on the mainline drivers for the gc2035?
Recommended Posts