$ cpu-mqpro.sh /bbin/kexec -d ./vmlinux
...
1970/01/02 00:03:48 Kernel: /tmp/kexec-image2840883519
1970/01/02 00:03:48 Command line:
2022/08/25 23:30:57 Wait: wait: remote command exited without exit status or exit signal
This file contains hidden or 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
| oreboot 🦀 bt0 | |
| boot mode: UART | |
| RISC-V arch 8000000000000007 | |
| RISC-V core vendor: SiFive (0x0489) | |
| RISC-V implementation: 21G1.02.00 / llama.02.00-general (0x04210427) | |
| RISC-V hart ID 1 | |
| apb0 80000000 | |
| apb0 80000000 | |
| DRAM: 4G: false 2G: false | |
| [DRAM] init start |
This file contains hidden or 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
| [ | |
| { | |
| "lang": "en-US", | |
| "tag-id": "a9032c9d-2aaa-5a25-a0e6-6d865b24e6d2", | |
| "tag-version": 0, | |
| "software-name": "coreboot", | |
| "software-version": "bd34cca50aba130364f362618881693c0478a4a6", | |
| "version-scheme": "alphanumeric", | |
| "software-meta": [ | |
| { |
This file contains hidden or 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
| warning: `pe-loader` (lib) generated 1 warning | |
| Compiling rust-firmware-layout v0.1.0 (/home/dama/Projects/Fiedka/uefi-pi-rs/rust-firmware-layout) | |
| thread 'rustc' panicked at 'failed to lookup `SourceFile` in new context', compiler/rustc_query_impl/src/on_disk_cache.rs:514:22 | |
| note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace | |
| error: internal compiler error: unexpected panic | |
| note: the compiler unexpectedly panicked. this is a bug. | |
| note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md |
This file contains hidden or 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/sh | |
| # https://stackoverflow.com/a/50658776 | |
| _INC="-I include -I arch/riscv/include" | |
| _TMP=/tmp/resolved.dts | |
| _OUT=/tmp/recompiled.dts | |
| cpp -nostdinc $_INC -undef -x assembler-with-cpp "$1" $_TMP | |
| # sed -i '/^#.*/d' $_TMP |
This file contains hidden or 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
| CONFIG_BLK_DEV_INITRD=y | |
| CONFIG_INITRAMFS_SOURCE="xinitcpud.cpio.xz" | |
| # CONFIG_PERF_EVENTS_AMD_UNCORE is not set | |
| CONFIG_EFI=y | |
| CONFIG_KEXEC=y | |
| CONFIG_CMDLINE_BOOL=y | |
| CONFIG_CMDLINE="noefi ip=dhcp earlyprintk=ttyS0,115200,keep console=ttyS0,115200" | |
| CONFIG_CMDLINE_OVERRIDE=y | |
| # CONFIG_ACPI_PRMT is not set | |
| CONFIG_NET=y |
This file contains hidden or 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
| [52]HELLO! BOOT0 is starting! | |
| [55]BOOT0 commit : 9d92598 | |
| [58]set pll start | |
| [60]periph0 has been enabled | |
| [62]set pll end | |
| [64][pmu]: bus read error | |
| [66]board init ok | |
| [68]DRAM only have internal ZQ!! | |
| [71]get_pmu_exist() = -1 | |
| [73]DRAM BOOT DRIVE INFO: V0.32 |
This file contains hidden or 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
| [34]HELLO! BOOT0 is starting![Sep 18 2021, 11:27:51] | |
| [39]BOOT0 commit : 3b45046 | |
| [42]set pll start | |
| [44]periph0 has been enabled | |
| [47]set pll end | |
| [48][pmu]: bus read error | |
| [50]board init ok | |
| [52]enable_jtag | |
| [54]DRAM only have internal ZQ!! | |
| [57]get_pmu_exist() = -1 |
This file contains hidden or 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/sh | |
| _TMP=`mktemp` | |
| echo -n $(rax2 -s "$1") > $_TMP | |
| riscv64-linux-gnu-objdump -m riscv -b binary -D $_TMP | tail -n 5 | |
| rm $_TMP |