UBoot 下命令 sf write 参数进制选择
【摘要】
更新程序:
U-Boot> tftp 0xa00000 zImage.dtb
TFTP from server 172.7.6.53; our IP address is 172.7.6.189
...
更新程序:
U-Boot> tftp 0xa00000 zImage.dtb
TFTP from server 172.7.6.53; our IP address is 172.7.6.189
Filename 'zImage.dtb'.
Load address: 0xa00000
Loading: #################################################################
#################################################################
#############################################################
done
Bytes transferred = 2794034 (2aa232 hex)
U-Boot> sf erase 0x40000 0x2C0000
100% (2883584 / 2883584)
U-Boot> sf write 0xa00000 0x40000 2794034
100% (16515072 / 16515072)
U-Boot> reset
vpl_wdt ad800000.vpl_wdt: VPL Watchdog Timer Hardware Rev 0x01020000
vpl_wdt ad800000.vpl_wdt: Driver Version 1.0.0.0: initial timeout 30 sec
Synopsys Designware Multimedia Card Interface Driver
dwmmc_pesaro 92000000.dwmmc0: using uhs-gpio:47
dwmmc_pesaro 92000000.dwmmc0: dev-id: 0
dwmmc_pesaro 92000000.dwmmc0: Using internal DMA controller.
dwmmc_pesaro 92000000.dwmmc0: Version ID is 270a
dwmmc_pesaro 92000000.dwmmc0: DW MMC controller at irq 25, 32 bit host data width, 16 deep fifo
dwmmc_pesaro 92000000.dwmmc0: 1 slots initialized
soc-audio soc-audio.0: ASoC: machine pesaro_evm should use snd_soc_register_card()
soc-audio soc-audio.0: dwc-hifi <-> vatics-pcm mapping ok
soc-audio soc-audio.0: hdmi-hifi <-> vatics-pcm mapping ok
TCP: cubic registered
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
8021q: 802.1Q VLAN Support v1.8
vpl_rtc aa800000.vpl_rtc: setting system clock to 1970-01-04 11:50:34 UTC (301834)
ALSA device list:
#0: pesaro_evm
List of all partitions:
1f00 256 mtdblock0 (driver?)
1f01 2816 mtdblock1 (driver?)
1f02 2048 mtdblock2 (driver?)
1f03 11264 mtdblock3 (driver?)
No filesystem could mount root, tried: ext2 squashfs vfat
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)
CPU: 0 PID: 1 Comm: swapper Not tainted 3.10.49 #1
[<c000d464>] (unwind_backtrace+0x0/0xec) from [<c000bd78>] (show_stack+0x10/0x14)
[<c000bd78>] (show_stack+0x10/0x14) from [<c03ae634>] (panic+0x98/0x1d8)
[<c03ae634>] (panic+0x98/0x1d8) from [<c04daf74>] (mount_block_root+0x284/0x2c8)
[<c04daf74>] (mount_block_root+0x284/0x2c8) from [<c04db27c>] (prepare_namespace+0x160/0x1c0)
[<c04db27c>] (prepare_namespace+0x160/0x1c0) from [<c04daba0>] (kernel_init_freeable+0x170/0x1b4)
[<c04daba0>] (kernel_init_freeable+0x170/0x1b4) from [<c03ad078>] (kernel_init+0x8/0x150)
[<c03ad078>] (kernel_init+0x8/0x150) from [<c0009430>] (ret_from_fork+0x14/0x24)
**必须16进制**
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
文章来源: blog.csdn.net,作者:悟空胆好小,版权归原作者所有,如需转载,请联系作者。
原文链接:blog.csdn.net/xushx_bigbear/article/details/123364643
【版权声明】本文为华为云社区用户转载文章,如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱:
cloudbbs@huaweicloud.com
- 点赞
- 收藏
- 关注作者
评论(0)