mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-24 11:46:30 +00:00
pine64: fix vfe dmesg flood
This commit is contained in:
parent
4337b04dbb
commit
24e2d99d4c
33
board/pine64/linux-vfe-dmesg-flood-fix.patch
Normal file
33
board/pine64/linux-vfe-dmesg-flood-fix.patch
Normal file
@ -0,0 +1,33 @@
|
||||
diff -uNr linux-pine64-orig/drivers/media/platform/sunxi-vfe/vfe.c linux-pine64-vfe-fix/drivers/media/platform/sunxi-vfe/vfe.c
|
||||
--- linux-pine64-orig/drivers/media/platform/sunxi-vfe/vfe.c 2017-07-09 19:19:29.738112486 +0300
|
||||
+++ linux-pine64-vfe-fix/drivers/media/platform/sunxi-vfe/vfe.c 2017-07-09 19:22:05.466235166 +0300
|
||||
@@ -1348,17 +1348,17 @@
|
||||
bsp_csi_int_disable(dev->vip_sel, dev->cur_ch,CSI_INT_FRAME_DONE);
|
||||
if (dev->first_flag == 0) {
|
||||
dev->first_flag++;
|
||||
- vfe_print("capture video mode!\n");
|
||||
+ //vfe_print("capture video mode!\n");
|
||||
goto set_isp_stat_addr;
|
||||
}
|
||||
if (dev->first_flag == 1) {
|
||||
dev->first_flag++;
|
||||
- vfe_print("capture video first frame done!\n");
|
||||
+ //vfe_print("capture video first frame done!\n");
|
||||
}
|
||||
|
||||
//video buffer handle:
|
||||
if ((&dma_q->active) == dma_q->active.next->next->next) {
|
||||
- vfe_warn("Only two buffer left for csi\n");
|
||||
+ //vfe_warn("Only two buffer left for csi\n");
|
||||
dev->first_flag=0;
|
||||
goto unlock;
|
||||
}
|
||||
@@ -1366,7 +1366,7 @@
|
||||
|
||||
/* Nobody is waiting on this buffer*/
|
||||
if (!waitqueue_active(&buf->vb.vb2_queue->done_wq)) {
|
||||
- vfe_warn(" Nobody is waiting on this video buffer,buf = 0x%p\n",buf);
|
||||
+ //vfe_warn(" Nobody is waiting on this video buffer,buf = 0x%p\n",buf);
|
||||
}
|
||||
list_del(&buf->list);
|
||||
v4l2_get_timestamp(&buf->vb.v4l2_buf.timestamp);
|
@ -13,6 +13,7 @@ BR2_ROOTFS_POST_BUILD_SCRIPT="board/common/postscript.sh"
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/longsleep/linux-pine64/archive/a08f5219d240ae0edf93d090ff1fda0a82a6cb3a.tar.gz"
|
||||
BR2_LINUX_KERNEL_PATCH="board/pine64/linux-vfe-dmesg-flood-fix.patch"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="sun50iw1p1smp_linux"
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG="board/common/busybox.config"
|
||||
BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
|
||||
|
Loading…
x
Reference in New Issue
Block a user