Last active
March 26, 2017 19:50
-
-
Save nareix/c94db8aad2123612dca0 to your computer and use it in GitHub Desktop.
use qemu run u-boot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// qemu run arm | |
// https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=112259 | |
qemu-system-arm -kernel kernel-qemu-4.1.7-jessie -cpu arm1176 -m 256 -M versatilepb -serial stdio -append "root=/dev/sda2 panic=1 rootfstype=ext4 rw" -hda 2015-09-24-raspbian-jessie.img | |
// qemu machine list | |
Supported machines are: | |
akita Akita PDA (PXA270) | |
borzoi Borzoi PDA (PXA270) | |
canon-a1100 Canon PowerShot A1100 IS | |
cheetah Palm Tungsten|E aka. Cheetah PDA (OMAP310) | |
collie Collie PDA (SA-1110) | |
connex Gumstix Connex (PXA255) | |
cubieboard cubietech cubieboard | |
highbank Calxeda Highbank (ECX-1000) | |
integratorcp ARM Integrator/CP (ARM926EJ-S) | |
kzm ARM KZM Emulation Baseboard (ARM1136) | |
lm3s6965evb Stellaris LM3S6965EVB | |
lm3s811evb Stellaris LM3S811EVB | |
mainstone Mainstone II (PXA27x) | |
midway Calxeda Midway (ECX-2000) | |
musicpal Marvell 88w8618 / MusicPal (ARM926EJ-S) | |
n800 Nokia N800 tablet aka. RX-34 (OMAP2420) | |
n810 Nokia N810 tablet aka. RX-44 (OMAP2420) | |
netduino2 Netduino 2 Machine | |
none empty machine | |
nuri Samsung NURI board (Exynos4210) | |
realview-eb ARM RealView Emulation Baseboard (ARM926EJ-S) | |
realview-eb-mpcore ARM RealView Emulation Baseboard (ARM11MPCore) | |
realview-pb-a8 ARM RealView Platform Baseboard for Cortex-A8 | |
realview-pbx-a9 ARM RealView Platform Baseboard Explore for Cortex-A9 | |
smdkc210 Samsung SMDKC210 board (Exynos4210) | |
spitz Spitz PDA (PXA270) | |
sx1 Siemens SX1 (OMAP310) V2 | |
sx1-v1 Siemens SX1 (OMAP310) V1 | |
terrier Terrier PDA (PXA270) | |
tosa Tosa PDA (PXA255) | |
verdex Gumstix Verdex (PXA270) | |
versatileab ARM Versatile/AB (ARM926EJ-S) | |
versatilepb ARM Versatile/PB (ARM926EJ-S) | |
vexpress-a15 ARM Versatile Express for Cortex-A15 | |
vexpress-a9 ARM Versatile Express for Cortex-A9 | |
virt ARM Virtual Machine | |
xilinx-zynq-a9 Xilinx Zynq Platform Baseboard for Cortex-A9 | |
z2 Zipit Z2 (PXA27x) | |
// make u-boot | |
cross=../toolchain/gcc-arm-none-eabi-5_2-2015q4/bin/arm-none-eabi- | |
cd u-boot | |
make CROSS_COMPILE=${cross} vexpress_ca9x4_config | |
make CROSS_COMPILE=${cross} | |
// run qemu | |
qemu-system-arm -kernel u-boot/u-boot -M vexpress-a9 -m 256 -serial stdio |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment