LoginSignup
0
0

More than 5 years have passed since last update.

PetaLinux / MicroZed > U. MTD(Memory Technology Device)の中身

Last updated at Posted at 2017-02-21
動作環境
PetaLinux 2014.4
MicroZed

2014年のメモより。

MTD (Memory Technology Device) – QSPI Flashなどのこと

cat /proc/mtdでubootなどのサイズやmtdxへの割当てを知ることができる
MicroZedのQSPIで起動した時の cat /proc/mtdの結果は

dev:    size   erasesize  name
mtd0: 00100000 00010000 "qspi-fsbl-uboot"
mtd1: 00500000 00010000 "qspi-linux"
mtd2: 00020000 00010000 "qspi-device-tree"
mtd3: 005e0000 00010000 "qspi-rootfs"
mtd4: 00400000 00010000 "qspi-bitstream"

MicroZedをmicroSD(XSDK作成したboot.binとpetalinux-buildで作成したimage.ub使用)で起動した時の cat /proc/mtdの結果

dev:    size   erasesize  name
mtd0: 00500000 00010000 "boot"
mtd1: 00020000 00010000 "bootenv"
mtd2: 00a80000 00010000 "kernel"
mtd3: 00060000 00010000 "spare"

system.dtsなどdevice tree blobで定義しているものが反映されると思われる。

ramdisk起動での動作にするためにはこの部分が理解が必要と思われる。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0