Skip to content

Instantly share code, notes, and snippets.

cli_simple_run_command() [RUN_COMMAND] cmd[00000000803fed60]="=> sf probe 3:0
cli_simple_run_command() [RUN_COMMAND] cmd[00000000803fed60]="cli_simple_run_command() [PROCESS_SEPARATORS] sf probe 3:0
cli_simple_run_command() token: "sf probe 3:0"
cli_simple_process_macros() [PROCESS_MACROS] INPUT len 12: "sf probe 3:0"
cli_simple_process_macros() [PROCESS_MACROS] OUTPUT len 12: "sf probe 3:0"
cli_simple_parse_line() cli_simple_parse_line: "sf probe 3:0"
cli_simple_parse_line() parse_line: nargs=3
spi_find_bus_and_cs() spi_find_bus_and_cs: No bus 3
__of_translate_address() OF: ** translation for device spi@54000000 **
__of_translate_address() OF: bus is default (na=1, ns=1) on bus@52000000
#include "foo.h"
/* Other code */
initcall_run_list() initcall: 000000008000718e
initcall_run_list() initcall: 00000000800075cc
initcall_run_list() initcall: 00000000800075b2
alloc_simple() size=30, ptr=60, limit=1000: malloc_simple() 803ff020
alloc_simple() size=a0, ptr=100, limit=1000: malloc_simple() 803ff050
lists_bind_fdt() bind node aliases
lists_bind_fdt() Device 'aliases' has no compatible string
lists_bind_fdt() bind node clocks
lists_bind_fdt() Device 'clocks' has no compatible string
lists_bind_fdt() bind node cpus
--- /dev/fd/63 2020-02-18 17:22:31.935092999 -0500
+++ dtb.hex 2020-02-18 17:21:52.418720026 -0500
@@ -62,7 +62,7 @@
000003d0: 6b 65 74 30 00 72 69 73 63 76 00 00 00 00 00 03 ket0.riscv......
000003e0: 00 00 00 0c 00 00 00 b4 72 76 36 34 69 6d 61 66 ........rv64imaf
000003f0: 64 67 63 00 00 00 00 03 00 00 00 05 00 00 00 be dgc.............
-00000400: 73 76 33 39 00 00 00 00 00 00 00 03 00 00 00 04 sv39............
+00000400: 08 40 04 80 00 00 00 00 00 00 00 03 00 00 00 04 .@..............
00000410: 00 00 00 c7 00 00 00 40 00 00 00 03 00 00 00 04 .......@........
00000420: 00 00 00 da 00 00 80 00 00 00 00 03 00 00 00 04 ................
[sean@godwin build]$ ../configure --target=riscv64-linux-gnu
checking for gmake... no
checking for make... make
checking for RTEMS Version... 5.0.0
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... riscv64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
[sean@godwin build]$ ../configure --target=riscv-rtems5
checking for gmake... no
checking for make... make
checking for RTEMS Version... 5.0.0
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... riscv-unknown-rtems5
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
=> mmc info
CMD_SEND:0
ARG 0x00000000
MMC_RSP_NONE
CMD_SEND:8
ARG 0x000001aa
MMC_RSP_R1,5,6,7 0x000001aa
CMD_SEND:55
ARG 0x00000000
MMC_RSP_R1,5,6,7 0x00000001
=> mmc info
CMD_SEND:0
ARG 0x00000000
MMC_RSP_NONE
CMD_SEND:8
ARG 0x000001aa
MMC_RSP_R1,5,6,7 0x000001aa
CMD_SEND:55
ARG 0x00000000
MMC_RSP_R1,5,6,7 0x00000001
=> mmc rescan
CMD_SEND:0
ARG 0x00000000
MMC_RSP_NONE
CMD_SEND:8
ARG 0x000001aa
MMC_RSP_R1,5,6,7 0xaaffffff
CMD_SEND:55
ARG 0x00000000
MMC_RSP_R1,5,6,7 0x00000001
=> mmc rescan
CMD_SEND:0
ARG 0x00000000
MMC_RSP_NONE
CMD_SEND:8
ARG 0x000001aa
MMC_RSP_R1,5,6,7 0xaaffffff
CMD_SEND:55
ARG 0x00000000
MMC_RSP_R1,5,6,7 0x00000001