Skip to content

Instantly share code, notes, and snippets.

@KunYi
Created October 4, 2021 09:09
Show Gist options
  • Save KunYi/10b56ece10e91b3d88ff26b3902b313d to your computer and use it in GitHub Desktop.
Save KunYi/10b56ece10e91b3d88ff26b3902b313d to your computer and use it in GitHub Desktop.
u-boot-sniff.log for SRG-IM8P
U-Boot SPL 2021.04-5.10.35-2.0.0+g79943c815e (Aug 26 2021 - 10:28:03 +0000)
DDRINFO: start DRAM init
DDRINFO: DRAM rate 3000MTS
U-Boot SPL 2021.04-5.10.35-2.0.0+g79943c815e (Aug 26 2021 - 10:28:03 +0000)
DDRINFO: start DRAM init
DDRINFO: DRAM rate 3000MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
SEC0: RNG instantiated
Normal Boot
WDT: Not found!
Trying to boot from BOOTROM
image offset 0x0, pagesize 0x200, ivt offset 0x0
Authenticate image from DDR location 0x401fcdc0...
NOTICE: BL31: v2.4(release):lf-5.10.35-2.0.0-rc2-0-gec35fef92
NOTICE: BL31: Built : 09:05:55, May 28 2021
U-Boot 2021.04-5.10.35-2.0.0+g79943c815e (Aug 26 2021 - 10:28:03 +0000)
CPU: i.MX8MP[6] rev1.1 1600 MHz (running at 1200 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 41C
Reset cause: POR
Model: AAEON SRG-IM8P IoT Gateway
DRAM: 2 GiB
MMC: FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... OK
[*]-Video Link 0fail to find output device
probe video device failed, ret -19
[0] lcd-controller@32e80000, video
fail to find output device
probe video device failed, ret -19
In: serial
Out: serial
Err: serial
SEC0: RNG instantiated
BuildInfo:
- ATF ec35fef
flash target is MMC:2
Net:
Warning: ethernet@30be0000 (eth0) using random MAC address - 9e:0a:2c:af:12:7a
Warning: ethernet@30bf0000 (eth1) using random MAC address - 2e:36:ac:35:69:75
eth0: ethernet@30be0000, eth1: ethernet@30bf0000 [PRIME]
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot: 2  0
u-boot=> help
? - alias for 'help'
base - print or set address offset
bdinfo - print Board Info structure
blkcache - block cache diagnostics and control
bmp - manipulate BMP image data
boot - boot default, i.e., run 'bootcmd'
bootaux - Start auxiliary core
bootd - boot default, i.e., run 'bootcmd'
bootefi - Boots an EFI payload from memory
bootelf - Boot from an ELF image in memory
booti - boot Linux kernel 'Image' format from memory
bootm - boot application image from memory
bootp - boot image via network using BOOTP/TFTP protocol
bootvx - Boot vxWorks from an ELF image
clk - CLK sub-system
clocks - display clocks
cmp - memory compare
coninfo - print console devices and information
cp - memory copy
date - get/set/reset date & time
dcache - enable or disable data cache
dek_blob - Data Encryption Key blob encapsulation
dfu - Device Firmware Upgrade
dhcp - boot image via network using DHCP/TFTP protocol
dm - Driver model low level access
echo - echo args to console
editenv - edit environment variable
efidebug - Configure UEFI environment
env - environment handling commands
eraseenv - erase environment variables from persistent storage
exit - exit script
ext2load - load binary file from a Ext2 filesystem
ext2ls - list files in a directory (default /)
ext4load - load binary file from a Ext4 filesystem
ext4ls - list files in a directory (default /)
ext4size - determine a file's size
ext4write - create a file in the root directory
false - do nothing, unsuccessfully
fastboot - run as a fastboot usb or udp device
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
fatmkdir - create a directory
fatrm - delete a file
fatsize - determine a file's size
fatwrite - write file into a dos filesystem
fdt - flattened device tree utility commands
fstype - Look up a filesystem type
fstypes - List supported filesystem types
fuse - Fuse sub-system
gettime - get timer val elapsed
go - start application at address 'addr'
gpio - query and control gpio pins
gpt - GUID Partition Table
gzwrite - unzip and write memory to block device
hab_auth_img- authenticate image via HAB
hab_auth_img_or_fail- authenticate image via HAB on failure drop to USB BootROM mode
hab_failsafe- run BootROM failsafe routine
hab_status- display HAB status
hab_version- print HAB major/minor version
hash - compute hash message digest
help - print command description/usage
i2c - I2C sub-system
icache - enable or disable instruction cache
iminfo - print header information for application image
imxtract - extract a part of a multi-image
itest - return true/false on integer compare
lcdputs - print string on video framebuffer
ln - Create a symbolic link
load - load binary file from a filesystem
loadb - load binary file over serial line (kermit mode)
loads - load S-Record file over serial line
loadx - load binary file over serial line (xmodem mode)
loady - load binary file over serial line (ymodem mode)
log - log system
loop - infinite loop on address range
ls - list files in a directory (default /)
lzmadec - lzma uncompress a memory region
md - memory display
mdio - MDIO utility commands
mii - MII utility commands
mm - memory modify (auto-incrementing address)
mmc - MMC sub system
mmcinfo - display MMC info
mtest - simple RAM read/write test
mw - memory write (fill)
nfs - boot image via network using NFS protocol
nm - memory modify (constant address)
panic - Panic with optional message
part - disk partition related commands
ping - send ICMP ECHO_REQUEST to network host
pinmux - show pin-controller muxing
poweroff - Perform POWEROFF of the device
printenv - print environment variables
pxe - commands to get and boot from pxe files
qspihdr - Q(F)SPI Boot Config sub-system
random - fill memory with random pattern
read - Load binary data from a partition
regulator - uclass operations
reset - Perform RESET of the CPU
rtc - RTC subsystem
run - run commands in an environment variable
save - save file to a filesystem
saveenv - save environment variables to persistent storage
setcurs - set cursor position within screen
setenv - set environment variables
setexpr - set environment variable as the result of eval expression
sf - SPI flash sub-system
showvar - print local hushshell variables
size - determine a file's size
sleep - delay execution for some time
sntp - synchronize RTC via network
source - run script from memory
sqfsload - load binary file from a SquashFS filesystem
sqfsls - List files in directory. Default: root (/).
sysboot - command to get and boot from syslinux files
test - minimal test like /bin/sh
tftpboot - boot image via network using TFTP protocol
time - run commands and summarize execution time
timer - access the system timer
tpm2 - Issue a TPMv2.x command
true - do nothing, successfully
ums - Use the UMS [USB Mass Storage]
unlz4 - lz4 uncompress a memory region
unzip - unzip a memory region
usb - USB sub-system
usbboot - boot from USB device
version - print monitor, compiler and linker version
videolink - list and select video link
u-boot=> version
U-Boot 2021.04-5.10.35-2.0.0+g79943c815e (Aug 26 2021 - 10:28:03 +0000)
aarch64-poky-linux-gcc (GCC) 10.2.0
GNU ld (GNU Binutils) 2.36.1.20210209
u-boot=> printenv
altbootcmd=run bootballback; run bootcmd;
arch=arm
baudrate=115200
board=srg-im8p
board_name=SRG-IM8P
board_rev=EVK
boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}
boot_efi_binary=load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_r} efi/boot/bootaa64.efi; if fdt addr ${fdt_addr_r}; then bootefi ${kernel_addr_r} ${fdt_addr_r};else bootefi ${kernel_addr_r} ${fdtcontroladdr};fi
boot_efi_bootmgr=if fdt addr ${fdt_addr_r}; then bootefi bootmgr ${fdt_addr_r};else bootefi bootmgr;fi
boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}${boot_syslinux_conf}
boot_fdt=try
boot_fit=no
boot_net_usb_start=usb start
boot_prefixes=/ /boot/
boot_script_dhcp=boot.scr.uimg
boot_scripts=boot.scr.uimg boot.scr
boot_syslinux_conf=extlinux/extlinux.conf
boot_targets=usb0 mmc1 legacy_mmc1 mmc2 legacy_mmc2
bootcmd=run distro_bootcmd;run bsp_bootcmd
bootcmd_legacy_mmc1=setenv mmcdev 1; setenv mmcroot /dev/mmcblk1p${bootpart} rootwait rw; mmc rescan; mmc dev ${mmcdev}; if run scan_mmc_scriptfile; then run bootscript; fi; if run scan_mmc_imagefile; then run mmcboot; fi;
bootcmd_legacy_mmc2=setenv mmcdev 2; setenv mmcroot /dev/mmcblk2p${bootpart} rootwait rw; mmc rescan; mmc dev ${mmcdev}; if run scan_mmc_scriptfile; then run bootscript; fi; if run scan_mmc_imagefile; then run mmcboot; fi;
bootcmd_mfg=run mfgtool_args;if iminfo ${initrd_addr}; then if test ${tee} = yes; then bootm ${tee_addr} ${initrd_addr} ${fdt_addr}; else booti ${loadaddr} ${initrd_addr} ${fdt_addr}; fi; else echo "Run fastboot ..."; fastboot 0; fi;
bootcmd_mmc1=devnum=1; run mmc_boot
bootcmd_mmc2=devnum=2; run mmc_boot
bootcmd_usb0=devnum=0; run usb_boot
bootcount=1
bootdelay=2
bootfallback=echo Fallback to previous RootFS; if test ${bootpart} = 2; then setenv bootpart 3; else setenv bootpart 2; fi; setenv mmcroot /dev/mmcblk2p${bootpart} rootwait rw; setenv upgrade_available 0; setenv bootcount 0; saveenv;
bootlimit=4
bootm_size=0x10000000
bootpart=2
bootscript=echo Running bootscript from mmc ...; source
bsp_bootcmd=echo Running BSP bootcmd ...; mmc dev ${mmcdev}; if mmc rescan; then if run loadbootscript; then run bootscript; else if run loadimage; then run mmcboot; else run netboot; fi; fi; fi;
bsp_script=/boot/boot.scr
console=ttymxc1,115200
cpu=armv8
dfu_alt_info=mmc 2=1 raw 0 0x2000 mmcpart 1
distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done
efi_dtb_prefixes=/ /dtb/ /dtb/current/
emmc_dev=2
env_on_emmc=y
ethact=ethernet@30bf0000
ethprime=eth1
fastboot_dev=mmc2
fdt_addr=0x43000000
fdt_addr_r=0x43000000
fdt_high=0xffffffffffffffff
fdtcontroladdr=bbee3550
fdtfile=srg-im8p.dtb
fileaddr=40480000
filesize=376ecc
image=Image
initrd_addr=0x43800000
initrd_addr_r=0x43800000
initrd_high=0xffffffffffffffff
initrdfile=initrd.img
jh_clk=
jh_mmcboot=setenv fdtfile srg-imx8p-root.dtb;setenv jh_clk clk_ignore_unused mem=2048MB; if run loadimage; then run mmcboot; else run jh_netboot; fi;
jh_netboot=setenv fdtfile srg-imx8p-root.dtb; setenv jh_clk clk_ignore_unused mem=2048MB; run netboot;
kboot=booti
kernel_addr_r=0x40480000
load_efi_dtb=load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${prefix}${efi_fdtfile}
loadaddr=0x40480000
loadbootscript=load mmc ${mmcdev}:${bootpart} ${loadaddr} ${prefix}${script};
loadfdt=load mmc ${mmcdev}:${bootpart} ${fdt_addr_r} ${prefix}${fdtfile}
loadimage=load mmc ${mmcdev}:${bootpart} ${loadaddr} ${prefix}${image}
loadinitrd=load mmc ${mmcdev}:${bootpart} ${initrd_addr_r} ${prefix}${initrdfile}
mfgtool_args=setenv bootargs console=${console},${baudrate} rdinit=/linuxrc clk_ignore_unused
mmc_boot=if mmc dev ${devnum}; then devtype=mmc; run scan_dev_for_boot_part; fi
mmcargs=setenv bootargs ${jh_clk} ${datawipe} ${bootopts} console=${console} root=${mmcroot}
mmcautodetect=no
mmcboot=echo Booting from mmc ...; run mmcargs; if test ${boot_fit} = yes || test ${boot_fit} = try; then bootm ${loadaddr}; else if run scan_mmc_fdtfile; then if run scan_mmc_initrdfile; then echo booting with initramfs; booti ${loadaddr} ${initrd_addr_r} ${fdt_addr_r}; else booti ${loadaddr} - ${fdt_addr_r}; fi; else echo WARN: Cannot load the DT; fi; fi;
mmcdev=1
mmcpart=1
mmcroot=/dev/mmcblk2p2 rootwait rw
nandfit_part=yes
netargs=setenv bootargs ${jh_clk} console=${console} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp
netboot=echo Booting from net ...; run netargs; if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; ${get_cmd} ${loadaddr} ${image}; if test ${boot_fit} = yes || test ${boot_fit} = try; then bootm ${loadaddr}; else if ${get_cmd} ${fdt_addr_r} ${fdtfile}; then booti ${loadaddr} - ${fdt_addr_r}; else echo WARN: Cannot load the DT; fi; fi;
scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;run scan_dev_for_efi;
scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done; setenv devplist
scan_dev_for_efi=setenv efi_fdtfile ${fdtfile}; for prefix in ${efi_dtb_prefixes}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${efi_fdtfile}; then run load_efi_dtb; fi;done;run boot_efi_bootmgr;if test -e ${devtype} ${devnum}:${distro_bootpart} efi/boot/bootaa64.efi; then echo Found EFI removable media binary efi/boot/bootaa64.efi; run boot_efi_binary; echo EFI LOAD FAILED: continuing...; fi; setenv efi_fdtfile
scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${boot_syslinux_conf}; then echo Found ${prefix}${boot_syslinux_conf}; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi
scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done
scan_mmc_fdtfile=for prefix in ${boot_prefixes}; do if test -e mmc ${mmcdev}:${bootpart} ${prefix}${fdtfile}; then echo Found ${prefix}${fdtfile}; run loadfdt; fi; done
scan_mmc_imagefile=for prefix in ${boot_prefixes}; do if test -e mmc ${mmcdev}:${bootpart} ${prefix}${image}; then echo Found ${prefix}${image}; run loadimage; fi; done
scan_mmc_initrdfile=for prefix in ${boot_prefixes}; do if test -e mmc ${mmcdev}:${bootpart} ${prefix}${initrdfile}; then echo Found ${prefix}${initrdfile}; run loadinitrd; fi; done
scan_mmc_scriptfile=for prefix in ${boot_prefixes}; do if test -e mmc ${mmcdev}:${bootpart} ${prefix}${script}; then echo Found ${prefix}${script}; run loadbootscript; fi; done
script=boot.scr
scriptaddr=0x43500000
sd_dev=1
serial#=1c1bb800a5e093fc
soc=imx8m
soc_type=imx8mp
splashimage=0x50000000
usb_boot=usb start; if usb dev ${devnum}; then devtype=usb; run scan_dev_for_boot_part; fi
vendor=aaeon
Environment size: 7045/16379 bytes
u-boot=> printenv -e
MMC: no card present
Scanning disk [email protected]...
Disk [email protected] not ready
Scanning disk [email protected]...
Found 5 disks
** Unable to read file ubootefi.var **
Failed to load EFI variables
fail to find output device
SecureBoot:
8be4df61-93ca-11d2-aa0d-00e098032b8c EFI_GLOBAL_VARIABLE_GUID
BS|RT|RO, DataSize = 0x1
00000000: 00 .
SetupMode:
8be4df61-93ca-11d2-aa0d-00e098032b8c EFI_GLOBAL_VARIABLE_GUID
BS|RT|RO, DataSize = 0x1
00000000: 01 .
AuditMode:
8be4df61-93ca-11d2-aa0d-00e098032b8c EFI_GLOBAL_VARIABLE_GUID
BS|RT|RO, DataSize = 0x1
00000000: 00 .
DeployedMode:
8be4df61-93ca-11d2-aa0d-00e098032b8c EFI_GLOBAL_VARIABLE_GUID
BS|RT|RO, DataSize = 0x1
00000000: 00 .
VendorKeys:
8be4df61-93ca-11d2-aa0d-00e098032b8c EFI_GLOBAL_VARIABLE_GUID
BS|RT|RO, DataSize = 0x1
00000000: 00 .
PlatformLangCodes:
8be4df61-93ca-11d2-aa0d-00e098032b8c EFI_GLOBAL_VARIABLE_GUID
BS|RT|RO, DataSize = 0x6
00000000: 65 6e 2d 55 53 00 en-US.
PlatformLang:
8be4df61-93ca-11d2-aa0d-00e098032b8c EFI_GLOBAL_VARIABLE_GUID
NV|BS|RT, DataSize = 0x6
00000000: 65 6e 2d 55 53 00 en-US.
OsIndicationsSupported:
8be4df61-93ca-11d2-aa0d-00e098032b8c EFI_GLOBAL_VARIABLE_GUID
BS|RT|RO, DataSize = 0x8
00000000: 1c 00 00 00 00 00 00 00 ........
MemoryOverwriteRequestControl:
e20939be-32d4-41be-a150-897f85d49829
NV|BS|RT, DataSize = 0x1
00000000: 00 .
SignatureSupport:
8be4df61-93ca-11d2-aa0d-00e098032b8c EFI_GLOBAL_VARIABLE_GUID
BS|RT|RO, DataSize = 0x20
00000000: 26 16 c4 c1 4c 50 92 40 ac a9 41 f9 36 93 43 28 &[email protected](
00000010: a1 59 c0 a5 e4 94 a7 4a 87 b5 ab 15 5c 2b f0 72 .Y.....J....\+.r
u-boot=> bdinfo
boot_params = 0x0000000000000000
DRAM bank = 0x0000000000000000
-> start = 0x0000000040000000
-> size = 0x0000000016000000
DRAM bank = 0x0000000000000001
-> start = 0x0000000058000000
-> size = 0x0000000068000000
flashstart = 0x0000000000000000
flashsize = 0x0000000000000000
flashoffset = 0x0000000000000000
baudrate = 115200 bps
relocaddr = 0x00000000bdeef000
reloc off = 0x000000007dcef000
Build = 64-bit
current eth = ethernet@30bf0000
ethaddr = (not set)
IP addr = <NULL>
fdt_blob = 0x00000000bbee3550
new_fdt = 0x00000000bbee3550
fdt_size = 0x000000000000b840
Video = lcd-controller@32e80000 inactive
lmb_dump_all:
memory.cnt = 0x2
memory.size = 0x0
memory.reg[0x0].base = 0x40000000
.size = 0x16000000
memory.reg[0x1].base = 0x58000000
.size = 0x68000000
reserved.cnt = 0x1
reserved.size = 0x0
reserved.reg[0x0].base = 0xbbee2130
.size = 0x311ded0
arch_number = 0x0000000000000000
TLB addr = 0x00000000beff0000
irq_sp = 0x00000000bbee3540
sp start = 0x00000000bbee3540
Early malloc usage: b818 / 10000
u-boot=> rtc list
RTC #0 - rtc@68
u-boot=> sf probe
clk qspi_root_clk already disabled
clk qspi_root_clk already disabled
SF: Detected n25q256ax1 with page size 256 Bytes, erase size 4 KiB, total 32 MiB
u-boot=> usb reset
resetting USB...
Bus dwc3@38100000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
Bus dwc3@38200000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus dwc3@38100000 for devices... 1 USB Device(s) found
scanning bus dwc3@38200000 for devices... 2 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
u-boot=> usb info
1: Hub, USB Revision 3.0
- U-Boot XHCI Host Controller
- Class: Hub
- PacketSize: 512 Configurations: 1
- Vendor: 0x0000 Product 0x0000 Version 1.0
Configuration: 1
- Interfaces: 1 Self Powered 0mA
Interface: 0
- Alternate Setting 0, Endpoints: 1
- Class Hub
- Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms
1: Hub, USB Revision 3.0
- U-Boot XHCI Host Controller
- Class: Hub
- PacketSize: 512 Configurations: 1
- Vendor: 0x0000 Product 0x0000 Version 1.0
Configuration: 1
- Interfaces: 1 Self Powered 0mA
Interface: 0
- Alternate Setting 0, Endpoints: 1
- Class Hub
- Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms
2: Hub, USB Revision 2.0
- USB2.0 Hub
- Class: Hub
- PacketSize: 64 Configurations: 1
- Vendor: 0x05e3 Product 0x0610 Version 96.96
Configuration: 1
- Interfaces: 1 Self Powered Remote Wakeup 100mA
Interface: 0
- Alternate Setting 0, Endpoints: 1
- Class Hub
- Endpoint 1 In Interrupt MaxPacket 1 Interval 12ms
- Endpoint 1 In Interrupt MaxPacket 1 Interval 12ms
u-boot=> mmc rescan
MMC Device 0 not found
no mmc device at slot 0
u-boot=> mmc list
FSL_SDHC: 1
FSL_SDHC: 2 (eMMC)
u-boot=> mmc info
MMC Device 0 not found
no mmc device at slot 0
u-boot=> efidebug devices
Device Device Path
================ ====================
00000000bbf12bd0 /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)
00000000bbf23e80 /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/eMMC(2)/eMMC(1)
00000000bbf23f50 /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/eMMC(2)/eMMC(1)/HD(1,GPT,e79857cb-2e58-40ca-a4ae-a932997ac56b,0x4000,0x40000)
00000000bbf24230 /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/eMMC(2)/eMMC(1)/HD(2,GPT,e79857cb-2e58-40ca-a4ae-a932997ac56b,0x44000,0x8c0000)
00000000bbf24510 /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/eMMC(2)/eMMC(1)/HD(3,GPT,e79857cb-2e58-40ca-a4ae-a932997ac56b,0x904000,0x8c0000)
00000000bbf251f0 /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/eMMC(2)/eMMC(1)/HD(4,GPT,e79857cb-2e58-40ca-a4ae-a932997ac56b,0x11c4000,0xb95fdf)
00000000bbf26720 /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/MAC(2e36ac356975,1)
u-boot=> efidebug drivers
Driver Name Image Path
================ ==================== ====================
00000000bbf15dd0 <NULL> <built-in>
u-boot=> efidebug dh
Handle Protocols
================ ====================
00000000bbf12bd0 Device Path, Device Path To Text, Device Path Utilities, Device-Tree Fixup, Unicode Collation 2, HII String, HII Database
00000000bbf13210 Simple Text Output
00000000bbf13850 Simple Text Input, Simple Text Input Ex
00000000bbf23e80 Device Path, Block IO
00000000bbf23f50 Device Path, Block IO, System Partition, Simple File System
00000000bbf24230 Device Path, Block IO, Simple File System
00000000bbf24510 Device Path, Block IO, Simple File System
00000000bbf251f0 Device Path, Block IO, Simple File System
00000000bbf15dd0 Driver Binding
00000000bbf26720 Simple Network, Device Path, PXE Base Code
u-boot=> efidebug memmap
Type Start End Attributes
================ ================ ================ ==========
CONVENTIONAL 0000000040000000-0000000056000000 WB
CONVENTIONAL 0000000058000000-00000000baebf000 WB
BOOT DATA 00000000baebf000-00000000baec9000 WB
LOADER DATA 00000000baec9000-00000000baeca000 WB
BOOT DATA 00000000baeca000-00000000baecb000 WB
RUNTIME DATA 00000000baecb000-00000000baecc000 WB|RT
BOOT DATA 00000000baecc000-00000000baece000 WB
RESERVED 00000000baece000-00000000baecf000 WB
RUNTIME DATA 00000000baecf000-00000000baed2000 WB|RT
BOOT DATA 00000000baed2000-00000000baed3000 WB
RUNTIME DATA 00000000baed3000-00000000baed7000 WB|RT
RESERVED 00000000baed7000-00000000baed8000 WB
BOOT DATA 00000000baed8000-00000000baed9000 WB
RESERVED 00000000baed9000-00000000baeda000 WB
BOOT DATA 00000000baeda000-00000000baedb000 WB
RESERVED 00000000baedb000-00000000baedc000 WB
BOOT DATA 00000000baedc000-00000000baedd000 WB
RESERVED 00000000baedd000-00000000baede000 WB
BOOT DATA 00000000baede000-00000000baee0000 WB
RESERVED 00000000baee0000-00000000baee1000 WB
BOOT DATA 00000000baee1000-00000000baee3000 WB
LOADER DATA 00000000baee3000-00000000bdee0000 WB
RUNTIME CODE 00000000bdee0000-00000000bdf00000 WB|RT
LOADER DATA 00000000bdf00000-00000000bf000000 WB
BOOT DATA 00000000bf000000-00000000c0000000 WB
u-boot=> efidebug tables
eb66918a-7eef-402a-842e-931d21c38ae9 Runtime properties
eb9d2d31-2d88-11d3-9a16-0090273fc14d SMBIOS table
u-boot=> efidebug boot dump
u-boot=> bootefi hello ${fdtcontroladdr}
Remove /soc@0/bus@30800000/ethernet@30be0000:phy-reset-gpios
Remove /soc@0/bus@30800000/ethernet@30bf0000:phy-reset-gpios
bootefi - Boots an EFI payload from memory
Usage:
bootefi <image address> [fdt address]
- boot EFI payload stored at address <image address>.
If specified, the device tree located at <fdt address> gets
exposed as EFI configuration table.
bootefi bootmgr [fdt address]
- load and boot EFI payload based on BootOrder/BootXXXX variables.
If specified, the device tree located at <fdt address> gets
exposed as EFI configuration table.
u-boot=> bootefi selftest ${fdtcontroladdr}
Remove /soc@0/bus@30800000/ethernet@30be0000:phy-reset-gpios
Remove /soc@0/bus@30800000/ethernet@30bf0000:phy-reset-gpios
bootefi - Boots an EFI payload from memory
Usage:
bootefi <image address> [fdt address]
- boot EFI payload stored at address <image address>.
If specified, the device tree located at <fdt address> gets
exposed as EFI configuration table.
bootefi bootmgr [fdt address]
- load and boot EFI payload based on BootOrder/BootXXXX variables.
If specified, the device tree located at <fdt address> gets
exposed as EFI configuration table.
u-boot=>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment