Skip to content

RT-smart + bsp/qemu-virt64-riscv 无法和 userapps 制作的 rootfs 启动 (TEST 4) #64

@unicornx

Description

@unicornx

参考 RT-Thread/rt-thread#9623 (comment) 上的 TEST 4. 请问目前 userapps 主线上做出来的 rootfs 和 prebuild 的 rt-smart 是不是不匹配?

构建命令 history,供参考:

cd userapps
source ./env.sh 
cd apps
xmake f -a riscv64gc
xmake -j$(nproc)
xmake smart-rootfs
xmake smart-image -f fat

另外,应用 #60 后依然不行,控制台输出进入死循环:

 \ | /
- RT -     Thread Smart Operating System
 / | \     5.2.0 build Nov 13 2024 10:15:45
 2006 - 2024 Copyright by RT-Thread team
lwIP-2.0.3 initialized!
[I/sal.skt] Socket Abstraction Layer initialize success.
[I/utest] utest is initialize success.
[I/utest] total utest testcase num: (0)
[I/drivers.serial] Using /dev/ttyS0 as default console
file system initialization done!
Hello RISC-V
msh />[E/sal.skt] not find network interface device by protocol family(1).
[E/sal.skt] SAL socket protocol family input failed, return error -3.
[E/sal.skt] not find network interface device by protocol family(1).
[E/sal.skt] SAL socket protocol family input failed, return error -3.
can't run '/etc/init.d/rcS': No such file or directory

Please press Enter to activate this console. [E/sal.skt] not find network interface device by protocol family(1).
[E/sal.skt] SAL socket protocol family input failed, return error -3.
[E/sal.skt] not find network interface device by protocol family(1).
[E/sal.skt] SAL socket protocol family input failed, return error -3.
can't open /dev/vc/4: No such file or directory
[E/sal.skt] not find network interface device by protocol family(1).
[E/sal.skt] SAL socket protocol family input failed, return error -3.
[E/sal.skt] not find network interface device by protocol family(1).
[E/sal.skt] SAL socket protocol family input failed, return error -3.
can't open /dev/vc/3: No such file or directory
[E/sal.skt] not find network interface device by protocol family(1).
[E/sal.skt] SAL socket protocol family input failed, return error -3.
can't open /dev/vc/4: No such file or directory
......

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions