https://github.com/starfive-tech/meta-starfive,这个看目前针对starfive已经做了一些yocto项目适配,但是好像是针对昉.天枢?是否不支持在单板visionfive v1运行?编译出来的文件(rootfs/kernal/dtb)目前在visionfive单板上运行失败。
部分log日志:
Checked W+X mappings: passed, no W+X pages found
rodata_test: all tests were successful
Run /init as init process
init[1]: unhandled signal 4 code 0x1 at 0x0000003f82980480 in ld-linux-riscv64-lp64d.so.1ls -l[3f8297f000+1b000]
CPU: 1 PID: 1 Comm: init Not tainted 5.19.0-rc5-starlight-starlight #1
Hardware name: StarFive VisionFive V1 (DT)
epc : 0000003f82980480 ra : 0000003f8297fc86 sp : 0000003ff1c5fd80
gp : ffffffff812cfd50 tp : 0000000000000000 t0 : 000000006ffffe35
t1 : 0000000000000000 t2 : 000000000000000a s0 : 0000003ff1c5fe10
s1 : 000000006ffffeff a0 : 0000003f8299cb18 a1 : 0000000000000022
a2 : 0000000070000022 a3 : 0000000070000000 a4 : 0000003f8299be70
a5 : 000000000000000e a6 : 000000000000000f a7 : 000000006fffffff
s2 : 000000006fffff41 s3 : 0000000000000000 s4 : 0000000000000000
s5 : 0000000000000000 s6 : 0000000000000000 s7 : 0000000000000000
s8 : 0000000000000000 s9 : 0000003f8299d050 s10: 0000003f8297f000
s11: 0000000000000000 t3 : fffffffffffffffc t4 : 0000000000000032
t5 : 000000000000000b t6 : 000000006ffffdff
status: 0000000200004020 badaddr: 0000000020a7e7b3 cause: 0000000000000002
Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004
CPU: 1 PID: 1 Comm: init Not tainted 5.19.0-rc5-starlight-starlight #1
Hardware name: StarFive VisionFive V1 (DT)
Call Trace:
[] dump_backtrace+0x1c/0x24
[] show_stack+0x2c/0x38
[] dump_stack_lvl+0x3c/0x54
brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Feb 16 2020 22:39:24 version 7.45.98.97 (r724416 C4
[] dump_stack+0x14/0x1c
[] panic+0xee/0x290
[] do_exit+0x38a/0x390
[] do_group_exit+0x24/0x78
[] get_signal+0x722/0x752
[] do_notify_resume+0x32/0x17a
[] ret_from_exception+0x0/0xc
SMP: stopping secondary CPUs