<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[T527在linux下更新isp失败]]></title><description><![CDATA[<p dir="auto">当前使用t527+ ov8858_r2a_4lane 摄像头。通过tigerisp调试得到了可以在android下使用的isp头文件，在android下实际效果如tigerisp中所示：<br />
<img src="/assets/uploads/files/1778753027391-cc5da4d1-e454-4f74-bd42-2440b193dc62-image.png" alt="cc5da4d1-e454-4f74-bd42-2440b193dc62-image.png" class=" img-responsive img-markdown" width="1104" height="672" /></p>
<p dir="auto">当切换为linux系统后，由于默认没有isp，所以成像效果较差，默认状态下成像如下：<br />
<img src="/assets/uploads/files/1778753544212-yuv-default.jpg" alt="yuv-default.jpg" class=" img-responsive img-markdown" width="640" height="480" /></p>
<h2>通过tina版本的sdk，并使用相同的isp头文件编译出isp库，并推送到板子上运行，有如下打印：<br />
“root@HelperT527:~# ./AWISPdemo 0 0 640 480 ./ 1 20 30 0 0<br />
[ISPDemo]open /dev/video0 fd = 3<br />
[ISPDemo]resolution got from sensor = 640*480 num_planes = 3<br />
[ISP]&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ISP VERSION INFO &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;<br />
IPCORE: ISP601<br />
branch: libisp-dev<br />
commit: 665dc2e9613716c25abb6b64af145a73b989271e<br />
date  : Wed Dec 18 15:26:13 2024 +0800<br />
author: <a href="mailto:linjiandao@allwinnertech.com" target="_blank" rel="noopener noreferrer nofollow ugc">linjiandao@allwinnertech.com</a></h2>
<p dir="auto">[ISP]video device name is vin_video0<br />
[AWIspApi]: F:awIspGetIspId, L:104, video0 --&gt; isp0<br />
[ISPDemo]####isp_id:0<br />
[ISP]tdm_rx device name is sunxi_tdm_rx.0<br />
[ISP_WARN]ISP0 maybe online mode, ignore tdm open failed.<br />
[ISP]open isp device[0] success!<br />
[ISP_WARN]VIDIOC_VIN_GET_SENSOR_OTP_INFO return error:Invalid argument<br />
[ISP]ISP0 OTP Disable<br />
[ISP]get isp_ctx from /mnt/isp0_3264_2448_30_0_ov8858_r2a_ctx_saved.bin success!!!<br />
[ISP]find ov8858_r2a_3264_2448_30_0 [ov8858_r2a_isp_cfg] isp config<br />
[ISP]create isp0 server thread!<br />
[ISPDemo]VIDIOC_STREAMON ok<br />
[ISP_ERR]isp_stat_process_buffer, line: 265,AEWB: stats error, skipping buffer.<br />
[ISPDemo]process channel(0) frame 0<br />
[ISP_WARN]ov8858_r2a get sensor_flip failed: Invalid argument (22).<br />
[ISP_WARN]ov8858_r2a get sensor_temp failed: Invalid argument (22).<br />
[ISP_ERR]isp_sync_debug_info, line: 857,VIDIOC_VIN_ISP_GET_INFO error!<br />
[ISP_WARN]isp debugfs node not support!!!<br />
[ISPDemo]process channel(0) frame 1<br />
[ISPDemo]process channel(0) frame 2<br />
[ISPDemo]process channel(0) frame 3<br />
[ISPDemo]process channel(0) frame 4<br />
[ISPDemo]process channel(0) frame 5<br />
[ISPDemo]process channel(0) frame 6<br />
[ISPDemo]process channel(0) frame 7<br />
[ISPDemo]process channel(0) frame 8<br />
[ISPDemo]process channel(0) frame 9<br />
[ISPDemo]process channel(0) frame 10<br />
[ISPDemo]process channel(0) frame 11<br />
[ISPDemo]process channel(0) frame 12<br />
[ISPDemo]process channel(0) frame 13<br />
[ISPDemo]process channel(0) frame 14<br />
[ISPDemo]process channel(0) frame 15<br />
[ISPDemo]process channel(0) frame 16<br />
[ISPDemo]process channel(0) frame 17<br />
[ISPDemo]process channel(0) frame 18<br />
[ISPDemo]process channel(0) frame 19<br />
[ISPDemo]VIDIOC_STREAMOFF ok<br />
[ISP]save isp_ctx to /mnt/isp0_3264_2448_30_0_ov8858_r2a_ctx_saved.bin success, data_len:38872!!!<br />
[ISPDemo_ERR]main, line: 698,mode 1 test done at the 0 time!!<br />
[ISPDemo]time cost 0.878056(s)<br />
root@HelperT527:~#<br />
”</p>
<p dir="auto">但是重新拍照后，图像中心会偏绿，且感觉有点过曝，怀疑3A没有生效。实际图片如下：<br />
<img src="/assets/uploads/files/1778753765415-yuv.jpg" alt="yuv.jpg" class=" img-responsive img-markdown" width="640" height="480" /></p>
<p dir="auto">且在linux下，通过tigerisp打开摄像头捕捉画面，即使加载了相同的头文件，效果依然远不如android下的效果，如下：<br />
<img src="/assets/uploads/files/1778753832042-622de1a2-64f6-424f-a4ba-0631dbae3312-image.png" alt="622de1a2-64f6-424f-a4ba-0631dbae3312-image.png" class=" img-responsive img-markdown" width="1104" height="672" /></p>
<p dir="auto">为什么使用相同的isp头文件会出现不同的效果。这会是什么导致的呢？</p>
]]></description><link>https://bbs.aw-ol.com/topic/7004/t527在linux下更新isp失败</link><generator>RSS for Node</generator><lastBuildDate>Mon, 18 May 2026 02:47:18 GMT</lastBuildDate><atom:link href="https://bbs.aw-ol.com/topic/7004.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 14 May 2026 10:19:10 GMT</pubDate><ttl>60</ttl></channel></rss>