- sf
sf是操作spi接口 的flash的
sf probe [[bus:]cs] [hz] [mode] - init flash device on given SPI bus and chip select
sf read addr offset len - read `len' bytes starting at`offset' to memory at `addr'
sf write addr offset len - write `len' bytes from memor at `addr' to flash at `offset'
sf erase offset [+]len - erase `len' bytes from `offset' `+len' round up `len' to block size
- bootm 引导内存中的系统镜像
bootm addr
烧写内核时要注意,内核要和uboot的分区对应起来起始地址和长度不能错,否则会报错。
博客介绍了uboot中操作spi接口flash的sf指令,包括sf probe用于初始化设备、sf read用于读取数据、sf write用于写入数据、sf erase用于擦除数据,还提到了bootm引导内存中系统镜像的用法,同时强调烧写内核时要确保与uboot分区对应。
2114

被折叠的 条评论
为什么被折叠?



