当前位置:网站首页>Summary of problems in rv1109/rv1126 product development

Summary of problems in rv1109/rv1126 product development

2022-06-12 04:56:00 hi_ LeTian

After Hisilicon chips became bullish all the way until the supply was cut off , In the embedded face plate , I have been in contact with several chips , I'm too tired , Now at last RK This piece is fairly stable ! Search the Internet now , The face scheme may still be RK It's quite popular .

    Now? RK Also introduced 3568 Wait for a series of chips , It seems that we should make efforts to protect the security !

     however RK These plans are equally deep , see RK Provided SDK You know , Whole BSP The feeling is from Android From the system , There are no other traditional embedded solutions BSP The package is simple .

     I spent a lot of time on this chip 2~3 months , understand BSP, Audio and video processing methods , Transplantation of various libraries , Application adaptation , Then run the machine stability test 2 Months , It is also a variety of problems , Hardware , System , Software , It's tiring enough , Just to summarize !

  1. BSP Stability , Especially the kernel , System , stay 1.8 Of SDK There are many times when the kernel is used OOPS 了 , Sometimes the whole system hangs up , The watchdog is useless , Upgraded 2.0 The above SDK Will perform better ;
  2. Audio and video processing , The lower level is V4L2 The architecture of ,ISP It is also built on this layer , If your ISP There are various problems in the image , You can layer to see where the problem is , Is in SENSOR I have it , Still V4L2 Layer , Still ISP See... On the processing , Or in his MEDIA( If you use this ) Process... In the module VI,RGA, VO Which modules appear ?;
  3. Audio and video processing module can also be seen BSP Several processing methods are provided , The advice is simple Media Module processing , But this module is not complete , Not like Hess's MPP All kinds of functions have , Don't use it too hard , trigger N Such problems are also possible , The function is just right , It's not strong ;
  4. The audio sense is also a module that is relatively poor , In especial RK809, This product is processing audio , If the audio is full duplex , Not enough performance ! Reading and writing occurs ALSA Times wrong , Talk back , If you want the effect, connect an audio processing chip , Don't expect RK809 On , There is little hope that ,RK Provided 3A The algorithm is also very general ;
  5. This stuff UBOOT,KERNEL It handles all kinds of hardware such as screen , The network card is not very convenient , A lot of configuration is written in DTS in , It's not very compatible with different configurations of hardware ;
  6. Peripheral problems , Interruption problem , In the kernel you use delay These delay functions , There is no guarantee in the kernel , If you use GPIO To simulate the I2C, Microroots and so on lead to some peripheral devices CLK Control will have ; problem , It's also all kinds of pits ;
  7. RK Each chip has a copy called TRM Documents , This document describes various RK The register configuration of the chip , When something goes wrong , If you know this document, it will be very convenient , This part is not publicly placed in BSP In the document of , You need to apply separately ( I don't know RK Why not release ), It is suggested to find out , If you feel RK The various clock configurations are very complicated , If you have this document, you can easily determine whether there is a problem with your configuration by directly looking at the value of the register , What's the problem ( I miss the configuration of Hisilicon before , Direct operation of registers is simple and convenient , this RK Turn the mountain road to shibawan for you );
  8. The configuration of the power supply on the hardware is as follows FLASH, The Internet IO Several groups of power supply voltage must be configured normally , If it's not normal , Run these groups for a while IO It will hang up and cause the chip to be reimbursed , When making the second model in the early stage , Changed the circuit , No synchronization software , Many test prototypes on the test rack are reimbursed , It is estimated that too many companies have suffered losses in this regard ,2.0 After SDK After compilation , It directly prompts you to pay special attention to the configuration of these groups of power domains ! Still need to vomit RK809 It's terrible ! Or directly DCDC Way !!!
  9. ISP Image effect , If you do face recognition products ,OV2718,GC2093 The results are very good , There's no need for anything IMX327, Adjust the wide dynamic effect better , Algorithm to find a better , Such as the open sight of the big factory , Shang Tang and so on , The effect of benchmarking and identifying other products is basically OK;
  10. ISP Don't use it too hard , Too much force is also N Seed problem : Black screen , crash , Blurred screen , stripe !!!

In general, this chip , The feeling is to use it carefully , Easy to use , It's still relatively stable ;

原网站

版权声明
本文为[hi_ LeTian]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/03/202203010623365199.html