Lines Matching +full:qemu +full:- +full:system +full:-

1 By Vlad Lungu vlad.lungu@windriver.com 2007-Oct-01
2 ----------------------------------------
3 Qemu is a full system emulator. See
5 http://www.nongnu.org/qemu/
8 ----------------------
9 Supports the "-M mips" configuration of qemu: serial,NE2000,IDE.
13 Supports emulated flash (patch Jean-Christophe PLAGNIOL-VILLARD) with
14 recent qemu versions. When using emulated flash, launch with
15 -pflash <filename> and erase mips_bios.bin.
18 Notes for the Qemu MIPS port
19 ----------------------------
23 Using u-boot.bin as ROM (replaces Qemu monitor):
27 # qemu-system-mips -M mips -bios u-boot.bin -nographic
31 # qemu-system-mipsel -M mips -bios u-boot.bin -nographic
35 # qemu-system-mips64 -cpu MIPS64R2-generic -M mips -bios u-boot.bin -nographic
39 # qemu-system-mips64el -cpu MIPS64R2-generic -M mips -bios u-boot.bin -nographic
41 or using u-boot.bin from emulated flash:
43 if you use a qemu version after commit 4224
47 # dd of=flash bs=1k conv=notrunc if=u-boot.bin
49 # qemu-system-mips[64][el] [-cpu MIPS64R2-generic] -M mips -pflash flash -nographic
53 On ftp://ftp.denx.de/pub/contrib/Jean-Christophe_Plagniol-Villard/qemu_mips/
63 System.map
67 # tools/mkimage -A mips -O linux -T kernel -C gzip -a 0x80010000 -e 0x80245650 -n "Linux 2.6.24.y"
76 # sfdisk -C 261 -d ide
92 # losetup -o 16450560 -f ide
95 # losetup -d /dev/loop0
97 # mount -o loop,offset=16450560 -t ext2 ide /mnt
133 # qemu-system-mips -M mips -pflash flash -monitor null -nographic -net nic -net user -tftp `pwd` -h…
135 II) How to debug U-Boot
137 In order to debug U-Boot you need to start qemu with gdb server support (-s)
138 and waiting the connection to start the CPU (-S)
140 # qemu-system-mips -S -s -M mips -pflash flash -monitor null -nographic -net nic -net user -tftp `p…
144 1) Debugging of U-Boot Before Relocation
149 # mipsel-unknown-linux-gnu-gdb u-boot
156 This GDB was configured as "--host=i486-linux-gnu --target=mipsel-unknown-linux-gnu"...
160 64 RVECENT(reset,0) /* U-Boot entry point */
173 2) Debugging of U-Boot After Relocation
175 For debugging U-Boot after relocation we need to know the address to which
176 U-Boot relocates itself to 0x87fa0000 by default.
179 (gdb) symbol-file
180 Discard symbol table from `/private/u-boot-arm/u-boot'? (y or n) y
181 Error in re-setting breakpoint 1:
184 (gdb) add-symbol-file u-boot 0x87fa0000
185 add symbol table from file "u-boot" at
188 Reading symbols from /private/u-boot-arm/u-boot...done.
195 78 while ((tmo - read_c0_count()) < 0x7fffffff)