Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
LinuxKit booting on RPi3
U-Boot 2017.09-dirty (Oct 13 2017 - 16:04:53 +0000)
DRAM: 948 MiB
RPI 3 Model B (0xa02082)
MMC: sdhci@7e300000: 0
reading uboot.env
In: serial
Out: vidconsole
Err: vidconsole
Net: No ethernet found.
starting USB...
USB0: Core Release: 2.80a
scanning bus 0 for devices... 4 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
reading /boot.scr
431 bytes read in 12 ms (34.2 KiB/s)
## Executing script at 02000000
Saving Environment to FAT...
writing uboot.env
done
reading kernel.uimg
6894800 bytes read in 423 ms (15.5 MiB/s)
reading bcm2837-rpi-3-b.dtb
7404 bytes read in 16 ms (451.2 KiB/s)
reading initrd.uimg
46278118 bytes read in 2711 ms (16.3 MiB/s)
## Booting kernel from Legacy Image at 01000000 ...
Image Name:
Image Type: AArch64 Linux Kernel Image (gzip compressed)
Data Size: 6894736 Bytes = 6.6 MiB
Load Address: 00080000
Entry Point: 00080000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02100000 ...
Image Name:
Image Type: AArch64 Linux RAMDisk Image (gzip compressed)
Data Size: 46278054 Bytes = 44.1 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 00000100
Booting using the fdt blob at 0x000100
Uncompressing Kernel Image ... OK
Loading Ramdisk to 3832a000, end 3af4c5a6 ... OK
Loading Device Tree to 0000000038325000, end 0000000038329ceb ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.56-linuxkit (root@826d0c91e2f3) (gcc version 6.3.0 (Alpine 6.3.0) ) #1 SMP PREEMPT Sat Oct 14 14:12:09 UTC 2017
[ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 16 MiB at 0x0000000037000000
[ 0.000000] percpu: Embedded 23 pages/cpu @ffff80003b38c000 s53912 r8192 d32104 u94208
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 238896
[ 0.000000] Kernel command line: dwc_otg.lpm_enable=0 earlyprintk console=tty1 console=ttyS0,115200 root=/dev/ram0 rw
[ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.000000] Memory: 873052K/970752K available (9404K kernel code, 1126K rwdata, 2764K rodata, 3840K init, 476K bss, 81316K reserved, 16384K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] modules : 0xffff000000000000 - 0xffff000008000000 ( 128 MB)
[ 0.000000] vmalloc : 0xffff000008000000 - 0xffff7dffbfff0000 (129022 GB)
[ 0.000000] .text : 0xffff000008080000 - 0xffff0000089b0000 ( 9408 KB)
[ 0.000000] .rodata : 0xffff0000089b0000 - 0xffff000008c70000 ( 2816 KB)
[ 0.000000] .init : 0xffff000008c70000 - 0xffff000009030000 ( 3840 KB)
[ 0.000000] .data : 0xffff000009030000 - 0xffff000009149a00 ( 1127 KB)
[ 0.000000] .bss : 0xffff000009149a00 - 0xffff0000091c0c4c ( 477 KB)
[ 0.000000] fixed : 0xffff7dfffe7fd000 - 0xffff7dfffec00000 ( 4108 KB)
[ 0.000000] PCI I/O : 0xffff7dfffee00000 - 0xffff7dffffe00000 ( 16 MB)
[ 0.000000] vmemmap : 0xffff7e0000000000 - 0xffff800000000000 ( 2048 GB maximum)
[ 0.000000] 0xffff7e0000000000 - 0xffff7e0000ed0000 ( 14 MB actual)
[ 0.000000] memory : 0xffff800000000000 - 0xffff80003b400000 ( 948 MB)
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 64.
[ 0.000000] RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4
[ 0.000000] NR_IRQS:64 nr_irqs:64 0
[ 0.000000] arm_arch_timer: WARNING: Invalid trigger for IRQ1, assuming level low
[ 0.000000] arm_arch_timer: WARNING: Please fix your firmware
[ 0.000000] arm_arch_timer: WARNING: Invalid trigger for IRQ2, assuming level low
[ 0.000000] arm_arch_timer: WARNING: Please fix your firmware
[ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 19.20MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[ 0.000006] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[ 0.000711] Console: colour dummy device 80x25
[ 0.002583] console [tty1] enabled
[ 0.002649] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=76800)
[ 0.002740] pid_max: default: 32768 minimum: 301
[ 0.003118] Security Framework initialized
[ 0.003168] Yama: becoming mindful.
[ 0.003334] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.003394] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.004803] ftrace: allocating 34654 entries in 136 pages
[ 0.106441] ASID allocator initialised with 65536 entries
[ 0.138546] EFI services will not be available.
[ 0.186694] Detected VIPT I-cache on CPU1
[ 0.186752] arm_arch_timer: WARNING: Invalid trigger for IRQ1, assuming level low
[ 0.186756] arm_arch_timer: WARNING: Please fix your firmware
[ 0.186764] arm_arch_timer: WARNING: Invalid trigger for IRQ2, assuming level low
[ 0.186767] arm_arch_timer: WARNING: Please fix your firmware
[ 0.186780] CPU1: Booted secondary processor [410fd034]
[ 0.218790] Detected VIPT I-cache on CPU2
[ 0.218831] arm_arch_timer: WARNING: Invalid trigger for IRQ1, assuming level low
[ 0.218834] arm_arch_timer: WARNING: Please fix your firmware
[ 0.218841] arm_arch_timer: WARNING: Invalid trigger for IRQ2, assuming level low
[ 0.218844] arm_arch_timer: WARNING: Please fix your firmware
[ 0.218855] CPU2: Booted secondary processor [410fd034]
[ 0.250920] Detected VIPT I-cache on CPU3
[ 0.250960] arm_arch_timer: WARNING: Invalid trigger for IRQ1, assuming level low
[ 0.250963] arm_arch_timer: WARNING: Please fix your firmware
[ 0.250969] arm_arch_timer: WARNING: Invalid trigger for IRQ2, assuming level low
[ 0.250972] arm_arch_timer: WARNING: Please fix your firmware
[ 0.250983] CPU3: Booted secondary processor [410fd034]
[ 0.251112] Brought up 4 CPUs
[ 0.252000] SMP: Total of 4 processors activated.
[ 0.252052] CPU features: detected feature: 32-bit EL0 Support
[ 0.252153] CPU: All CPU(s) started at EL2
[ 0.253602] devtmpfs: initialized
[ 0.262268] DMI not present or invalid.
[ 0.262673] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.262775] futex hash table entries: 1024 (order: 5, 131072 bytes)
[ 0.264183] pinctrl core: initialized pinctrl subsystem
[ 0.265386] NET: Registered protocol family 16
[ 0.283024] cpuidle: using governor menu
[ 0.283338] vdso: 2 pages (1 code @ ffff0000089b5000, 1 data @ ffff000009034000)
[ 0.283419] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.285855] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.286091] Serial: AMBA PL011 UART driver
[ 0.323937] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[ 0.325601] ACPI: Interpreter disabled.
[ 0.326250] SCSI subsystem initialized
[ 0.326766] usbcore: registered new interface driver usbfs
[ 0.326963] usbcore: registered new interface driver hub
[ 0.327146] usbcore: registered new device driver usb
[ 0.327357] pps_core: LinuxPPS API ver. 1 registered
[ 0.327411] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.327517] PTP clock support registered
[ 0.327606] dmi: Firmware registration failed.
[ 0.328819] NetLabel: Initializing
[ 0.328865] NetLabel: domain hash size = 128
[ 0.328913] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.329072] NetLabel: unlabeled traffic allowed by default
[ 0.329500] clocksource: Switched to clocksource arch_sys_counter
[ 0.483255] VFS: Disk quotas dquot_6.6.0
[ 0.483448] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.483820] FS-Cache: Loaded
[ 0.484374] CacheFiles: Loaded
[ 0.484800] simple-framebuffer 3e929000.framebuffer: framebuffer at 0x3e929000, 0x2d1800 bytes, mapped to 0xffff000009400000
[ 0.484901] simple-framebuffer 3e929000.framebuffer: format=a8r8g8b8, mode=1184x624x32, linelength=4736
[ 0.503783] Console: switching to colour frame buffer device 148x39
[ 0.522004] simple-framebuffer 3e929000.framebuffer: fb0: simplefb registered!
[ 0.522541] pnp: PnP ACPI: disabled
[ 0.537940] NET: Registered protocol family 2
[ 0.539342] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.539768] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[ 0.540257] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.540701] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.540994] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.541685] NET: Registered protocol family 1
[ 0.542299] Unpacking initramfs...
[ 5.270129] Freeing initrd memory: 45192K
[ 5.271142] kvm [1]: 8-bit VMID
[ 5.271298] kvm [1]: IDMAP page: 99a000
[ 5.271469] kvm [1]: HYP VA range: 800000000000:ffffffffffff
[ 5.278698] kvm [1]: Hyp mode initialized successfully
[ 5.284995] kvm [1]: Invalid trigger for IRQ4, assuming level low
[ 5.291378] kvm [1]: virtual timer IRQ4
[ 5.301468] audit: initializing netlink subsys (disabled)
[ 5.308069] audit: type=2000 audit(5.239:1): initialized
[ 5.315748] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[ 5.323524] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 5.330691] FS-Cache: Netfs 'cifs' registered for caching
[ 5.337353] fuse init (API version 7.26)
[ 5.344423] SGI XFS with ACLs, security attributes, no debug enabled
[ 5.352384] 9p: Installing v9fs 9p2000 file system support
[ 5.359083] FS-Cache: Netfs '9p' registered for caching
[ 5.375930] NET: Registered protocol family 38
[ 5.382749] Key type asymmetric registered
[ 5.389473] Asymmetric key parser 'x509' registered
[ 5.396397] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 5.403456] io scheduler noop registered
[ 5.410217] io scheduler deadline registered (default)
[ 5.417015] io scheduler cfq registered
[ 5.429690] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 5.436484] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[ 5.447758] xenfs: not registering filesystem on non-xen platform
[ 5.454756] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 5.463618] console [ttyS0] disabled
[ 5.470177] 3f215040.serial: ttyS0 at MMIO 0x0 (irq = 61, base_baud = 31225000) is a 16550
[ 6.334542] console [ttyS0] enabled
[ 7.170016] bcm2835-rng 3f104000.rng: hwrng registered
[ 7.182568] Unable to detect cache hierarchy from DT for CPU 0
[ 7.207062] loop: module loaded
[ 7.223284] nbd: registered device at major 43
[ 7.250795] megasas: 06.811.02.00-rc1
[ 7.261542] hisi_sas: driver version v1.6
[ 7.273769] tun: Universal TUN/TAP device driver, 1.6
[ 7.285219] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 7.298240] Fusion MPT base driver 3.04.20
[ 7.308793] Copyright (c) 1999-2008 LSI Corporation
[ 7.320246] Fusion MPT SPI Host driver 3.04.20
[ 7.331953] mousedev: PS/2 mouse device common for all mice
[ 7.344997] i2c /dev entries driver
[ 7.355913] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: dm-devel@redhat.com
[ 7.371984] dmi-sysfs: dmi entry is absent.
[ 7.383565] usbcore: registered new interface driver usbhid
[ 7.396066] usbhid: USB HID core driver
[ 7.406966] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[ 7.419597] GACT probability on
[ 7.429519] Mirror/redirect action on
[ 7.439910] Simple TC action Loaded
[ 7.450032] u32 classifier
[ 7.459214] Performance counters on
[ 7.469499] input device check on
[ 7.479539] Actions configured
[ 7.489268] Netfilter messages via NETLINK v0.30.
[ 7.500381] nfnl_acct: registering with nfnetlink.
[ 7.511789] nf_conntrack version 0.5.0 (7680 buckets, 30720 max)
[ 7.524539] ctnetlink v0.93: registering with nfnetlink.
[ 7.536354] nf_tables: (c) 2007-2009 Patrick McHardy <kaber@trash.net>
[ 7.549365] nf_tables_compat: (c) 2012 Pablo Neira Ayuso <pablo@netfilter.org>
[ 7.563482] xt_time: kernel timezone is -0000
[ 7.574362] ip_set: protocol 6
[ 7.583789] IPVS: Registered protocols (TCP, UDP, SCTP, AH, ESP)
[ 7.596356] IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
[ 7.610449] IPVS: Creating netns size=2104 id=0
[ 7.621741] IPVS: ipvs loaded.
[ 7.631047] IPVS: [rr] scheduler registered.
[ 7.641453] IPVS: [wrr] scheduler registered.
[ 7.651909] IPVS: [lc] scheduler registered.
[ 7.662197] IPVS: [wlc] scheduler registered.
[ 7.672514] IPVS: [fo] scheduler registered.
[ 7.682732] IPVS: [ovf] scheduler registered.
[ 7.693029] IPVS: [lblc] scheduler registered.
[ 7.703409] IPVS: [lblcr] scheduler registered.
[ 7.713817] IPVS: [dh] scheduler registered.
[ 7.723887] IPVS: [sh] scheduler registered.
[ 7.733798] IPVS: [sed] scheduler registered.
[ 7.743752] IPVS: [nq] scheduler registered.
[ 7.753577] IPVS: ftp: loaded support on port[0] = 21
[ 7.764189] IPVS: [sip] pe registered.
[ 7.773617] ipip: IPv4 and MPLS over IPv4 tunneling driver
[ 7.785528] gre: GRE over IPv4 demultiplexor driver
[ 7.795995] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 7.806924] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
[ 7.818765] arp_tables: arp_tables: (C) 2002 David S. Miller
[ 7.830117] NET: Registered protocol family 10
[ 7.841469] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 7.853961] NET: Registered protocol family 17
[ 7.863986] Bridge firewalling registered
[ 7.873582] Ebtables v2.0 registered
[ 7.882793] 8021q: 802.1Q VLAN Support v1.8
[ 7.892587] 9pnet: Installing 9P2000 support
[ 7.902548] Key type dns_resolver registered
[ 7.913859] registered taskstats version 1
[ 7.954431] Key type big_key registered
[ 7.993389] Key type encrypted registered
[ 8.010109] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 72, base_baud = 0) is a PL011 rev2
[ 8.026018] raspberrypi-firmware soc:firmware: Attached to firmware from 2017-10-11 23:23
[ 8.040529] hctosys: unable to open rtc device (rtc0)
[ 8.057366] Freeing unused kernel memory: 3840K
[ 11.066273] i2c-bcm2835 3f805000.i2c: Could not read clock-frequency property
[ 11.157311] sdhci: Secure Digital Host Controller Interface driver
[ 11.169393] sdhci: Copyright(c) Pierre Ossman
[ 11.180772] sdhci-pltfm: SDHCI platform and OF driver helper
[ 11.237551] mmc0: SDHCI controller on 3f300000.sdhci [3f300000.sdhci] using PIO
[ 11.292005] mmc0: new SDHC card at address aaaa
[ 11.318190] dwc2 3f980000.usb: Configuration mismatch. dr_mode forced to host
[ 11.383030] dwc2 3f980000.usb: DWC OTG Controller
[ 11.393928] dwc2 3f980000.usb: new USB bus registered, assigned bus number 1
[ 11.407326] dwc2 3f980000.usb: irq 41, io mem 0x00000000
[ 11.419185] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 11.432386] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 11.446090] usb usb1: Product: DWC OTG Controller
[ 11.457218] usb usb1: Manufacturer: Linux 4.9.56-linuxkit dwc2_hsotg
[ 11.470228] usb usb1: SerialNumber: 3f980000.usb
[ 11.482549] hub 1-0:1.0: USB hub found
[ 11.493040] hub 1-0:1.0: 1 port detected
1970/01/01 00:00:11 Failed to run hwclock: exit status 1
Welcome to LinuxKit
## .
## ## ## ==
## ## ## ## ## ===
/"""""""""""""""""\___/ ===
{ / ===-
\______ O __/
\ \ __/
\____\_______/
[ 11.897589] usb 1-1: new high-speed USB device number 2 using dwc2
[ 12.113878] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[ 12.126507] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 12.140829] hub 1-1:1.0: USB hub found
[ 12.150579] hub 1-1:1.0: 5 ports detected
no valid interfaces found
[ 12.381870] random: fast init done
[ 12.449541] usb 1-1.1: new high-speed USB device number 3 using dwc2
[ 12.561952] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 12.574389] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 12.813544] usb 1-1.4: new high-speed USB device number 4 using dwc2
[ 12.934498] usb 1-1.4: New USB device found, idVendor=05ac, idProduct=1006
[ 12.946861] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 12.959649] usb 1-1.4: Product: Keyboard Hub
[ 12.969270] usb 1-1.4: Manufacturer: Apple, Inc.
[ 12.979126] usb 1-1.4: SerialNumber: 000000000000
[ 12.990050] hub 1-1.4:1.0: USB hub found
[ 12.999217] hub 1-1.4:1.0: 3 ports detected
[ 13.109750] hub 1-1.4:1.0: hub_ext_port_status failed (err = -71)
[ 13.121196] usb 1-1.4: Failed to suspend device, error -71
[ 13.138065] usb 1-1.4: USB disconnect, device number 4
[ 13.445549] usb 1-1.4: new high-speed USB device number 5 using dwc2
[ 13.562508] usb 1-1.4: New USB device found, idVendor=05ac, idProduct=1006
[ 13.574373] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 13.586660] usb 1-1.4: Product: Keyboard Hub
[ 13.595786] usb 1-1.4: Manufacturer: Apple, Inc.
[ 13.605254] usb 1-1.4: SerialNumber: 000000000000
[ 13.615943] hub 1-1.4:1.0: USB hub found
[ 13.624969] hub 1-1.4:1.0: 3 ports detected
[ 13.921541] usb 1-1.4.2: new low-speed USB device number 6 using dwc2
[ 14.039692] random: crng init done
[ 14.048932] usb 1-1.4.2: New USB device found, idVendor=05ac, idProduct=0220
[ 14.061453] usb 1-1.4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 14.074546] usb 1-1.4.2: Product: Apple Keyboard
[ 14.084710] usb 1-1.4.2: Manufacturer: Apple, Inc
kernel:
image: linuxkit/kernel:4.9.56
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
init:
- linuxkit/init:6b3755e47f00d6027321d3fca99a19af6504be75
- linuxkit/runc:52f92cb577879ce4cfe4e89be2d63af82523fc92
- linuxkit/containerd:ed8e8f92e24dd4b94260cf147594ae3fd13a2182
- linuxkit/ca-certificates:ea3c4c120f929f4f07ac8535d75933365b5e9582
onboot:
- name: sysctl
image: linuxkit/sysctl:1644bf07edbcaf5ce0bb764fa925b544183547f9
- name: dhcpcd
image: linuxkit/dhcpcd:aa685261ceb2557990dcfe9dd8824c6b9ec416e2
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
- name: getty
image: linuxkit/getty:7abaf7b276c59f80891d92e9279e3e3ee8e2f512
# to make insecure with passwordless root login, uncomment following lines
env:
- INSECURE=true
- name: rngd
image: linuxkit/rngd:45ed7759dd927f4cce3863073ea2e0da1d52a427
files:
- path: etc/getty.shadow
# sample sets password for root to "abcdefgh" (without quotes)
contents: 'root:$6$6tPd2uhHrecCEKug$8mKfcgfwguP7f.BLdZsT1Wz7WIIJOBY1oUFHzIv9/O71M2J0EPdtFqFGTxB1UK5ejqQxRFQ.ZSG9YXR0SNsc11:17322:0:::::'
trust:
org:
- linuxkit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment