Let's install Debian 9.0 "Stretch" on QEMU MIPS32 under Ubuntu.
sudo apt install qemu-system-mips
wget http://ftp.debian.org/debian/dists/stretch/main/installer-mipsel/current/images/malta/netboot/vmlinux-4.9.0-11-4kc-malta
| U-Boot 2015.07-00021-g893592104d (Oct 29 2019 - 18:34:01 -0700) | |
| Board: PIC32MZ[DA] | |
| CPU Speed: 200 MHz | |
| SPI: ready | |
| DRAM: 32 MiB | |
| Flash: 2 MiB | |
| MMC: pic32-sdhci: 0 | |
| In: serial | |
| Out: serial |
| dask # boot | |
| 1733830 bytes read in 252 ms (6.6 MiB/s) | |
| 7343 bytes read in 8 ms (895.5 KiB/s) | |
| ## Booting kernel from Legacy Image at 88500000 ... | |
| Image Name: | |
| Created: 2019-10-25 0:59:01 UTC | |
| Image Type: MIPS Linux Kernel Image (gzip compressed) | |
| Data Size: 1733766 Bytes = 1.7 MiB | |
| Load Address: 88000000 | |
| Entry Point: 88000400 |
| Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub | |
| Device Descriptor: | |
| bLength 18 | |
| bDescriptorType 1 | |
| bcdUSB 3.10 | |
| bDeviceClass 9 Hub | |
| bDeviceSubClass 0 | |
| bDeviceProtocol 3 | |
| bMaxPacketSize0 9 |
| bumba | |
| description: Notebook | |
| product: 20MDS00U00 (LENOVO_MT_20MD_BU_Think_FM_ThinkPad P1) | |
| vendor: LENOVO | |
| version: ThinkPad P1 | |
| serial: R90VFBXE | |
| width: 64 bits | |
| capabilities: smbios-3.1 dmi-3.1 smp vsyscall32 | |
| configuration: administrator_password=disabled chassis=notebook family=ThinkPad P1 power-on_password=disabled sku=LENOVO_MT_20MD_BU_Think_FM_ThinkPad P1 uuid=4CFBB50B-CF2D-B211-A85C-8B31683FECCC | |
| *-core |
| 00:00.0 Host bridge [0600]: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers [8086:3ec4] (rev 07) | |
| Subsystem: Lenovo 8th Gen Core Processor Host Bridge/DRAM Registers [17aa:2267] | |
| Flags: bus master, fast devsel, latency 0 | |
| Capabilities: [e0] Vendor Specific Information: Len=10 <?> | |
| Kernel driver in use: skl_uncore | |
| 00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) [8086:1901] (rev 07) (prog-if 00 [Normal decode]) | |
| Flags: bus master, fast devsel, latency 0, IRQ 121 | |
| Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 | |
| I/O behind bridge: 00003000-00003fff |
| Linux version 5.0.0-23-generic (buildd@lcy01-amd64-017) (gcc version 8.3.0 (Ubuntu 8.3.0-6ubuntu1)) #24-Ubuntu SMP Mon Jul 29 15:36:44 UTC 2019 (Ubuntu 5.0.0-23.24-generic 5.0.15) | |
| Command line: BOOT_IMAGE=/boot/vmlinuz-5.0.0-23-generic root=UUID=d44372e8-3b04-4a5a-b098-4f333d7a9273 ro quiet splash vt.handoff=1 | |
| KERNEL supported cpus: | |
| Intel GenuineIntel | |
| AMD AuthenticAMD | |
| Hygon HygonGenuine | |
| Centaur CentaurHauls | |
| x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers' | |
| x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers' | |
| x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers' |
| backend: tensorflow | |
| class_name: Model | |
| config: | |
| input_layers: | |
| - - input_1 | |
| - 0 | |
| - 0 | |
| layers: | |
| - class_name: InputLayer | |
| config: |
| Model: "resnet50" | |
| __________________________________________________________________________________________________ | |
| Layer (type) Output Shape Param # Connected to | |
| ================================================================================================== | |
| input_1 (InputLayer) [(None, 224, 224, 3) 0 | |
| __________________________________________________________________________________________________ | |
| conv1_pad (ZeroPadding2D) (None, 230, 230, 3) 0 input_1[0][0] | |
| __________________________________________________________________________________________________ | |
| conv1 (Conv2D) (None, 112, 112, 64) 9472 conv1_pad[0][0] | |
| __________________________________________________________________________________________________ |
| // | |
| // Compare libyaml and libyaml-cpp parsers for speed. | |
| // | |
| // Compile with: | |
| // g++ -O run.cpp -lyaml-cpp -lyaml -o run | |
| // | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <getopt.h> | |
| #include <stdint.h> |