From 95051297c98dd791e98f44bd98e65e4236f1f969 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciro=20Santilli=20=E5=85=AD=E5=9B=9B=E4=BA=8B=E4=BB=B6=20?= =?UTF-8?q?=E6=B3=95=E8=BD=AE=E5=8A=9F?= Date: Sun, 20 Oct 2019 00:00:00 +0000 Subject: [PATCH] d1f16390d0cd53a337e0014ce627803b1d6282de --- index.html | 41 ++++++++++++++++++++++++++--------------- 1 file changed, 26 insertions(+), 15 deletions(-) diff --git a/index.html b/index.html index 4ca1ce3..0a87f7a 100644 --- a/index.html +++ b/index.html @@ -8822,7 +8822,10 @@ cat index.html
-

https://unix.stackexchange.com/questions/473448/how-to-ping-from-the-qemu-guest-to-an-external-url

+

Here Ciro describes how to get it working: https://unix.stackexchange.com/questions/473448/how-to-ping-from-the-qemu-guest-to-an-external-url

+
+
+

Further bibliography: https://superuser.com/questions/787400/qemu-user-mode-networking-doesnt-work

@@ -8958,7 +8961,17 @@ cat index.html
-

Bibliography: https://serverfault.com/questions/769874/how-to-forward-a-port-from-guest-to-host-in-qemu-kvm/951835#951835

+

Bibliography:

+
+
+
@@ -21174,18 +21187,7 @@ build/ARM/config/the_isa.hh

It therefore produces a pristine, blob-less, debuggable setup, where all moving parts are configured to work perfectly together.

-

Perhaps the awesomeness of Buildroot only sinks in once you notice that all it takes is 4 commands as explained at https://stackoverflow.com/questions/47557262/how-to-download-the-torvalds-linux-kernel-master-recompile-it-and-boot-it-wi/49349237#49349237

-
-
-
-
git clone https://github.com/buildroot/buildroot
-cd buildroot
-git checkout 2018.02
-make qemu_aarch64_virt_defconfig
-make olddefconfig
-time make BR2_JLEVEL="$(nproc)"
-qemu-system-aarch64 -M virt -cpu cortex-a57 -nographic -smp 1 -kernel output/images/Image -append "root=/dev/vda console=ttyAMA0" -netdev user,id=eth0 -device virtio-net-device,netdev=eth0 -drive file=output/images/rootfs.ext4,if=none,format=raw,id=hd0 -device virtio-blk-device,drive=hd0
-
+

Perhaps the awesomeness of Buildroot only sinks in once you notice that all it takes is 4 commands as explained at Section 20.11, “Buildroot hello world”.

This repo basically wraps around that, and tries to make everything even more awesome for kernel developers.

@@ -21671,7 +21673,13 @@ git -C "$(./getvar qemu_source_dir)" checkout -

20.11. Buildroot hello world

-

This repo doesn’t do much more other than setting a bunch of Buildroot configurations and building it, and the minimal work you have to do to get QEMU to boot Buildroot from scratch is tiny if you want to quickly test Buildroot specifics, for example:

+

This repo doesn’t do much more other than setting a bunch of Buildroot configurations and building it.

+
+
+

The minimal work you have to do to get QEMU to boot Buildroot from scratch is tiny if, about 4 commands!

+
+
+

Here are some good working commands for several ISAs:

    @@ -21703,6 +21711,9 @@ git -C "$(./getvar qemu_source_dir)" checkout -
+
+

These can come in handy if you want to debug something in Buildroot itself and possibly report an upstream bug.

+