OS-Course-Lab icon indicating copy to clipboard operation
OS-Course-Lab copied to clipboard

Lab1: chbuild defconfig() for qemu failed

Open Robert-Sen opened this issue 1 year ago • 2 comments

I tried to exec ./chbuild --local defconfig qemu in lab1, but failed, it told me that "Generating default config file for qemu platform... cp: cannot stat 'scripts/build/defconfigs/qemu.config': No such file or directory", that the config for qemu is not supported yet in Lab1?

Robert-Sen avatar Aug 20 '24 08:08 Robert-Sen

The main branch is under changing now. Please follow the instructions of original Lab1 branch. https://github.com/SJTU-IPADS/OS-Course-Lab/tree/ChCore-Lab1

You could simply use make build for compilation. If you choose to compile without a docker (what the local argument mean), you should type ./chbuild --local defconfig raspi3

sjtugjy avatar Aug 20 '24 08:08 sjtugjy

@sjtugjy I'll try, thanks!

Robert-Sen avatar Aug 20 '24 09:08 Robert-Sen

Even if we are in an emulator, we still use raspi3 defconfig and start qemu with raspi3 machine emulation mode. So we do not have this defconfig here.

./chbuild --local defconfig qemu

This is an invalid operation. Just use make build and it's ready to go. Close for now.

ToolmanP avatar Aug 28 '24 17:08 ToolmanP