咨询了板子厂家, 需要在softwinner/eyesee-mpp/middleware/v316/tina.mk中修改,把相应sample前面的#去掉即可,编译结果存放在各个sample自己的目录下

jinxiangwzhLV 6
@jinxiangwzh
Best posts made by jinxiangwzh
-
Reply: 这个目录下的sample是怎么编译的
Latest posts made by jinxiangwzh
-
Reply: 麻烦大佬们指点一下,日志中文件系统报错是怎么回事,怎么解决
@whycan
我在sys_partition.fex 把你说的这个分区改大了 还是有报错[ 2.469181] Waiting for root device /dev/mmcblk0p7... [ 2.475229] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS200 dt B [ 2.486043] sunxi-mmc sdc2: sdc set ios:clk 100000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS200 dt B [ 2.496957] sunxi-mmc sdc2: sdc set ios:clk 100000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS(SDR20) dt B [ 2.508063] sunxi-mmc sdc2: sdc set ios:clk 52000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS(SDR20) dt B [ 2.519185] sunxi-mmc sdc2: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS400 dt B [ 2.529800] sunxi-mmc sdc2: sdc set ios:clk 100000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS400 dt B [ 2.540602] mmc0: new HS400 MMC card at address 0001 [ 2.546845] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB [ 2.552145] mmcblk0boot0: mmc0:0001 8GTF4R partition 1 4.00 MiB [ 2.559032] mmcblk0boot1: mmc0:0001 8GTF4R partition 2 4.00 MiB [ 2.566658] mmcblk0: p1 p2 p3 < p5 p6 p7 p8 p9 p10 p11 > [ 2.572750] mmcblk0: p1 size 13060096 extends beyond EOD, truncated [ 2.587293] EXT4-fs (mmcblk0p7): couldn't mount as ext3 due to feature incompatibilities [ 2.597019] EXT4-fs (mmcblk0p7): couldn't mount as ext2 due to feature incompatibilities [ 2.609863] EXT4-fs (mmcblk0p7): mounted filesystem without journal. Opts: (null) [ 2.618501] VFS: Mounted root (ext4 filesystem) on device 179:7. [ 2.625750] devtmpfs: mounted [ 2.629364] Freeing unused kernel memory: 148K [ 2.634358] This architecture does not have kernel memory protection. mount: mounting none on /dev failed: Resource busy mount: mounting pstore on /sys/fs/pstore failed: No such file or directory mount: mounting /dev/by-name/rootfs_data on /overlay failed: Invalid argument Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... mke2fs 1.42.12 (29-Aug-2014) [ 2.745819] random: mkfs.ext4: uninitialized urandom read (16 bytes read) [ 2.753603] random: mkfs.ext4: uninitialized urandom read (16 bytes read) [ 2.822581] EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. Opts: (null) skip mount overlayfs as now rootfs not squashfs [ 2.845656] EXT4-fs error (device mmcblk0p7): ext4_has_uninit_itable:3049: comm mount: Inode table for bg 0 marked as needing zeroing [ 2.859803] EXT4-fs (mmcblk0p7): Remounting filesystem read-only [ 2.867082] EXT4-fs (mmcblk0p7): re-mounted. Opts: block_validity,delalloc,barrier,user_xattr starting pid 584, tty '': '/etc/init.d/rcS boot' ------run rc.preboot file----- ifconfig: socket: Function not implemented mke2fs 1.42.12 (29-Aug-2014) [ 2.942788] random: mkfs.ext4: uninitialized urandom read (16 bytes read) [ 6.349531] random: fast init done [ 6.678689] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null) mount: mounting /dev/mmcblk0p1 on /mnt/SDCARD failed: Resource busy e2fsck: Cannot continue, aborting.
-
麻烦大佬们指点一下,日志中文件系统报错是怎么回事,怎么解决
[ 2.728899] Waiting for root device /dev/mmcblk0p7... [ 2.746880] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 8 timing LEGACY(SDR12) dt B [ 2.759760] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS200 dt B [ 2.770517] sunxi-mmc sdc2: sdc set ios:clk 100000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS200 dt B [ 2.781429] sunxi-mmc sdc2: sdc set ios:clk 100000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS(SDR20) dt B [ 2.792542] sunxi-mmc sdc2: sdc set ios:clk 52000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS(SDR20) dt B [ 2.803660] sunxi-mmc sdc2: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS400 dt B [ 2.814274] sunxi-mmc sdc2: sdc set ios:clk 100000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS400 dt B [ 2.825075] mmc0: new HS400 MMC card at address 0001 [ 2.831335] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB [ 2.836665] mmcblk0boot0: mmc0:0001 8GTF4R partition 1 4.00 MiB [ 2.843582] mmcblk0boot1: mmc0:0001 8GTF4R partition 2 4.00 MiB [ 2.851210] mmcblk0: p1 p2 p3 < p5 p6 p7 p8 p9 p10 p11 > [ 2.857345] mmcblk0: p1 size 13090816 extends beyond EOD, truncated [ 2.967545] EXT4-fs (mmcblk0p7): couldn't mount as ext3 due to feature incompatibilities [ 2.977248] EXT4-fs (mmcblk0p7): couldn't mount as ext2 due to feature incompatibilities [ 2.990135] EXT4-fs (mmcblk0p7): mounted filesystem without journal. Opts: (null) [ 2.998622] VFS: Mounted root (ext4 filesystem) on device 179:7. [ 3.005827] devtmpfs: mounted [ 3.009452] Freeing unused kernel memory: 156K [ 3.014444] This architecture does not have kernel memory protection. mount: mounting none on /dev failed: Resource busy mount: mounting pstore on /sys/fs/pstore failed: No such file or directory mount: mounting /dev/by-name/rootfs_data on /overlay failed: Invalid argument Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... mke2fs 1.42.12 (29-Aug-2014) Filesystem too small for a journal [ 3.121146] random: mkfs.ext4: uninitialized urandom read (16 bytes read) [ 3.133334] random: mkfs.ext4: uninitialized urandom read (16 bytes read) [ 3.153748] EXT4-fs (mmcblk0p9): mounted filesystem without journal. Opts: (null) skip mount overlayfs as now rootfs not squashfs [ 3.176575] EXT4-fs error (device mmcblk0p7): ext4_has_uninit_itable:3049: comm mount: Inode table for bg 0 marked as needing zeroing [ 3.190769] EXT4-fs (mmcblk0p7): Remounting filesystem read-only [ 3.198052] EXT4-fs (mmcblk0p7): re-mounted. Opts: block_validity,delalloc,barrier,user_xattr starting pid 643, tty '': '/etc/init.d/rcS boot' ------run rc.preboot file----- mke2fs 1.42.12 (29-Aug-2014) [ 3.276129] random: mkfs.ext4: uninitialized urandom read (16 bytes read) [ 6.169111] random: fast init done [ 6.994388] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null) mount: mounting /dev/mmcblk0p1 on /mnt/SDCARD failed: Resource busy e2fsck: Cannot continue, aborting.
-
关于V4L2自定义CID的问题
我想在sensor驱动中自定义一个平台没有的ID,通过v4l2_ctrl_new_custom接口添加进来,在应用层调用发现返回无效参数,查看源码后,我想确认一个问题,添加平台没有的ID,是不是需要在lichee/linux-4.9/drivers/media/platform/sunxi-vin/vin-video/vin_video.c中的
static int vin_s_ctrl(struct v4l2_ctrl *ctrl)
函数中也要实现一下?
然后int vin_init_controls(struct v4l2_ctrl_handler *hdl, struct vin_vid_cap *cap)
中也要注册一下?