のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

qemu system arm

>qemu-system-arm -M raspi2 -kernel kernel-qemu-4.4.34-jessie 
-sd 2017-04-10-raspbian-jessie.img 
-append "rw earlyprintk loglevel=8 console=ttyAMA0,115200 dwc_otg.lpm_enable=0 root=/dev/mmcblkOp2"
WARNING: Image format was not specified for '2017-04-10-raspbian-jessie.img' and probing guessed raw.
         Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
         Specify the 'raw' format explicitly to remove the restrictions.