You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "lupyuen (via GitHub)" <gi...@apache.org> on 2023/12/29 10:29:57 UTC
Re: [PR] adding kernel build for CanMV-K230 device [nuttx]
lupyuen commented on PR #11465:
URL: https://github.com/apache/nuttx/pull/11465#issuecomment-1871931246
Hi @yf13: We need some fixes here:
```text
Configuration/Tool: canmv230/nsh
------------------------------------------------------------------------------------
Cleaning...
Configuring...
Building NuttX...
chip/k230_start.c: In function 'k230_start':
##[error]chip/k230_start.c:100:5: error: "CONFIG_BUILD_KERNEL" is not defined, evaluates to 0 [-Werror=undef]
100 | #if CONFIG_BUILD_KERNEL
| ^~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile:145: k230_start.o] Error 1
make[1]: Target 'libarch.a' not remade because of errors.
make: *** [tools/LibTargets.mk:164: arch/risc-v/src/libarch.a] Error 2
make: Target 'all' not remade because of errors.
/github/workspace/sources/nuttx/tools/testbuild.sh: line 370: /github/workspace/sources/nuttx/../nuttx/nuttx.manifest: No such file or directory
Normalize canmv230/nsh
====================================================================================
Configuration/Tool: canmv230/knsh
------------------------------------------------------------------------------------
Cleaning...
Configuring...
Building NuttX...
##[error]chip/k230_mm_init.c:108:13: error: 'dump_pgtable' defined but not used [-Werror=unused-function]
108 | static void dump_pgtable(const size_t * pgt, uint32_t len, const char * name)
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile:145: k230_mm_init.o] Error 1
In file included from common/riscv_misaligned.c:30:
common/riscv_misaligned.c: In function 'decode_insn':
##[error]common/riscv_misaligned.c:547:16: error: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint32_t' {aka 'unsigned int'} [-Werror=format=]
547 | _alert("Uncompressed: %lx\n", insn.insn);
| ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~
| |
| uint32_t {aka unsigned int}
common/riscv_misaligned.c:547:33: note: format string is defined here
547 | _alert("Uncompressed: %lx\n", insn.insn);
| ~~^
| |
| long unsigned int
| %x
cc1: all warnings being treated as errors
make[1]: *** [Makefile:145: riscv_misaligned.o] Error 1
make[1]: Target 'libkarch.a' not remade because of errors.
make: *** [tools/LibTargets.mk:53: arch/risc-v/src/libkarch.a] Error 2
make: Target 'all' not remade because of errors.
/github/workspace/sources/nuttx/tools/testbuild.sh: line 370: /github/workspace/sources/nuttx/../nuttx/nuttx.manifest: No such file or directory
Normalize canmv230/knsh
.config:174:warning: symbol value '' invalid for ARCH_KMAP_VBASE
22d21
< CONFIG_ARCH_LAZYFPU=y
33a33
> CONFIG_ARCH_LAZYFPU=y
47,48d46
< CONFIG_DEBUG_ASSERTIONS=y
< CONFIG_DEBUG_FULLOPT=y
60d57
< CONFIG_RAW_BINARY=y
76a74
> CONFIG_RAW_BINARY=y
Saving the new configuration file
.config:174:warning: symbol value '' invalid for ARCH_KMAP_VBASE
HEAD detached at pull/11465/merge
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: boards/risc-v/k230/canmv230/configs/knsh/defconfig
no changes added to commit (use "git add" and/or "git commit -a")
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org