@youyf 祝贺你
I
indream 发布的最佳帖子
indream 发布的最新帖子
-
回复: MPP SAMPLE怎样编译到img里面去
@godzhou0909 https://docs.aw-ol.com/docs/soc/v821/mpp/mpp_faq
MPP Sample 自动拷贝到打包的固件中
由于 MPP Sample 编译出来较大,所以默认没有拷贝到固件里,但是在出测试固件的时候需要将可执行的 Sample 也打包到固件里,方便测试烧写这里以 sample_smartIPC_demo 为例,演示如何将 Sample 和对应配置文件配置自动打包到固件里
修改文件: openwrt/package/allwinner/eyesee-mpp/middleware/Makefile
define Package/$(PKG_NAME)/install $(INSTALL_DIR) $(1)/mnt/app if [ -d $(SRC_COMPILE_DIR)/install ]; then \ $(CP) -r $(SRC_COMPILE_DIR)/install/* $(1); \ else \ echo "fatal error! why $(SRC_COMPILE_DIR)/install not exist?"; \ fi $(CP) $(SRC_COMPILE_DIR)/sample/sample_smartIPC_demo/sample_smartIPC_demo $(1)/mnt/app $(CP) $(SRC_COMPILE_DIR)/sample/sample_smartIPC_demo/sample_smartIPC_demo.conf $(1)/mnt/app endef define Package/$(PKG_NAME)-demo/install @echo "package $(PKG_NAME)-demo has no libs or exeFiles to install."; endef

-
回复: V851S DVP DTS/.fex 设置
@kanken6174 参考文档:https://docs.aw-ol.com/docs/soc/v821/camera/init_sensor
csi_mclk1_pins_a: csi_mclk1@0 { pins = "PD2"; function = "ncsi"; allwinner,drive = <0>; }; csi_mclk1_pins_b: csi_mclk1@1 { pins = "PD2"; function = "gpio_in"; }; sensor0:sensor@0 { sensor0_mclk_id = <1>;
-
v821无法烧录nor flash
[520]set pll start [522]set pll end [524]board init ok: use hosc 40M [527]beign to init dram [531]DRAM use internal ZQ!! [534]ZQ value = 0x2f [536][AUTO DEBUG] single rank and full DQ! [541][AUTO DEBUG] rank 0 row = 13 [544][AUTO DEBUG] rank 0 bank = 4 [547][AUTO DEBUG] rank 0 page size = 2 KB [551]DRAM BOOT DRIVE INFO: V1.00 [554]DRAM CLK = 520 MHz [556]DRAM Type = 2 (2:DDR2,3:DDR3) [559]DRAMC read ODT off. [562]DRAM ODT off. [564]trefi: 7.8us [566]DRAM Size = 64 MB [579]DRAM simple test OK. [581]init dram ok U-Boot 2018.07 (May 04 2025 - 23:00:00 +0800) Allwinner Technology [02.095]DRAM: 64 MiB [02.133]Relocation Offset is: 01f29000, reloc addr is: 83f29000 [02.363]secure enable bit: 0 [02.376]CPU=614 MHz,PERI=3072 Mhz,AHB=192 Mhz, APB=96Mhz [02.384]sunxi flash map init SPI ALL: ready [02.536]init_clocks:finish [02.539]flash init start [02.541]workmode = 16,storage type = 0 sunxi_get_spif_mode()227 - get dtr_mode_enable fail -13 sunxi_get_spif_mode()236 - get io_mode_enable fail -13 [03.064]spif sunxi_slave->max_hz:100000000 [44.439]flash operation timed out
换了一块新的nor flash, 能烧一次,断电后第二次又变成这样。