@mangogeek 这两按键摆在这里,USB线一插怎么按?难道没人吐槽过吗?
geniusgogo 发布的帖子
-
回复: melis里适配RGB屏,DE。CLK没有任何信号
#include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <hal_clk.h> #include <hal_gpio.h> #include "../disp/disp_sys_intf.h" #include "disp_board_config.h" struct property_t g_lcd0_config[] = { { .name = "lcd_used", .type = PROPERTY_INTGER, .v.value = 1, }, { .name = "lcd_driver_name", .type = PROPERTY_STRING, .v.str = "default_lcd", }, { .name = "lcd_if", .type = PROPERTY_INTGER, .v.value = 0, /* LCD_IF_HV */ }, { .name = "lcd_hv_if", .type = PROPERTY_INTGER, .v.value = 0, /* LCD_HV_IF_PRGB_1CYC */ }, { .name = "lcd_x", .type = PROPERTY_INTGER, .v.value = 480, }, { .name = "lcd_y", .type = PROPERTY_INTGER, .v.value = 272, }, { .name = "lcd_width", .type = PROPERTY_INTGER, .v.value = 80, }, { .name = "lcd_height", .type = PROPERTY_INTGER, .v.value = 47, }, { .name = "lcd_dclk_freq", .type = PROPERTY_INTGER, .v.value = 10, }, /* lcd_ht = lcd_x + lcd_hspw + lcd_hbp + lcd_hfp */ { .name = "lcd_ht", .type = PROPERTY_INTGER, .v.value = 592, }, { .name = "lcd_hbp", .type = PROPERTY_INTGER, .v.value = 56, }, { .name = "lcd_hspw", .type = PROPERTY_INTGER, .v.value = 40, }, /* lcd_vt = lcd_y + lcd_vspw + lcd_vbp + lcd_vfp */ { .name = "lcd_vt", .type = PROPERTY_INTGER, .v.value = 286, }, { .name = "lcd_vspw", .type = PROPERTY_INTGER, .v.value = 5, }, { .name = "lcd_vbp", .type = PROPERTY_INTGER, .v.value = 6, }, { .name = "lcd_frm", .type = PROPERTY_INTGER, .v.value = 0, }, { .name = "lcd_io_phase", .type = PROPERTY_INTGER, .v.value = 0, }, { .name = "lcd_gamma_en", .type = PROPERTY_INTGER, .v.value = 0, }, { .name = "lcd_bright_curve_en", .type = PROPERTY_INTGER, .v.value = 0, }, { .name = "lcd_cmap_en", .type = PROPERTY_INTGER, .v.value = 0, }, { .name = "deu_mode", .type = PROPERTY_INTGER, .v.value = 0, }, { .name = "lcdgamma4iep", .type = PROPERTY_INTGER, .v.value = 22, }, { .name = "smart_color", .type = PROPERTY_INTGER, .v.value = 90, }, // backlight enable /* { .name = "lcd_gpio_1", .type = PROPERTY_GPIO, .v.gpio_list = { .gpio = GPIOE(11), .mul_sel = GPIO_DIRECTION_OUTPUT, .pull = 0, .drv_level = 3, .data = 1, }, }, */ { .name = "lcd_backlight", .type = PROPERTY_INTGER, .v.value = 50, }, { .name = "lcd_pwm_used", .type = PROPERTY_INTGER, .v.value = 1, }, { .name = "lcd_pwm_ch", .type = PROPERTY_INTGER, .v.value = 7, }, { .name = "lcd_pwm_freq", .type = PROPERTY_INTGER, .v.value = 1000, }, { .name = "lcd_pwm_pol", .type = PROPERTY_INTGER, .v.value = 1, }, { .name = "lcd_pwm_max_limit", .type = PROPERTY_INTGER, .v.value = 255, }, /* POWER-vcc */ { .name = "lcd_gpio_0", .type = PROPERTY_GPIO, .v.gpio_list = { .gpio = GPIOB(6), .mul_sel = GPIO_DIRECTION_OUTPUT, .pull = 0, .drv_level = 3, .data = 1, }, }, //gpio { .name = "LCD0_D2", .type = PROPERTY_PIN, .v.gpio_list = { .gpio = GPIOD(0), .mul_sel = 2, .pull = 0, .drv_level = 3, }, }, { .name = "LCD0_D3", .type = PROPERTY_PIN, .v.gpio_list = { .gpio = GPIOD(1), .mul_sel = 2, .pull = 0, .drv_level = 3, }, }, { .name = "LCD0_D4", .type = PROPERTY_PIN, .v.gpio_list = { .gpio = GPIOD(2), .mul_sel = 2, .pull = 0, .drv_level = 3, }, }, { .name = "LCD0_D5", .type = PROPERTY_PIN, .v.gpio_list = { .gpio = GPIOD(3), .mul_sel = 2, .pull = 0, .drv_level = 3, }, }, { .name = "LCD0_D6", .type = PROPERTY_PIN, .v.gpio_list = { .gpio = GPIOD(4), .mul_sel = 2, .pull = 0, .drv_level = 3, }, }, { .name = "LCD0_D7", .type = PROPERTY_PIN, .v.gpio_list = { .gpio = GPIOD(5), .mul_sel = 2, .pull = 0, .drv_level = 3, }, }, { .name = "LCD0_D10", .type = PROPERTY_PIN, .v.gpio_list = { .gpio = GPIOD(6), .mul_sel = 2, .pull = 0, .drv_level = 3, }, }, { .name = "LCD0_D11", .type = PROPERTY_PIN, .v.gpio_list = { .gpio = GPIOD(7), .mul_sel = 2, .pull = 0, .drv_level = 3, }, }, { .name = "LCD0_D12", .type = PROPERTY_PIN, .v.gpio_list = { .gpio = GPIOD(8), .mul_sel = 2, .pull = 0, .drv_level = 3, }, }, { .name = "LCD0_D13", .type = PROPERTY_PIN, .v.gpio_list = { .gpio = GPIOD(9), .mul_sel = 2, .pull = 0, .drv_level = 3, }, }, { .name = "LCD0_D14", .type = PROPERTY_PIN, .v.gpio_list = { .gpio = GPIOD(10), .mul_sel = 2, .pull = 0, .drv_level = 3, }, }, { .name = "LCD0_D15", .type = PROPERTY_PIN, .v.gpio_list = { .gpio = GPIOD(11), .mul_sel = 2, .pull = 0, .drv_level = 3, }, }, { .name = "LCD0_D18", .type = PROPERTY_PIN, .v.gpio_list = { .gpio = GPIOD(12), .mul_sel = 2, .pull = 0, .drv_level = 3, }, }, { .name = "LCD0_D19", .type = PROPERTY_PIN, .v.gpio_list = { .gpio = GPIOD(13), .mul_sel = 2, .pull = 0, .drv_level = 3, }, }, { .name = "LCD0_D20", .type = PROPERTY_PIN, .v.gpio_list = { .gpio = GPIOD(14), .mul_sel = 2, .pull = 0, .drv_level = 3, }, }, { .name = "LCD0_D21", .type = PROPERTY_PIN, .v.gpio_list = { .gpio = GPIOD(15), .mul_sel = 2, .pull = 0, .drv_level = 3, }, }, { .name = "LCD0_D22", .type = PROPERTY_PIN, .v.gpio_list = { .gpio = GPIOD(16), .mul_sel = 2, .pull = 0, .drv_level = 3, }, }, { .name = "LCD0_D23", .type = PROPERTY_PIN, .v.gpio_list = { .gpio = GPIOD(17), .mul_sel = 2, .pull = 0, .drv_level = 3, }, }, { .name = "LCD0_CLK", .type = PROPERTY_PIN, .v.gpio_list = { .gpio = GPIOD(18), .mul_sel = 2, .pull = 0, .drv_level = 3, }, }, { .name = "LCD0_DE", .type = PROPERTY_PIN, .v.gpio_list = { .gpio = GPIOD(19), .mul_sel = 2, .pull = 0, .drv_level = 3, }, }, { .name = "LCD0_HSYNC", .type = PROPERTY_PIN, .v.gpio_list = { .gpio = GPIOD(20), .mul_sel = 2, .pull = 0, .drv_level = 3, }, }, { .name = "LCD0_VSYNC", .type = PROPERTY_PIN, .v.gpio_list = { .gpio = GPIOD(21), .mul_sel = 2, .pull = 0, .drv_level = 3, }, } }; struct property_t g_lcd1_config[] = { { .name = "lcd_used", .type = PROPERTY_INTGER, .v.value = 0, }, }; struct property_t g_disp_config[] = { { .name = "disp_init_enable", .type = PROPERTY_INTGER, .v.value = 1, }, { .name = "disp_mode", .type = PROPERTY_INTGER, .v.value = 0, /* DISP_INIT_MODE_SCREEN0 */ }, { .name = "screen0_output_type", .type = PROPERTY_INTGER, .v.value = 1, /* DISP_OUTPUT_TYPE_LCD */ }, { .name = "screen0_output_mode", .type = PROPERTY_INTGER, .v.value = 4, }, { .name = "screen0_output_format", .type = PROPERTY_INTGER, .v.value = 0, }, { .name = "screen0_output_bits", .type = PROPERTY_INTGER, .v.value = 0, }, { .name = "screen0_output_range", .type = PROPERTY_INTGER, .v.value = 1, }, { .name = "screen0_output_eotf", .type = PROPERTY_INTGER, .v.value = 4, }, { .name = "screen0_output_cs", .type = PROPERTY_INTGER, .v.value = 257, }, { .name = "screen0_output_dvi_hdmi", .type = PROPERTY_INTGER, .v.value = 2, }, { .name = "screen0_output_scan", .type = PROPERTY_INTGER, .v.value = 0, }, { .name = "screen1_output_type", .type = PROPERTY_INTGER, .v.value = 1, }, { .name = "screen1_output_mode", .type = PROPERTY_INTGER, .v.value = 4, }, }; u32 g_lcd0_config_len = sizeof(g_lcd0_config) / sizeof(struct property_t); u32 g_lcd1_config_len = sizeof(g_lcd1_config) / sizeof(struct property_t); u32 g_disp_config_len = sizeof(g_disp_config) / sizeof(struct property_t);
-
melis里适配RGB屏,DE。CLK没有任何信号
之前在d1上跑melis,适配了mipi的屏参后,点屏成功。
现在换到RGB屏,同样的适配屏参后却没有任何IO信号输出。
请教一下大佬们,在melis系统里RGB屏需要做何修改? -
D1S上面如何跑melis?
前天经过大佬指点已经顺利的将melis跑在D1上了。
现在又切换到D1S上来跑,发现遇到类似问题,跑起来就挂了。
根据当时D1的修改配置方法,在F133的project配置里已经是类似D1上面的配置修改了,但是不知道为啥,还会起来就挂。
下面是启动日志:[142]HELLO! BOOT0 is starting! [144]BOOT0 commit : 889f614 sbi2ekernel =============================================================================================================== | /'\_/`\ (_ ) _ /'_ ) /'_ `\ /' _`\ | | | | __ | | (_) ___ ______ _ _ (_)_) | ( (_) | | ( ) | | | | (_) | /'__`\ | | | |/',__)(______)( ) ( ) _(_ < \__, | | | | | | | | | | |( ___/ | | | |\__, \ | \_/ |( )_) | _ | | _ | (_) | | | (_) (_)`\____)(___)(_)(____/ `\___/'`\____)(_) (_)(_)`\___/' | |version : V3.9.0 | |commitid: 976499a346a3d5d6d80047f3844d1d5c3e37ac55 | |sunxiver: 30800 | |timever : Thu, 04 Nov 2021 20:14:43 +0800 | |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 : zhouji | =============================================================================================================== [DBG]: [__mount_parts:0273]: classname=DMS [DBG]: [__mount_parts:0274]: devname=dms01 [DBG]: [__mount_parts:0301]: find last lun. [DBG]: [__mount_parts:0331]: nPart = 1. [DBG]: [__mount_parts:0460]: dmsPart: "DMS\dms010" is linked to symbel "B". [ERR]: [esFSYS_pread:0318]: fs fatal err [ERR]: [esFSYS_pread:0318]: fs fatal err [ERR]: [esFSYS_pread:0318]: fs fatal err [ERR]: [esFSYS_pread:0318]: fs fatal err [DBG]: [esFSYS_mntfs:0317]: devfs,mount on B. [DBG]: [kservice_maintask:0834]: partition [B] plug in.. [DBG]: [__mount_parts:0273]: classname=DISK [DBG]: [__mount_parts:0274]: devname=RAMDISK [DBG]: [__mount_parts:0301]: find last lun. [DBG]: [__mount_parts:0331]: nPart = 1. [DBG]: [__mount_parts:0460]: rawpart: "DISK\RAMDISK0" is linked to symbel "C". [ERR]: [esFSYS_mntfs:0298]: identify the filesystem failure. [ERR]: [cheduler startup [DBG]: [__mount_parts:0273]: classname=DISK [DBG]: [__mount_parts:0274]: devname=ROOTFS [DBG]: [__mount_parts:0301]: find last lun. [DBG]: [__mount_parts:0331]: nPart = 1. [DBG]: [__mount_parts:0460]: rawpart: "DISK\ROOTFS0" is linked to symbel "D". [DBG]: [esFSYS_mntfs:0317]: minfs,mount on D. [DBG]: [kservice_maintask:0834]: partition [D] plug in.. [DBG]: [melis_udisk_part_check:0553]: melis_udisk_part_check 553 copy udisk_buff [DBG]: [__mount_parts:0273]: classname=DISK [DBG]: [__mount_parts:0274]: devname=UDISK [DBG]: [__mount_parts:0301]: find last lun. [DBG]: [__mount_parts:0331]: nPart = 1. [DBG]: [__mount_parts:0423]: rawpart: "DISK\UDISK0" is linked to symbel "E". [ERR]: [esFSYS_mntfs:0298]: identify the filesystem failure. [ERR]: [__mount_parts:0501]: mount E failure. SDC:hal_sdc_create host:0x401b65d8 id:0 [ERR] SDC:name sdc0_d1,port 6,port_num 0,mul_sel 2, pull 1, drv_level 1 [ERR] SDC:name sdc0_d0,port 6,port_num 1,mul_sel 2, pull 1, drv_level 1 [ERR] SDC:name sdc0_clk,port 6,port_num 2,mul_sel 2, pull 1, drv_level 1 [ERR] SDC:name sdc0_cmd,port 6,port_num 3,mul_sel 2, pull 1, drv_level 1 [ERR] SDC:name sdc0_d3,port 6,port_num 4,mul_sel 2, pull 1, drv_level 1 [ERR] SDC:name sdc0_d2,port 6,port_num 5,mul_sel 2, pull 1, drv_level 1 SDC:Not implement __mci_restore_io,793 SDC:Not imp hal_sdc_init,2206 SDC:hal_sdc_init,2239 no imp SDC:hal_sdc_init,2248 no imp SDC:SDC Host Capability:0x3820f Ocr avail:0x3f0000 SDC:Not implement __mci_hold_io,778 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.28 2021-08-24 16:50) init ok. host_id =0! [ERR]: [hal_ths_init:0094]: 0x2009404, 0x2009400, 0x2009430, 0x2009408 key name:thermal_sensor key size:64 key offset:20 thermal_sensor: 42 01 bb 98 0e b0 9d 01 the cir_master_init success phy_vbase : 0x4200800, usbc_no : 1, efuse : 0x19db00e [usb_new_phy_print][79] reg[DBG]: [console_LKeyDevEvent:0530]: input sys keydev not init! [DBG]: [console_LKeyDevEvent:0530]: input sys keydev not init! 0x1c : 0x4 [usb_new_phy_print][80] reg [DBG]: [console_LKeyDevEvent:0530]: input sys keydev not init! [DBG]: [console_LKeyDevEvent:0530]: input sys keydev not init! 0x30 : 0xcb [usb_new_phy_print][81] reg 0x60 : 0x22b8 [usb_new_phy_print][82] reg 0x40 : 0x8c [usb_new_phy_print][79] reg 0x1c : 0x0 [usb_new_phy_print][80] reg 0x30 : 0x18b [usb_new_phy_print][81] reg 0x60 : 0x22b8 [usb_new_phy_print][82] reg 0x40 : 0x7c [DBG]: [console_LKeyDevEvent:0530]: input sys keydev not init! [DBG]: [console_LKeyDevEvent:0530]: input sys keydev not init! [DBG]: [console_LKeyDevEvent:0530]: input sys keydev not init! [DBG]: [console_LKeyDevEvent:0530]: input sys keydev not init! [DBG]: [console_LKeyDevEvent:0530]: input sys keydev not init! [DBG]: [console_LKeyDevEvent:0530]: input sys keydev not init! [DBG]: [LDR_LoadFile:0247]: filepath = d:\mod\slib.mod. [DBG]: [LDR_LoadFile:0247]: filepath = d:\mod\display.mod. [DBG]: [LDR_LoadFile:0247]: filepath = d:\mod\mixture.mod. [DBG]: [layer_request:0689]: requested: ch:0, id:0 disp_mgr.req_layer_cnt = 1 [DBG]: [mod2drv_layerinfo:0366]: lbc_mode = 0 [ERR]: [open_lcd_backlight:0610]: get backlight err,default to 100 [DBG]: [LDR_LoadFile:0247]: filepath = d:\mod\charset.mod. msh />Execute startup script begin.............. install mod para num [2]: insmod d:\mod\orange.mod [DBG]: [LDR_LoadFile:0247]: filepath = d:\mod\orange.mod. Mod:d:\mod\orange.mod Installed!, mod id=120 install mod para num [2]: insmod d:\apps\desktop.mod [DBG]: [LDR_LoadFile:0247]: filepath = d:\apps\desktop.mod. [DBG]: [DESKTOP_MOpen:0078]: DESKTOP_MOpen. [DBG]: [LDR_LoadFile:0247]: filepath = d:\apps\init.axf. Mod:d:\apps\desktop.mod Installed!, mod id=127 ...............Execute startup script end [DBG]: [msg_srv_init_key_channel:0150]: emit_ctr.h_keyGraber=0x40d6d1a0 [DBG]: [msg_srv_init_key_channel:0161]: LdevID=0 [DBG]: [application_init_process:0836]: & application_init_process enter! & dsk_reg_read_config_file 571 e:\setting.bin eLIBs_fopen fail dsk_reg_init_para 797 config not ok, format e: [DBG]: [esFSYS_mntfs:0317]: fat,mount on E. [DBG]: [kservice_maintask:0834]: partition [E] plug in.. [DBG]: [application_init_process:0854]: application_init_process 854 before live_init [DBG]: [live_init:0040]: ~~~~~~~~~~~~~~before dsk_set_isn_charset~~~~~~~~~~~ [DBG]: [alsa_open_pcm:0218]: open pcm! card:[audiocodec], pcmFlag:[1](0-cap;1-play) [SND_ERR][ksnd_pcm_prepare:2005]unsupport state transform. [DBG]: [dsk_display_set_lcd_brightness:0297]: setting lcd_bright=176 [DBG]: [application_init_process:0862]: application_init_process 862 before gscene_bgd_init [DBG]: [gscene_bgd_is_file_exist:0620]: file is exist:d:\res\bg_default0.jpg [DBG]: [gscene_bgd_init:0130]: bgd_com->screen_size.width = 800 bgd_com->screen_size.height = 480 ftype = 1 [DBG]: [application_init_process:0883]: .start device monitor ....................................... [DBG]: [application_init_process:0891]: application_init_process 891 before init_mainwin_create [DBG]: [dsk_display_set_lcd_brightness:0297]: setting lcd_bright=192 [DBG]: [__hbar_layer_create:0093]: hbar fb 800 46 gui_dir=0 [DBG]: [__hbar_layer_create:0094]: hbar src 0 0 800 46 [DBG]: [__hbar_layer_create:0095]: hbar scn 0 0 800 46 [DBG]: [reset_headbar_data:0273]: xxxxxx para->data.volume = 30 [DBG]: [reset_headbar_data:0277]: xxxxxx bright = 11 [ERR]: [esPINS_ReadPinData:0640]: pin handle is invalid! [DBG]: [application_init_process:0897]: application_init_process 897 before _process_init [DBG]: [applet_info_manager_load_dir:0307]: find dir file d:\apps\phy_vbase : 0x4101800, usbc_no : 0, efuse : 0x19db00e [usb_new_phy_print][79] reg 0x1c : 0x0 [usb_new_phy_print][80] reg 0x30 : 0x18b [usb_new_phy_print][81] reg 0x60 : 0x22b8 [usb_new_phy_print][82] reg 0x40 : 0x7c [usb_new_phy_print][79] reg 0x1c : 0x0 [usb_new_phy_print][80] reg 0x30 : 0x18b [usb_new_phy_print][81] reg 0x60 : 0x22b8 [usb_new_phy_print][82] reg 0x40 : 0x7c desktop\app_root.desktop! [DBG]: [applet_info_manager_load_file:0267]: filename = d:\apps\desktop\app_root.desktop len=124 [DBG]: [__activity_load_common:0395]: load application application://app_root. [DBG]: [LDR_LoadFile:0247]: filepath = d:\apps\app_root.axf. card_detect removed sdmmc_test->card_id=0 [WRN] SD:mmc_card_open card not exit! id:0 card open fail [DBG]: [app_home_create:0657]: ******** enter multi screen home application ************** [DBG]: [gscene_bgd_is_file_exist:0620]: file is exist:d:\res\bg_default0.jpg [DBG]: [gscene_bgd_set_status_show:0170]: bkpic: d:\res\bg_default0.jpg. [DBG]: [LDR_LoadFile:0247]: filepath = d:\mod\vcoder.mod. [DBG]: [mod2drv_layerinfo:0366]: lbc_mode = 0 [ERR]: [Mod_Display_MIoctrl:1771]: no this CMD in display mod [DBG]: [dsktop_scene_get_cur_app:0664]: g_last_desk_app_index:0 [DBG]: [desktop_scene_create:0582]: width = 800, height= 480 [DBG]: [desktop_scene_create:0587]: cur_desk_app_index:0 [DBG]: [GUI_LogicLayerRequest:0527]: src.w = 800 src.h = 480 [DBG]: [layer_request:0689]: requested: ch:1, id:0 disp_mgr.req_layer_cnt = 1 [DBG]: [GUI_LogicLayerRequest:0527]: src.w = 800 src.h = 46 [DBG]: [layer_request:0689]: requested: ch:1, id:1 disp_mgr.req_layer_cnt = 2 [DBG]: [reset_headbar_data:0273]: xxxxxx para->data.volume = 30 [DBG]: [reset_headbar_data:0277]: xxxxxx bright = 11 [DBG]: [app_root_wincreate:4387]: root win = 40eff8f8 [DBG]: [application_init_process:0918]: application_init_process 918 before GUI_GetMessageEx
-
回复: melis中disp驱动问题
@caozilong 在 melis中disp驱动问题 中说:
@geniusgogo 或者你了解到的方案中有其它更好的实现方式,也可以给我们推介一下.
如果disp驱动能将帧同步中断回调开放,并在回调里通知当前正在使用的用户buffer指针,UI framebuffer就能根据这个回调来判断是否可以送下一帧数据,并且可以实现多buffer切换。
类似是底层回调如下接口:void sync_event(void *current_buffer, void *prev_buffer) { }
current_buffer代表正在准备显示的buffer,prev_buffer代表已经显示完的buffer。
-
回复: melis中disp驱动问题
@caozilong 在 melis中disp驱动问题 中说:
@bookos buffer是零拷贝,驱动内部记录是乒乓指针,buffer由应用去分配。
所以,站在这个层面看显示驱动,你不能只分配一个静态framebuffer,而是至少分配两个,然后传指针进去.那这样的话,我又有一个疑问了,问题又回到最初的那个问题“应用不知道底层现在正在刷哪个buffer” 从而可能花屏。
例如:应用分配buffer A/B,第一次显示buffer A,第二次显示buffer B,第三次由于应用不知道前两次显示的是否完成,所以按照应用层交替使用A/B buffer的逻辑,此时又会使用A,而此时底层驱动可能正在刷A,这就导致应用也会同时修改A buffer的数据,造成不同步花屏。
-
回复: melis中disp驱动问题
@caozilong 在 melis中disp驱动问题 中说:
分配了两个buffer,你可以认为是一个pingpong buffer机制,当前写的不是正在显示的那片buffer,两个buffer依赖TCON中断进行同步。
虽然不存在花屏的问题,但是可能存在覆盖的问题,如果你送帧的帧率和TCON刷新率不匹配(太快),可能会覆盖上次还没显示出来的帧。
比如你的帧率要控制在30fps,你就需要通过某种机制保证在这个范围内送帧,误差不要太大, 这方面RTOS做的要比linux 好很多。好的明白了,谢谢!
-
回复: melis中disp驱动问题
@caozilong 在 melis中disp驱动问题 中说:
只需要送帧.由TCON负责同步。你送的帧不一定马上显示出来,要等TCON中断过来,才会真正显示到屏幕上的。
所以你要结合刷新率考虑帧率,帧率上去了,刷新率越大越好,帧率不能超过刷新率,图不变,同样的图刷新多少次,效果是一样的,用户感知不到,自己要有一个帧率的预估,帧率一般由片源决定的,比如30FPS,60FPS等等,帧率要小于刷新率,大于刷新率嗯,感谢解答。
不过依然还有个疑问,送一帧下去后可能上层有开始要送第二帧,如果没法知道底层是否刷完的话,会造成花屏吧? 因为不知道底层刷没刷完。 -
melis中disp驱动问题
现在D1上将melis跑起来了,底层disp驱动也能点亮屏。
遇到下面两个问题想请教一下:- disp驱动如何进行帧同步刷新?
- disp驱动要显示一帧图像就是调用disp_ioctl(DISP_LAYER_SET_CONFIG, (void *)arg); ,请问上层如何知道显示一帧结束从而继续显示下一帧并释放资源?
-
回复: 在D1上面如何跑melis的D1版本?
@geniusgogo 发现是disp_mem.c里填充ARGB数据的地方大小端写错了。
while(count--) { //for(i = 0; i < 4; i++) { #if 0 *(tmp) = 0xff;//A *(tmp + 1) = filename[0]=='r'?0xff:0;//R *(tmp + 2) = filename[0]=='g'?0xff:0;//G *(tmp + 3) = filename[0]=='b'?0xff:0;//B #else *(tmp + 3) = 0xff;//A *(tmp + 2) = filename[0]=='r'?0xff:0;//R *(tmp + 1) = filename[0]=='g'?0xff:0;//G *(tmp + 0) = filename[0]=='b'?0xff:0;//B #endif //} tmp+=4; }
-
回复: 在D1上面如何跑melis的D1版本?
@zzj123 你好,我这边测试disp -c 0 8命令可以显示色条。
但是使用上层测试用例:set_layer_config去显示ARGB8888格式的buffer数据,发现颜色不对,我设置的是红色。显示出来是蓝白色。
代码如下:static int show_layer(struct test_layer_cfg *cfg, u32 width, u32 height, u32 channel, u32 format, char *filename) { if (!cfg || !filename) return -1; printf("show %s format:0x%x\n", filename, format); disp_mem(0, width, height, 0, filename); cfg->mem_id = 0; cfg->screen_id = g_screen_index; cfg->layer_cfg.channel = channel; cfg->layer_id = 0; cfg->layer_cfg.layer_id = 0; cfg->layer_cfg.info.fb.format = format; cfg->layer_cfg.info.fb.size[0].width = width; cfg->layer_cfg.info.fb.size[0].height = height; cfg->layer_cfg.info.fb.crop.x = 0; cfg->layer_cfg.info.fb.crop.y = 0; cfg->layer_cfg.info.fb.crop.width = width; cfg->layer_cfg.info.fb.crop.height = height; cfg->layer_cfg.info.fb.align[0] = 4; cfg->layer_cfg.info.mode = 0; cfg->layer_cfg.info.alpha_mode = 1; cfg->layer_cfg.info.alpha_value = 255; cfg->layer_cfg.info.zorder = 0; cfg->layer_cfg.info.screen_win.x = 0; cfg->layer_cfg.info.screen_win.y = 0; disp_layer_cfg(cfg); msleep(5000); disp_layer_clear(g_screen_index, channel, 0); disp_mem_clear(0); return 0; } int disp_layer_rgb_test(int argc, char **argv) { struct test_layer_cfg test_cfg; int i, sw, sh; /*main test start*/ if (argc == 2) { g_screen_index = atoi(argv[1]); } else g_screen_index = 0; disp_layer_clear_all(g_screen_index); printf("request mem_id 0\n"); printf("Start show layer\n"); memset(&test_cfg, 0, sizeof(struct test_layer_cfg)); show_layer(&test_cfg, 1280, 800, 0, DISP_FORMAT_ARGB_8888, "rgb"); disp_layer_clear_all(g_screen_index); msleep(100); return 0; }
-
D1上面跑melis,起来就崩了
[284]HELLO! BOOT0 is starting! [287]BOOT0 commit : 6ef7a6c-dirty [290]set pll start [292]periph0 has been enabled [295]set pll end [296][pmu]: bus read error [299]board init ok [301]DRAM only have internal ZQ!! [304]get_pmu_exist() = -1 [306]DRAM BOOT DRIVE INFO: V0.23 [309]DRAM CLK = 792 MHz [311]DRAM Type = 3 (2:DDR2,3:DDR3) [315]DRAMC ZQ value: 0x7b7bfb [317]DRAM ODT value: 0x42. [320]ddr_type: 0x0 [323]DRAM SIZE =1024 M [326]DRAM simple test OK. [328]dram size =1024 [330]spinor id is: ef 40 18, read cmd: 6b [334]Succeed in reading toc file head. [338]The size of toc is 90000. [364]Entry_name = melis-lzma [367]LZMA: Image address............... 0x41000400 [372]LZMA: Properties address.......... 0x41000400 [377]LZMA: Uncompressed size address... 0x41000405 [381]LZMA: Compressed data address..... 0x4100040d [386]LZMA: Destination address......... 0x40000000 [390]LZMA: Uncompresed size............ 0xffffffffffffffff [396]LZMA: Compresed size.............. 0xfffffffa [564]LZMA: Uncompressed ............... 0x001191e8 [569]Entry_name = melis-config [572]image_base:43000000 [575]Jump to second Boot. [577]jump to rtos OpenSBI v0.6 ____ _____ ____ _____ / __ \ / ____| _ \_ _| | | | |_ __ ___ _ __ | (___ | |_) || | | | | | '_ \ / _ \ '_ \ \___ \| _ < | | | |__| | |_) | __/ | | |____) | |_) || |_ \____/| .__/ \___|_| |_|_____/|____/_____| | | |_| Platform Name : T-HEAD Xuantie c910 Platform HART Features : RV64ACDFIMSUVX Platform Max HARTs : 1 Current Hart : 0 Firmware Base : 0x40000400 Firmware Size : 56 KB Runtime SBI Version : 0.2 MIDELEG : 0x0000000000000222 MEDELEG : 0x000000000000b1ff PMP0 : 0x0000000040000000-0x000000004000ffff (A) PMP1 : 0x0000000040000000-0x000000007fffffff (A,R,W,X) PMP2 : 0x0000000000000000-0x0000000007ffffff (A,R,W) PMP3 : 0x0000000009000000-0x000000000901ffff (A,R,W) PMP4 : 0x0000000010000000-0x0000000017ffffff (A,R,W) sbi2ekernel =============================================================================================================== | /'\_/`\ (_ ) _ /'_ ) /'_ `\ /' _`\ | | | | __ | | (_) ___ ______ _ _ (_)_) | ( (_) | | ( ) | | | | (_) | /'__`\ | | | |/',__)(______)( ) ( ) _(_ < \__, | | | | | | | | | | |( ___/ | | | |\__, \ | \_/ |( )_) | _ | | _ | (_) | | | (_) (_)`\____)(___)(_)(____/ `\___/'`\____)(_) (_)(_)`\___/' | |version : V3.9.0 | |commitid: 976499a346a3d5d6d80047f3844d1d5c3e37ac55 | |sunxiver: 30800 | |timever : Mon, 01 Nov 2021 18:21:20 +0800 | |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 : zhouji | =============================================================================================================== [DBG]: [__mount_parts:0273]: classname=DMS [DBG]: [__mount_parts:0274]: devname=dms01 [DBG]: [__mount_parts:0301]: find last lun. [DBG]: [__mount_parts:0331]: nPart = 1. [DBG]: [__mount_parts:0460]: dmsPart: "DMS\dms010" is linked to symbel "B". [ERR]: [esFSYS_pread:0318]: fs fatal err [ERR]: [esFSYS_pread:0318]: fs fatal err [ERR]: [esFSYS_pread:0318]: fs fatal err [ERR]: [esFSYS_pread:0318]: fs fatal err [DBG]: [esFSYS_mntfs:0317]: devfs,mount on B. [DBG]: [kservice_maintask:0834]: partition [B] plug in.. [DBG]: [__mount_parts:0273]: classname=DISK [DBG]: [__mount_parts:0274]: devname=RAMDISK [DBG]: [__mount_parts:0301]: find last lun. [DBG]: [__mount_parts:0331]: nPart = 1. [DBG]: [__mount_parts:0460]: rawpart: "DISK\RAMDISK0" is linked to symbel "C". [ERR]: [esFSYS_mntfs:0298]: identify the filesystem failure. [ERR]: [scheduler startup [DBG]: [__mount_parts:0273]: classname=DISK [DBG]: [__mount_parts:0274]: devname=ROOTFS [DBG]: [__mount_parts:0301]: find last lun. [DBG]: [__mount_parts:0331]: nPart = 1. [DBG]: [__mount_parts:0460]: rawpart: "DISK\ROOTFS0" is linked to symbel "D". [DBG]: [esFSYS_mntfs:0317]: minfs,mount on D. [DBG]: [kservice_maintask:0834]: partition [D] plug in.. [DBG]: [melis_udisk_part_check:0553]: melis_udisk_part_check 553 copy udisk_buff [DBG]: [__mount_parts:0273]: classname=DISK [DBG]: [__mount_parts:0274]: devname=UDISK [DBG]: [__mount_parts:0301]: find last lun. [DBG]: [__mount_parts:0331]: nPart = 1. [DBG]: [__mount_parts:0423]: rawpart: "DISK\UDISK0" is linked to symbel "E". [ERR]: [esFSYS_mntfs:0298]: identify the filesystem failure. [ERR]: [__mount_parts:0501]: mount E failure. [ERR]: [sunxi_driver_sdmmc_init:0930]: get card no failed, card no: 0 [ERR]: [hal_ths_init:0094]: 0x2009404, 0x2009400, 0x2009430, 0x2009408 key name:thermal_sensor key size:64 key offset:20 thermal_sensor: 19 91 37 79 10 20 00 00 [ERR]: [gpio_conf_set:0456]: gpio_desc is not inited [ERR]: [hal_gpio_pinmux_set_function:0689]: set pin mux error! s[DBG]: [console_LKeyDevEvent:0530]: input sys keydev not init! unxi_cir_init()509 cir[0] hardware init error, ret:-4 [DBG]: [LDR_LoadFile:0247]: filepath = d:\mod\slib.mod. [ERR]: [LDR_LoadFile:0257]: open file [d:\mod\slib.mod] failed [ERR]: [esMODS_MInstall:0585]: load module file [d:\mod\slib.mod] failed [DBG]: [LDR_LoadFile:0247]: filepath = d:\mod\display.mod. [DBG]: [LDR_LoadFile:0247]: filepath = d:\mod\mixture.mod. ===================================================================================================== EXC_LOAD_PAGE_FAULT ===================================================================================================== thread: kstartup, entry: 0x0000000040029d24, stack_base: 0x0000000040234000,stack_size: 0x00004000. gprs: x0:0x0000000000000000 ra:0x00000000e9b00e88 sp:0x0000000040237f60 gp:0x0000000040118dc0 tp:0x0000000040214080 t0:0x0000000000000048 t1:0x00000000e9b00e00 t2:0x000000004124e644 s0:0x00000000000001f4 s1:0x00000000e9b037c0 a0:0x00000000402f8448 a1:0x0000000000000000 a2:0x00000000000000c8 a3:0x0000000000afdb90 a4:0x000000004012cbe0 a5:0x00000000e8700000 a6:0x0000000000000007 a7:0x0000000010000207 s2:0x00000000e9b037c8 s3:0x000000004002eb54 s4:0x0000000040214038 s5:0x00000000deadbeef s6:0x00000000deadbeef s7:0x00000000deadbeef s8:0x00000000deadbeef s9:0x00000000deadbeef s10:0x00000000deadbeef s11:0x00000000deadbeef t3:0x000000000000075c t4:0x00000000000000c6 t5:0x0000000000000121 t6:0x00000000000000d5 other: sepc :0x00000000e9b01948 sstatus :0x0000000000004120 sscratch:0x0000000000000000 stval :0x00000000e87000a8 -------backtrace----------- backtrace : 0XE9B01948 backtrace : invalid lr backtrace : 0XE9B00E84 backtrace : 0X40128976 --------------------------- -----------------------------------------------TSK Usage Report---------------------------------------------------------- name errno entry stat prio tcb slice stacksize stkfree lt si so stack_range disp2 0 0x4002fac8 suspend 15 0x402151b8 10 8192 7872 10 0000 0000 [0x40f78000-0x40f7a000] kmsg2appq 0 0x400a6794 suspend 6 0x40214538 10 4096 3392 08 0000 0000 [0x403c0000-0x403c1000] fs-pmnt 0 0x400cfe9e suspend 7 0x402142b8 10 16384 15424 06 0000 0000 [0x40358000-0x4035c000] kstartup 0 0x40029d24 running 25 0x40214038 10 16384 13120 01 0000 0000 [0x40234000-0x40238000] tidle 0 0x4002bc80 running 31 0x40126030 32 8192 7504 19 0000 0000 [0x401262a8-0x401282a8] timer 0 0x4002f974 suspend 8 0x40128978 10 16384 16064 10 0000 0000 [0x40128bd0-0x4012cbd0] ------------------------------------------------------------------------------------------------------------------------- memory info: Total 0x1feb4000 Used 0x00af7840 Max 0x00afdb90 ------------------------------------------------memory information------------------------------------------------------- dump stack memory: 0x0000000040237f60: 0x0000075c 0x00000000 0x000000c6 0x00000000 0x0000000040237f70: 0x000001f4 0x00000000 0x000000fb 0x00000000 0x0000000040237f80: 0x00000000 0x00000000 0x40029dec 0x00000000 0x0000000040237f90: 0x40029164 0x00000000 0x00004120 0x00000000 0x0000000040237fa0: 0xffffffff 0xffffffff 0x40029d24 0x00000000 0x0000000040237fb0: 0x00000000 0x00000000 0x40128978 0x00000000 0x0000000040237fc0: 0x40029d24 0x00000000 0x400291c4 0x00000000 0x0000000040237fd0: 0xffffffff 0xffffffff 0x40029d24 0x00000000 0x0000000040237fe0: 0x00000000 0x00000000 0x4002eb54 0x00000000 0x0000000040237ff0: 0xdeadbeef 0x00000000 0x40029164 0x00000000 0x0000000040238000: 0x51ab51ab 0x00000c4a 0x00000081 0x00000ccb 0x0000000040238010: 0x00000000 0x00000000 0x40238038 0x00000000 0x0000000040238020: 0x00000080 0x00000028 0x00000004 0x00000000 0x0000000040238030: 0x00000000 0x00000000 0x40258038 0x00000000 0x0000000040238040: 0x00000000 0xffffff00 0x40237f08 0x00000000 0x0000000040238050: 0x016e3600 0x00000000 0x00000000 0x00000000 0x0000000040238060: 0x402580b0 0x00000000 0x00000001 0xffffff00 0x0000000040238070: 0x40237f08 0x00000000 0x00008000 0x00000000 0x0000000040238080: 0x00000000 0x00000000 0x40258128 0x00000000 0x0000000040238090: 0x00000002 0xffffff00 0x40237f08 0x00000000 0x00000000402380a0: 0x00f42400 0x00000000 0x11e1a300 0x00000000 0x00000000402380b0: 0x402581a0 0x00000000 0x00000003 0xffffff00 0x00000000402380c0: 0x40237f08 0x00000000 0x00008000 0x00000000 0x00000000402380d0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000402380e0: 0x40258128 0x00000000 0x00000000 0x00000000 0x00000000402380f0: 0x400d5410 0x00000000 0xffffffff 0xffffffff 0x0000000040238100: 0x00000000 0x00000000 0x402581a0 0x00000000 0x0000000040238110: 0x00000000 0x00000000 0x400d5408 0x00000000 0x0000000040238120: 0xffffffff 0xffffffff 0x00000000 0x00000000 0x0000000040238130: 0x40258218 0x00000000 0x00000000 0x00000000 0x0000000040238140: 0x400d4cd8 0x00000000 0xffffffff 0xffffffff 0x0000000040238150: 0x00000000 0x00000000 0x40258038 0x00000000 dump sepc memory: 0x00000000e9b01948: 0x0a87b303 0x77b78302 0x07a200e8 0x0b07b303 0x00000000e9b01958: 0xc5058302 0x4781471d 0x02b77263 0x46111141 0x00000000e9b01968: 0x00002597 0xe4058593 0xf0efe406 0x3793fc5f 0x00000000e9b01978: 0x60a20015 0x0141853e 0x47818082 0x8082853e 0x00000000e9b01988: 0x479dc539 0x04b7f563 0x46111141 0x00002597 0x00000000e9b01998: 0xe1458593 0xe406e022 0xf0ef842a 0xe515f95f 0x00000000e9b019a8: 0x00544783 0x00444503 0x0087979b 0x45039fa9 0x00000000e9b019b8: 0x151b0064 0x9fa90105 0x00744503 0x0185151b 0x00000000e9b019c8: 0x60a29d3d 0x01416402 0x45018082 0x4501bfdd 0x00000000e9b019d8: 0x87b28082 0xcd118736 0xfc63469d 0xca1100b6 0x00000000e9b019e8: 0x7c05b68b 0x00850613 0x7c07358b 0x006f853e 0x00000000e9b019f8: 0x45010080 0x16ed8082 0xe42e1101 0x8732e036 0x00000000e9b01a08: 0x002c868a 0x06154795 0x00efec06 0x353301e0 0x00000000e9b01a18: 0x60e200a0 0x40a00533 0x80826105 0xf06f852e 0x00000000e9b01a28: 0x852ef05f 0xef5ff06f 0x00002817 0xd8080813 0x00000000e9b01a38: 0xe0427179 0x01f10893 0x27814801 0x10eff406 0x00000000e9b01a48: 0x70a25640 0x80826145 0x07934d78 0x069b1100 0x00000000e9b01a58: 0xed63fff7 0x468b04d7 0x380bffd5 0x38837c07 0x00000000e9b01a68: 0x83330185 0x457040d5 0x746387ba 0x87bb0103 0x00000000e9b01a78: 0x280340d5 0x412c0445 0x00081a63 0x00c52803 0x00000000e9b01a88: 0x40b8033b 0x0067e463 0x05052223 0x9f1d9dbd 0x00000000e9b01a98: 0xcd78c12c 0x873685be 0x360b5e7d 0x35fd7c06 0x00000000e9b01aa8: 0x01c59763 0x7c07b78b 0xf91c97b6 0x08338082 0x00000000e9b01ab8: 0x837640c7 0x00c76363 0x98464301 0x8068480b 0x00000000e9b01ac8: 0x00e8d80b 0xbfe10705 0xe5a67115 0xe9a26485 0x00000000e9b01ad8: 0xe1caed86 0xf952fd4e 0xf15af556 0xe962ed5e 0x00000000e9b01ae8: 0xe16ae566 0x842afcee 0xf432e42e 0x8004849b 0x00000000e9b01af8: 0x04442a83 0x04042e03 0x6b227810 0x000a9d63 0x00000000e9b01b08: 0x0733445c 0x87bb40cb 0xb78b41c7 0xf4637c07 0x00000000e9b01b18: 0x8b3300e7 0x288300c7 0x587d0084 0x18bb680c 0x00000000e9b01b28: 0xc8930118 0x2881fff8 0x2883fc46 0x401c0044 0x00000000e9b01b38: 0x03843a03 0x0118183b 0x88936885 0x98aea688 ===================================================================================================== EXC_LOAD_PAGE_FAULT ===================================================================================================== thread: kstartup, entry: 0x0000000040029d24, stack_base: 0x0000000040234000,stack_size: 0x00004000. gprs: x0:0x0000000000000000 ra:0x0000000040095800 sp:0x0000000040237d90 gp:0x0000000040118dc0 tp:0x0000000040214080 t0:0x0000000040013388 t1:0x000000000000000f t2:0x000000000000000a s0:0x0000000040fd6278 s1:0x0000000040fd6460 a0:0x0000000040fd6460 a1:0x0000000000000000 a2:0x0000000000000000 a3:0x0000000040fd64b0 a4:0x0000000040fd64b0 a5:0x0000000000000000 a6:0x0000000002500000 a7:0x00000000400dd8b0 s2:0x00000000400d4a38 s3:0x000000004002eb54 s4:0x0000000040214038 s5:0x00000000deadbeef s6:0x00000000deadbeef s7:0x00000000deadbeef s8:0x00000000deadbeef s9:0x00000000deadbeef s10:0x00000000deadbeef s11:0x00000000deadbeef t3:0x0000000000000000 t4:0x0000000000000008 t5:0x0000000000000039 t6:0x0000000000000030 other: sepc :0x00000000400956d2 sstatus :0x0000000000004100 sscratch:0x0000000000000000 stval :0x0000000000000052 -------backtrace----------- backtrace : 0X400956D2 backtrace : invalid lr backtrace : 0X400957FC backtrace : 0X4002903A backtrace : 0X400290DA backtrace : 0X4002A008 --------------------------- -----------------------------------------------TSK Usage Report---------------------------------------------------------- name errno entry stat prio tcb slice stacksize stkfree lt si so stack_range disp2 0 0x4002fac8 suspend 15 0x402151b8 10 8192 7872 10 0000 0000 [0x40f78000-0x40f7a000] kmsg2appq 0 0x400a6794 suspend 6 0x40214538 10 4096 3392 08 0000 0000 [0x403c0000-0x403c1000] fs-pmnt 0 0x400cfe9e suspend 7 0x402142b8 10 16384 15424 06 0000 0000 [0x40358000-0x4035c000] kstartup 0 0x40029d24 running 25 0x40214038 10 16384 13120 01 0000 0000 [0x40234000-0x40238000] tidle 0 0x4002bc80 running 31 0x40126030 32 8192 7504 19 0000 0000 [0x401262a8-0x401282a8] timer 0 0x4002f974 suspend 8 0x40128978 10 16384 16064 10 0000 0000 [0x40128bd0-0x4012cbd0] ------------------------------------------------------------------------------------------------------------------------- memory info: Total 0x1feb4000 Used 0x00af7a80 Max 0x00afdb90 ------------------------------------------------memory information------------------------------------------------------- dump stack memory: 0x0000000040237d90: 0x400d4960 0x00000000 0xdeadbeef 0x00000000 0x0000000040237da0: 0xdeadbeef 0x00000000 0xdeadbeef 0x00000000 0x0000000040237db0: 0xdeadbeef 0x00000000 0xdeadbeef 0x00000000 0x0000000040237dc0: 0xdeadbeef 0x00000000 0xdeadbeef 0x00000000 0x0000000040237dd0: 0x40214038 0x00000000 0x4002eb54 0x00000000 0x0000000040237de0: 0x400d4a38 0x00000000 0xe87000a8 0x00000000 0x0000000040237df0: 0x40237e50 0x00000000 0x4002903e 0x00000000 0x0000000040237e00: 0xe9b037c8 0x00000000 0x40234000 0x00000000 0x0000000040237e10: 0x40029d24 0x00000000 0x40214038 0x00000000 0x0000000040237e20: 0x40237e50 0x00000000 0x00004120 0x00000002 0x0000000040237e30: 0xe9b037c8 0x00000000 0x400290de 0x00000000 0x0000000040237e40: 0x40237e50 0x00000000 0x4002a00c 0x00000000 0x0000000040237e50: 0xe9b01948 0x00000000 0xe9b00e88 0x00000000 0x0000000040237e60: 0x40237f60 0x00000000 0x40118dc0 0x00000000 0x0000000040237e70: 0x40214080 0x00000000 0x00000048 0x00000000 0x0000000040237e80: 0xe9b00e00 0x00000000 0x4124e644 0x00000000 0x0000000040237e90: 0x000001f4 0x00000000 0xe9b037c0 0x00000000 0x0000000040237ea0: 0x402f8448 0x00000000 0x00000000 0x00000000 0x0000000040237eb0: 0x000000c8 0x00000000 0x00afdb90 0x00000000 0x0000000040237ec0: 0x4012cbe0 0x00000000 0xe8700000 0x00000000 0x0000000040237ed0: 0x00000007 0x00000000 0x10000207 0x00000000 0x0000000040237ee0: 0xe9b037c8 0x00000000 0x4002eb54 0x00000000 0x0000000040237ef0: 0x40214038 0x00000000 0xdeadbeef 0x00000000 0x0000000040237f00: 0xdeadbeef 0x00000000 0xdeadbeef 0x00000000 0x0000000040237f10: 0xdeadbeef 0x00000000 0xdeadbeef 0x00000000 0x0000000040237f20: 0xdeadbeef 0x00000000 0xdeadbeef 0x00000000 0x0000000040237f30: 0x0000075c 0x00000000 0x000000c6 0x00000000 0x0000000040237f40: 0x00000121 0x00000000 0x000000d5 0x00000000 0x0000000040237f50: 0x00004120 0x00000002 0x00000000 0x00000000 0x0000000040237f60: 0x0000075c 0x00000000 0x000000c6 0x00000000 0x0000000040237f70: 0x000001f4 0x00000000 0x000000fb 0x00000000 0x0000000040237f80: 0x00000000 0x00000000 0x40029dec 0x00000000 dump sepc memory: 0x00000000400956d2: 0x0527c783 0x0797eb91 0x8c23000a 0x0517d207 0x00000000400956e2: 0x0513000a 0x8082d305 0x07971101 0x8793000a 0x00000000400956f2: 0xec0612c7 0xe826e422 0xc195638c 0x40000613 0x0000000040095702: 0x000a0517 0xd0e50513 0xc067f0ef 0x642260e2 0x0000000040095712: 0x051764c2 0x0513000a 0x6105cfc5 0xf0ef8082 0x0000000040095722: 0x5597d4af 0x85930006 0xe509c6c5 0x00065597 0x0000000040095732: 0xc6a58593 0x000a0517 0xcda50513 0xd137e0ef 0x0000000040095742: 0x000a0417 0xcce40413 0x80ef8522 0x84aaeee9 0x0000000040095752: 0x80ef8522 0x0593ee69 0x8d894000 0x00940533 0x0000000040095762: 0x2a2060ef 0x00065597 0xc3a58593 0xe0ef8522 0x0000000040095772: 0xbf69ae17 0xe0221141 0x5517842a 0x05130006 0x0000000040095782: 0xe406cc45 0x88e960ef 0xf3fff0ef 0x061385aa 0x0000000040095792: 0x55171e84 0x05130006 0x60efcb45 0x64028789 0x00000000400957a2: 0x450160a2 0x80820141 0xeca67159 0x051384aa 0x00000000400957b2: 0xf4862400 0xe8caf0a2 0xe0d2e4ce 0xf85afc56 0x00000000400957c2: 0xf062f45e 0xe86aec66 0xd0efe46e 0x842a74f0 0x00000000400957d2: 0x24000613 0xd0ef4581 0x90efb857 0x85a6d1e9 0x00000000400957e2: 0x78d030ef 0x1e840493 0x05000613 0x85264581 0x00000000400957f2: 0xb6b7d0ef 0x08a34785 0xf0ef04f4 0x60efecdf 0x0000000040095802: 0x17978149 0x87930009 0x439c81c7 0x45b5e78d 0x0000000040095812: 0x00065517 0xbd650513 0xd25ff0ef 0x1c6357fd 0x0000000040095822: 0x559700f5 0x85930006 0x5517bc45 0x05130006 0x0000000040095832: 0x50efbcc5 0x4c6dfe19 0x59174a05 0x09130006 0x0000000040095842: 0x0993be49 0x0a931984 0x0c930a84 0x0b130584 0x0000000040095852: 0x0b930f84 0x40ef1484 0x8d2a3300 0x3e051163 0x0000000040095862: 0x95f7c0ef 0xfe0549e3 0x0b634785 0x47830185 0x0000000040095872: 0x99630504 0x07930747 0x166305b0 0x478900f5 0x0000000040095882: 0x04f40823 0x0823bfc9 0xd5710404 0x0ff00793 0x0000000040095892: 0xfcf503e3 0x156347a5 0x578312f5 0x4c6323a4 0x00000000400958a2: 0x251710fd 0x05130006 0x50efa6c5 0xf0eff699 0x00000000400958b2: 0x1563bbaf 0x85260145 0xf9aff0ef 0xe0bff0ef 0x00000000400958c2: 0x862685aa 0x00065517 0xb8250513 0xf47950ef panic_goto_cli can not be reentrant!
-
回复: 在D1上面如何跑melis的D1版本?
我的也是这样,我还尝试了
pack -a nand
没有成功生成img。
nor的和sdcard的img烧录到sd后跑起来都没反应。