melis开机启动进入不了应用
-
下载nezha官方的代码,开机启动进入不了startup.sh.不知道哪里问题,求大神帮看看。melis.log
-
@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
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号