通过键盘按2的方式进入烧录模式,烧录完程序后启动就成这样了,现在一直烧录不了程序有大佬知道是什么原因吗?
yuwei 发布的帖子
-
关于声卡FMINL和FMINR输入问题
声卡的FMINL/R接到RDA5807的输出,但是使用录制却没声音
平台是F1C100s,通过alsamixer设置FMINL/R声卡相关如图:
分别是:
ADC FM volume 70
ADC mixer mute for FML 00
ADC mixer mute for FMR 00
left mixer mute: FM 00
right mixer mute: FM 00arecord -Dhw:audiocodec -f S16_LE -r 16000 -c 2 | aplay - 使用这个命令无法听到声音。
使用这个命令录制咪头的声音是有输出的(这里只开了FM的,咪头开了就可以录制,开FM就没声音),难道录制FMINL/R不是这个命令,用大神知道吗?
-
tina 新建图层问题
按照文档的资料新建了一个图层
#include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include "sunxi_display2.h" #include <stdio.h> #include <string.h> #include <sys/ioctl.h> #include <sys/mman.h> #include <stdlib.h> int dispfd = 0; unsigned int addr[800*480] = {0xFF}; static void disp_set_add(void){ unsigned long arg[3] = {0}; struct disp_layer_config config; unsigned int width = 480; unsigned int height = 800; unsigned int ret = 0; memset(&config, 0, sizeof(struct disp_layer_config)); /*设置图层参数*/ config.channel = 0; config.layer_id = 0; config.enable = 1; config.info.mode = LAYER_MODE_BUFFER; // config.info.fb.addr[0] = (unsigned long long)0x48400000; config.info.fb.addr[0] = (unsigned long long)addr; config.info.fb.size[0].width = width; config.info.fb.size[0].height = height; config.info.fb.align[0] = 4; config.info.fb.format = DISP_FORMAT_ARGB_8888; /*设置crop 裁剪区域大小*/ config.info.fb.crop.x = 0; config.info.fb.crop.y = 0; config.info.fb.crop.width = (unsigned long long)width << 32; config.info.fb.crop.height = (unsigned long long)height << 32; config.info.fb.flags = DISP_BF_NORMAL; config.info.fb.scan = DISP_SCAN_PROGRESSIVE; config.info.alpha_mode = 2; config.info.alpha_value = 0xFF; config.info.zorder = 20; /*设置窗口大小*/ config.info.screen_win.x = 0; config.info.screen_win.y = 0; config.info.screen_win.width = width; config.info.screen_win.height = height; config.info.id = 0; arg[0] = 0; //显示器0 arg[1] = (unsigned long)&config; //图层配置 arg[2] = 1; //设置一个图层 ret = ioctl(dispfd, DISP_LAYER_SET_CONFIG, (void*)arg); if(ret < 0){ printf("disp_set_add fail to set layer info\n"); } } int main(int argc,char ** argv){ dispfd = open("dev/disp",O_RDWR); if(dispfd < 0){ printf("open display device fail!!!\n"); return -1; } disp_set_add(); while(1){ // memset(addr, 0xFF , 100); } } 62,0-1 64%
编译传到板子里运行发现的确增加了一个图层但是,屏幕却花屏了
-
关于df_andi
最近想测试mmp里的ai demo 但是 执行 df_andi
发现并没有这个命令,是不是要通过make menuconfig添加包如果是包的名字是什么有大佬知道吗? -
回复: V851s 修改spi nand flash 无法挂载根文件系统
@whycan YuzuKi 板子上默认的flash因为我用的不是tina5.0的sdk百问网的补丁只支持5.0的所以我自己改了一下,flash换的是GD5F1GQ4UBYIGR,百问网的补丁应该有对默认flash的支持但是我不知道那几个文件是,所以我索性直接换一个flash
-
回复: V851s 修改spi nand flash 无法挂载根文件系统
修改sys_config.fex
storage_type =5修改uboot-board.dts
修改make kernel_menuconfig
修改make menuconfig
修改env.cfg文件
-
V851s 修改spi nand flash 无法挂载根文件系统
根据这个 帖子-Tina Linux 存储介质切换 改的从spi nor 改成 spi nand 启动就无法挂载跟文件系统有大佬知道原因吗?
-
关于全志r7 和 v3s的区别问题
最近看到全志r7和r7s这两款芯片感觉和v3s好像啊他们3个之间到底有什么区别有大佬知道吗?还有一样的话是不是可以完美替换sdk也一样???????
-
回复: f1c200s trecorderdemo 问题
root@TinaLinux:/# trecorderdemo 0 ****************[ 337.652951] [VFE]vfe_open ************************************************************ * This program shows how to test trecorder ******************************************************[ 337.669948] [VFE]..........................vfe clk open!....................... ****************[ 337.679377] [VFE]vfe_open ok ****** >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tina_multimedia <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< tag : tina3.5 branch: tina-dev date : Mon Jul 15 19:04:59 2019 +0800 Change-Id: I5f6c8a88d7b387a312b7744797a0d5f8ab07ee7a ------------------------------------------------------------------------------- [ 337.712942] [VFE]Set csi core clk = 108000000, after Set csi core clk = 24000000 [ 337.732377] [VFE_WARN]os_gpio_set_status, hdl is INVALID [ 337.738540] [VFE_WARN]os_gpio_set_status, hdl is INVALID [ 337.786182] [VFE]mclk on [ 338.048047] overlayfs: ERROR - failed to whiteout 'recorder.cfg' [ 338.077837] overlayfs: ERROR - failed to whiteout 'recorder.cfg' [ 338.089637] [VFE]csi->frame_info.frm_byte_size = 471040 [ 338.132109] [VFE]queue_setup, buffer count=3, size=471040 debug : ionAlloc <__GetIonMemOpsS:985>:*** get __GetIonMemOpsS *** debug : ionAlloc <ion_alloc_open:134>:begin ion_alloc_open debug : cedarc <VeSetSpeed:1559>: *** set ve freq to 300 Mhz *** debug : cedarc <VeInitialize:1198>: ve init ok debug : ionAlloc <ion_alloc_open:175>:** phy offset = 40000000 debug : cedarc <VeRelease:1253>: ve release ok debug : cedarc <LogVersionInfo:40>: >>>>>>>>>>>>>>>>>>>>>>>>>>>>> Cedar Codec <<<<<<<<<<<<<<<<<<<<<<<<<<<< tag : createBranch_customize_sylix branch: CedarC-v1.1.9 commit: 4a182bd42c931bea2f77b0ff9a531d233df8541e date : Thu May 25 15:34:03 2017 +0800 author: jenkins8080 patch : ---------------------------------------------------------------------- debug : cedarc <VeSetSpeed:1559>: *** set ve freq to 300 Mhz *** debug : cedarc <VeInitialize:1198>: ve init ok debug : ionAlloc <__GetIonMemOpsS:985>:*** get __GetIonMemOpsS *** debug : ionAlloc <ion_alloc_open:134>:begin ion_alloc_open debug : cedarc <VideoEncInit:195>: (f:VideoEncInit, l:195) debug : cedarc <VideoEncInit:210>: (f:VideoEncInit, l:210) debug : cedarc <BitStreamCreate:102>: BitStreamCreate OK [ 338.352961] [VFE]ch0 capture video mode! [ 338.462892] [VFE]ch0 capture video first frame done! file count 1 change the output path to /mnt/UDISK/AW_front_video1.mp4 --------------------------------------------------------------------------------------------- | Preview Status | Preview Size | Audio Status | Water Mark | Recorder Status | --------------------------------------------------------------------------------------------- front | disable | full | normal | disable | start | --------------------------------------------------------------------------------------------- rear | | | | | | --------------------------------------------------------------------------------------------- RecorderCmd# [ 338.572845] [VFE_WARN]Only two buffer left for csi ch0 [ 338.682796] [VFE]ch0 capture video mode! [ 338.792744] [VFE]ch0 capture video first frame done! [ 338.798280] [VFE_WARN]Only two buffer left for csi ch0 [ 338.902693] [VFE]ch0 capture video mode! [ 339.012647] [VFE]ch0 capture video first frame done! [ 339.018183] [VFE_WARN]Only two buffer left for csi ch0 [ 339.122592] [VFE]ch0 capture video mode! [ 339.232548] [VFE]ch0 capture video first frame done! [ 339.238088] [VFE_WARN]Only two buffer left for csi ch0 [ 339.342488] [VFE]ch0 capture video mode! [ 339.452437] [VFE]ch0 capture video first frame done! [ 339.457968] [VFE_WARN]Only two buffer left for csi ch0 debug : cedarc <EncAdapterPrintTopVEReg:119>: --------- register of top level ve base:0xb6f8d000 ----------- debug : cedarc <EncAdapterPrintTopVEReg:122>: reg00:0000000b 00000000 00000000 00000000 debug : cedarc <EncAdapterPrintTopVEReg:122>: reg10:00000000 00000000 00000000 00000000 debug : cedarc <EncAdapterPrintTopVEReg:122>: reg20:00000000 00000000 00000000 00000000 debug : cedarc <EncAdapterPrintTopVEReg:122>: reg30:00000000 00000000 00000000 00000000 debug : cedarc <EncAdapterPrintTopVEReg:122>: reg40:00000000 00000000 00000000 00000000 debug : cedarc <EncAdapterPrintTopVEReg:122>: reg50:00000000 00000000 00000000 00000000 debug : cedarc <EncAdapterPrintTopVEReg:122>: reg60:00000000 00000000 00000000 00000000 debug : cedarc <EncAdapterPrintTopVEReg:122>: reg70:00000000 00000000 00000000 00000000 debug : cedarc <EncAdapterPrintTopVEReg:122>: reg80:00000000 00000000 00000000 00000000 debug : cedarc <EncAdapterPrintTopVEReg:122>: reg90:00000000 00000000 00000000 00000000 debug : ce[ 339.562389] [VFE]ch0 capture video mode! darc <EncAdapterPrintTopVEReg:122>: rega0:00000000 00000000 00000000 00000000 debug : cedarc <EncAdapterPrintTopVEReg:122>: regb0:00000000 00000000 00000000 00000000 debug : cedarc <EncAdapterPrintTopVEReg:122>: regc0:00000000 00000000 00000000 00000000 debug : cedarc <EncAdapterPrintTopVEReg:122>: regd0:00000000 00000000 00000000 00000000 debug : cedarc <EncAdapterPrintTopVEReg:122>: rege0:00000000 00000000 00000000 00000000 debug : cedarc <EncAdapterPrintTopVEReg:122>: regf0:16630040 00000000 00000000 00000000 debug : cedarc <EncAdapterPrintEncReg:132>: --------- register of ve encoder base:0xb6f8db00 ----------- debug : cedarc <EncAdapterPrintEncReg:135>: reg00:0028001e 00000100 00000a1a 00000000 debug : cedarc <EncAdapterPrintEncReg:135>: reg10:00000000 01000007 00000000 80000260 debug : cedarc <EncAdapterPrintEncReg:135>: reg20:00000001 00000000 00000000 00000000 debug : cedarc <EncAdapterPrintEncReg:135>: reg30:00000000 00000000 00000000 00000000 debug : cedarc <EncAdapterPrintEncReg:135>: reg40:00000000 00000000 00000000 00000000 debug : cedarc <EncAdapterPrintEncReg:135>: reg50:00000000 00000000 00000000 00000000 debug : cedarc <EncAdapterPrintEncReg:135>: reg60[ 339.672340] [VFE]ch0 capture video first frame done! [ 339.678712] [VFE_WARN]Only two buffer left for csi ch0 :00000000 00000000 00000000 00000000 debug : cedarc <EncAdapterPrintEncReg:135>: reg70:00000000 00000000 00000000 00000000 debug : cedarc <EncAdapterPrintEncReg:135>: reg80:42700000 42afffff 00000000 02000000 debug : cedarc <EncAdapterPrintEncReg:135>: reg90:00000048 00000000 00000000 00000000 debug : cedarc <EncAdapterPrintEncReg:135>: rega0:00000000 00000000 00000000 00000000 debug : cedarc <EncAdapterPrintEncReg:135>: regb0:00000000 00000000 00000000 00000000 debug : cedarc <EncAdapterPrintEncReg:135>: regc0:00000000 00000000 00000000 00000000 debug : cedarc <EncAdapterPrintEncReg:135>: regd0:00000000 00000000 00000000 00000000 debug : cedarc <EncAdapterPrintEncReg:135>: rege0:00000000 e28dd008 00000000 00000000 debug : cedarc <EncAdapterPrintEncReg:135>: regf0:00000000 00000000 00000000 00000000 debug : cedarc <EncAdapterPrintIspReg:147>: --------- register of ve isp base:0xb6f8da00 ----------- debug : cedarc <EncAdapterPrintIspReg:150>: reg00:0028001e 00280000 20010000 00000000 debug : cedarc <EncAdapterPrintIspReg:150>: reg10:00000000 00000028 00000000 00000000 debug : cedarc <EncAdapt[ 339.782294] [VFE]ch0 capture video mode! erPrintIspReg:150>: reg20:00000000 00000000 00000000 00440078 debug : cedarc <EncAdapterPrintIspReg:150>: reg30:00000000 00000000 00071055 00000000 debug : cedarc <EncAdapterPrintIspReg:150>: reg40:00000000 00000000 00000000 00000000 debug : cedarc <EncAdapterPrintIspReg:150>: reg50:00000000 00000000 00000000 00000000 debug : cedarc <EncAdapterPrintIspReg:150>: reg60:00000000 00000000 00000000 00000000 debug : cedarc <EncAdapterPrintIspReg:150>: reg70:00000000 00000000 42080000 420cb000 debug : cedarc <EncAdapterPrintIspReg:150>: reg80:420ddc00 00000000 00000000 00000000 debug : cedarc <EncAdapterPrintIspReg:150>: reg90:00000000 00000000 00000000 00000000 debug : cedarc <EncAdapterPrintIspReg:150>: rega0:00000000 00000000 00000000 00000000 debug : cedarc <EncAdapterPrintIspReg:150>: regb0:00000000 00000000 00000000 00000000 debug : cedarc <EncAdapterPrintIspReg:150>: regc0:00000000 00000000 00000000 00000000 debug : cedarc <EncAdapterPrintIspReg:150>: regd0:00000000 00000000 00000000 00000000 debug : cedarc <EncAdapterPrintIspReg:150>: rege0:00000100 00dd03ef 00000000 00000000 debug : cedarc <EncAdapterPrintIspReg:150>: regf0:00000000 00000000 00000000 00000000 error : cedarc <H264EncF[ 339.892245] [VFE]ch0 capture video first frame done! [ 339.898950] [VFE_WARN]Only two buffer left for csi ch0 rame:2618>: h264 encoder wait interrupt overtime ERROR : VideoEncoderComponent <VideoEncodeThread:272>: encode error [TR_ERR][NotifyCallbackForAwEncorder] error callback from AwRecorder 0. [ 340.002194] [VFE]ch0 capture video mode! [ 340.112144] [VFE]ch0 capture video first frame done! [ 340.117680] [VFE_WARN]Only two buffer left for csi ch0 [ 340.222092] [VFE]ch0 capture video mode! [ 340.332050] [VFE]ch0 capture video first frame done! [ 340.337586] [VFE_WARN]Only two buffer left for csi ch0 [ 340.441992] [VFE]ch0 capture video mode! [ 340.551950] [VFE]ch0 capture video first frame done! [ 340.557486] [VFE_WARN]Only two buffer left for csi ch0 [ 340.661884] [VFE]ch0 capture video mode! [ 340.771845] [VFE]ch0 capture video first frame done! [ 340.777382] [VFE_WARN]Only two buffer left for csi ch0 [ 340.881798] [VFE]ch0 capture video mode! [ 340.991740] [VFE]ch0 capture video first frame done! [ 340.997278] [VFE_WARN]Only two buffer left for csi ch0 [ 341.101687] [VFE]ch0 capture video mode! [ 341.211645] [VFE]ch0 capture video first frame done! [ 341.217184] [VFE_WARN]Only two buffer left for csi ch0 [ 341.321590] [VFE]ch0 capture video mode! [ 341.431544] [VFE]ch0 capture video first frame done! [ 341.437084] [VFE_WARN]Only two buffer left for csi ch0 [ 341.541491] [VFE]ch0 capture video mode! [ 341.651446] [VFE]ch0 capture video first frame done! [ 341.656981] [VFE_WARN]Only two buffer left for csi ch0 [ 341.761391] [VFE]ch0 capture video mode! [ 341.871339] [VFE]ch0 capture video first frame done! [ 341.876872] [VFE_WARN]Only two buffer left for csi ch0 [ 341.981292] [VFE]ch0 capture video mode! [ 342.091245] [VFE]ch0 capture video first frame done! [ 342.096780] [VFE_WARN]Only two buffer left for csi ch0 [ 342.201194] [VFE]ch0 capture video mode! [ 342.311145] [VFE]ch0 capture video first frame done! [ 342.316680] [VFE_WARN]Only two buffer left for csi ch0 [ 342.421093] [VFE]ch0 capture video mode! [ 342.531044] [VFE]ch0 capture video first frame done! [ 342.536579] [VFE_WARN]Only two buffer left for csi ch0 [ 342.640992] [VFE]ch0 capture video mode! [ 342.750945] [VFE]ch0 capture video first frame done! [ 342.756485] [VFE_WARN]Only two buffer left for csi ch0 [ 342.860884] [VFE]ch0 capture video mode! ^C[ 342.927114] [VFE]vfe_close [ 342.954872] [VFE]mclk off [ 342.993673] [VFE_WARN]os_gpio_set_status, hdl is INVALID [ 342.999732] [VFE_WARN]os_gpio_set_status, hdl is INVALID [ 343.017106] [VFE]..........................vfe clk close!....................... [ 343.032799] [VFE]vfe_close end
-
f1c200s trecorderdemo 问题
有大神在tina用过trecorderdemo 这个demo吗?
我用这个demo 屏幕无显示摄像头数据报错不知道什么情况?有没有大神帮助一下 -
gcc: error: unrecognized command line option '-mfloat-abi=soft' 编译软件包报错
编译 gst1-omx 报了这个错误是什么原因造成的有大佬知道吗
-
回复: 司徒gpsp游戏机模拟器源码移植到全志V3s/R11等soc (转)
@heidan 你板子开机进系统后 export SDL_NOMOUSE=1 输入这个命令再运行 ./gpsp XXX.gba 就ok了
-
回复: 司徒gpsp游戏机模拟器源码移植到全志V3s/R11等soc (转)
晕哥我又碰到问题了。 目前做到第(4)的步骤 这样是不是有问题的
还有下面的 2.确定可以显示(SDL) 是改 那个文件啊
-
回复: 司徒gpsp游戏机模拟器源码移植到全志V3s/R11等soc (转)
晕哥我编译后提升找不到 -lasound 是因为bouidroot 没配置好sdl 吗? 本人萌新不怎么懂
-
回复: d1s 该怎么修改生成分区文件大小
;--------------------------------------------------------------------------------------------------- ; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串 ;--------------------------------------------------------------------------------------------------- ;--------------------------------------------------------------------------------------------------- ; 固件下载参数配置 ;--------------------------------------------------------------------------------------------------- ;*************************************************************************************************** ; mbr的大小, 以Kbyte为单位 ;*************************************************************************************************** [mbr] size = 16384 ;*************************************************************************************************** ; 分区配置 ; ; ; partition 定义范例: ; [partition] ; //表示是一个分区 ; name = USERFS2 ; //分区名称 ; size = 16384 ; //分区大小 单位: 扇区.分区表示个数最多2^31 * 512 = 2T ; downloadfile = "123.fex" ; //下载文件的路径和名称,可以使用相对路径,相对是指相对于image.cfg文件所在分区。也可以使用绝对路径 ; keydata = 1 ; //私有数据分区,重新量产数据将不丢失 ; encrypt = 1 ; //采用加密方式烧录,将提供数据加密,但损失烧录速度 ; user_type = ? ; //私有用法 ; verify = 1 ; //要求量产完成后校验是否正确 ; ; 注:1、name唯一, 不允许同名 ; 2、name最大12个字符 ; 3、size = 0, 将创建一个无大小的空分区 ; 4、align to logical block size(504 sectors), leb size = 2*(1 nand phy block size - 1 phy page size) ;*************************************************************************************************** [partition_start] [partition] name = boot-resource size = 504 downloadfile = "boot-resource.fex" user_type = 0x8000 [partition] name = env size = 504 downloadfile = "env.fex" user_type = 0x8000 [partition] name = env-redund size = 504 downloadfile = "env.fex" user_type = 0x8000 [partition] name = boot size = 20480 downloadfile = "boot.fex" user_type = 0x8000 [partition] name = rootfs size = 20480000 downloadfile = "rootfs.fex" user_type = 0x8000
-
d1s 该怎么修改生成分区文件大小
我通过修改sys_partition.fex这个文件发现卷大小的确变大了,但是总体容量一直是124m,这个总体容量该怎么改,有没有大神帮助一下
-
编译时下载文件404
这个404 该怎么办
而且我发现tina make menuconfig 设置参数后 一旦出现报错 设置回来都没用了 就一直报错,不知道什么情况
小白第一次用tinan 有没有大神救救我
-
d1s tina 配置里添加dbus 之后编译出现了报错不知道怎么解决
在 make menuconfig 里添加了 这个 之后就开始编译报错
np_scene_utils.c: In function 'SetBootLock': np_scene_utils.c:121:19: error: 'CPU0LOCK' undeclared (first use in this function); did you mean 'F_ULOCK'? return setConfig(CPU0LOCK, bootlock); ^~~~~~~~ F_ULOCK np_scene_utils.c:121:19: note: each undeclared identifier is reported only once for each function it appears in np_scene_utils.c: In function 'SetRoomage': np_scene_utils.c:126:19: error: 'ROOMAGE' undeclared (first use in this function) return setConfig(ROOMAGE, roomage); ^~~~~~~ np_scene_utils.c: In function 'SetCpuFreq': np_scene_utils.c:173:32: error: 'CPUFREQ_AVAIL' undeclared (first use in this function) if(!GetActualFreq(actualfreq, CPUFREQ_AVAIL)) ^~~~~~~~~~~~~ np_scene_utils.c:175:12: error: 'CPUFREQ_MAX' undeclared (first use in this function) setConfig(CPUFREQ_MAX, actualfreq); ^~~~~~~~~~~ np_scene_utils.c:176:12: error: 'CPUFREQ_MIN' undeclared (first use in this function) setConfig(CPUFREQ_MIN, actualfreq); ^~~~~~~~~~~ np_scene_utils.c: In function 'SetCpuFreqMax': np_scene_utils.c:183:19: error: 'CPUFREQ_MAX' undeclared (first use in this function) return setConfig(CPUFREQ_MAX, cpu_freq_max); ^~~~~~~~~~~ np_scene_utils.c: In function 'SetCpuFreqMin': np_scene_utils.c:188:19: error: 'CPUFREQ_MIN' undeclared (first use in this function) return setConfig(CPUFREQ_MIN, cpu_freq_min); ^~~~~~~~~~~ np_scene_utils.c: In function 'GetCpuFreq': np_scene_utils.c:193:19: error: 'CPUFREQ' undeclared (first use in this function) return getConfig(CPUFREQ, buf, len); ^~~~~~~ np_scene_utils.c: In function 'GetCpuOnline': np_scene_utils.c:198:19: error: 'CPUONLINE' undeclared (first use in this function); did you mean 'CPU_SCENE'? return getConfig(CPUONLINE, buf, len); ^~~~~~~~~ CPU_SCENE np_scene_utils.c: In function 'GetCpuGov': np_scene_utils.c:203:19: error: 'CPU0GOV' undeclared (first use in this function) return getConfig(CPU0GOV, buf, len); ^~~~~~~ np_scene_utils.c: In function 'SetCpuGov': np_scene_utils.c:208:19: error: 'CPU0GOV' undeclared (first use in this function) return setConfig(CPU0GOV, cpu_gov); ^~~~~~~ np_scene_utils.c: In function 'SetCpuHot': np_scene_utils.c:213:19: error: 'CPUHOT' undeclared (first use in this function) return setConfig(CPUHOT, cpu_hot); ^~~~~~ np_scene_utils.c: In function 'SetCpuOnline': np_scene_utils.c:218:14: error: 'CPU_NUM_MAX' undeclared (first use in this function); did you mean 'UINT8_MAX'? char online[CPU_NUM_MAX]; ^~~~~~~~~~~ UINT8_MAX np_scene_utils.c: In function 'SetDramFreqAdaptive': np_scene_utils.c:260:19: error: 'DRAMMODE' undeclared (first use in this function); did you mean 'O_ACCMODE'? return setConfig(DRAMMODE, pause); ^~~~~~~~ O_ACCMODE np_scene_utils.c: In function 'SetDramFreq': np_scene_utils.c:268:32: error: 'DRAMFREQ_AVAIL' undeclared (first use in this function) if(!GetActualFreq(actualfreq, DRAMFREQ_AVAIL)) ^~~~~~~~~~~~~~ np_scene_utils.c:272:12: error: 'DRAMFREQ_MAX' undeclared (first use in this function); did you mean 'RAND_MAX'? setConfig(DRAMFREQ_MAX, actualfreq); ^~~~~~~~~~~~ RAND_MAX np_scene_utils.c:273:12: error: 'DRAMFREQ_MIN' undeclared (first use in this function) setConfig(DRAMFREQ_MIN, actualfreq); ^~~~~~~~~~~~ np_scene_utils.c: In function 'SetDramFreqMax': np_scene_utils.c:280:19: error: 'DRAMFREQ_MAX' undeclared (first use in this function); did you mean 'RAND_MAX'? return setConfig(DRAMFREQ_MAX, dram_freq_max); ^~~~~~~~~~~~ RAND_MAX np_scene_utils.c: In function 'SetDramFreqMin': np_scene_utils.c:285:19: error: 'DRAMFREQ_MIN' undeclared (first use in this function) return setConfig(DRAMFREQ_MIN, dram_freq_min); ^~~~~~~~~~~~ np_scene_utils.c: In function 'GetDramFreq': np_scene_utils.c:290:19: error: 'DRAMFREQ' undeclared (first use in this function); did you mean 'DRAM_SCENE'? return getConfig(DRAMFREQ, buf, len); ^~~~~~~~ DRAM_SCENE np_scene_utils.c: At top level: np_scene_utils.c:320:16: warning: initialization of 'int (*)(char *, int)' from incompatible pointer type 'int (*)(char *, size_t)' {aka 'int (*)(char *, long unsigned int)'} [-Wincompatible-pointer-types] .GetGpuFreq = GetGpuFreq, ^~~~~~~~~~ np_scene_utils.c:320:16: note: (near initialization for 'gpu_ops.GetGpuFreq') make[4]: *** [libscenemanager.so] Error 1 make[4]: Leaving directory `/home/yuwei/linux/D1s/d1_sdk_v2.0_repo_sync_local/tina_d1_open_v2/out/d1s-mq/compile_dir/target/nativepower/libscenemanager' make[3]: *** [/home/yuwei/linux/D1s/d1_sdk_v2.0_repo_sync_local/tina_d1_open_v2/out/d1s-mq/compile_dir/target/nativepower/.built] Error 2 make[3]: Leaving directory `/home/yuwei/linux/D1s/d1_sdk_v2.0_repo_sync_local/tina_d1_open_v2/package/allwinner/nativepower' make[2]: *** [package/allwinner/nativepower/compile] Error 2 make[2]: Leaving directory `/home/yuwei/linux/D1s/d1_sdk_v2.0_repo_sync_local/tina_d1_open_v2' make[1]: *** [/home/yuwei/linux/D1s/d1_sdk_v2.0_repo_sync_local/tina_d1_open_v2/out/d1s-mq/staging_dir/target/stamp/.package_compile] Error 2 make[1]: Leaving directory `/home/yuwei/linux/D1s/d1_sdk_v2.0_repo_sync_local/tina_d1_open_v2' make: *** [world] 错误 2 [4]+ 已完成 $T/tools/build/buildserver --path $T 2> /dev/null 1>&2 #### make failed to build some targets (14 seconds) #### root@yuwei-VirtualBox:/home/yuwei/linux/D1s/d1_sdk_v2.0_repo_sync_local/tina_d1_open_v2#
不知道什么情况 有没有大佬帮忙看一下
-
回复: D1s 根目录系统无法进入
@whycan pf2 被linux 5.4内核 设备树 文件里 串口给占用了,v2.0默认基于哪吒开发板的设备树吧。 我看被用来当串口了
-
回复: D1s 根目录系统无法进入
[AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0
[AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished
sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
sid_rd_ver_reg()254 - ver >= 4, soc ver:5
[SNDCODEC][sunxi_card_init][583]:card init finished
sunxi-mmc 4021000.sdmmc: card claims to support voltages below defined range
sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok
input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0
[SNDCODEC][sunxi_card_dev_probe][836]:register card finished
NET: Registered protocol family 10
Segment Routing with IPv6
[SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch
NET: Registered protocol family 17
sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator
sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
sunxi-i2c sunxi-i2c2: probe success
mmc0: new high speed SDIO card at address 0001
sun8iw20-pinctrl 2000000.pinctrl: pin PF2 already requested by 2500000.uart; cannot claim for 4020000.sdmmc
sun8iw20-pinctrl 2000000.pinctrl: pin-162 (4020000.sdmmc) status -22
sun8iw20-pinctrl 2000000.pinctrl: could not request pin 162 (PF2) from group PF2 on device 2000000.pinctrl
sunxi-mmc 4020000.sdmmc: Error applying setting, reverse things back
sunxi-mmc: probe of 4020000.sdmmc failed with error -22
sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
get ehci0-controller wakeup-source is fail.
sunxi ehci0-controller don't init wakeup source
[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe00068b0e0, 0x:ffffffd0040f2000, irq_no:2e
[sunxi-ehci0]: Not init ehci0
get ohci0-controller wakeup-source is fail.
sunxi ohci0-controller don't init wakeup source
[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe00068b4a8
[sunxi-ohci0]: Not init ohci0
clk: Not disabling unused clocks
ALSA device list:
platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
cfg80211: failed to load regulatory.db
#0: audiocodec
alloc_fd: slot 0 not NULL!
/dev/root: Can't open blockdev
VFS: Cannot open root device "mmcblk0p5" or unknown-block(0,0): error -6
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
CPU: 0 PID: 1 Comm: swapper Not tainted 5.4.61 #10
Call Trace:
[<ffffffe00002512c>] walk_stackframe+0x0/0x98
[<ffffffe0000252e4>] show_stack+0x2a/0x34
[<ffffffe000443280>] dump_stack+0x20/0x28
[<ffffffe0000296ec>] panic+0xec/0x272
[<ffffffe000000ef6>] mount_block_root+0x214/0x27a
[<ffffffe000000fe2>] mount_root+0x86/0x90
[<ffffffe000001134>] prepare_namespace+0x148/0x152
[<ffffffe000000b58>] kernel_init_freeable+0x166/0x198
[<ffffffe000453e34>] kernel_init+0x12/0xee
[<ffffffe000023e98>] ret_from_exception+0x0/0xc
---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---