@whycan 这个点的是EDP屏吗?
godzhou0909 发布的最佳帖子
-
全志V536可以屏和HDMI同时显示吗?
请问下,芯片是V536,目前编译的软件,要么是screen0_output_type要么是hdmi,要么是lcd,只能一个地方显示,能HDMI和LCD同时显示吗?
godzhou0909 发布的最新帖子
-
热插拔TF卡重启
t113 tina系统。插入TF卡后再开机,可以正常识别TF卡。
拔掉TF卡,再插入,系统就立即重启了。
就是说,系统开机后,插入TF卡就重启,有大神遇见过吗? -
F133运行MELIS系统,插入TF卡不开机
F133运行MELIS系统,不插TF卡时候可以正常开机。开机后TF卡也可以热插拔正常识别。
但是插入TF卡后就不开机,boot0的log都打印不出来。 -
回复: melis开机启动进入不了应用
@godzhou0909 贴的NOR FLASH是MX25L6406EM,是不是flash不行呢?
[141]HELLO! BOOT0 is starting!
[144]BOOT0 commit : 889f614
[147]set pll start
[149]fix vccio detect value:0xc0
[152]periph0 has been enabled
[155]set pll end
[156][pmu]: bus read error
[159]board init ok
[161]ZQ value = 0x30
[163]get_pmu_exist() = -1
[165]DRAM BOOT DRIVE INFO: V0.32
[168]DRAM CLK = 528 MHz
[170]DRAM Type = 2 (2:DDR2,3:DDR3)
[173]DRAMC read ODT off.
[176]DRAM ODT off.
[178]ddr_efuse_type: 0xa
[180]mark_id: 0x74
[182]DRAM SIZE =64 M
[184]PLL_DDR_CTRL_REG:0xf9002b00
[187]DRAM_CLK_REG:0xc0000000
[190][TIMING DEBUG] MR2= 0x0
[194]DRAM simple test OK.
[197]dram size =64
[199]spinor id is: c2 20 17, read cmd: 0b
[202]Succeed in reading toc file head.
[206]The size of toc is a0000.
[314]Entry_name = melis-lzma
[317]LZMA: Image address............... 0x41000400
[322]LZMA: Properties address.......... 0x41000400
[326]LZMA: Uncompressed size address... 0x41000405
[331]LZMA: Compressed data address..... 0x4100040d
[336]LZMA: Destination address......... 0x40000000
[340]LZMA: Uncompresed size............ 0xffffffffffffffff
[346]LZMA: Compresed size.............. 0xfffffffa
[537]LZMA: Uncompressed ............... 0x0013a0f8
[542]Entry_name = melis-config
[546]image_base:43000000
[548]Jump to second Boot.
[550]jump to rtos
sbi2ekernel| /'_/
\ (_ ) _ ( )( ) /' _
\ /'\ | | | __ | | (_) ___ ______ _ _ | || | | ( ) | | ( ) | | | (_) | /'__
\ | | | |/',)()( ) ( )| || | | | | | | | | |
| | | | |( / | | | |_, \ | _/ |( ,) _ | () | _ | () |
| () ()\____)(___)(_)(____/
_/' () ()\___/'(_)
_/'
|version : V3.9.0 |
|commitid: a850c7b6b408b36ea58bcce024f7c788688ca5ab |
|sunxiver: 40000 |
|timever : Sat, 11 May 2024 19:51:43 -0700 |
|compiler: gcc version 8.4.0 (T-HEAD RISCV Tools V1.10.2 B20201104) |
|optimal : -Os -g -gdwarf-2 -gstrict-dwarf |
|linker : GNU ld (GNU Binutils) 2.32 |
|newlibc : 3.0.0 |
|author : root |[DBG]: [__mount_parts:0299]: classname=DMS
[DBG]: [__mount_parts:0300]: devname=dms01
[DBG]: [__mount_parts:0327]: find last lun.
[DBG]: [__mount_parts:0357]: nPart = 1.
[DBG]: [__mount_parts:0486]: dmsPart: "DMS\dms010" is linked to symbel "B".
[ERR]: [esFSYS_pread:0331]: fs fatal err
[ERR]: [esFSYS_pread:0331]: fs fatal err
[ERR]: [esFSYS_pread:0331]: fs fatal err
[ERR]: [esFSYS_pread:0331]: fs fatal err
mount errno: -19!
[DBG]: [esFSYS_mntfs:0333]: melis_devfs,mount on B.
[DBG]: [kservice_maintask:0845]: partition [B] plug in..
[DBG]: [__mount_parts:0299]: classname=DISK
[DBG]: [__mount_parts:0300]: devname=RAMDISK
[DBG]: [__mount_parts:0327]: find last lun.
[DBG]: [__mount_parts:0357]: nPart = 1.
[DBG]: [__mount_parts:0486]: rawpart: "DISK\RAMDISK0" is linked to symbel "C".
[ERR]: [esFSYS_mntfs:0314]: identify the filesystem failure.
[ERR]: [__mount_parts:0541]: mount C failure.
dfs already init.
flash : 1
sip : 0
hal_spi_hw_config()2025 [spi0] clock_frequency = 50000000HZ
hal_spi_init()2215 [spi0] DMA xfer enable
nor_scan
[ERR]: [nor_mxic_quad_mode:0079]: spinor: set mxic QE failed (0x0)[ERR]: [nor_scan:0537]: spinor: enable quad mode failed
[ERR]: [nor_scan:0544]: spinor: scan nor flash failed
[ERR]: [nor_init:0636]: spinor: init nor flash failed
init nor flash failed
[ERR]: [nor_read:0950]: spinor: read address 0xc000 with len 16384 failed[ERR]: [register_blk_device:0851]: get gpt from nor flash failed - -5
SDC:hal_sdc_create host:0x402105d8 id:0
host debug mask 3c[ERR] SDC:name ???,port 6,port_num 0,mul_sel 2, pull 1, drv_level 1
[ERR] SDC:name ???,port 6,port_num 1,mul_sel 2, pull 1, drv_level 1
[ERR] SDC:name ???,port 6,port_num 2,mul_sel 2, pull 1, drv_level 1
[ERR] SDC:name ???,port 6,port_num 3,mul_sel 2, pull 1, drv_level 1
[ERR] SDC:name ???,port 6,port_num 4,mul_sel 2, pull 1, drv_level 1
[ERR] SDC:name ???,port 6,port_num 5,mul_sel 2, pull 1, drv_level 1
SDC:Not implement __mci_restore_io,819
SDC:Not imp hal_sdc_init,2236
SDC:hal_sdc_init,2269 no imp
SDC:hal_sdc_init,2278 no imp
SDC:SDC Host Capability:0x3820f Ocr avail:0x3f0000
SDC:Not implement __mci_hold_io,804
SDC:SDC cd_mode:2 present_val:0
SDC:SDC id:0 dma_use:1 present:0
driver version SD/MMC/SDIO Host Controller Driver(v0.29 2022-09-01 16:50) init ok.
host_id =0!
[ERR]: [hal_ths_init:0094]: 0x2009404, 0x2009400, 0x2009430, 0x2009408key name:thermal_sensor key size:64 key offset:20
thermal_sensor:
02 c1 73 79 0f 30 e9 01
ERR ekernel/drivers/hal/source/usb/manager/usb_manager.c 276 usb_script_parse :script_parser_fetch usbc0 usb_drv_vbus_gpio fail
port_info->port.port_type:2
the cir_master_init success
Warning: clk pll-audio0 should not be changed, please recheck whether the operation is correct[ehci-usb1] insmod host driver!
phy_vbase : 0x4200800, usbc_no : 1, efuse : 0x1e9300f
scheduler startup[ohci-usb1] insmod host driver!
phy_vbase : 0x4200800, usbc_no : 1, efuse : 0x1e9300f
d: partition open failed, please check board storage device!card_detect removed sdmmc_test->card_id=0
[WRN] SD:mmc_card_open card not exit! id:0
card open fail -
回复: 编译下 D1s 的 Melis
我的运行不起来,NOR FLASH问题吗??
[141]HELLO! BOOT0 is starting!
[144]BOOT0 commit : 889f614
sbi2ekernel| /'_/
\ (_ ) _ ( )( ) /' _
\ /'\ | | | __ | | (_) ___ ______ _ _ | || | | ( ) | | ( ) | | | (_) | /'__
\ | | | |/',)()( ) ( )| || | | | | | | | | |
| | | | |( / | | | |_, \ | _/ |( ,) _ | () | _ | () |
| () ()\____)(___)(_)(____/
_/' () ()\___/'(_)
_/'
|version : V3.9.0|
|commitid: a850c7b6b408b36ea58bcce024f7c788688ca5ab|
|sunxiver: 40000|
|timever : Fri, 10 May 2024 02:41:39 -0700|
|compiler: gcc version 8.4.0 (T-HEAD RISCV Tools V1.10.2 B20201104)|
|optimal : -Os -g -gdwarf-2 -gstrict-dwarf|
|linker : GNU ld (GNU Binutils) 2.32|
|newlibc : 3.0.0|
|author : root|[DBG]: [__mount_parts:0299]: classname=DMS
[DBG]: [__mount_parts:0300]: devname=dms01
[DBG]: [__mount_parts:0327]: find last lun.
[DBG]: [__mount_parts:0357]: nPart = 1.
[DBG]: [__mount_parts:0486]: dmsPart: "DMS\dms010" is linked to symbel "B".
[ERR]: [esFSYS_pread:0331]: fs fatal err
[ERR]: [esFSYS_pread:0331]: fs fatal err
[ERR]: [esFSYS_pread:0331]: fs fatal err
[ERR]: [esFSYS_pread:0331]: fs fatal err
mount errno: -19!
[DBG]: [esFSYS_mntfs:0333]: melis_devfs,mount on B.
[DBG]: [kservice_maintask:0845]: partition [B] plug in..
[DBG]: [__mount_parts:0299]: classname=DISK
[DBG]: [__mount_parts:0300]: devname=RAMDISK
[DBG]: [__mount_parts:0327]: find last lun.
[DBG]: [__mount_parts:0357]: nPart = 1.
[DBG]: [__mount_parts:0486]: rawpart: "DISK\RAMDISK0" is linked to symbel "C".
[ERR]: [esFSYS_mntfs:0314]: identify the filesystem failure.
[ERR]: [__mount_parts:0541]: mount C failure.
dfs already init.
flash : 1
sip : 0
hal_spi_hw_config()2025 [spi0] clock_frequency = 50000000HZ
hal_spi_init()2215 [spi0] DMA xfer enable
nor_scan
[ERR]: [nor_mxic_quad_mode:0079]: spinor: set mxic QE failed (0x0)[ERR]: [nor_scan:0537]: spinor: enable quad mode failed
[ERR]: [nor_scan:0544]: spinor: scan nor flash failed
[ERR]: [nor_init:0636]: spinor: init nor flash failed
init nor flash failed
[ERR]: [nor_read:0950]: spinor: read address 0xc000 with len 16384 failed[ERR]: [register_blk_device:0851]: get gpt from nor flash failed - -5
SDC:hal_sdc_create host:0x402065d8 id:0
host debug mask 3c[ERR] SDC:name ???,port 6,port_num 0,mul_sel 2, pull 1, drv_level 1
[ERR] SDC:name ???,port 6,port_num 1,mul_sel 2, pull 1, drv_level 1
[ERR] SDC:name ???,port 6,port_num 2,mul_sel 2, pull 1, drv_level 1
[ERR] SDC:name ???,port 6,port_num 3,mul_sel 2, pull 1, drv_level 1
[ERR] SDC:name ???,port 6,port_num 4,mul_sel 2, pull 1, drv_level 1
[ERR] SDC:name ???,port 6,port_num 5,mul_sel 2, pull 1, drv_level 1
SDC:Not implement __mci_restore_io,819
SDC:Not imp hal_sdc_init,2236
SDC:hal_sdc_init,2269 no imp
SDC:hal_sdc_init,2278 no imp
SDC:SDC Host Capability:0x3820f Ocr avail:0x3f0000
SDC:Not implement __mci_hold_io,804
SDC:SDC cd_mode:2 present_val:0
SDC:SDC id:0 dma_use:1 present:0
driver version SD/MMC/SDIO Host Controller Driver(v0.29 2022-09-01 16:50) init ok.
host_id =0!
[ERR]: [hal_ths_init:0094]: 0x2009404, 0x2009400, 0x2009430, 0x2009408key name:thermal_sensor key size:64 key offset:20
thermal_sensor:
02 c1 73 79 0f 30 e9 01
ERR ekernel/drivers/hal/source/usb/manager/usb_manager.c 276 usb_script_parse :script_parser_fetch usbc0 usb_drv_vbus_gpio fail
port_info->port.port_type:2
the cir_master_init success
Warning: clk pll-audio0 should not be changed, please recheck whether the operation is correct[ehci-usb1] insmod host driver!
phy_vbase : 0x4200800, usbc_no : 1, efuse : 0x1e9300f
scheduler startup[ohci-usb1] insmod host driver!
phy_vbase : 0x4200800, usbc_no : 1, efuse : 0x1e9300f
[ERR]: [hal_pwm_control:0580]: [pwm7] clk_osc24m not support in sys_config[ERR]: [hal_pwm_control:0580]: [pwm7] clk_osc24m not support in sys_config
d: partition open failed, please check board storage device!card_detect removed sdmmc_test->card_id=0
[WRN] SD:mmc_card_open card not exit! id:0
card open fail -
PWM输出波形异常
通过命令输入
echo 0 > /sys/class/pwm/pwmchip0/export
echo 1000000 > /sys/class/pwm/pwmchip0/pwm0/period
echo 500000 > /sys/class/pwm/pwmchip0/pwm0/duty_cycle
echo 1 > /sys/class/pwm/pwmchip0/pwm0/enable
然后在串口打印日志中有
duty_ns=500000 period_ns=1000000 c =24000000
active_cycles=12000 entire_cycles=24000 prescale=0 div_m=0
但是示波器看波形不对,通过改变占空比波形也不变,不知道是哪里配置不对? -
USB键盘适配问题
T113在打开HID,USB HIDBP KEYBORAD支持后,可以识别USB键盘,但是getevent后疯狂打印
/dev/input/event4: 0001 0064 00000002
poll 6, returned 1
/dev/input/event4: 0000 0000 00000001.
按按键没反应。
确认键盘没有问题,插电脑可以正常使用。
有大侠遇见类似问题吗