Use upstream u-boot and disable debug logs
This commit is contained in:
parent
67fedf4651
commit
14f6528318
@ -119,11 +119,11 @@
|
|||||||
|
|
||||||
uboot = prev.ubootQemuRiscv64Smode.override {
|
uboot = prev.ubootQemuRiscv64Smode.override {
|
||||||
filesToInstall = [ "u-boot.bin" "u-boot-nodtb.bin" ];
|
filesToInstall = [ "u-boot.bin" "u-boot-nodtb.bin" ];
|
||||||
version = "2023.07.02-print-cpu-probe";
|
#version = "2023.07.02-print-cpu-probe";
|
||||||
src = builtins.fetchGit {
|
#src = builtins.fetchGit {
|
||||||
url = "file:///home/Computational/rarias/riscv/u-boot";
|
# url = "file:///home/Computational/rarias/riscv/u-boot";
|
||||||
rev = "f80a22a480f0e4157647bacf90e663be457c72c4";
|
# rev = "f80a22a480f0e4157647bacf90e663be457c72c4";
|
||||||
};
|
#};
|
||||||
#patches = [ ./u-boot-debug.patch ];
|
#patches = [ ./u-boot-debug.patch ];
|
||||||
#
|
#
|
||||||
# CONFIG_SERIAL_PRESENT=n
|
# CONFIG_SERIAL_PRESENT=n
|
||||||
@ -149,13 +149,18 @@
|
|||||||
CONFIG_DEBUG_SBI_CONSOLE=y
|
CONFIG_DEBUG_SBI_CONSOLE=y
|
||||||
CONFIG_SMP=n
|
CONFIG_SMP=n
|
||||||
CONFIG_TRACE_EARLY=y
|
CONFIG_TRACE_EARLY=y
|
||||||
CONFIG_LOG=y
|
''
|
||||||
CONFIG_LOGLEVEL=9
|
# # Enable debug logs
|
||||||
CONFIG_LOG_MAX_LEVEL=9
|
# +
|
||||||
CONFIG_LOG_DEFAULT_LEVEL=9
|
# ''
|
||||||
'';
|
# CONFIG_LOG=y
|
||||||
|
# CONFIG_LOGLEVEL=9
|
||||||
|
# CONFIG_LOG_MAX_LEVEL=9
|
||||||
|
# CONFIG_LOG_DEFAULT_LEVEL=9
|
||||||
|
# ''
|
||||||
|
;
|
||||||
extraMakeFlags = [
|
extraMakeFlags = [
|
||||||
"KCPPFLAGS=-DLOG_DEBUG"
|
#"KCPPFLAGS=-DLOG_DEBUG"
|
||||||
#"EXT_DTB=${final.ox-dtb}"
|
#"EXT_DTB=${final.ox-dtb}"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user