LoginSignup
0
0

More than 5 years have passed since last update.

petalinux / microzed > M. デフォルトrunlevelの変更方法

Last updated at Posted at 2016-01-10

自分の過去メモ(2014年ころ)より

通常はrunlevel 5で起動するようになっている。 runlevelを変更する場合は petalinux-build -x packageを行う前に
build/linux/rootfs/targetroot/etc/inittab
の id:5:initdefault: の数値を変更すればいい。

  • 注意1. petalinux-build -c rootfsなど行うと inittabファイルが書き換えられてしまうようだ
  • 注意2. runlevelを1 (single user mode)にした場合、USB-シリアル通信 (115200bps)接続を確立していないようだ
  • 注意3. ramdiskイメージを用いる場合は、上記のinittabファイルでなく、arm_ramdisk.image.gzの中身のinittabを書き換えないといけないようだ。
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