|
发表于 2019-10-26 20:53:00
|
显示全部楼层
_; }/ h# K& S! @
求指点 问题出在哪儿 跪谢( {" F. {, z1 H% x% ^/ c* `7 G
" z5 @! o: q7 R
Marvell>> sf probe
" }6 B# }: @# a! x" [! \; \) q$ H4 v6 O
machine id: 59d27c40ee176d8a9690c9e459a049ad
# r) X4 S- L) u( `& f( |) {SF: Detected gd25lq64c with page size 256 Bytes, erase size 4 KiB, total 8 MiB
+ {' H1 {3 V7 R, e K/ q3 wMarvell>> sf updatemacsn 001132B60655 1980S6R9Z0BSM, K, W3 F! ?4 [% q% D
sf - SPI flash sub-system( r$ M8 v( C2 v5 [3 A! r$ ^1 ^ s
: _( P: S5 J) T+ Q+ Z: y
Usage:
1 j9 u' ~! J; u0 n- Rsf probe [[bus:]cs] [hz] [mode] - init flash device on given SPI bus
9 f( y! i8 |0 Y+ N and chip select
6 l, Q( x |& s1 |! |& W( E# Ksf read addr offset|partition len - read `len' bytes starting at/ r1 T' a$ [: L# h
`offset' or from start of mtd
4 Q$ R( J" g6 `' U( j2 |) ~0 g* L `partition'to memory at `addr'
! }. _; m, `; R# csf write addr offset|partition len - write `len' bytes from memory a: _+ a; Q- J6 y7 K
at `addr' to flash at `offset'; a7 U0 F, B0 X- g7 D! \
or to start of mtd `partition'0 y8 F' @; r" T- Z7 U7 t
sf erase offset|partition [+]len - erase `len' bytes from `offset'
/ {, t% w4 L9 ]1 {8 H or from start of mtd `partition'
. T% h+ H; N: A" A" H( w: l `+len' round up `len' to block size
# I6 L* O# a, h# k- u) \% H3 s7 ]sf update addr offset|partition len - erase and write `len' bytes from memor y [2 C- I" ]) ^8 w9 f3 J
at `addr' to flash at `offset'2 q+ a& \+ E6 F/ H7 \1 `
or to start of mtd `partition'9 ]$ o6 C( Y8 M$ _' U
sf protect lock/unlock sector len - protect/unprotect 'len' bytes starting; F* H9 f8 B1 _% n3 [" \5 P
at address 'sector'7 ?1 v3 C/ x! c0 D
% ]( ?2 F: V4 V& F; e2 EMarvell>>0 Q+ \ P) B5 I% J# r: [3 F
|
|