uboot环境变量 以下所有的命令,都在串口工具进行执行
ubifsmount- mount UBIFS volume
ubifsumount- unmount UBIFS volume
ums - Use the UMS [USB Mass Storage]
usb - USB sub-system
usbboot - boot from USB device
version - print monitor, compiler and linker version
STM32MP> help uboot
Unknown command 'uboot' - try 'help' without arguments for list of all known com
mandsSTM32MP> help loadb
loadb - load binary file over serial line (kermit mode)Usage:
loadb [ off ] [ baud ]
- load binary file over serial line with offset 'off' and baudrate 'baud'
STM32MP> help go
go - start application at address 'addr'Usage:
go addr [arg ...]
- start application at address 'addr'
passing 'arg' as argumentsUsage:
gpio <input|set|clear|toggle> <pin>
- input/set/clear/toggle the specified pin
gpio status [-a] [<bank> | <pin>] - show [all/claimed] GPIOs
STM32MP> arch=arm
STM32MP> baudrate=115200
STM32MP> board=stm32mp1
STM32MP> board_name=hqyj,stm32mp157a-fsmp1a
STM32MP> bootdelay=20
STM32MP> bootargs=root=/dev/nfs nfsroot=192.168.1.210:/home/ubuntu/nfs/rootfs,tc
p,v4 console=ttySTM0,115200 init=/linuxrc ip=192.168.1.250
STM32MP> bootcmd=tftp 0xc0008000 asm-led.bin;go 0xc0008000
Unknown command 'bootcmd=tftp' - try 'help'
## Starting application at 0xC0008000 ...
undefined instruction
pc : [<c00710bc>] lr : [<ddc457d7>]
reloc pc : [<a25320bc>] lr : [<c01067d7>]
sp : dbaec420 ip : 00000000 fp : 00000002
r10: ddcf40e0 r9 : dbaffec0 r8 : dbc4ae00
r7 : ddc5fd79 r6 : 00000002 r5 : 000000fd r4 : dbc4ae04
r3 : c0008000 r2 : dbc4ae04 r1 : dbc4ae04 r0 : 00000001
Flags: nzCv IRQs off FIQs off Mode SVC_32
Code: a57a3d74 74efffef 67f5b66c dc8ffaff (77f5bf7f)
Resetting CPU ...resetting ...
INFO: PSCI Power Domain Map:
INFO: Domain Node : Level 1, parent_node -1, State ON (0x0)
INFO: Domain Node : Level 0, parent_node 0, State ON (0x0)
INFO: CPU Node : MPID 0x0, parent_node 0, State ON (0x0)
INFO: CPU Node : MPID 0xffffffff, parent_node 0, State OFF (0x2)
NOTICE: CPU: STM32MP157AAA Rev.B
NOTICE: Model: HQYJ STM32MP157 FSMP1A EXTENDED Discovery Board
INFO: Reset reason (0x54):
INFO: System reset generated by MPU (MPSYSRST)
INFO: Using EMMC
INFO: Instance 2
INFO: Boot used partition fsbl1
NOTICE: BL2: v2.2-r1.0(debug):a70053f
NOTICE: BL2: Built : 09:55:29, Nov 5 2020
INFO: Using crypto library 'stm32_crypto_lib'
INFO: BL2: Doing platform setup
INFO: RAM: DDR3-DDR3L 16bits 533000Khz
INFO: Memory size = 0x20000000 (512 MB)
INFO: BL2 runs SP_MIN setup
INFO: BL2: Loading image id 4
INFO: Loading image id=4 at address 0x2ffed000
INFO: Image id=4 loaded: 0x2ffed000 - 0x2ffff000
INFO: BL2: Loading image id 5
INFO: Loading image id=5 at address 0xc0100000
INFO: STM32 Image size : 907542
INFO: Image id=5 loaded: 0xc0100000 - 0xc01dd916
WARNING: Skip signature check (header option)
NOTICE: ROTPK is not deployed on platform. Skipping ROTPK verification.
NOTICE: BL2: Booting BL32
INFO: Entry point address = 0x2ffed000
INFO: SPSR = 0x1d3
INFO: Cannot find st,stpmic1 node in DT
NOTICE: SP_MIN: v2.2-r1.0(debug):a70053f
NOTICE: SP_MIN: Built : 09:55:29, Nov 5 2020
INFO: ARM GICv2 driver initialized
INFO: stm32mp IWDG1 (12): Secure
INFO: ETZPC: CRYP1 (9) could be non secure
INFO: SP_MIN: Initializing runtime services
INFO: SP_MIN: Preparing exit to normal world
U-Boot 2020.10 (Jun 02 2022 - 17:19:23 +0800)CPU: STM32MP157AAA Rev.B
Model: HQYJ STM32MP157A-FSMP1A Discovery Board
Board: stm32mp1 in trusted mode (hqyj,stm32mp157a-fsmp1a)
DRAM: 512 MiB
Clocks:
- MPU : 650 MHz
- MCU : 208.878 MHz
- AXI : 266.500 MHz
- PER : 24 MHz
- DDR : 533 MHz
WDT: Stop with servicing
NAND: 0 MiB
MMC: STM32 SD/MMC: 0, STM32 SD/MMC: 1
Loading Environment from MMC... OK
In: serial
Out: serial
Err: serial
Net: eth0: ethernet@5800a000
starting USB...
Bus usbh-ehci@5800d000: USB EHCI 1.00
scanning bus usbh-ehci@5800d000 for devices... 2 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
ethernet@5800a000 Waiting for PHY auto negotiation to complete.... done
Using ethernet@5800a000 device
TFTP from server 192.168.1.100; our IP address is 192.168.1.250
Filename 'uImage'.
Load address: 0xc2000000
Loading: *
ARP Retry count exceeded; starting again
Using ethernet@5800a000 device
TFTP from server 192.168.1.100; our IP address is 192.168.1.250
Filename 'stm32mp157a-fsmp1a.dtb'.
Load address: 0xc4000000
Loading: *
ARP Retry count exceeded; starting again
Wrong Image Format for bootm command
ERROR: can't get kernel image!
STM32MP>
STM32MP> gatewayip=192.168.1.1
STM32MP> serverip=192.168.1.250
STM32MP> netmask=255.255.255.0