Quicklinks

Ext. Links

Maemo-Wikis, Talk,IRC

Download/Repos


Wiki -RC

N900 Overview

N900 Handling

N900 Apps

N900 Topics

Research / Hints

Hardware

Möglichkeit zur Bearbeitung der Raspberry Images

insbesonders booten

QEMU mit Aufruf eines kompatiblen Kernels
http://xecdesign.com/qemu-emulating-raspberry-pi-the-easy-way/
http://cronicasredux.blogspot.ch/2011/09/installing-and-running-debian-armel-on.html

[] kann man ein SD-Image direkt booten? (ähnlich USB mit grub)
Vermutlich gibt es wohl eine ARM-Emulation, aber nicht eine eigentliche PI-Hardware Emulation.
Es muss ein spezieller QEMU-tauglicher Kernel verwendet werden.

PI-Emu unter Windows

auch mit qemu
https://sourceforge.net/projects/rpiqemuwindows/ (anscheinend laufendes Image)

Arm Hypervisor

https://falstaff.agner.ch/tag/arm/
he newer ARMv7 Cortex-A class cores such Cortex-A7, A15 and A17 come with a virtualization extensions which allow to use KVM

QEMU

http://pkgs.org/download/qemu-system-arm
http://soslug.org/wiki/raspberry_pi_emulation (ev. Downloads mit korrektem ARM-Typ)

Mint 17-1 (qemu ootb)
Download kernel-qemu (lauffähiger ARM-Kernel)
qemu-arm -cpu ? -> ARM1176
http://xecdesign.com/downloads/linux-qemu/kernel-qemu

kernel-qemu: im gleichen Pfad wie Image

(PI ARMv6)

-cpu arm1176 (ARMv7)
-cpu arm1136-r2 (ev. auch möglich, besser?)

1. Boot
qemu-system-arm -kernel kernel-qemu -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial stdio -append "root=/dev/sda2 panic=1 rootfstype=ext4 rw console=ttyAMA0 init=/bin/bash" -hda pipresents_2015Jan16_pi-virt_img

normale Boots (ohne init=/bin/bash)
qemu-system-arm -kernel kernel-qemu -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial stdio -append "root=/dev/sda2 panic=1 rootfstype=ext4 rw console=ttyAMA0" -hda pipresents_2015Jan16_pi-virt_img

qemu-system-arm --version
QEMU emulator version 2.0.0 (Debian 2.0.0+dfsg-2ubuntu1.10), Copyright (c) 2003-2008 Fabrice Bellard

PI-Image bootet (Mint 17-1 QEMU
[] Speed
[] X11-Auflösung

Verbesserung

Display-Auflösung, -m 256, native kernel
http://www.raspberrypi.org/forums/viewtopic.php?f=72&t=26561
https://github.com/Torlus/qemu
https://github.com/Torlus/qemu-rpi (für PI verbesserte Spezialversion)

chroot

Die Emulation auf einem PC ist etwas langsam, und für compiles u.s.w. nicht so geeignet.

http://sentryytech.blogspot.ch/2013/02/faster-compiling-on-emulated-raspberry.html
http://www.darrinhodges.com/chroot-voodoo/ (!) []ausprobieren

Edit Page - Page History - Printable View - Recent Changes - WikiHelp - SearchWiki
Page last modified on April 16, 2018, at 03:56 PM, visited:$PageCount