harmony 鸿蒙partition

  • 2022-08-09
  • 浏览 (846)

partition

Command Function

This command is used to query flash partition information.

Syntax

partition [nand / spinor]

Parameters

Table 1 Parameter description

Parameter

Description

Value Range

nand

Displays information about the NAND flash partition.

N/A

spinor

Displays information about the SPI NOR flash partition.

N/A

Usage

  • The partition command is used to query flash partition information.
  • The NAND flash partition information can be queried only when the Yet Another Flash File System (YAFFS) is enabled. The SPI NOR flash partition information can be queried only when the Journaling Flash File System (JFFS) or ROM filesystem (romfs) is enabled.

Example

Run partition spinor.

Output

SPI NOR flash partition information:

OHOS # partition spinor
spinor partition num:0,  blkdev name:/dev/spinorblk0, mountpt:/, startaddr:0x00500000, length:0x00a00000

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Kernel

harmony 鸿蒙Kernel Coding Specification

harmony 鸿蒙Standard Libraries

harmony 鸿蒙Interrupt Management

harmony 鸿蒙Event

harmony 鸿蒙Mutex

harmony 鸿蒙Queue

harmony 鸿蒙Semaphore

harmony 鸿蒙Doubly Linked List

harmony 鸿蒙Memory Management

0  赞