Code: Select all
emu-system-aarch64 -M virt -m 1024 -cpu cortex-a53 \
-kernel vmlinuz-4.9.0-8-arm64 \
-initrd initrd.img-4.9.0-8-arm64 \
-append "swiotlb=1 root=UUID=57982edf-3e4e-4613-82b5-bb425c00d1b9 rootwait ro" \
-drive "file=./DietPi_OdroidN1-ARMv8-Stretch,index=0,media=disk,format=raw" \
-netdev user,id=mynet \
-device virtio-net-pci,netdev=mynet \
-nographic
The kernel cmdline is from the boot.in file in the boot folder
Code: Select all
# U-Boot configuration
setenv kernel_addr "0x02000000"
setenv fdt_addr "0x01f00000"
setenv initrd_addr "0x04000000"
# Enable/Disable ODROID-VU7 Touchsreen
setenv disable_vu7 "false" # false
# Kernel cmdline rootfs and misc
setenv bootrootfs "swiotlb=1 console=ttyFIQ0,115200n8 root=UUID=57982edf-3e4e-4613-82b5-bb425c00d1b9 rootwait ro"
# Load kernel, uInitrd and dtb
load mmc ${bootdev} ${kernel_addr} Image
load mmc ${bootdev} ${initrd_addr} uInitrd
load mmc ${bootdev} ${fdt_addr} rk3399-odroidn1-linux.dtb
# Set the kernel bootargs
setenv bootargs "${bootrootfs} disable_vu7=${disable_vu7}"
# Boot the board
booti ${kernel_addr} ${initrd_addr} ${fdt_addr}
Code: Select all
0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.0-8-arm64 (debian-kernel@lists.debian.org) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1) ) #1 SMP Debian 4.9.130-2 (2018-10-27)
[ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv0.2 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: Trusted OS migration not required
[ 0.000000] percpu: Embedded 22 pages/cpu @ffff80003ffd2000 s51608 r8192 d30312 u90112
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: enabling workaround for ARM erratum 845719
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 258048
[ 0.000000] Kernel command line: swiotlb=1 root=UUID=57982edf-3e4e-4613-82b5-bb425c00d1b9 rootwait ro
[ 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: 997604K/1048576K available (7100K kernel code, 1184K rwdata, 2276K rodata, 3648K init, 573K bss, 50972K reserved, 0K 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 - 0xffff000008770000 ( 7104 KB)
[ 0.000000] .rodata : 0xffff000008770000 - 0xffff0000089b0000 ( 2304 KB)
[ 0.000000] .init : 0xffff0000089b0000 - 0xffff000008d40000 ( 3648 KB)
[ 0.000000] .data : 0xffff000008d40000 - 0xffff000008e68200 ( 1185 KB)
[ 0.000000] .bss : 0xffff000008e68200 - 0xffff000008ef7944 ( 574 KB)
[ 0.000000] fixed : 0xffff7dfffe7fb000 - 0xffff7dfffec00000 ( 4116 KB)
[ 0.000000] PCI I/O : 0xffff7dfffee00000 - 0xffff7dffffe00000 ( 16 MB)
[ 0.000000] vmemmap : 0xffff7e0000000000 - 0xffff800000000000 ( 2048 GB maximum)
[ 0.000000] 0xffff7e0000000000 - 0xffff7e0001000000 ( 16 MB actual)
[ 0.000000] memory : 0xffff800000000000 - 0xffff800040000000 ( 1024 MB)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 64.
[ 0.000000] RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=1.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=1
[ 0.000000] NR_IRQS:64 nr_irqs:64 0
[ 0.000000] GICv2m: range[mem 0x08020000-0x08020fff], SPI[80:143]
[ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 62.50MHz (virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1cd42e208c, max_idle_ns: 881590405314 ns
[ 0.000167] sched_clock: 56 bits at 62MHz, resolution 16ns, wraps every 4398046511096ns
[ 0.008526] Console: colour dummy device 80x25
[ 0.011287] console [tty0] enabled
[ 0.011982] Calibrating delay loop (skipped), value calculated using timer frequency.. 125.00 BogoMIPS (lpj=250000)
[ 0.012366] pid_max: default: 32768 minimum: 301
[ 0.013815] Security Framework initialized
[ 0.013931] Yama: disabled by default; enable with sysctl kernel.yama.*
[ 0.014910] AppArmor: AppArmor disabled by boot time parameter
[ 0.015525] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.015612] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.029001] ftrace: allocating 25382 entries in 100 pages
[ 0.386772] ASID allocator initialised with 32768 entries
[ 0.402139] EFI services will not be available.
[ 0.405239] Brought up 1 CPUs
[ 0.405307] SMP: Total of 1 processors activated.
[ 0.405484] CPU features: detected feature: 32-bit EL0 Support
[ 0.405587] CPU features: detected feature: Kernel page table isolation (KPTI)
[ 0.413012] CPU: All CPU(s) started at EL1
[ 0.413451] alternatives: patching kernel code
[ 0.428154] devtmpfs: initialized
[ 0.439922] DMI not present or invalid.
[ 0.441727] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.441966] futex hash table entries: 256 (order: 3, 32768 bytes)
[ 0.444223] pinctrl core: initialized pinctrl subsystem
[ 0.458419] NET: Registered protocol family 16
[ 0.464318] cpuidle: using governor ladder
[ 0.464503] cpuidle: using governor menu
[ 0.465054] vdso: 2 pages (1 code @ ffff000008777000, 1 data @ ffff000008d45000)
[ 0.465322] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.466743] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.468052] Serial: AMBA PL011 UART driver
[ 0.500332] 9000000.pl011: ttyAMA0 at MMIO 0x9000000 (irq = 39, base_baud = 0) is a PL011 rev1
[ 0.513671] console [ttyAMA0] enabled
[ 0.541048] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[ 0.550616] ACPI: Interpreter disabled.
[ 0.553778] vgaarb: loaded
[ 0.555469] dmi: Firmware registration failed.
[ 0.565988] clocksource: Switched to clocksource arch_sys_counter
[ 0.699694] VFS: Disk quotas dquot_6.6.0
[ 0.700224] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.703795] pnp: PnP ACPI: disabled
[ 0.745970] NET: Registered protocol family 2
[ 0.756241] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.756964] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[ 0.757568] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.758750] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.759452] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.761957] NET: Registered protocol family 1
[ 0.770664] Unpacking initramfs...
[ 2.157327] Freeing initrd memory: 16964K
[ 2.160214] hw perfevents: enabled with armv8_pmuv3 PMU driver, 1 counters available
[ 2.160768] kvm [1]: HYP mode not available
[ 2.174266] audit: initializing netlink subsys (disabled)
[ 2.176087] audit: type=2000 audit(1.848:1): initialized
[ 2.182267] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[ 2.183666] zbud: loaded
[ 2.209076] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 2.210315] io scheduler noop registered
[ 2.210531] io scheduler deadline registered
[ 2.211383] io scheduler cfq registered (default)
[ 2.223198] pl061_gpio 9030000.pl061: PL061 GPIO chip @0x0000000009030000 registered
[ 2.226115] OF: PCI: host bridge /pcie@10000000 ranges:
[ 2.227356] OF: PCI: IO 0x3eff0000..0x3effffff -> 0x00000000
[ 2.227888] OF: PCI: MEM 0x10000000..0x3efeffff -> 0x10000000
[ 2.228131] OF: PCI: MEM 0x8000000000..0xffffffffff -> 0x8000000000
[ 2.229173] pci-host-generic 4010000000.pcie: ECAM at [mem 0x4010000000-0x401fffffff] for [bus 00-ff]
[ 2.231335] pci-host-generic 4010000000.pcie: PCI host bridge to bus 0000:00
[ 2.231803] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 2.232083] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 2.232315] pci_bus 0000:00: root bus resource [mem 0x10000000-0x3efeffff]
[ 2.232524] pci_bus 0000:00: root bus resource [mem 0x8000000000-0xffffffffff]
[ 2.242718] pci 0000:00:01.0: BAR 6: assigned [mem 0x10000000-0x1003ffff pref]
[ 2.243411] pci 0000:00:01.0: BAR 4: assigned [mem 0x8000000000-0x8000003fff 64bit pref]
[ 2.243804] pci 0000:00:02.0: BAR 4: assigned [mem 0x8000004000-0x8000007fff 64bit pref]
[ 2.244077] pci 0000:00:01.0: BAR 1: assigned [mem 0x10040000-0x10040fff]
[ 2.244363] pci 0000:00:02.0: BAR 1: assigned [mem 0x10041000-0x10041fff]
[ 2.245781] pci 0000:00:02.0: BAR 0: assigned [io 0x1000-0x103f]
[ 2.246187] pci 0000:00:01.0: BAR 0: assigned [io 0x1040-0x105f]
[ 2.260476] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 2.270234] Serial: AMBA driver
[ 2.271881] msm_serial: driver initialized
[ 2.273341] Unable to detect cache hierarchy for CPU 0
[ 2.276485] mousedev: PS/2 mouse device common for all mice
[ 2.282509] rtc-pl031 9010000.pl031: rtc core: registered pl031 as rtc0
[ 2.288095] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.288409] dmi-sysfs: dmi entry is absent.
[ 2.290778] NET: Registered protocol family 10
[ 2.300853] mip6: Mobile IPv6
[ 2.301206] NET: Registered protocol family 17
[ 2.301542] mpls_gso: MPLS GSO support
[ 2.302202] Registered cp15_barrier emulation handler
[ 2.302484] Registered setend emulation handler
[ 2.305929] registered taskstats version 1
[ 2.307186] zswap: loaded using pool lzo/zbud
[ 2.310537] ima: No TPM chip found, activating TPM-bypass!
[ 2.311100] ima: Allocated hash algorithm: sha256
[ 2.315708] rtc-pl031 9010000.pl031: setting system clock to 2019-01-24 14:16:57 UTC (1548339417)
[ 2.323289] uart-pl011 9000000.pl011: no DMA platform data
[ 2.692839] Freeing unused kernel memory: 3648K
Loading, please wait...
starting version 232
[ 3.537487] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[ 3.556620] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[ 3.557865] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[ 4.343889] virtio-pci 0000:00:01.0: enabling device (0000 -> 0003)
[ 4.382167] virtio-pci 0000:00:02.0: enabling device (0000 -> 0003)
[ 5.827298] vda: vda1 vda2
[ 5.925094] virtio_net virtio0 enp0s1: renamed from eth0
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... Begin: Waiting for suspend/resume device ... Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
[ 15.977251] random: fast init done
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
done.
Gave up waiting for suspend/resume device
done.
Begin: Will now check root file system ... fsck from util-linux 2.29.2
[/sbin/fsck.ext4 (1) -- /dev/vda2] fsck.ext4 -a -C0 /dev/vda2
RootFS: clean, 12057/23040 files, 77257/89600 blocks
done.
[ 38.380560] EXT4-fs (vda2): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[ 39.616116] systemd[1]: Failed to insert module 'autofs4': No such file or directory
[ 39.775409] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[ 39.778725] systemd[1]: Detected virtualization qemu.
[ 39.779647] systemd[1]: Detected architecture arm64.
Welcome to Debian GNU/Linux 9 (stretch)!
[ 39.787758] systemd[1]: Set hostname to <DietPi>.
[ 41.335574] systemd[1]: serial-getty@ttyAMA0.service: Cannot add dependency job, ignoring: Unit serial-getty@ttyAMA0.service is masked.
[ 41.336382] systemd[1]: getty-static.service: Cannot add dependency job, ignoring: Unit getty-static.service is masked.
[ 41.359170] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ 41.372244] systemd[1]: Listening on Journal Audit Socket.
[ OK ] Listening on Journal Audit Socket.
[ 41.376884] systemd[1]: Listening on Journal Socket (/dev/log).
[ OK ] Listening on Journal Socket (/dev/log).
[ 41.380337] systemd[1]: Listening on udev Kernel Socket.
[ OK ] Listening on udev Kernel Socket.
[ OK ] Reached target Swap.
[ OK ] Created slice System Slice.
[ OK ] Created slice system-getty.slice.
[ OK ] Reached target Slices.
Mounting Debug File System...
Mounting Huge Pages File System...
[ OK ] Started Forward Password Requests to Wall Directory Watch.
[ OK ] Listening on Journal Socket.
Starting Nameserver information manager...
Starting Set the console keyboard layout...
Starting Load Kernel Modules...
Starting Create Static Device Nodes in /dev...
Starting Journal Service...
Starting Remount Root and Kernel File Systems...
[UNSUPP] Starting of Arbitrary Executable Fi…tem Automount Point not supported.
Starting Restore / save the current clock...
[ OK ] Listening on udev Control Socket.
[ OK ] Reached target Sockets.
Mounting POSIX Message Queue File System...
[ OK ] Reached target Remote File Systems.
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Reached target Paths.
[ OK ] Reached target Encrypted Volumes.
[ 44.104258] EXT4-fs (vda2): re-mounted. Opts: (null)
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Mounted Debug File System.
[ OK ] Mounted Huge Pages File System.
[ OK ] Started Load Kernel Modules.
[ OK ] Started Create Static Device Nodes in /dev.
[ OK ] Started Remount Root and Kernel File Systems.
[ 44.978393] systemd[1]: Started Restore / save the current clock.
[ OK ] Started Restore / save the current clock.
[ 45.076735] systemd[1]: Started Nameserver information manager.
[ OK ] Started Nameserver information manager.
[ 45.442346] systemd[1]: Time has been changed
[ 45.553841] systemd[1]: Starting udev Coldplug all Devices...
Starting udev Coldplug all Devices...
[ 45.665827] systemd[1]: Starting Load/Save Random Seed...
Starting Load/Save Random Seed...
[ 45.823692] systemd[1]: Starting udev Kernel Device Manager...
Starting udev Kernel Device Manager...
[ 46.000323] systemd[1]: Starting Apply Kernel Variables...
Starting Apply Kernel Variables...
[ 46.058361] systemd[1]: Started Journal Service.
[ OK ] Started Journal Service.
[ OK ] Started Load/Save Random Seed.
[ OK ] Started Apply Kernel Variables.
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started udev Coldplug all Devices.
[ OK ] Found device /dev/disk/by-uuid/38CB-D277.
[ OK ] Started Set the console keyboard layout.
[ OK ] Reached target Local File Systems (Pre).
Mounting /DietPi...
Mounting /tmp...
Mounting /var/log...
Mounting /boot...
[ OK ] Mounted /tmp.
[ OK ] Mounted /DietPi.
[ OK ] Mounted /var/log.
Starting Flush Journal to Persistent Storage...
[FAILED] Failed to mount /boot.
See 'systemctl status boot.mount' for details.
[DEPEND] Dependency failed for Local File Systems.
[ 56.628929] systemd-journald[241]: Received request to flush runtime journal from PID 1
[ OK ] Started Flush Journal to Persistent Storage.
Starting Set console font and keymap...
[ OK ] Reached target Login Prompts.
Starting Raise network interfaces...
[ OK ] Reached target Timers.
Starting Create Volatile Files and Directories...
[ OK ] Started Emergency Shell.
[ OK ] Reached target Emergency Mode.
[ OK ] Started Create Volatile Files and Directories.
Starting Update UTMP about System Boot/Shutdown...
[ OK ] Started Update UTMP about System Boot/Shutdown.
Starting Update UTMP about System Runlevel Changes...
[ OK ] Started Update UTMP about System Runlevel Changes.
You are in emergency mode. After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default" or ^D to
try again to boot into default mode.
Give root password for maintenance
(or press Control-D to continue):