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
$ qemu/build/qemu-system-riscv64 -M virt,pflash0=pflash0,pflash1=pflash1 -m 2G -smp 8 -serial mon:stdio -nographic -blockdev node-name=pflash0,driver=file,read-only=on,filename=RISCV_VIRT_CODE.fd -blockdev node-name=pflash1,driver=file,filename=RISCV_VIRT_VARS.fd -append "root=/dev/ram ro console=hvc earlycon=sbi loglevel=8" -kernel linux/arch/riscv/boot/Image -bios ~/data/opensbi/build/platform/generic/firmware/fw_dynamic.bin | |
OpenSBI v1.4-64-ge23cda471586 | |
____ _____ ____ _____ | |
/ __ \ / ____| _ \_ _| | |
| | | |_ __ ___ _ __ | (___ | |_) || | | |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | | | |
| |__| | |_) | __/ | | |____) | |_) || |_ | |
\____/| .__/ \___|_| |_|_____/|____/_____| | |
| | |
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
dfustini@host:~$ cd ~/data/Build/RiscVVirtQemu/RELEASE_GCC5/FV; ~/data/qemu/build/qemu-system-riscv64 -M virt,pflash0=pflash0,pflash1=pflash1 -m 2G -smp 8 -serial mon:stdio -blockdev node-name=pflash0,driver=file,read-only=on,filename=RISCV_VIRT_CODE.fd -blockdev node-name=pflash1,driver=file,filename=RISCV_VIRT_VARS.fd -kernel ~/linux/arch/riscv/boot/Image -initrd ~/data/buildroot/output/images/rootfs.ext2 -append "root=/dev/ram ro console=hvc earlycon=sbi" -nographic | |
OpenSBI v1.4 | |
____ _____ ____ _____ | |
/ __ \ / ____| _ \_ _| | |
| | | |_ __ ___ _ __ | (___ | |_) || | | |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | | | |
| |__| | |_) | __/ | | |____) | |_) || |_ | |
\____/| .__/ \___|_| |_|_____/|____/_____| | |
| | |
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
#pdp7@thelio:~/dev/kernel/revyos$ cat upload.sh | |
#!/bin/bash | |
FILE=`ls -tr ../*image*deb |tail -1` | |
ls -la $FILE | |
scp -p $FILE debian@10.0.0.175:. | |
#pdp7@thelio:~/dev/kernel/revyos$ cat th1520-build.sh | |
#!/bin/bash -x |
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
pdp7@thelio:~/dev/kernel/revyos$ ls -ltar *sh | |
-rwxr-xr-x 1 pdp7 pdp7 417 Jan 19 18:00 th1520-build.sh | |
-rwxr-xr-x 1 pdp7 pdp7 96 Jan 28 10:17 upload.sh | |
pdp7@thelio:~/dev/kernel/revyos$ cat th1520-build.sh | |
#!/bin/bash -x | |
#DEPLOY=/home/pdp7/dev/ahead/xuantie-ubuntu/deploy | |
make ARCH=riscv CROSS_COMPILE=riscv64-linux-gnu- -j$1 2>&1 | tee build.log.$(date +"%Y-%m-%d_%H-%M-%S") | |
#cp -p arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dtb ${DEPLOY}/light-beagle.dtb && \ |
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
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/riscv 6.5.0-9-generic Kernel Configuration | |
# | |
CONFIG_CC_VERSION_TEXT="riscv64-linux-gnu-gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0" | |
CONFIG_CC_IS_GCC=y | |
CONFIG_GCC_VERSION=130200 | |
CONFIG_CLANG_VERSION=0 | |
CONFIG_AS_IS_GNU=y | |
CONFIG_AS_VERSION=24100 |
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
~/data/build-webos$ cat /data/dfustini/build-webos/BUILD/work/qemux86_64-webos-linux/luna-service2/3.21.2-37-r32/temp/log.do_compile.3998572 | |
DEBUG: Executing shell function do_compile | |
NOTE: VERBOSE=1 cmake --build /data/dfustini/build-webos/BUILD/work/qemux86_64-webos-linux/luna-service2/3.21.2-37-r32/build --target all -- | |
[1/10] : && /data/dfustini/build-webos/BUILD/work/qemux86_64-webos-linux/luna-service2/3.21.2-37-r32/recipe-sysroot-native/usr/bin/x86_64-webos-linux/x86_64-webos-linux-g++ --sysroot=/data/dfustini/build-webos/BUILD/work/qemux86_64-webos-linux/luna-service2/3.21.2-37-r32/recipe-sysroot -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Werror=return-type --sysroot=/data/dfustini/build-webos/BUILD/work/qemux86_64-webos-linux/luna-service2/3.21.2-37-r32/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/data/dfustini/build-webos/BUILD/work/qemux86_64-webos-linux/ |
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
[ 0.000000] Linux version 6.8.0-rc1-g1229138d8c71 (pdp7@thelio) (riscv64-linux-gnu-gcc (Ubuntu 13.2.0-4ubuntu3) 13.2.0, GNU ld (GNU Binutils for Ubuntu) 2.41) #38 SMP Sun Jan 28 15:33:57 PST 2024 | |
[ 0.000000] Machine model: Sipeed Lichee Pi 4A | |
[ 0.000000] SBI specification v2.0 detected | |
[ 0.000000] SBI implementation ID=0x1 Version=0x10004 | |
[ 0.000000] SBI TIME extension detected | |
[ 0.000000] SBI IPI extension detected | |
[ 0.000000] SBI RFENCE extension detected | |
[ 0.000000] SBI DBCN extension detected | |
[ 0.000000] earlycon: uart0 at MMIO32 0x000000ffe7014000 (options '115200n8') | |
[ 0.000000] printk: legacy bootconsole [uart0] enabled |
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
[sudo] password for debian: | |
root@lpi4amain:~# dmesg | |
[ 0.000000] Linux version 6.8.0-rc1-g4e4b0c0fcf8a-dirty (pdp7@thelio) (riscv64-linux-gnu-gcc (Ubuntu 13.2.0-4ubuntu3) 13.2.0, GNU ld (GNU Binutils for Ubuntu) 2.41) #31 SMP Sun Jan 28 10:26:31 PST 2024 | |
[ 0.000000] Machine model: Sipeed Lichee Pi 4A | |
[ 0.000000] SBI specification v2.0 detected | |
[ 0.000000] SBI implementation ID=0x1 Version=0x10004 | |
[ 0.000000] SBI TIME extension detected | |
[ 0.000000] SBI IPI extension detected | |
[ 0.000000] SBI RFENCE extension detected | |
[ 0.000000] SBI DBCN extension detected |
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
#!/bin/bash -x | |
if [ $# -eq 0 ] | |
then | |
echo "usage: $0 <path>" | |
fi | |
MOUNT=/media/pdp7/thelio | |
THEAD=$MOUNT/dev/kernel/thead-kernel | |
MAIN=$MOUNT/dev/kernel/revyos | |
meld $THEAD/$1 $MAIN/$1 |
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
brom_ver 8 | |
[APP][E] protocol_connect failed, exit. | |
----------------------------------------- | |
_____ _ _____ _____ _ __ | |
| __ \ (_)/ ____| __ \| |/ / | |
| |__) | _ _ _ _| (___ | | | | ' / | |
| _ / | | | | | | |\___ \| | | | < | |
| | \ \ |_| | |_| | |____) | |__| | . \ | |
|_| \_\__,_|\__, |_|_____/|_____/|_|\_\ |
NewerOlder