章鱼哥听歌
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
STM32MP> 192.168.1.100
Unknown command '192.168.1.100' - try 'help'
STM32MP> ipaddr=192.168.1.100
STM32MP> run bootcmd
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>
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: NOTICE: CPU: STM32MP157AAA Rev.B
NOTICE: Model: HQYJ STM32MP157 FSMP1A EXTENDED Discovery Board
INFO: Reset reason (0x15):
INFO: Power-on Reset (rst_por)
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
STM32MP>
STM32MP>
STM32MP>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
STM32MP>
STM32MP>STM32MP> setenv bootcmd u-boot命令1\; u-boot命令2\;..........
STM32MP> saveenv
Saving Environment to MMC... Writing to MMC(1)... OK
在windows下的超级终端可以用这些协议发送文件,但是在ubuntu下基本只能用kermit协议。一下使用C-kermit来发送一个文件到mini2440。
上面已经启动了U-boot的kermit传输协议,这时按下 Ctrl + \ , 再按 c, 三个键一起按,切换到C-kermit的命令行模式,输入命令:send <文件路径>,回车。
[u-boot@MINI2440]# loadb
## Ready for binary (kermit) download to 0x30008000 at 115200 bps...Saving Environment to MMC... Writing to MMC(1)... OK
STM32MP> i)loadb 0xc0008000
Unknown command 'i)loadb' - try 'help'
STM32MP> loadb 0xc0008000
## Ready for binary (kermit) download to 0xC0008000 at 115200 bps...
## Total Size = 0x00000000 = 0 Bytes
## Start Addr = 0xC0008000
STM32MP>
STM32MP> go 0xc0008000
## 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 : dbc45080
r7 : ddc5fd79 r6 : 00000002 r5 : 000000fd r4 : dbc45084
r3 : c0008000 r2 : dbc45084 r1 : dbc45084 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
Unknown command 'u-boot命令1' - try 'help'
Unknown command 'u-boot命令2' - try 'help'
Unknown command '..........' - try 'help'
STM32MP>
STM32MP> setenv bootcmd loadb 0xc0008000\;go 0xc0008000
STM32MP> saveenv
Saving Environment to MMC... Writing to redundant MMC(1)... OK
STM32MP> pri bootcmd
bootcmd=loadb 0xc0008000;go 0xc0008000
STM32MP> run bootcmd
## Ready for binary (kermit) download to 0xC0008000 at 115200 bps...
## Total Size = 0x00000000 = 0 Bytes
## Start Addr = 0xC0008000
## Starting application at 0xC0008000 ...
undefined instruction
pc : [<c00710bc>] lr : [<ddc457d7>]
reloc pc : [<a25320bc>] lr : [<c01067d7>]
sp : dbaec2f0 ip : 00000000 fp : 00000002
r10: ddcf40e0 r9 : dbaffec0 r8 : dbc44290
r7 : ddc5fd79 r6 : 00000002 r5 : 000000fd r4 : dbc44294
r3 : c0008000 r2 : dbc44294 r1 : dbc44294 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
## Ready for binary (kermit) download to 0xC0008000 at 115200 bps...
## Total Size = 0x00000000 = 0 Bytes
## Start Addr = 0xC0008000
## Starting application at 0xC0008000 ...
undefined instruction
pc : [<c00710bc>] lr : [<ddc457d7>]
reloc pc : [<a25320bc>] lr : [<c01067d7>]
sp : dbaec408 ip : 00000000 fp : 00000002
r10: ddcf40e0 r9 : dbaffec0 r8 : dbc4a9e0
r7 : ddc5fd79 r6 : 00000002 r5 : 000000fd r4 : dbc4a9e4
r3 : c0008000 r2 : dbc4a9e4 r1 : dbc4a9e4 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
STM32MP>
STM32MP>
STM32MP>
STM32MP> help ping
ping - send ICMP ECHO_REQUEST to network hostUsage:
ping pingAddress
STM32MP> help tftp
tftpboot - boot image via network using TFTP protocolUsage:
tftpboot [loadAddress] [[hostIPaddr:]bootfilename]
STM32MP>
STM32MP> setenv saveenv
STM32MP> setenv bootdelay 15
STM32MP> saveenv
Saving Environment to MMC... Writing to MMC(1)... OK
STM32MP> pri bootdelay
bootdelay=15
STM32MP>
STM32MP> help ping
ping - send ICMP ECHO_REQUEST to network hostUsage:
ping pingAddress
STM32MP> help tftp
tftpboot - boot image via network using TFTP protocolUsage:
tftpboot [loadAddress] [[hostIPaddr:]bootfilename]
STM32MP> setenv saveenv
STM32MP> setenv bootdelay 15
STM32MP> saveenv
Saving Environment to MMC... Writing to MMC(1)... OK
STM32MP> pri bootdelay
bootdelay=15
STM32MP> setenv serverip 192.168.1.100
STM32MP> setenv netmask 255.255.255.0
STM32MP> setenv gatewayip 192.168.1.1
STM32MP> setenv ipaddr 192.168.1.250
STM32MP> saveenv
Saving Environment to MMC... Writing to redundant MMC(1)... OK
STM32MP>
.ping不成功解决方法
1)防火墙是否关闭
2)检查以太网网卡是否设置为百兆全双工模式
3)检查ubuntuIP地址是否设置为静态ip
4)检查串口工具中uboot环境变量参数是否设置正确(ipaddr\serverip\netmask\gatewayip)
5)检查网线是否连接
Saving Environment to MMC... Writing to redundant MMC(1)... OK
STM32MP> ping 192.168.1.100
ethernet@5800a000 Waiting for PHY auto negotiation to complete.... done
Using ethernet@5800a000 device
host 192.168.1.100 is alive
STM32MP>
测试tftp命令
STM32MP> tftp 0xc0008000 asm-led.bin
Using ethernet@5800a000 device
TFTP from server 192.168.1.100; our IP address is 192.168.1.250
Filename 'asm-led.bin'.
Load address: 0xc0008000
Loading: #
0 Bytes/s
done
STM32MP> go 0xc00080000
## Starting application at 0x00080000 ...
prefetch abort
pc : [<0007fffc>] lr : [<ddc457d7>]
reloc pc : [<e2540ffc>] lr : [<c01067d7>]
sp : dbaec420 ip : 00000000 fp : 00000002
r10: ddcf40e0 r9 : dbaffec0 r8 : dbc45110
r7 : ddc5fd79 r6 : 00000002 r5 : 00080000 r4 : dbc45114
r3 : 00080000 r2 : dbc45114 r1 : dbc45114 r0 : 00000001
Flags: nzCv IRQs off FIQs off Mode SVC_32
Code: data abort
pc : [<ddc40c7a>] lr : [<ddc40c69>]
reloc pc : [<c0101c7a>] lr : [<c0101c69>]
sp : dbaec328 ip : 00000000 fp : 00000002
r10: ddcd00fa r9 : dbaffec0 r8 : ddcd00f2
r7 : 00000000 r6 : 00000008 r5 : 0007fffc r4 : fffffffc
r3 : 00000001 r2 : 00000028 r1 : 00000000 r0 : 00000006
Flags: NzCv IRQs on FIQs on Mode SVC_32 (T)
Code: a05c b927 2c00 dc04 (f855) 2024
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
STM32MP>
相关文章:
章鱼哥听歌
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 monit…...
软件测试电商项目实战(写进简历没问题)
前言 说实话,在找项目的过程中,我下载过(甚至付费下载过)N多个项目、联系过很多项目的作者,但是绝大部分项目,在我看来,并不适合你拿来练习,它们或多或少都存在着“问题”ÿ…...
算法导论—分治法思想、动态规划思想、贪心思想
算法导论—分治法思想、动态规划思想、贪心思想分治法的思想:动态规划:贪心算法:贪心算法求解问题的条件:设计贪心算法的步骤:分治法的思想: 将原问题分解为几个规模较小但类似于原问题的子问题࿰…...
Spring-Data-Jpa实现继承实体类
写在前面:从2018年底开始学习SpringBoot,也用SpringBoot写过一些项目。现在对学习Springboot的一些知识总结记录一下。如果你也在学习SpringBoot,可以关注我,一起学习,一起进步。 相关文章: 【Springboot系…...
多线程环境下的伪共享
今天和大家聊一聊伪共享 1.什么是伪共享? 缓存一致性协议在计算机中针对的最小单元:缓存行,每个缓存行的大小是64字节,一串连续的64字节数据都会存储到缓存行中。 假设数据A和数据B在同一缓存行中,CPU1修改了数据A&am…...
【Taylor and Francis】1/2区云计算、物联网、机器学习类,SCIEEI双检,审稿友好
机器学习类 【期刊简介】IF:6.5-7.0,JCR1/2区,中科院3区 【检索情况】SCIE&EI双检 【参考周期】2-3个月左右录用 【征稿领域】面向制造业云计算物联网应用的机器学习方法 【截稿日期】10篇版面 毕业必看-快刊 计算机科学类…...
CleanMyMac X4.12新版本下载及功能介绍
CleanMyMac X2023最新版终于迎来了又4.12,重新设计了 UI 元素,华丽的现代化风格显露无余。如今的CleanMyMac,早已不是单纯的系统清理工具。在逐渐融入系统优化、软件管理、文件管理等功能后,逐渐趋近于macOS的系统管家,…...
大数据技术架构(组件)26——Spark:Shuffle
2.1.6、Shuffle2.1.6.0 Shuffle Read And WriteMR框架中涉及到一个重要的流程就是shuffle,由于shuffle涉及到磁盘IO和网络IO,所以shuffle的性能直接影响着整个作业的性能。Spark其本质也是一种MR框架,所以也有自己的shuffle实现。但是和MR中的shuffle流程…...
关于Zebec生态的改进提案,即将上线的 Nautilus 链
概括 在最初作为 Solana 原生应用程序推出一年后,Zebec 团队已经能够通过在 BNB和NEAR区块链上成功部署来扩大其产品的范围。 凭借继续向尽可能多的公司/协议/基金提供薪资工具和基础设施的雄心勃勃的计划,我们决定采用最终将使 Zebec生态系统及其核心…...
Python数据可视化(三)(pyecharts)
分享一些python-pyecharts作图小技巧,用于展示汇报。 一、特点 任何元素皆可配置pyecharts只支持python原生的数据类型,包括int,float,str,bool,dict,list动态展示,炫酷的效果,给人视觉冲击力 # 安装 pip install pyecharts fr…...
【Redis面试指南】
Redis面试指南 Redis是一个开源的、基于内存的、高性能的键值对存储系统,它可以用于存储非常大量的数据,并且可以在短时间内获取数据。Redis的性能被广泛用于Web应用程序的缓存层,以提高应用程序的性能和可用性。Redis的面试是一个比较复杂的…...
大数据技术之Hadoop(生产调优手册)
第1章 HDFS—核心参数 1.1 NameNode内存生产配置 1)NameNode内存计算 每个文件块大概占用150byte,一台服务器128G内存为例,能存储多少文件块呢? 128 * 1024 * 1024 * 1024 / 150Byte ≈ 9.1亿 G MB KB Byte 2)Hadoop…...
「Vue源码学习」常见的 Vue 源码面试题,看完可以说 “精通Vue” 了吗?
Vue源码面试题一、行时(Runtime) 编译器(Compiler) vs. 只包含运行时(Runtime-only)webpackRollupBrowserify二、Vue 的初始化过程(面试关问:new Vue(options) 发生了什么࿱…...
FreeModbus RTU 移植指南
FreeModbus 简介 FreeModbus 是一个免费的软件协议栈,实现了 Modbus 从机功能: 纯 C 语言支持 Modbus RTU/ASCII支持 Modbus TCP 本文介绍 Modbus RTU 移植。 移植环境: 裸机Keil MDK 编译器Cortex-M3 内核芯片(LPC1778/88&…...
《唐诗三百首》数据源网络下载
2023年的 元宵之夜,这场以“长安”为主题的音乐会火了!在抖音,超过2300万人次观看了直播,在线同赏唐诗与交响乐的融合。许多网友惊呼,上学时那些害怕背诵的诗句,原来还可以有这么美的表达这场近80分钟的音乐…...
(深度学习快速入门)第五章第一节2:GAN经典案例之MNIST手写数字生成
获取pdf:密码7281 文章目录一:数据集介绍二:GAN简介(1)简介(2)损失函数三:代码编写(1)参数及数据预处理(2)生成器与判别器模型&#x…...
雁过留痕,竟是病毒的痕迹?
凌恩生物全新升级宏病毒组分析流程;聚焦DNA,RNA病毒组研究热点;高灵敏度检测vOTUs;多软件整合,精准鉴定病毒序列;直击地化循环关键环节,助力宏病毒组科研成功!期刊:Micro…...
Linux基本功系列之sort命令实战
文章目录前言一. sort命令介绍二. 语法格式及常用选项三. 参考案例3.1 按照文本默认排序3.2 忽略相同的行3.3 按数字大小进行排序3.4 检查文件是否已经按照顺序排序3.5 将第3列按照数字大小进行排序3.6 将排序结果输出到文件四. 探讨 -k的高级用法总结前言 大家好,…...
【笔记】移动端自动化:adb调试工具+appium+UIAutomatorViewer
学习源: https://www.bilibili.com/video/BV11p4y197HQ https://blog.csdn.net/weixin_47498728/category_11818905.html 一、移动端测试环境搭建 学习目标 1.能够搭建java 环境 2.能够搭建android 环境 (一)整体思路 我们的目标是Andr…...
面试复习题--性能检测原理
1、布局性能检测 Systrace,内存优化工具中也用到了 Systrace,这里关注 Systrace 中的 Frames 页面,正常情况下圆点为绿色,当出现黄色或者红色的圆点时,表现出现了丢帧。 Layout Inspector,是 AndroidStudio 自带工具…...
@LoadBalanced 和 @RefreshScope 同时使用,负载均衡失效分析
背景 最近引入了 Nacos Config 配置管理能力,说起来用法很简单,还是踩了三个坑。 Nacos Config 的 nacos 的帐号密码加密配置后,怎么解密而且在 NacosConfigBootstrapConfiguration 真正注入 Nacos Config 注入之前,而且不能触发…...
2023年个人计划
2023年个人计划 可能是最近太清闲,感觉生活很无聊,就胡乱做下新年的规划吧,扰乱下烦闷的心 1 二宝健健康康,活泼可爱 目前老婆已经怀孕5周左右了,二宝将在进行年中降生,希望老婆少受点罪,二宝…...
加拿大访问学者家属如何办理探亲签证?
由于大多数访问学者的访学期限都为一年,家人来访不仅可以缓解访学的寂寞生活,而且也是家人到加拿大体验国外风情的好机会。家属在国内申请赴加签证时,如果材料齐全,一般上午递交了申请,下午就可以拿到签证。以下是家人…...
操作系统基础---多线程
文章目录操作系统基础---多线程1.为何引入线程程序并发的时空开销线程的设计思路线程的状态和线程控制块TCB2.线程与进程的比较3.线程的实现⭐1.内核支持线程KST2.用户级线程3.组合方式操作系统基础—多线程 1.为何引入线程 利用传统的进程概念和设计方法已经难以设计出适合于…...
2022-12-10青少年软件编程(C语言)等级考试试卷(六级)解析
2022-12-10青少年软件编程(C语言)等级考试试卷(六级)解析T1、区间合并 给定 n 个闭区间 [ai; bi],其中i1,2,...,n。任意两个相邻或相交的闭区间可以合并为一个闭区间。例如,[1;2] 和 [2;3] 可以合并为 [1;3…...
太酷了,用Python实现一个动态条形图!
大家好,我是小F~说起动态条形图,小F之前推荐过两个Python库,比如「Bar Chart Race」、「Pandas_Alive」,都可以实现。今天就给大家再介绍一个新的Python库「pynimate」,一样可以制作动态条形图,…...
单元测试junit+mock
单元测试 是什么? 单元测试(unit testing),是指对软件中的最小可测试单元进行检查和验证。至于“单元”的大小或范围,并没有一个明确的标准,“单元”可以是一个方法、类、功能模块或者子系统。 单元测试通…...
2022Q4手机银行新版本聚焦提升客群专属、财富开放平台、智能化能力,活跃用户规模6.91亿人
易观:2022年第4季度,手机银行APP迭代升级加快,手机银行作为零售银行服务及经营的主阵地,与零售银行业务发展的联系日益紧密。迭代升级一方面可以顺应零售银行发展战略及方向,对手机银行业务布局进行针对性调整优化&…...
YOLO-V1~V3经典物体检测算法介绍
大名鼎鼎的YOLO物体检测算法如今已经出现了V8版本,我们先来了解一下它前几代版本都做了什么吧。本篇文章介绍v1-v3,后续会继续更新。一、节深度学习经典检测方法概述1.1 检测任务中阶段的意义我们所学的深度学习经典检测方法 ,有些是单阶段的…...
SparkSQL 核心编程
文章目录SparkSQL 核心编程1、新的起点2、SQL 语法1) 读取 json 文件创建 DataFrame2) 对 DataFrame 创建一个临时表3) 通过SQL语句实现查询全表3、DSL 语法1) 创建一个DataFrame2) 查看DataFrame的Schema信息3) 只查看"username"列数据4) 查看"username"列…...
驻马店市网站建设/网络优化大师下载
ImageCaptureCore 浏览媒体设备并通过您的应用以编程方式对其进行控制。 使用教程 使用ImageCaptureCore,您的应用程序可以: 发现连接的相机和扫描仪查看和修改已连接相机上的文件夹,文件和元数据使用系留拍摄直接在连接的相机上拍摄照片执行…...
梅州网站制作/网站设计报价方案
“云”概念在今年被炒得很热。不管什么会,如果没有“云”,都不好意思跟人打招呼;在IT圈子里,如果一个没有“云”的会议,那不叫“会”议,至少不是一个够档次的会。广告词不是说,“高度决定视野,角…...
建筑网站水泡网/2022最新小学生新闻
题库来源:安全生产模拟考试一点通公众号小程序 2020年建筑电工(建筑特殊工种)考试及建筑电工(建筑特殊工种)操作证考试,包含建筑电工(建筑特殊工种)考试答案和解析及建筑电工(建筑特殊工种)操作证考试练习。由安全生产模拟考试一点通公众号结合国家建筑…...
南通动态网站建设/2023近期舆情热点事件
新职业层出不穷,老职业越老越吃香。人才市场的竞争永远激烈,其间有多少是最受职场人士关注、三千宠爱集一身的职业?未来几年的金牌职业有哪些?我们的金牌职业、俗称“金饭碗”具有以下特征:含金量高、收入多、发展前景广阔、相对稳定、身上…...
asp做网站好不好/seo搜索优化公司排名
一般有时候我们需要生成唯一主键id,如果数据库是mysql我们可以使用主键自增,如果是oracle我们可以创建触发器或者序列,如果不借助数据库我们也可以在java层面自己生成唯一主键。 使用随机数: /*生成唯一主键格式:时间…...
温江做网站公司/班级优化大师下载安装最新版
文章目录问题描述解题报告实现代码参考资料问题描述 魔法王国一共有n个城市,编号为0~n-1号,n个城市之间的道路连接起来恰好构成一棵树。 小易现在在0号城市,每次行动小易会从当前所在的城市走到与其相邻的一个城市,小易最多能行动L次。 如果小易到达过某个城市就视为小易游历过…...