Skip to content

sf32lb52-nano_52j_a128 nvds初始化失败 #241

@HardFatal

Description

@HardFatal

Answers checklist.

  • I have read the documentation SiFli-SDK Programming Guide and the issue is not addressed there.
  • I have updated my SiFli-SDK branch (main or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

SiFli-SDK version.

main 分支最新 81f96e1

SiFli SoC revision.

sf32lb52-nano_52j_a128

Operating System used.

Linux

Development Kit.

sf32lb52-nano_52j_a128

What is the expected behavior?

bap_broadcast_sink 在sf32lb52-nano_52j_a128上运行成功

https://oshwhub.com/sifli/sf32lb52-devkit-nano

What is the actual behavior?

sf32lb52-nano_52j_a128 下载example/zbt/bap_broadcast_sink nvds初始化失败mount fs on flash to root fail

不知道是不是分区问题,如何进行分区呢?

[31m[2719] E/DFS main: Device (root) was not found
[0mdfs_mkfs elm flash fail
fdb_kvdb_init: ble
[31m[2775] E/nvds main: nvds init failed !!!
[0m[31m[3153] E/nvds main: nvds(0) flush failed

Steps to reproduce.

cd sifli-sdk
. ./export.sh
cd example/zbt/bap_broadcast_sink/project
scons --board=sf32lb52-nano_52j_a128
./build_sf32lb52-nano_52j_a128_hcpu/uart_download.sh

Debug Logs.

NAND ID 0xc891c8
det bbm table with 1, 1, 2
detect result 2
V1 1 in block 992, V2 0 in block 994
Latest version 1
V1 1 in block 993, V2 0 in block 995
Latest version 1
v1 1 in blk 992, v2 1 in block 993
BBM MEM: ctx 2000b500, map1 2000b0f0, map2 2000b2f8 
sif_bbm_init done

 \ | /
- SiFli Corporation
 / | \     build on Apr 10 2026, 2.4.0 build 81f96e1f
 2020 - 2022 Copyright by SiFli team
mount /dev sucess
[32m[1873] I/drv.rtc main: PSCLR=0x80000100 DivAI=128 DivAF=0 B=256

[0m[32m[1901] I/drv.rtc main: RTC use LXT RTC_CR=00000001


[0m[32m[1924] I/drv.rtc main: Init RTC, wake = 0


[0m[32m[2440] I/drv.audprc main: init 00 ADC_PATH_CFG0 0x606


[0m[32m[2464] I/drv.audprc main: HAL_AUDPRC_Init res 0


[0m[32m[2487] I/drv.audcodec main: HAL_AUDCODEC_Init res 0


[0m[32;22m[I/FAL] Flash Abstraction Layer (V0.5.99) initialize success.[0m
[32m[2540] I/TOUCH main: Regist touch screen driver, probe=0x10013b7d 

[0mcall par CFG1(3313)

fc 9, xtal 2000, pll 2164

call par CFG1(3313)

fc 7, xtal 2000, pll 1734

mount fs on flash to root fail
[31m[2707] E/DFS main: Device (root) was not found

[0mdfs_mkfs elm flash fail
fdb_kvdb_init: ble
[31m[2762] E/nvds main: nvds init failed !!!

[0m[31m[3141] E/nvds main: nvds(0) flush failed

[0m[31m[3161] E/nvds main: nvds(0) flush failed

[0m[31m[3181] E/nvds main: nvds(1) flush failed

[0m[32m[39962] I/audio audiosvr: audio server run

[0m[32m[39982] I/audio bt_downvoice: audio_btdownlink run

More Information.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions