-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #48 from Alignof/develop
Ver 1.0.0
- Loading branch information
Showing
36 changed files
with
1,347 additions
and
277 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Tag | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- Cargo.toml | ||
|
||
jobs: | ||
tag: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 2 | ||
- uses: salsify/action-detect-and-tag-new-version@v2 | ||
id: detect_tag | ||
with: | ||
create-tag: true | ||
version-command: cargo read-manifest | jq -r .version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,5 @@ Cargo.lock | |
|
||
# Added by me | ||
.gdb_history | ||
fedora-vmlinux | ||
stage4-disk.img | ||
vmlinux | ||
vmlinux_debug |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,24 @@ | ||
# Build guest image | ||
|
||
## Linux | ||
## device tree | ||
``` | ||
git clone https://github.com/torvalds/linux -b v6.9 | ||
$ ./build_dtb.sh create | ||
$ vim guest.dts # edit dts | ||
$ ./build_dtb.sh build | ||
# guest.dtb is created to repository root. | ||
``` | ||
|
||
## Linux (with debug info) | ||
``` | ||
$ git clone https://github.com/torvalds/linux -b v6.9 | ||
cd /path/to/this/repository | ||
cp ./.config /path/to/linux | ||
$ cd /path/to/this/repository | ||
$ cp ./guest_image/.config /path/to/linux | ||
cd /path/to/linux | ||
make ARCH=riscv CROSS_COMPILE=riscv64-unknown-linux-gnu- defconfig | ||
# For debug | ||
# make ARCH=riscv CROSS_COMPILE=riscv64-unknown-linux-gnu- menuconfig | ||
# DEBUG_KERNEL [=y], DEBUG_INFO [=y], EFI [=n], RELOCATABLE [=n] | ||
make ARCH=riscv CROSS_COMPILE=riscv64-unknown-linux-gnu- -j$(nproc) | ||
mv vmlinux /path/to/linux/vmlinx_debug | ||
$ cd /path/to/linux | ||
$ make ARCH=riscv CROSS_COMPILE=riscv64-unknown-linux-gnu- defconfig | ||
$ make ARCH=riscv CROSS_COMPILE=riscv64-unknown-linux-gnu- menuconfig | ||
$ DEBUG_KERNEL [=y], DEBUG_INFO [=y], EFI [=n], RELOCATABLE [=n] | ||
$ make ARCH=riscv CROSS_COMPILE=riscv64-unknown-linux-gnu- -j$(nproc) | ||
$ mv vmlinux /path/to/linux/vmlinx_debug | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.