Tuomas Tynkkynen
32f1182926
ARM: Add a new arch + board for QEMU's 'virt' machine
...
This board builds an U-Boot binary that is bootable with QEMU's 'virt'
machine on ARM. The minimal QEMU command line is:
qemu-system-arm -machine virt,highmem=off -bios u-boot.bin
(Note that the 'highmem=off' parameter to the 'virt' machine is required for
PCI to work in U-Boot.) This command line enables the following:
- u-boot.bin loaded and executing in the emulated flash at address 0x0
- A generated device tree blob placed at the start of RAM
- A freely configurable amount of RAM, described by the DTB
- A PL011 serial port, discoverable via the DTB
- An ARMv7 architected timer
- PSCI for rebooting the system
- A generic ECAM-based PCI host controller, discoverable via the DTB
Additionally, QEMU allows plugging a bunch of useful peripherals to the PCI bus.
The following ones are supported by both U-Boot and Linux:
- To add a Serial ATA disk via an Intel ICH9 AHCI controller, pass e.g.:
-drive if=none,file=disk.img,id=mydisk -device ich9-ahci,id=ahci -device ide-drive,drive=mydisk,bus=ahci.0
- To add an Intel E1000 network adapter, pass e.g.:
-net nic,model=e1000 -net user
- To add an EHCI-compliant USB host controller, pass e.g.:
-device usb-ehci,id=ehci
- To add a NVMe disk, pass e.g.:
-drive if=none,file=disk.img,id=mydisk -device nvme,drive=mydisk,serial=foo
Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi >
2017-10-06 11:28:16 -04:00
..
2017-10-02 21:52:19 -04:00
2017-07-03 17:35:28 -04:00
2017-10-06 11:28:16 -04:00
2017-10-04 12:00:21 -04:00
2017-10-03 19:12:05 +02:00
2017-09-29 14:07:58 -04:00
2017-09-11 08:01:05 -07:00
2017-10-05 21:31:04 -04:00
2017-09-26 10:57:53 +02:00
2017-08-01 11:58:01 +09:00
2016-12-03 13:21:21 -05:00
2017-06-01 07:03:17 -06:00
2017-10-02 21:52:16 -04:00
2017-09-22 12:40:48 -07:00
2017-08-16 08:30:24 -04:00
2017-02-08 15:56:28 -05:00
2017-08-17 16:44:17 +09:00
2017-05-11 22:03:37 -04:00
2017-06-05 11:02:29 -04:00
2017-05-15 10:38:09 -04:00
2017-09-14 16:02:43 -04:00
2017-07-12 06:57:38 +02:00
2017-09-20 10:20:19 +02:00
2017-10-05 21:31:04 -04:00
2017-09-16 14:57:44 +08:00
2017-10-02 21:52:18 -04:00
2017-09-12 17:57:59 -04:00
2017-06-01 07:03:14 -06:00
2017-09-15 05:27:47 -06:00
2017-08-11 15:41:52 -04:00
2017-10-05 21:31:04 -04:00
2017-07-08 15:55:34 -04:00
2016-12-02 21:32:38 -05:00
2017-01-28 08:47:30 -05:00
2017-09-20 11:08:01 +02:00
2017-01-28 08:47:42 -05:00
2017-09-12 17:58:00 -04:00
2017-08-14 17:06:06 -04:00
2017-08-07 15:22:29 -05:00
2017-07-11 10:08:19 -06:00
2016-10-13 12:25:02 -05:00
2016-10-19 09:01:51 +02:00
2017-06-01 07:03:11 -06:00
2017-08-16 08:22:18 -04:00
2017-05-11 22:21:27 -04:00
2017-07-28 23:34:39 +02:00
2017-07-11 10:08:19 -06:00
2016-11-25 17:59:31 -07:00
2017-04-13 09:41:10 -04:00
2017-06-01 07:03:08 -06:00
2017-09-15 05:27:48 -06:00
2017-04-04 20:01:57 -06:00
2017-09-22 07:39:59 -04:00
2017-08-17 16:44:17 +09:00
2017-08-17 16:59:55 +09:00
2017-05-15 20:32:12 +02:00
2017-09-20 11:29:35 +02:00
2017-09-20 11:08:01 +02:00
2017-09-18 23:53:57 +02:00
2017-09-20 11:00:57 +02:00
2016-11-14 23:24:03 +01:00
2017-09-05 20:17:08 -04:00
2017-08-14 17:06:06 -04:00
2017-08-16 08:31:24 -04:00
2016-09-23 22:25:27 -04:00
2017-08-16 08:30:24 -04:00
2016-11-21 14:07:27 -05:00
2016-09-23 09:18:55 -04:00
2017-09-15 09:03:15 -04:00
2017-09-15 05:27:48 -06:00
2017-06-02 10:16:46 -06:00
2017-09-15 05:27:38 -06:00
2017-09-26 10:57:53 +02:00
2017-10-02 21:51:50 -04:00
2017-10-02 21:52:18 -04:00
2017-08-09 09:57:33 -07:00
2017-04-14 13:50:41 +02:00
2017-04-12 13:28:32 -04:00
2017-01-04 19:40:52 -05:00
2017-04-17 09:03:30 -07:00
2017-07-12 09:44:22 +02:00
2017-06-05 14:12:59 -04:00
2017-09-11 07:55:36 -07:00
2017-03-17 09:27:08 +01:00
2016-12-08 10:36:22 -06:00
2016-09-26 08:53:07 -07:00
2016-10-06 09:54:14 -07:00
2017-01-04 19:40:19 -05:00
2016-10-06 09:56:28 -07:00
2016-09-27 23:30:49 +02:00
2017-03-28 09:03:04 -07:00
2016-10-04 12:01:14 +02:00
2016-09-27 23:30:18 +02:00
2017-07-28 23:34:41 +02:00
2017-05-31 19:38:14 -04:00
2016-09-23 17:55:42 -04:00
2017-05-10 13:37:22 -06:00
2017-06-12 08:38:02 -04:00
2017-09-03 15:30:35 -04:00
2017-10-05 21:31:04 -04:00
2017-08-23 10:41:58 +02:00
2017-04-05 16:36:56 -04:00
2017-04-05 13:52:35 -04:00
2017-07-23 09:24:47 -04:00
2017-06-01 07:03:16 -06:00
2017-06-16 10:14:55 -04:00
2016-10-23 18:33:57 -04:00
2017-06-12 08:37:55 -04:00
2017-04-14 19:38:57 -06:00
2016-08-20 11:35:00 -04:00
2017-06-02 10:16:46 -06:00
2017-09-07 10:44:37 -04:00
2017-06-01 07:03:15 -06:00
2016-11-07 11:28:16 -06:00
2016-12-20 07:40:04 +01:00
2017-08-17 17:00:11 +09:00
2017-07-08 15:55:26 -04:00
2017-07-11 22:41:54 -04:00
2017-08-16 08:31:11 -04:00
2017-07-28 13:41:49 +02:00
2017-08-24 11:00:47 +08:00
2016-08-16 11:44:09 +08:00
2017-08-13 15:17:31 -04:00
2017-06-01 07:03:06 -06:00
2017-07-28 12:02:47 -06:00
2017-09-11 16:19:43 -04:00
2017-09-20 10:20:00 +02:00
2017-09-20 10:20:00 +02:00
2017-08-13 15:17:32 -04:00
2017-10-06 11:27:40 -04:00
2017-06-12 08:37:55 -04:00
2017-09-20 11:10:24 +02:00
2017-08-07 15:18:30 -05:00
2017-07-03 17:35:28 -04:00
2017-06-01 07:03:15 -06:00
2017-07-08 15:55:26 -04:00
2017-05-10 13:37:21 -06:00
2017-09-15 05:27:38 -06:00
2017-04-05 16:36:57 -04:00
2017-06-01 07:03:15 -06:00
2017-07-28 23:34:07 +02:00
2017-04-10 10:02:03 +08:00
2016-10-06 20:57:40 -04:00
2017-08-17 16:44:17 +09:00
2017-07-11 10:08:19 -06:00
2017-08-17 16:59:55 +09:00
2017-08-23 10:41:58 +02:00
2017-08-16 08:22:18 -04:00
2017-08-24 11:00:47 +08:00
2016-08-17 10:25:35 +09:00
2016-08-17 10:25:34 +09:00
2017-02-06 11:38:46 +08:00
2016-10-06 15:07:35 -04:00
2017-06-01 07:03:16 -06:00
2017-08-13 17:12:19 +02:00
2017-01-13 17:40:38 +01:00
2017-06-16 10:14:55 -04:00
2017-07-31 12:21:40 -04:00
2017-10-04 07:55:21 -04:00
2017-09-15 05:27:38 -06:00
2016-10-19 09:01:50 +02:00
2017-01-14 16:46:30 -05:00
2017-03-26 13:22:58 -06:00
2017-04-17 09:03:30 -07:00
2016-09-26 13:24:43 -04:00
2017-04-12 13:28:27 -04:00
2017-07-28 23:34:34 +02:00
2017-10-01 16:32:51 +02:00
2017-08-24 11:00:47 +08:00
2016-09-20 09:30:23 -04:00
2016-10-23 18:33:48 -04:00
2016-10-23 18:33:54 -04:00
2017-10-04 12:00:19 -04:00
2017-01-10 10:18:11 +01:00
2017-07-08 15:55:32 -04:00
2017-08-13 15:17:34 -04:00
2016-09-22 07:33:21 +02:00
2017-04-08 09:26:54 -04:00
2017-08-02 09:11:52 +02:00
2016-11-15 15:28:04 +01:00