mirror of
https://github.com/lupyuen/nuttx-star64.git
synced 2025-01-12 20:58:32 +08:00
Add debug symbols
This commit is contained in:
parent
c99b84088e
commit
4ad325e79d
1 changed files with 15 additions and 3 deletions
18
.github/workflows/star64.yml
vendored
18
.github/workflows/star64.yml
vendored
|
@ -99,18 +99,28 @@ jobs:
|
|||
|
||||
## Dump the disassembly to nuttx.S
|
||||
riscv64-unknown-elf-objdump \
|
||||
-t -S --demangle --line-numbers --wide \
|
||||
--syms --source --reloc --demangle --line-numbers --wide \
|
||||
--debugging \
|
||||
nuttx \
|
||||
>nuttx.S \
|
||||
2>&1
|
||||
|
||||
## Dump the init disassembly to init.S
|
||||
riscv64-unknown-elf-objdump \
|
||||
-t -S --demangle --line-numbers --wide \
|
||||
--syms --source --reloc --demangle --line-numbers --wide \
|
||||
--debugging \
|
||||
../apps/bin/init \
|
||||
>init.S \
|
||||
2>&1
|
||||
|
||||
## Dump the hello disassembly to hello.S
|
||||
riscv64-unknown-elf-objdump \
|
||||
--syms --source --reloc --demangle --line-numbers --wide \
|
||||
--debugging \
|
||||
../apps/bin/hello \
|
||||
>hello.S \
|
||||
2>&1
|
||||
|
||||
- name: Upload Build Outputs as Artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
|
@ -121,11 +131,12 @@ jobs:
|
|||
nuttx/nuttx/starfiveu.fit
|
||||
nuttx/nuttx/jh7110-visionfive-v2.dtb
|
||||
nuttx/nuttx/init.S
|
||||
nuttx/nuttx/hello.S
|
||||
|
||||
- name: Zip Build Outputs for GitHub Release
|
||||
run: |
|
||||
cd nuttx/nuttx
|
||||
zip nuttx.zip nuttx* initrd starfiveu.fit jh7110-visionfive-v2.dtb init.S
|
||||
zip nuttx.zip nuttx* initrd starfiveu.fit jh7110-visionfive-v2.dtb init.S hello.S
|
||||
|
||||
- name: Get Current Date
|
||||
id: date
|
||||
|
@ -153,3 +164,4 @@ jobs:
|
|||
nuttx/nuttx/starfiveu.fit
|
||||
nuttx/nuttx/jh7110-visionfive-v2.dtb
|
||||
nuttx/nuttx/init.S
|
||||
nuttx/nuttx/hello.S
|
||||
|
|
Loading…
Reference in a new issue