daneseale
Posts: 1
Joined: Wed May 02, 2012 8:24 pm

Re: raspberry on qemu

Wed May 02, 2012 9:51 pm

hi guys,

i downloaded debian os and zImage_3.1.9., copyed debian.img in debian_root.ext4. and run qemu in this way:qemu-system-arm -m 256 -M versatilepb -cpu arm1136 -hda debian_root.ext4 -kernel zImage_3.1.9 -append "root=/dev/sda" -serial stdio the simulatoin start and all is ok but the contents of the folder /sys/class is the following:bdiblockbsgfirmwaregraphicsi2c-adapterinputmem....  there is not gpio or led file !!! Maybe do i not run qemu correctly ?With qemu can i not see these files ? (i do not think so) Thanks for your time.  

User avatar
ukscone
Forum Moderator
Forum Moderator
Posts: 4214
Joined: Fri Jul 29, 2011 2:51 pm
Contact: Website

Re: raspberry on qemu

Wed May 02, 2012 10:38 pm

qemu doesn't emulate the full hardware of the raspberry pi. Only the basics such as the processor and simple graphics hardware so there are no things like gpio available

Return to “Beginners”