blob: 5261085a068d2773214d5a4d3a63da6de9c2d181 [file] [log] [blame]
Heinrich Schuchardt07af2ff2023-01-15 12:45:44 +01001.. SPDX-License-Identifier: GPL-2.0+
2.. Copyright 2023, Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
3
4bdinfo command
5==============
6
7Synopsis
8--------
9
10::
11
12 bdinfo
13
14Description
15-----------
16
17The *bdinfo* command prints information about the board.
18
19Example
Heinrich Schuchardt474e8fd2023-01-21 10:25:04 +010020-------
Heinrich Schuchardt07af2ff2023-01-15 12:45:44 +010021
22::
23
24 => bdinfo
25 boot_params = 0x0000000000000000
26 DRAM bank = 0x0000000000000000
27 -> start = 0x0000000040000000
28 -> size = 0x0000000100000000
29 flashstart = 0x0000000000000000
30 flashsize = 0x0000000004000000
31 flashoffset = 0x00000000000e87f8
32 baudrate = 115200 bps
33 relocaddr = 0x000000013fefb000
34 reloc off = 0x000000013fefb000
35 Build = 64-bit
36 current eth = virtio-net#32
37 ethaddr = 52:52:52:52:52:52
38 IP addr = 10.0.2.15
39 fdt_blob = 0x000000013edbadb0
40 new_fdt = 0x000000013edbadb0
41 fdt_size = 0x0000000000100000
42 lmb_dump_all:
43 memory.cnt = 0x1
44 memory[0] [0x40000000-0x13fffffff], 0x100000000 bytes flags: 0
45 reserved.cnt = 0x2
46 reserved[0] [0x13ddb3000-0x13fffffff], 0x0224d000 bytes flags: 0
47 reserved[1] [0x13edb6930-0x13fffffff], 0x012496d0 bytes flags: 0
48 devicetree = board
49 arch_number = 0x0000000000000000
50 TLB addr = 0x000000013fff0000
51 irq_sp = 0x000000013edbada0
52 sp start = 0x000000013edbada0
53 Early malloc usage: 3a8 / 2000
54 =>
55
56boot_params
57 address of the memory area for boot parameters
58
59DRAM bank
60 index, start address and end address of a memory bank
61
62baudrate
63 baud rate of the serial console
64
65relocaddr
66 address to which U-Boot has relocated itself
67
68reloc off
69 relocation offset, difference between *relocaddr* and the text base
70
71Build
72 bitness of the system
73
74current eth
75 name of the active network device
76
77IP addr
78 network address, value of the environment variable *ipaddr*
79
80fdt_blob
81 address of U-Boot's own device tree, NULL if none
82
83new_fdt
84 location of the relocated device tree
85
86fdt_size
87 space reserved for relocated device space
88
89lmb_dump_all
90 available memory and memory reservations
91
92devicetree
93 source of the device-tree
94
95arch_number
96 unique id for the board
97
98TLB addr
99 address of the translation lookaside buffer
100
101irq_sp
102 address of the IRQ stack pointer
103
104sp start
105 initial stack pointer address
106
107Early malloc usage
108 amount of memory used in the early malloc memory and its maximum size
Simon Glassc1aae9b2023-09-26 08:14:29 -0600109 as defined by CONFIG_SYS_MALLOC_F_LEN
Heinrich Schuchardt07af2ff2023-01-15 12:45:44 +0100110
111Configuration
112-------------
113
114The bdinfo command is available if CONFIG_CMD_BDI=y.
115
116Return code
117-----------
118
119The return code $? is 0 (true).