You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and switch between virtual terminals, to understand that the dmesg goes to whatever current virtual terminal you are on, but not the others, and not to the serial terminals.
@@ -5197,7 +5201,7 @@ Instead, the shell appears on `/dev/tty7`.
5197
5201
5198
5202
If you run in <<graphic-mode>>, then you get a Penguin image for <<number-of-cores,every core>> above the console! https://askubuntu.com/questions/80938/is-it-possible-to-get-the-tux-logo-on-the-text-based-boot
5199
5203
5200
-
This is due to the `CONFIG_LOGO=y` option which we enable by default.
5204
+
This is due to the link:https://github.com/torvalds/linux/blob/v4.17/drivers/video/logo/Kconfig#L5[`CONFIG_LOGO=y`] option which we enable by default.
5201
5205
5202
5206
`reset` on the terminal then kills the poor penguins.
5203
5207
@@ -5350,7 +5354,7 @@ When I build it on Ubuntu 18.04 host, it does not generate any executable, so I'
Snapshots are stored inside the `.qcow2` images themselves.
@@ -5918,8 +5922,6 @@ Rationale: we found out that the kernels that build for `qemu -M versatilepb` do
5918
5922
5919
5923
At the same time, we also found out that Versatile Express (`vexpress`) does support armv7, so maybe we could port it over, but I had lost interest at that point, and decided to just go with the simpler `-M virt` machine instead.
One advantage of this method over NFS is that can run without `sudo` on host, or having to pass host credentials on guest for sshfs.
5969
5971
5970
5972
TODO performance compared to NFS.
@@ -6011,7 +6013,10 @@ security_model=mapped
6011
6013
+
6012
6014
writes from guest failed due to user mismatch problems: https://serverfault.com/questions/342801/read-write-access-for-passthrough-9p-filesystems-with-libvirt-qemu
6013
6015
6014
-
The feature is documented at: https://wiki.qemu.org/Documentation/9psetup
Could not do port forwarding from host to guest, and therefore could not use `gdbserver`: https://stackoverflow.com/questions/48941494/how-to-do-port-forwarding-from-guest-to-host-in-gem5
@@ -6133,9 +6138,7 @@ gives:
6133
6138
Could not open guest forwarding device 'guestfwd.tcp.45456'
Header only linear algebra library supported by Buildroot:
7002
+
Header only linear algebra library with a mainline Buildroot package:
6978
7003
6979
7004
....
6980
7005
./build -B 'BR2_PACKAGE_EIGEN=y' -k
6981
-
./run -F '/eigen_hello.out;/eigen_svd.out'
6982
7006
....
6983
7007
6984
-
Source:
7008
+
Just create an array and print it:
7009
+
7010
+
....
7011
+
./run -F '/eigen.out'
7012
+
....
7013
+
7014
+
Output:
6985
7015
6986
-
* link:kernel_module/user/eigen.cpp[]
6987
-
* link:kernel_module/user/eigen_svd.cpp[]
7016
+
....
7017
+
3 -1
7018
+
2.5 1.5
7019
+
....
7020
+
7021
+
Source: link:kernel_module/user/eigen.cpp[]
7022
+
7023
+
This example just creates a matrix and prints it out.
6988
7024
6989
7025
Tested on: link:http://github.com/cirosantilli/linux-kernel-module-cheat/commit/a4bdcf102c068762bb1ef26c591fcf71e5907525[a4bdcf102c068762bb1ef26c591fcf71e5907525]
6990
7026
@@ -7658,7 +7694,7 @@ which gives pretty close results, and serve as a nice sanity check that the cycl
7658
7694
7659
7695
It is also nice to see that `rdtsc` is a bit smaller than the `stats.txt` value, since the latter also includes the exec syscall for `m5`.
0 commit comments