awwwwa 发布的帖子
-
回复: V853使用MIPI CSI接口是否只支持RAW格式像素?发布在 V Series
@xjy_5 一般来说配置sensor0_isp_used = <0>; 就不会调用ISP,虽然会配置但是不会处理。需要再跟踪一下调用
-
回复: V853使用MIPI CSI接口是否只支持RAW格式像素?发布在 V Series
sensor0:sensor@0 { device_type = "sensor0"; sensor0_mname = "gc2053_mipi"; /* 必须要和驱动的 SENSOR_NAME 一致 */ sensor0_twi_cci_id = <1>; /* 所使用的twi id号,本例中使用的是twi1,故填写为1 */ sensor0_twi_addr = <0x6e>; /* sensor 设备ID地址,必须与驱动中的I2C_ADDR一致 */ sensor0_mclk_id = <0>; /* 所使用的mclk id号,本例中使用的是MCLK0,故填写为0 */ sensor0_pos = "rear"; sensor0_isp_used = <1>; /* 所使用的sensor为raw sensor,需要过ISP处理,故填写为1 */ sensor0_fmt = <1>; /* sensor输出的图像格式,YUV:0,RAW:1 */ sensor0_stby_mode = <0>; sensor0_vflip = <0>; /* VIPP 图像垂直翻转 */ sensor0_hflip = <0>; /* VIPP 图像水平翻转 */ sensor0_iovdd-supply = <®_aldo2>;/* sensor iovdd 连接的 ldo,根据硬件原理图的连接来决定(在硬件原理图中搜索aldo,然后找到CSI-iovdd对应的 是哪一个aldo即可) */ sensor0_iovdd_vol = <1800000>; /* iovdd的电压 */ sensor0_avdd-supply = <®_bldo2>; /* sensor avdd连接的 ldo,根据硬件原理图的连接来决定 */ sensor0_avdd_vol = <2800000>; /* 同上 */ sensor0_dvdd-supply = <®_dldo2>; /* 同上 */ sensor0_dvdd_vol = <1200000>; /* 同上 */ sensor0_power_en = <>; sensor0_reset = <&pio PA 11 1 0 1 0>; /* GPIO 信息配置:pio 端口 组内序号 功能分配 内部电阻状态 驱动能力 输出电平状态,本例中使用的是PA11*/ sensor0_pwdn = <&pio PA 9 1 0 1 0>; /* GPIO 信息配置:pio 端口 组内序号 功能分配 内部电阻状态 驱动能力 输出电平状态,本例中使用的是PA9*/ flash_handle = <&flash0>; act_handle = <&actuator0>; status = "okay"; };填写
Sensor输出图像格式
sensor输出图像格式定义在sensor_format_struct结构体中,vin v4l2驱动框架通过获取sensor_format_struct结构体成员信息来获取当前sensor输出图像格式,sensor_formats结构体中需要填写的成员是.desc和.mbus_code。
.desc是描述sensor输出的图像格式,本例中gc2053是RGB Raw sensor,故.desc成员填写为"Raw RGB Bayer"。.mbus_code为sensor图像数据输出顺序,sensor RAW图像是以Bayer格式传输的(每个像素只表示RGB其中一个分量),常见的Bayer格式为:RGGB、BGGR、GRBG、GBRG,这个可以询问一下sensor原厂或者翻阅sensor datasheet进行查找。.mbus_code若填错, 会导致色彩偏紫红和出现网格状纹理。 本例中
gc2053图像输出格式为RGGB,且当前的配置是10bit mipi接口,故.mbus_code填写为
MEDIA_BUS_FMT_SRGGB10_1X10,若当前调试的sensor配置是8bit输出,
则.mbus_code填写为MEDIA_BUS_FMT_SRGGB8_1X8,按照这种规则进行填写。static struct sensor_format_struct sensor_formats[] = { { .desc = "Raw RGB Bayer", /* 填写 Sensor 初始化时默认的 Bayer 格式,目的是告知主控端ISP当前图像的 Bayer 格式,ISP需要以同样的格式来接收和处理图像数据 */ .mbus_code = MEDIA_BUS_FMT_SRGGB10_1X10, .regs = sensor_fmt_raw, .regs_size = ARRAY_SIZE(sensor_fmt_raw), .bpp = 1 }, }; 如果
sensor输出图像格式是YUV的话,则需要根据sensor图像数据输出顺序选择YUYV/VYUY/UYVY/YVYU其中一种,如下:static struct sensor_format_struct sensor_formats[] = { { .desc = "YUYV 4:2:2", .mbus_code = MEDIA_BUS_FMT_YUYV8_2X8, .regs = sensor_fmt_raw, .regs_size = ARRAY_SIZE(sensor_fmt_raw), .bpp = 2, }, }; 同时,
sensor_get_fmt_mbus_core函数也要将当前sensor的图像输出格式赋值给函数参数*code,有些sensor在翻转后RGB顺序不会自动进行调整,需要主控端ISP需要按照当前sensor翻转后的图像格式更新RGB顺序,避免翻转后出现图像色彩异常的问题,如下,gc2053支持翻转后sensor内部自动调整RGB顺序,所以函数参数*code仍赋值为MEDIA_BUS_FMT_SRGGB10_1X10。static int sensor_get_fmt_mbus_core(struct v4l2_subdev *sd, int *code) { *code = MEDIA_BUS_FMT_SRGGB10_1X10; // gc2053 support change the rgb format by itself } static long sensor_ioctl(struct v4l2_subdev *sd, unsigned int cmd, void *arg) { int ret = 0; struct sensor_info *info = to_state(sd); switch (cmd) { case VIDIOC_VIN_GET_SENSOR_CODE: /* vin v4l2框架层在sensor翻转接口被调用后, 通过VIDIOC_VIN_GET_SENSOR_CODE获取当前sensor的RGB顺序 */ sensor_get_fmt_mbus_core(sd, (int *)arg); break; default: return -EINVAL; } return ret; } -
回复: V851S SPI2 死机发布在 V Series
对照手册:
-
SPI2 地址 0x04027000, 没问题

-
SPI2 中断号 49,配置时需要减掉SIG和PPI的数量32,也就是17

中断号配置错误,应该为17不是18
spi2: spi@04027000 { #address-cells = <1>; #size-cells = <0>; compatible = "allwinner,sun8i-spi"; device_type = "spi2"; reg = <0x0 0x04027000 0x0 0x1000>; interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>; clocks = <&clk_pll_periph0300m>, <&clk_spi2>; status = "disabled"; }; -
-
回复: V853使用MIPI CSI接口是否只支持RAW格式像素?发布在 V Series
重新确认了一下,MIPI 接受的数据格式与MIPI无关,也就是MIPI也可以接收YUV这类数据。
是否是因为后端配置的问题。参考T507的TC358743驱动配置的是
MEDIA_BUS_FMT_UYVY8_2X8 -
回复: V853使用MIPI CSI接口是否只支持RAW格式像素?发布在 V Series
@xjy_5 RGB888_1X24 我感觉是直出RGB信号的吧
这个DTSI是在T507上配置的,可以参考一下
vind0:vind@0 { compatible = "allwinner,sunxi-vin-media", "simple-bus"; #address-cells = <2>; #size-cells = <2>; ranges; device_id = <0>; vind0_clk = <384000000>; reg = <0x0 0x06600800 0x0 0x200>, <0x0 0x06600000 0x0 0x800>; clocks = <&clk_csi_top>, <&clk_pll_csi>, <&clk_csi_master0>, <&clk_hosc>, <&clk_pll_csi>, <&clk_csi_master1>, <&clk_hosc>, <&clk_pll_csi>; pinctrl-names = "mclk0-default","mclk0-sleep","mclk1-default","mclk1-sleep"; pinctrl-0 = <&csi_mclk0_pins_a>; pinctrl-1 = <&csi_mclk0_pins_b>; pinctrl-2 = <&csi_mclk1_pins_a>; pinctrl-3 = <&csi_mclk1_pins_b>; status = "okay"; csi_cci0:cci@0 { compatible = "allwinner,sunxi-csi_cci"; reg = <0x0 0x06614000 0x0 0x400>; interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>; pinctrl-names = "default","sleep"; pinctrl-0 = <&csi_cci0_pins_a>; pinctrl-1 = <&csi_cci0_pins_b>; device_id = <0>; status = "okay"; }; csi_cci1:cci@1 { compatible = "allwinner,sunxi-csi_cci"; reg = <0x0 0x06614400 0x0 0x400>; interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>; pinctrl-names = "default","sleep"; pinctrl-0 = <&csi_cci1_pins_a>; pinctrl-1 = <&csi_cci1_pins_b>; device_id = <1>; status = "okay"; }; csi0:csi@0 { device_type = "csi0"; compatible = "allwinner,sunxi-csi"; reg = <0x0 0x06601000 0x0 0x1000>; interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; device_id = <0>; iommus = <&mmu_aw 4 1>; status = "okay"; }; csi1:csi@1 { device_type = "csi1"; compatible = "allwinner,sunxi-csi"; reg = <0x0 0x06602000 0x0 0x1000>; interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>; pinctrl-names = "default","sleep"; pinctrl-0 = <&csi1_pins_a>; pinctrl-1 = <&csi1_pins_b>; device_id = <1>; iommus = <&mmu_aw 4 1>; status = "okay"; }; mipi0:mipi@0 { compatible = "allwinner,sunxi-mipi"; reg = <0x0 0x0660C000 0x0 0x1000>; interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>; device_id = <0>; status = "okay"; }; isp0:isp@0 { compatible = "allwinner,sunxi-isp"; device_id = <0>; status = "okay"; }; isp1:isp@1 { compatible = "allwinner,sunxi-isp"; device_id = <1>; status = "okay"; }; scaler0:scaler@0 { compatible = "allwinner,sunxi-scaler"; device_id = <0>; iommus = <&mmu_aw 4 1>; status = "okay"; }; scaler1:scaler@1 { compatible = "allwinner,sunxi-scaler"; device_id = <1>; iommus = <&mmu_aw 4 1>; status = "okay"; }; scaler2:scaler@2 { compatible = "allwinner,sunxi-scaler"; device_id = <2>; iommus = <&mmu_aw 4 1>; status = "okay"; }; scaler3:scaler@3 { compatible = "allwinner,sunxi-scaler"; device_id = <3>; iommus = <&mmu_aw 4 1>; status = "okay"; }; scaler4:scaler@4 { compatible = "allwinner,sunxi-scaler"; device_id = <4>; iommus = <&mmu_aw 4 1>; status = "okay"; }; scaler5:scaler@5 { compatible = "allwinner,sunxi-scaler"; device_id = <5>; iommus = <&mmu_aw 4 1>; status = "okay"; }; actuator0:actuator@0 { device_type = "actuator0"; compatible = "allwinner,sunxi-actuator"; actuator0_name = "ad5820_act"; actuator0_slave = <0x18>; actuator0_af_pwdn = <>; actuator0_afvdd = "afvcc-csi"; actuator0_afvdd_vol = <2800000>; status = "disabled"; }; flash0:flash@0 { device_type = "flash0"; compatible = "allwinner,sunxi-flash"; flash0_type = <2>; flash0_en = <>; flash0_mode = <>; flash0_flvdd = ""; flash0_flvdd_vol = <>; device_id = <0>; status = "disabled"; }; sensor0:sensor@0 { device_type = "sensor0"; compatible = "allwinner,sunxi-sensor"; sensor0_mname = "tc358743_mipi"; sensor0_twi_cci_id = <2>; sensor0_twi_addr = <0x1f>; sensor0_mclk_id = <0>; sensor0_pos = "rear"; sensor0_isp_used = <0>; sensor0_fmt = <0>; sensor0_stby_mode = <0>; sensor0_vflip = <0>; sensor0_hflip = <0>; sensor0_cameravdd-supply = <>; sensor0_cameravdd_vol = <2800000>; sensor0_iovdd-supply = <®_cldo4>; sensor0_iovdd_vol = <1800000>; sensor0_avdd-supply = <>; sensor0_avdd_vol = <>; sensor0_dvdd-supply = <>; sensor0_dvdd_vol = <>; sensor0_power_en = <>; sensor0_reset = <&pio PI 8 1 0 1 0>; sensor0_pwdn = <>; sensor0_sm_vs = <>; flash_handle = <&flash0>; act_handle = <&actuator0>; device_id = <0>; status = "okay"; }; sensor1:sensor@1 { device_type = "sensor1"; compatible = "allwinner,sunxi-sensor"; sensor1_mname = "ov5647"; sensor1_twi_cci_id = <1>; sensor1_twi_addr = <0x6c>; sensor1_mclk_id = <1>; sensor1_pos = "front"; sensor1_isp_used = <0>; sensor1_fmt = <0>; sensor1_stby_mode = <0>; sensor1_vflip = <0>; sensor1_hflip = <0>; sensor1_cameravdd-supply = <>; sensor1_cameravdd_vol = <2800000>; sensor1_iovdd-supply = <>; sensor1_iovdd_vol = <2800000>; sensor1_avdd-supply = <>; sensor1_avdd_vol = <2800000>; sensor1_dvdd-supply = <>; sensor1_dvdd_vol = <1500000>; sensor1_power_en = <>; sensor1_reset = <&pio PE 14 1 0 1 0>; sensor1_pwdn = <&pio PE 15 1 0 1 0>; sensor1_sm_vs = <>; flash_handle = <>; act_handle = <>; device_id = <1>; status = "disable"; }; vinc0:vinc@0 { device_type = "vinc0"; compatible = "allwinner,sunxi-vin-core"; reg = <0x0 0x06609000 0x0 0x200>; interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>; vinc0_csi_sel = <0>; vinc0_mipi_sel = <0>; vinc0_isp_sel = <0>; vinc0_isp_tx_ch = <0>; vinc0_rear_sensor_sel = <0>; vinc0_front_sensor_sel = <0>; vinc0_sensor_list = <0>; device_id = <0>; iommus = <&mmu_aw 4 1>; status = "okay"; }; vinc1:vinc@1 { device_type = "vinc1"; compatible = "allwinner,sunxi-vin-core"; reg = <0x0 0x06609200 0x0 0x200>; interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>; vinc1_csi_sel = <0>; vinc1_mipi_sel = <0>; vinc1_isp_sel = <0>; vinc1_isp_tx_ch = <0>; vinc1_rear_sensor_sel = <0>; vinc1_front_sensor_sel = <0>; vinc1_sensor_list = <0>; device_id = <1>; iommus = <&mmu_aw 4 1>; status = "okay"; }; vinc2:vinc@2 { device_type = "vinc2"; compatible = "allwinner,sunxi-vin-core"; reg = <0x0 0x06609400 0x0 0x200>; interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>; vinc2_csi_sel = <0>; vinc2_mipi_sel = <0>; vinc2_isp_sel = <0>; vinc2_isp_tx_ch = <0>; vinc2_rear_sensor_sel = <0>; vinc2_front_sensor_sel = <0>; vinc2_sensor_list = <0>; device_id = <2>; iommus = <&mmu_aw 4 1>; status = "disabled"; }; vinc3:vinc@3 { device_type = "vinc3"; compatible = "allwinner,sunxi-vin-core"; reg = <0x0 0x06609600 0x0 0x200>; interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>; vinc3_csi_sel = <0>; vinc3_mipi_sel = <0>; vinc3_isp_sel = <0>; vinc3_isp_tx_ch = <0>; vinc3_rear_sensor_sel = <0>; vinc3_front_sensor_sel = <0>; vinc3_sensor_list = <0>; device_id = <3>; iommus = <&mmu_aw 4 1>; status = "disabled"; }; vinc4:vinc@4 { device_type = "vinc4"; compatible = "allwinner,sunxi-vin-core"; reg = <0x0 0x06609800 0x0 0x200>; interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>; vinc4_csi_sel = <1>; vinc4_mipi_sel = <0xff>; vinc4_isp_sel = <1>; vinc4_isp_tx_ch = <0>; vinc4_rear_sensor_sel = <1>; vinc4_front_sensor_sel = <1>; vinc4_sensor_list = <0>; device_id = <4>; iommus = <&mmu_aw 5 1>; status = "disabled"; }; vinc5:vinc@5 { device_type = "vinc5"; compatible = "allwinner,sunxi-vin-core"; reg = <0x0 0x06609A00 0x0 0x200>; interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>; vinc5_csi_sel = <1>; vinc5_mipi_sel = <0xff>; vinc5_isp_sel = <1>; vinc5_isp_tx_ch = <0>; vinc5_rear_sensor_sel = <1>; vinc5_front_sensor_sel = <1>; vinc5_sensor_list = <0>; device_id = <5>; iommus = <&mmu_aw 5 1>; status = "disabled"; }; }; -
回复: SDK文件夹移动位置后编译出来的img 烧录到板子上,报硬件检查错误,怎么回事?发布在 编译和烧写问题专区
@hy123456 移动位置后需要删除out文件夹,因为SDK生成的设备的认证信息变化了但是由于SDK移动没有重新生成新的认证
-
回复: V853 DDR原理图问题发布在 V Series
AW平台的DRAM控制器支持地址线REMAP,可以通过REMAP简化外部不同种类的DRAM的连接。
这个REAMP是固定在芯片里的不能自己修改,在电路原理图可以看到REMAP的引脚。
如图,如果需要挂DDR3内存,需要接DDR3的REAMP,如果需要接DDR2,可以接默认的REMAP

举个其他平台的例子:
这里接的是 LPDDR4,使用LPDDR4的REMAP

这里接的是DDR4,使用DDR4的REMAP

-
回复: 請問大大誰有usb驅動程式能下載?发布在 爱搞机专区
@abc16883
下载工具:
AllwinnertechPhoeniSuitRelease20230905.zip下载驱动:
全志USB烧录驱动20201229 -
回复: 摄像头无法获取图像发布在 V Series
Out of memory 没有内存了,camerademo走的拍摄路径是v4l2不是mpp的vipp路径,需要的内存较大,可以尝试拍摄小分辨率的图片测试
[CAMERA] Resolution size : 1920 * 1088
-
回复: 想给R128移植上LVGL按照教程结果失败发布在 A Series
- 出现重复定义,请问是不是同时勾选了 lv_examples 和 lv_g2d_test
- 分区表配置的空间过小,FAQ有解决方法:https://r128.docs.aw-ol.com/others/faq/
-
回复: T113输出日志,是不是片子坏了啊发布在 其它全志芯片讨论区
@huerli 在 T113输出日志,是不是片子坏了啊 中说:
BUG: Bad page map in process S10mdev pte:40cdf59f pmd:41bb1835
主线驱动缺陷导致mdev申请出现NULL pointer。可以尝试使用新内核
-
回复: R128驱动SD卡失败发布在 A Series
- SanDisk HIGH ENDURABCE 32G SDHC Pass


- SanDisk Ultra 128G SDXC Pass


- NOKIA 2.0G Fail


- Unknow SD 120M SDHC Pass


- Kingston 4G SDHC Pass


- Micro SD 512M SDHC Pass


- ADATA Micro SD 2G SDHC Pass


- Kioxia exceria 32G SDHC Pass


- SanDisk Ultra 16GB SDHC Pass


- SanDisk HIGH ENDURABCE 32G SDHC Pass
-
回复: R128驱动SD卡失败发布在 A Series
[sdc0] card_ctrl = 0 card_high_speed = 0 card_line = 4 sdc_d1 = port:PA27<2><1><3><default> sdc_d0 = port:PA26<2><1><3><default> sdc_clk = port:PA29<2><1><3><default> sdc_cmd = port:PA25<2><1><3><default> sdc_d3 = port:PA24<2><1><3><default> sdc_d2 = port:PA28<2><1><3><default> [sdc0det_para] sdc0_det = port:PA23<0><1><3><1>适配 EVT 的测试镜像:
be810818-4bc0-447f-8705-d5d70abd8813-rtos_freertos_r128s2_evt_uart0_16Mnor.img -
回复: R128的屏幕颜色显示异常时怎么回事?发布在 A Series
jlt35031c是比较少见的小端屏,但是大部分的SPI屏都是大端屏,所以用jlt35031c时,需要修改sys_config.fex里面的配置项lcd_rgb_order为9.
unsigned char color[4] = {0xff,0x0,0xff,0x0};
这个数组决定颜色,颜色顺序是R(红) G(绿) B(蓝) A(亮度)。
所以红色 + 蓝色,应该是紫色
但是这里由于使用的是SPI接口驱动这个屏幕,并不支持lcd_rgb_order的参数配置。所以在屏幕初始化的时候通过写寄存器配置为对应的接口以支持LVGL的正确显示输出。但是测试命令可能会出现反色的情况。
-
回复: R128-S2 驱动 1024x600 RGB 显示屏 并运行 LVGL发布在 A Series
屏参改一下
lcd_driver_name = "default_lcd" lcd_backlight = 150 lcd_if = 0 lcd_x = 1024 lcd_y = 600 lcd_width = 150 lcd_height = 94 lcd_rb_swap = 0 lcd_dclk_freq = 48 lcd_pwm_used = 1 lcd_pwm_ch = 7 lcd_pwm_freq = 500000 lcd_pwm_pol = 1 lcd_hbp = 160 lcd_ht = 1344 lcd_hspw = 20 lcd_vbp = 20 lcd_vt = 635 lcd_vspw = 3 lcd_lvds_if = 0 lcd_lvds_colordepth = 1 lcd_lvds_mode = 0 lcd_frm = 0 lcd_io_phase = 0x0000 lcd_gamma_en = 0 lcd_bright_curve_en = 0 lcd_cmap_en = 0 -
回复: Android13编译不过发布在 编译和烧写问题专区
感觉是环境配置有问题
试试:- 重开一个终端
- 重新 source build/envsetup.sh
- 重新 ./longan/build.sh config
- ./longan/build.sh distclean
- make installclean
- lunch
-
R128-S2 驱动 1024x600 RGB 显示屏 并运行 LVGL发布在 A Series
由于屏幕较大首先精简系统内存,关闭DSP核心,并将 RV 核心移到 HSPSRAM 上提高带宽。配置 LV_COLOR_DEPTH 16 提高帧率降低内存占用
patch 如下,增加了新方案r128-devkit-rgb:161ca91b-f759-4108-8bfc-85114394da0c-r128-devkit-rgb.tar.gz
编译打包即可
700ms启动 LVGL:
-
回复: 全志 DDR初始化 v3s发布在 其它全志芯片讨论区
@casdfxx 这个代码是u-boot提供的,具体问题可以访问 https://lists.denx.de/listinfo/u-boot 寻求帮助。
裸机工程:https://github.com/xboot/xboot/tree/master/src/arch/arm32/mach-v3s
-
回复: 寻求tina的display 官方文档说明,感谢发布在 V Series
disp init configuration disp_mode (0:screen0<screen0,fb0>) screenx_output_type (0:none; 1:lcd; 2:tv; 3:hdmi;5:vdpo) screenx_output_mode (used for hdmi output, 0:480i 1:576i 2:480p 3:576p 4:720p50) (5:720p60 6:1080i50 7:1080i60 8:1080p24 9:1080p50 10:1080p60) screenx_output_format (for hdmi, 0:RGB 1:yuv444 2:yuv422 3:yuv420) screenx_output_bits (for hdmi, 0:8bit 1:10bit 2:12bit 2:16bit) screenx_output_eotf (for hdmi, 0:reserve 4:SDR 16:HDR10 18:HLG) screenx_output_cs (for hdmi, 0:undefined 257:BT709 260:BT601 263:BT2020) screenx_output_dvi_hdmi (for hdmi, 0:undefined 1:dvi mode 2:hdmi mode) screen0_output_range (for hdmi, 0:default 1:full 2:limited) screen0_output_scan (for hdmi, 0:no data 1:overscan 2:underscan) screen0_output_aspect_ratio (for hdmi, 8-same as original picture 9-4:3 10-16:9 11-14:9) fbx format (4:RGB655 5:RGB565 6:RGB556 7:ARGB1555 8:RGBA5551 9:RGB888 10:ARGB8888 12:ARGB4444) fbx pixel sequence (0:ARGB 1:BGRA 2:ABGR 3:RGBA) fb0_scaler_mode_enable(scaler mode enable, used FE) fbx_width,fbx_height (framebuffer horizontal/vertical pixels, fix to output resolution while equal 0) lcdx_backlight (lcd init backlight,the range:[0,256],default:197 lcdx_yy (lcd init screen bright/contrast/saturation/hue, value:0~100, default:50/50/57/50) lcd0_contrast (LCD contrast, 0~100) lcd0_saturation (LCD saturation, 0~100) lcd0_hue (LCD hue, 0~100) framebuffer software rotation setting: disp_rotation_used: (0:disable; 1:enable,you must set fbX_width to lcd_y, set fbX_height to lcd_x) degreeX: (X:screen index; 0:0 degree; 1:90 degree; 3:270 degree) degreeX_Y: (X:screen index; Y:layer index 0~15; 0:0 degree; 1:90 degree; 3:270 degree) devX_output_type : config output type in bootGUI framework in UBOOT-2018. (0:none; 1:lcd; 2:tv; 4:hdmi;) devX_output_mode : config output resolution(see include/video/sunxi_display2.h) of bootGUI framework in UBOOT-2018 devX_screen_id : config display index of bootGUI framework in UBOOT-2018 devX_do_hpd : whether do hpd detectation or not in UBOOT-2018 chn_cfg_mode : Hardware DE channel allocation config. 0:single display with 6 channel, 1:dual display with 4 channel in main display and 2 channel in second display, 2:dual display with 3 channel in main display and 3 channel in second in display. -
回复: 求高人指点! ISP通路测试 sample_vin_isp_test 报错发布在 V Series
@xjy_5 tc358743有现成的驱动,可以试一下
sensor0:sensor@0 { device_type = "sensor0"; compatible = "allwinner,sunxi-sensor"; sensor0_mname = "tc358743_mipi"; sensor0_twi_cci_id = <2>; sensor0_twi_addr = <0x1f>; sensor0_mclk_id = <0>; sensor0_pos = "rear"; sensor0_isp_used = <0>; sensor0_fmt = <0>; sensor0_stby_mode = <0>; sensor0_vflip = <0>; sensor0_hflip = <0>; sensor0_cameravdd-supply = <>; sensor0_cameravdd_vol = <2800000>; sensor0_iovdd-supply = <®_cldo4>; sensor0_iovdd_vol = <1800000>; sensor0_avdd-supply = <>; sensor0_avdd_vol = <>; sensor0_dvdd-supply = <>; sensor0_dvdd_vol = <>; sensor0_power_en = <>; sensor0_reset = <&pio PI 8 1 0 1 0>; sensor0_pwdn = <>; sensor0_sm_vs = <>; flash_handle = <&flash0>; act_handle = <&actuator0>; device_id = <0>; status = "okay"; };sensor0_isp_used 配置了不使用 ISP
sensor0_isp_used = <0>; -
回复: 求助全志大佬,有没有XR806的windows环境下的开发指导手册发布在 Wireless & Analog Series
@rookie 但是没有unix编译环境,另外cygwin如果之前没有用过坑比linux下还大
-
回复: V851s VIP lite有无多模型的示例?发布在 V Series
创建模型 vip_create_network(&network1); vip_prepare_network(network1); vip_create_network(&network2); vip_prepare_network(network2); 设置模型输入输出 // set network input/output buffer 创建执行组 vip_create_group(max, &group); // max = 2 vip_add_network(group, network1); vip_add_network(group, network2); 执行 vip_run_group(group, max); 获取输出结果 销毁 vip_finish_network(network1); vip_finish_network(network2); vip_destroy_buffer // 销毁input/output vip_destroy_group(group); -
Tina Linux 使用 adb dump、修改设备的 rootfs发布在 MR Series
adb 可用时可以直接读取 /dev/by-name/rootfs 将rootfs导出来
adb pull /dev/by-name/rootfs rootfs.img也可以push到tmp文件夹然后dd写入
adb push rootfs.img /tmp dd if=/tmp/rootfs.img of=/dev/by-name/rootfs -
回复: 为什么添加Gstreamer后会报这个错误发布在 MR Series
@uccccc 在 为什么添加Gstreamer后会报这个错误 中说:
@awwwwa 麻烦问一下这个应该怎麼添加,有没有相关的资料亚
-
回复: t113-i开启CONFIG_CAN_SUN8I=y配置后编译报错发布在 其它全志芯片讨论区
内核配置去掉宏:CONFIG_STACKPROTECTOR和CONFIG_STACKPROTECTOR_STRONG。
-
R128 打包出现 ERROR: update_mbr failed发布在 A Series
24993+0 records in 24993+0 records out 6398208 bytes (6.4 MB) copied, 0.0271082 s, 236 MB/s ERROR: dl file rtos_riscv.fex size too large ERROR: filename = rtos_riscv.fex ERROR: dl_file_size = 1579 sector ERROR: part_size = 1000 sector ERROR: update mbr file fail ERROR: update_mbr failed这是因为
rootfs.fex太大了,分区容量设置过小。解决方法
- 确定打包使用的分区表
运行打包命令,找到打包使用发分区表。例如这里使用的是
sys_partition_xip.fex- 编辑分区表
使用
cconfigs命令进入目录,找到打包使用的分区表,编辑修改-
找到上面报错的行,修改
size选项,单位是扇区。对于 NOR 方案请对齐。这里我们修改到7000 -
重新打包,正常通过
-
回复: 使用ffmpeg网络推流,用usb摄像头能正常使用,用mipi摄像头同样的操作下返回找不到设备的错误,实际上我/dev/下是有videox生成的发布在 V Series
@vincent1 需要修改ffmpeg从vipp获取数据,或者使用mpp推流不使用ffmpeg
-
回复: 使用ffmpeg网络推流,用usb摄像头能正常使用,用mipi摄像头同样的操作下返回找不到设备的错误,实际上我/dev/下是有videox生成的发布在 V Series
mipi摄像头需要走vipp通路,video0只有一个很基础的v4l2设备,上层需要更多的处理,例如isp,3a等,usb走uvc直接对接v4l2提供全部功能
-
回复: R329 tina 启动卡死问题发布在 A Series
@kkkcxf 在 R329 tina 启动卡死问题 中说:
Waiting for root device /dev/mmcblk0p4...
rootfs配置问题,不是卡死了而是等待挂载ROOTFS
-
回复: Gaviar Handheld (小志掌機)发布在 爱搞机专区
@yofa2008 img不是磁盘镜像文件,是专有的压缩格式,不带分区表。可以用OpenixCard转换为dd可以写入的带分区表的镜像
-
回复: camerademo.c修改后编译打包的camerademo不变发布在 V Series
@mysteryli 可以到 out/v853/xxxx/openwrt/build_dir/target/camerademo/ipkg-install/usr
-
回复: 抓图报错[VIN_ERR]isp0 width error,求给个排查思路发布在 V Series
@xjy_5 在 抓图报错[VIN_ERR]isp0 width error,求给个排查思路 中说:
首先,isp配置错误
[VIN_ERR]isp0 configuration error
isp fifo为空
[VIN_ERR]isp0 internal fifo full
isp 帧错误
[VIN_ERR]isp0 frame lost!
如果不需要使用isp,可以修改sample的源码删除isp处理部分,并且修改设备树禁用isp
-
回复: 有没有大佬知道这个f1c100s和stm32去通信,配置好烧到板子上串口走不下去了发布在 Linux
@gaowei15537316965 SPI驱动参考 Linux 编写spidev驱动即可
-
回复: 有没有大佬知道这个f1c100s和stm32去通信,配置好烧到板子上串口走不下去了发布在 Linux
F1C100s 与 STM32 通讯是需要通过外设接口,例如UART,SPI,IIC,SDIO来通讯,你看到的这个 DMA 控制器驱动是给STM32MP用的,不是给F1C100s用的
-
回复: 有没有大佬知道这个f1c100s和stm32去通信,配置好烧到板子上串口走不下去了发布在 Linux
为什么F1C100s的DMA控制器驱动需要使用 st,stm32-dma 而不是 allwinner,sunxi-dma
-
回复: v853板子做为usb device通过usb接入pc,有没推荐好的方案或者开源的库和案例来传输私有音视频.发布在 V Series
@sofia USB 2.0 的速率,大约为 34MByte/s
-
回复: T113-s3使用PhoenixSuit的一键刷机功能USB更新EMMC固件400M,一个小时刷成功一次正常吗?发布在 其它全志芯片讨论区
不正常,进行了如下实验:
- 准备开发板:T113-S3 EVB1,eMMC 型号:FEMDRW008G-88A39

- 1.1GByte 固件一份,

刷写时间,5分17秒:

刷写 LOG 如下:
[858]fes begin commit:fccdad5de4-dirty [861]set pll start [867]periph0 has been enabled [870]set pll end [872][pmu]: bus read error [874]board init ok [876]beign to init dram [878]ZQ value = 0x30 [880]get_pmu_exist() = -1 [883]ddr_efuse_type: 0xa [885]trefi:7.8ms [888][AUTO DEBUG] single rank and full DQ! [892]ddr_efuse_type: 0xa [894]trefi:7.8ms [896][AUTO DEBUG] rank 0 row = 13 [899][AUTO DEBUG] rank 0 bank = 8 [903][AUTO DEBUG] rank 0 page size = 2 KB [907]DRAM BOOT DRIVE INFO: V0.34 [910]DRAM CLK = 792 MHz [912]DRAM Type = 3 (2:DDR2,3:DDR3) [915]DRAMC read ODT off. [918]DRAM ODT value: 0x42. [920]ddr_efuse_type: 0xa [923]DRAM SIZE = 128 MB [927]DRAM simple test OK. [929]rtc standby flag is 0x0, super standby flag is 0x0 [935]init dram ok U-Boot 2018.07-00006-g65ea3f1459 (Aug 31 2023 - 08:08:04 +0000) Allwinner Technology [03.646]CPU: Allwinner Family [03.649]Model: sun8iw20 [03.651]DRAM: 0 Bytes [03.654]Relocation Offset is: 04eaf000 [03.683]secure enable bit: 0 [03.690]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [03.697]gic: normal mode [03.700]sunxi flash map init SPI ALL: ready [03.745]line:703 init_clocks [03.765]init_clocks:finish [03.767]flash init start [03.769]workmode = 16,storage type = 0 try card 2 set card number 2 get card number 2 [03.777][mmc]: mmc driver ver uboot2018:2023-07-4 16:18:00 [03.823][mmc]: Is not Boot mode! [03.826][mmc]: SUNXI SDMMC Controller Version:0x50310 [03.838][mmc]: ************Try SD card 2************ [03.843][mmc]: mmc 2 cmd timeout 100 status 100 [03.847][mmc]: smc 2 err, cmd 8, RTO [03.851][mmc]: mmc 2 close bus gating and reset [03.856][mmc]: mmc 2 cmd timeout 100 status 100 [03.860][mmc]: smc 2 err, cmd 55, RTO [03.863][mmc]: mmc 2 close bus gating and reset [03.868][mmc]: ************Try MMC card 2************ [03.890][mmc]: mmc 2 cmd timeout 100 status 100 [03.894][mmc]: smc 2 err, cmd 8, RTO [03.898][mmc]: mmc 2 close bus gating and reset [03.903][mmc]: mmc 2 cmd timeout 100 status 100 [03.907][mmc]: smc 2 err, cmd 55, RTO [03.910][mmc]: mmc 2 close bus gating and reset [03.927][mmc]: gen_tuning_blk_bus8: total blk 10 [03.933][mmc]: gen_tuning_blk_bus4: total blk 6 [03.938][mmc]: Using 4 bit tuning now [03.941][mmc]: write_tuning_try_freq: write ok [03.947][mmc]: Pattern compare ok [03.950][mmc]: Write tuning pattern ok [03.954][mmc]: ================== HSSDR52_SDR25... [03.958][mmc]: skip freq 400000 [03.961][mmc]: skip freq 25000000 [03.964][mmc]: freq: 2-50000000-64-4 [05.493][mmc]: [0-63|64] [05.495][mmc]: ================== HSDDR52_DDR50... [05.499][mmc]: skip freq 400000 [05.502][mmc]: freq: 1-25000000-64-4 [06.658][mmc]: freq: 2-50000000-64-4 [07.766][mmc]: [0-48|49] [07.768][mmc]: [0-48|49] [07.771][mmc]: DS26/SDR12: 0xffffffff 0xffffffff [07.775][mmc]: HSSDR52/SDR25: 0xff20ffff 0xffffffff [07.780][mmc]: HSDDR52/DDR50: 0xff1818ff 0xffffffff [07.784][mmc]: HS200/SDR104: 0xffffffff 0xffffffff [07.789][mmc]: HS400: 0xffffffff 0xffffffff [07.793][mmc]: HS400: 0xffffffff 0xffffffff [07.797][mmc]: Best spd md: 2-HSDDR52/DDR50, freq: 2-50000000, Bus width: 4 [07.810]Loading Environment from SUNXI_FLASH... OK [07.821]try to burn key [07.826]out of usb burn from boot: not boot mode Hit any key to stop autoboot: 0 sunxi work mode=0x10 run usb efex delay time 2500 weak:otg_phy_config usb init ok set address 0xf set address 0xf ok SUNXI_EFEX_ERASE_TAG erase_flag = 0x12 origin_erase_flag = 0x1 FEX_CMD_fes_verify_status FEX_CMD_fes_verify last err=0 the 0 mbr table is ok the 1 mbr table is ok the 2 mbr table is ok the 3 mbr table is ok *************MBR DUMP*************** total mbr part 8 part[0] name :boot-resource part[0] classname :DISK part[0] addrlo :0x1f8 part[0] lenlo :0x1f8 part[0] user_type :32768 part[0] keydata :0 part[0] ro :0 part[1] name :env part[1] classname :DISK part[1] addrlo :0x3f0 part[1] lenlo :0x1f8 part[1] user_type :32768 part[1] keydata :0 part[1] ro :0 part[2] name :env-redund part[2] classname :DISK part[2] addrlo :0x5e8 part[2] lenlo :0x1f8 part[2] user_type :32768 part[2] keydata :0 part[2] ro :0 part[3] name :boot part[3] classname :DISK part[3] addrlo :0x7e0 part[3] lenlo :0x4ec0 part[3] user_type :32768 part[3] keydata :0 part[3] ro :0 part[4] name :rootfs part[4] classname :DISK part[4] addrlo :0x56a0 part[4] lenlo :0x2329a0 part[4] user_type :32768 part[4] keydata :0 part[4] ro :0 part[5] name :private part[5] classname :DISK part[5] addrlo :0x238040 part[5] lenlo :0x2760 part[5] user_type :32768 part[5] keydata :0 part[5] ro :0 part[6] name :recovery part[6] classname :DISK part[6] addrlo :0x23a7a0 part[6] lenlo :0x5a90 part[6] user_type :32768 part[6] keydata :0 part[6] ro :0 part[7] name :UDISK part[7] classname :DISK part[7] addrlo :0x240230 part[7] lenlo :0x0 part[7] user_type :0 part[7] keydata :0 part[7] ro :0 total part: 9 mbr 0, 1f8, 8000 boot-resource 1, 1f8, 8000 env 2, 1f8, 8000 env-redund 3, 1f8, 8000 boot 4, 4ec0, 8000 rootfs 5, 2329a0, 8000 private 6, 2760, 8000 recovery 7, 5a90, 8000 UDISK 8, 0, 0 [10.886]erase all part start need erase flash: 18 [10.893][mmc]: erase from: 0, to: 15269887, cnt: 15269888, erase_group: 1024 [10.971][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0x46 ms [10.977]read item0 copy0 [11.016]Item0 (Map) magic is bad [11.019]the secure storage item0 copy0 magic is bad [11.060]Item0 (Map) magic is bad [11.063]the secure storage item0 copy1 magic is bad [11.068]Item0 (Map) magic is bad [11.071]the secure storage map is empty [11.147]erase secure storage: 0 ok SUNXI_EFEX_MBR_TAG mbr size = 0x10000 write primary GPT success write Backup GPT success [11.163]update partition map FEX_CMD_fes_verify_status FEX_CMD_fes_verify last err=0 ******Has init FEX_CMD_fes_verify_value, start 0x1f8, size high 0x0:low 0x14000 FEX_CMD_fes_verify_value 0xe6f75b5c FEX_CMD_fes_verify_value, start 0x3f0, size high 0x0:low 0x20000 FEX_CMD_fes_verify_value 0xa367d787 FEX_CMD_fes_verify_value, start 0x5e8, size high 0x0:low 0x20000 FEX_CMD_fes_verify_value 0xa367d787 FEX_CMD_fes_verify_value, start 0x7e0, size high 0x0:low 0x429800 FEX_CMD_fes_verify_value 0x97662167 FEX_CMD_fes_verify_value, start 0x56a0, size high 0x0:low 0x43460000 FEX_CMD_fes_verify_value 0x3fee63cb bootfile_mode=4 SUNXI_EFEX_BOOT1_TAG boot1 size = 0x15c000, max size = 0x200000 uboot size = 0x15c000 storage type = 2 FEX_CMD_fes_verify_status FEX_CMD_fes_verify last err=0 bootfile_mode=4 SUNXI_EFEX_BOOT0_TAG boot0 size = 0xa000 [327.990][mmc]: write mmc 2 info ok dram para[0] = 318 dram para[1] = 3 dram para[2] = 7b7bfb dram para[3] = 0 dram para[4] = 10d2 dram para[5] = 800000 dram para[6] = 1c70 dram para[7] = 42 dram para[8] = 18 dram para[9] = 0 dram para[10] = 4a2195 dram para[11] = 2423190 dram para[12] = 8b061 dram para[13] = b4787896 dram para[14] = 0 dram para[15] = 48484848 dram para[16] = 48 dram para[17] = 1620121e dram para[18] = 0 dram para[19] = 0 dram para[20] = 0 dram para[21] = 340000 dram para[22] = 46 dram para[23] = b4006103 dram para[24] = 0 dram para[25] = 0 dram para[26] = 0 dram para[27] = 0 dram para[28] = 0 dram para[29] = 0 dram para[30] = 0 dram para[31] = 0 storage type = 2 FEX_CMD_fes_verify_status FEX_CMD_fes_verify last err=0 sunxi_efex_next_action=2 exit usb next work 2 [28]HELLO! BOOT0 is starting! [30]BOOT0 commit : fccdad5de4-dirty [34]set pll start [40]periph0 has been enabled [43]set pll end [44][pmu]: bus read error [47]board init ok [49]enable_jtag [50]ZQ value = 0x2f [52]get_pmu_exist() = -1 [54]DRAM BOOT DRIVE INFO: V0.34 [57]DRAM CLK = 792 MHz [60]DRAM Type = 3 (2:DDR2,3:DDR3) [63]DRAMC read ODT off. [65]DRAM ODT value: 0x42. [68]ddr_efuse_type: 0xa [71]DRAM SIZE = 128 MB [77]DRAM simple test OK. [79]rtc standby flag is 0x0, super standby flag is 0x0 [85]dram size =128 [87]card no is 2 [89]sdcard 2 line count 4 [91][mmc]: mmc driver ver 2021-05-21 14:47 [100][mmc]: Wrong media type 0x0, but host sdc2, try mmc first [106][mmc]: ***Try MMC card 2*** [130][mmc]: RMCA OK! [132][mmc]: mmc 2 bias 0 [136][mmc]: MMC 5.1 [138][mmc]: HSSDR52/SDR25 4 bit [141][mmc]: 50000000 Hz [143][mmc]: 7456 MB [145][mmc]: ***SD/MMC 2 init OK!!!*** [243]Loading boot-pkg Succeed(index=0). [247]Entry_name = u-boot [254]Entry_name = optee [258]Entry_name = dtb [261]tunning data addr:0x430003e8 [264]Jump to second Boot. M/TC: OP-TEE version: 8b49ce62-dirty (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Fri Aug 12 08:24:15 UTC 2022 arm U-Boot 2018.07-00006-g65ea3f1459 (Aug 31 2023 - 08:08:04 +0000) Allwinner Technology [00.316]CPU: Allwinner Family [00.319]Model: sun8iw20 [00.321]DRAM: 128 MiB [00.325]Relocation Offset is: ffeaf000 [00.354]secure enable bit: 0 E/TC:0 fdt_getprop_u32:343 prop trace_level not found [00.367]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.374]gic: sec monitor mode SPI ALL: ready [00.379]line:703 init_clocks [00.382]flash init start [00.384]workmode = 0,storage type = 2 [00.387][mmc]: mmc driver ver uboot2018:2023-07-4 16:18:00 [00.394][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.418][mmc]: Best spd md: 2-HSDDR52/DDR50, freq: 2-50000000, Bus width: 4 [00.424]sunxi flash init ok [00.427]drv_disp_init partno erro : can't find partition bootloader ** Unable to read file lcd_compatible_index.txt ** [00.447]disp_fat_load for lcd config failed [00.474]boot_hdmi20: [info] hdmi_init start [00.479]boot_hdmi20: [info] hdmi use aw phy! [00.483]boot_hdmi20: [info] hdmi_init finish [00.487]drv_disp_init finish [00.492]Loading Environment from SUNXI_FLASH... OK [00.505]boot_gui_init:start partno erro : can't find partition Reserve0 bad fb1_cfg[w=0,h=0,bpp=32,format=0] [00.520]boot_gui_init:finish partno erro : can't find partition bootloader [00.527]bmp_name=bootlogo.bmp size 38454 [00.536]Item0 (Map) magic is bad [00.539]the secure storage item0 copy0 magic is bad [00.547]Item0 (Map) magic is bad [00.549]the secure storage item0 copy1 magic is bad [00.554]Item0 (Map) magic is bad [00.557]usb burn from boot delay time 0 weak:otg_phy_config [00.568]usb prepare ok [00.698]LCD open finish [00.775]usb sof ok [00.776]usb probe ok [00.778]usb setup ok set address 0x10 set address 0x10 ok try to update [01.183]do_burn_from_boot usb : have no handshake List file under ULI/factory ** Unrecognized filesystem type ** root_partition is rootfs set root to /dev/mmcblk0p5 [01.199]update part info [01.202]update bootcmd [01.205]change working_fdt 0x40e6ee68 to 0x40e4ee68 [01.210][mmc]: can't find node "sunxi-mmc2" try "mmc" [01.215][mmc]: no mmc-hs400-1_8v! [01.218][mmc]: delete mmc-hs200-1_8v from dtb [01.222][mmc]: get max-frequency ok 50000000 Hz [01.227][mmc]: get sunxi-mmc2 string failed [01.231]The storage not support sample function partno erro : can't find partition bootloader ** Unable to read file lcd_compatible_index.txt ** [01.257]disp_fat_load for lcd config failed partno erro : can't find partition bootloader writing lcd_compatible_index.txt 16 bytes written save lcd compatible disp0 index 0 to flash partno erro : can't find partition bootloader [01.281]update dts Hit any key to stop autoboot: 0 input addr exceed dram scope [01.385]no vendor_boot partition is found Android's image name: sun8i_arm [01.480]Starting kernel ... [01.483][mmc]: mmc exit start [01.500][mmc]: mmc 2 exit ok [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.4.61 (kunyao@AwExdroid89) (arm-linux-gnueabi-gcc (Linaro GCC 5.3-2016.05) 5.3.1 20160412, GNU ld (Linaro_Binutils-2016.05) 2.25.0 Linaro 2016_02) #1 SMP PREEMPT Wed Sep 6 10:23:35 CST 2023 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: sun8iw20 [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] Reserved memory: created DMA memory pool at 0x42200000, size 0 MiB [ 0.000000] OF: reserved mem: initialized node vdev0buffer@42200000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x42244000, size 0 MiB [ 0.000000] OF: reserved mem: initialized node dsp0_rpbuf@42244000, compatible id shared-dma-pool [ 0.000000] cma: Reserved 4 MiB at 0x47c00000 [ 0.000000] On node 0 totalpages: 32420 [ 0.000000] Normal zone: 256 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 32420 pages, LIFO batch:7 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.0 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.0 [ 0.000000] percpu: Embedded 15 pages/cpu s30784 r8192 d22464 u61440 [ 0.000000] pcpu-alloc: s30784 r8192 d22464 u61440 alloc=15*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32164 [ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/init rdinit=/rdinit partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:private@mmcblk0p6:recovery@mmcblk0p7:UDISK@mmcblk0p8 cma=4M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun8iw20p1 boot_type=2 androidboot.boot_type=2 gpt=1 uboot_message=2018.07-00006-g65ea3f1459(08/31/2023-08:08:04) mbr_offset=1032192 disp_reserve=1536000,0x40efb000 androidboot.dramfreq=792 androidboot.dramsize=128 mtdparts=<NULL> [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 103624K/129680K available (6144K kernel code, 303K rwdata, 2200K rodata, 1024K init, 1166K bss, 21960K reserved, 4096K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] random: get_random_bytes called from start_kernel+0x25c/0x3dc with crng_init=0 [ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000017] Switching to timer-based delay loop, resolution 41ns [ 0.000190] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000836] Console: colour dummy device 80x30 [ 0.000875] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.000887] pid_max: default: 32768 minimum: 301 [ 0.001015] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.001027] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.001620] CPU: Testing write buffer coherency: ok [ 0.001944] /cpus/cpu@0 missing clock-frequency property [ 0.001963] /cpus/cpu@1 missing clock-frequency property [ 0.001974] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.002490] Setting up static identity map for 0x40100000 - 0x40100060 [ 0.002593] rcu: Hierarchical SRCU implementation. [ 0.003017] smp: Bringing up secondary CPUs ... [ 0.004175] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.004303] smp: Brought up 1 node, 2 CPUs [ 0.004317] SMP: Total of 2 processors activated (96.00 BogoMIPS). [ 0.004323] CPU: All CPU(s) started in SVC mode. [ 0.004775] devtmpfs: initialized [ 0.016429] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.017002] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.017028] futex hash table entries: 512 (order: 3, 32768 bytes, linear) [ 0.017372] pinctrl core: initialized pinctrl subsystem [ 0.018649] NET: Registered protocol family 16 [ 0.020217] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.058181] rtc_ccu: sunxi ccu init OK [ 0.060672] ccu: sunxi ccu init OK [ 0.061209] r_ccu: sunxi ccu init OK [ 0.092454] sun6i-dma 3002000.dma-controller: sunxi dma probed [ 0.097123] iommu: Default domain type: Translated [ 0.097336] sunxi iommu: irq = 24 [ 0.098409] SCSI subsystem initialized [ 0.098800] usbcore: registered new interface driver usbfs [ 0.098879] usbcore: registered new interface driver hub [ 0.098996] usbcore: registered new device driver usb [ 0.099231] videodev: Linux video capture interface: v2.00 [ 0.101776] Advanced Linux Sound Architecture Driver Initialized. [ 0.102463] Bluetooth: Core ver 2.22 [ 0.102547] NET: Registered protocol family 31 [ 0.102556] Bluetooth: HCI device and connection manager initialized 下略考虑可能的问题:
- 使用USB HUB进行刷写,影响速率
- 使用的 eMMC 速度较慢
- USB 连接不稳定,出现断连情况
- 供电不足,cpu 在烧写状态下缺电
- eMMC 布局走线不合理
- 选择全盘擦除升级而不是分区擦除升级

-
回复: 韦东山的v853板子作为uvc设备通过usb0 接到到pc上,PC不能识别问题.发布在 V Series
@sofia 我记得需要在小机运行一个uvc的程序,因为vin框架和isp通路与nxp的不一样,nxp是软件isp这个是硬件isp,可能有些地方需要适配
-
回复: 韦东山的v853板子作为uvc设备通过usb0 接到到pc上,PC不能识别问题.发布在 V Series
这个UVC需要本地运行一个UVC的服务端调用摄像头通路才可建立,否则不会上报为UVC设备而是复合设备
-
回复: V853 的 USB 如何设置成开机默认 Host 模式?发布在 V Series
/* *usb_port_type: usb mode. 0-device, 1-host, 2-otg. *usb_detect_type: usb hotplug detect mode. 0-none, 1-vbus/id detect, 2-id/dpdm detect. *usb_detect_mode: 0-thread scan, 1-id gpio interrupt. *usb_id_gpio: gpio for id detect. *usb_det_vbus_gpio: gpio for id detect. gpio or "axp_ctrl"; *usb_wakeup_suspend:0-SUPER_STANDBY, 1-USB_STANDBY. */usb_port_type改成1就可以






