$ qemu-system-arm -m 1024M -M vexpress-a15 -cpu cortex-a15 -kernel u-boot/u-boot -serial stdio -sd image U-Boot 2019.01-00058-g23b00a07fc-dirty (Feb 06 2019 - 14:19:06 +0000) DRAM: 1 GiB WARNING: Caches not enabled Flash: 128 MiB MMC: MMC: 0 *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: smc911x-0 Hit any key to stop autoboot: 0 => printenv arch=arm baudrate=38400 board=vexpress board_name=vexpress boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr} boot_efi_binary=if fdt addr ${fdt_addr_r}; then bootefi bootmgr ${fdt_addr_r};else bootefi bootmgr ${fdtcontroladdr};fi;load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_r} efi/boot/bootarm.efi; if fdt addr ${fdt_addr_r}; then bootefi ${kernel_addr_r} ${fdt_addr_r};else bootefi ${kernel_addr_r} ${fdtcontroladdr};fi boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}${boot_syslinux_conf} boot_prefixes=/ /boot/ boot_script_dhcp=boot.scr.uimg boot_scripts=boot.scr.uimg boot.scr boot_syslinux_conf=extlinux/extlinux.conf boot_targets=mmc1 mmc0 pxe dhcp bootcmd=run distro_bootcmd; run bootflash bootcmd_dhcp=if dhcp ${scriptaddr} ${boot_script_dhcp}; then source ${scriptaddr}; fi;setenv efi_fdtfile ${fdtfile}; if test -z "${fdtfile}" -a -n "${soc}"; then setenv efi_fdtfile ${soc}-${board}${boardver}.dtb; fi; setenv efi_old_vci ${bootp_vci};setenv efi_old_arch ${bootp_arch};setenv bootp_vci PXEClient:Arch:00010:UNDI:003000;setenv bootp_arch 0xa;if dhcp ${kernel_addr_r}; then tftpboot ${fdt_addr_r} dtb/${efi_fdtfile};if fdt addr ${fdt_addr_r}; then bootefi ${kernel_addr_r} ${fdt_addr_r}; else bootefi ${kernel_addr_r} ${fdtcontroladdr};fi;fi;setenv bootp_vci ${efi_old_vci};setenv bootp_arch ${efi_old_arch};setenv efi_fdtfile;setenv efi_old_arch;setenv efi_old_vci; bootcmd_mmc0=setenv devnum 0; run mmc_boot bootcmd_mmc1=setenv devnum 1; run mmc_boot bootcmd_pxe=dhcp; if pxe get; then pxe boot; fi bootdelay=2 bootflash=run flashargs; cp ${ramdisk_addr} ${ramdisk_addr_r} ${maxramdisk}; bootm ${kernel_addr} ${ramdisk_addr_r} console=ttyAMA0,38400n8 cpu=armv7 distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done dram=1024M efi_dtb_prefixes=/ /dtb/ /dtb/current/ ethact=smc911x-0 ethaddr=52:54:00:12:34:56 flashargs=setenv bootargs root=${root} console=${console} mem=${dram} mtdparts=${mtd} mmci.fmax=190000 devtmpfs.mount=0 vmalloc=256M kernel_addr=0x0c100000 kernel_addr_r=0xa0008000 load_efi_dtb=load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${prefix}${efi_fdtfile} loadaddr=0xa0008000 maxramdisk=0x1800000 mmc_boot=if mmc dev ${devnum}; then setenv devtype mmc; run scan_dev_for_boot_part; fi mtd=armflash:1M@0x800000(uboot),7M@0x1000000(kernel),24M@0x2000000(initrd) pxefile_addr_r=0xa8000000 ramdisk_addr=0x0c800000 ramdisk_addr_r=0x81000000 root=/dev/sda1 rw scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;run scan_dev_for_efi; scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done scan_dev_for_efi=setenv efi_fdtfile ${fdtfile}; if test -z "${fdtfile}" -a -n "${soc}"; then setenv efi_fdtfile ${soc}-${board}${boardver}.dtb; fi; for prefix in ${efi_dtb_prefixes}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${efi_fdtfile}; then run load_efi_dtb; fi;done;if test -e ${devtype} ${devnum}:${distro_bootpart} efi/boot/bootarm.efi; then echo Found EFI removable media binary efi/boot/bootarm.efi; run boot_efi_binary; echo EFI LOAD FAILED: continuing...; fi; setenv efi_fdtfile scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${boot_syslinux_conf}; then echo Found ${prefix}${boot_syslinux_conf}; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done scriptaddr=0xa8000000 stderr=serial stdin=serial stdout=serial ubifs_boot=env exists bootubipart || env set bootubipart UBI; env exists bootubivol || env set bootubivol boot; if ubi part ${bootubipart} && ubifsmount ubi${devnum}:${bootubivol}; then setenv devtype ubi; run scan_dev_for_boot; fi vendor=armltd Environment size: 4253/262140 bytes => ext4load mmc 0:0 0x80008000 zImage clock is disabled (0Hz) clock is enabled (251256Hz) clock is enabled (6250000Hz) 4398608 bytes read in 739 ms (5.7 MiB/s) => ext4load mmc 0:0 0x85000000 vexpress-v2p-ca15_a7.dtb 18501 bytes read in 48 ms (376 KiB/s) => bootz 0x80008000 - 0x85000000 Kernel image @ 0x80008000 [ 0x000000 - 0x431e10 ] ## Flattened Device Tree blob at 85000000 Booting using the fdt blob at 0x85000000 Loading Device Tree to 9fe61000, end 9fe68844 ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Booting Linux on physical CPU 0x0 Linux version 5.0.0-rc5+ (dliviu@bart.dudau.co.uk) (gcc version 8.2.0 (Arch Repository)) #2 SMP Wed Feb 6 16:31:00 GMT 2019 CPU: ARMv7 Processor [412fc0f1] revision 1 (ARMv7), cr=10c5387d CPU: div instructions available: patching division code CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache OF: fdt: Machine model: V2P-CA15_CA7 Memory policy: Data cache writealloc Reserved memory: created DMA memory pool at 0x18000000, size 8 MiB OF: reserved mem: initialized node vram@18000000, compatible id shared-dma-pool cma: Reserved 16 MiB at 0xbf000000 random: get_random_bytes called from start_kernel+0x9c/0x458 with crng_init=0 percpu: Embedded 17 pages/cpu @(ptrval) s37196 r8192 d24244 u69632 Built 1 zonelists, mobility grouping on. Total pages: 260096 Kernel command line: console=ttyAMA0 printk: log_buf_len individual max cpu contribution: 4096 bytes printk: log_buf_len total cpu_extra contributions: 16384 bytes printk: log_buf_len min size: 16384 bytes printk: log_buf_len: 32768 bytes printk: early log buf free: 14752(90%) Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 1011892K/1048576K available (7168K kernel code, 420K rwdata, 1572K rodata, 1024K init, 156K bss, 20300K reserved, 16384K cma-reserved) Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xffc00000 - 0xfff00000 (3072 kB) vmalloc : 0xc0800000 - 0xff800000 (1008 MB) lowmem : 0x80000000 - 0xc0000000 (1024 MB) modules : 0x7f000000 - 0x80000000 ( 16 MB) .text : 0x(ptrval) - 0x(ptrval) (8160 kB) .init : 0x(ptrval) - 0x(ptrval) (1024 kB) .data : 0x(ptrval) - 0x(ptrval) ( 421 kB) .bss : 0x(ptrval) - 0x(ptrval) ( 157 kB) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=5, Nodes=1 rcu: Hierarchical RCU implementation. rcu: RCU event tracing is enabled. rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=5. rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=5 NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 GIC CPU mask not found - kernel will fail to boot. GIC CPU mask not found - kernel will fail to boot. sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns clocksource: arm,sp804: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns Failed to initialize '/smb@8000000/motherboard/iofpga@3,00000000/timer@120000': -22 arch_timer: cp15 timer(s) running at 62.50MHz (virt). clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1cd42e208c, max_idle_ns: 881590405314 ns sched_clock: 56 bits at 62MHz, resolution 16ns, wraps every 4398046511096ns Switching to timer-based delay loop, resolution 16ns Console: colour dummy device 80x30 Calibrating delay loop (skipped), value calculated using timer frequency.. 125.00 BogoMIPS (lpj=625000) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) CPU: Testing write buffer coherency: ok CPU0: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 Setting up static identity map for 0x80100000 - 0x80100060 rcu: Hierarchical SRCU implementation. smp: Bringing up secondary CPUs ... CPU1: failed to boot: -38 CPU2: failed to boot: -38 CPU3: failed to boot: -38 CPU4: failed to boot: -38 smp: Brought up 1 node, 1 CPU SMP: Total of 1 processors activated (125.00 BogoMIPS). CPU: All CPU(s) started in SVC mode. devtmpfs: initialized VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0 clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns futex hash table entries: 2048 (order: 5, 131072 bytes) ------------[ cut here ]------------ WARNING: CPU: 0 PID: 1 at drivers/mfd/vexpress-sysreg.c:189 vexpress_sysreg_probe+0x19c/0x1d4 Modules linked in: CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.0.0-rc5+ #2 Hardware name: ARM-Versatile Express [<80110a40>] (unwind_backtrace) from [<8010c76c>] (show_stack+0x10/0x14) [<8010c76c>] (show_stack) from [<807014a8>] (dump_stack+0x88/0x9c) [<807014a8>] (dump_stack) from [<80120d64>] (__warn.part.3+0xbc/0xd8) [<80120d64>] (__warn.part.3) from [<80120ee0>] (warn_slowpath_null+0x44/0x4c) [<80120ee0>] (warn_slowpath_null) from [<804de1cc>] (vexpress_sysreg_probe+0x19c/0x1d4) [<804de1cc>] (vexpress_sysreg_probe) from [<804c0980>] (platform_drv_probe+0x48/0x98) [<804c0980>] (platform_drv_probe) from [<804bea6c>] (really_probe+0xe0/0x2ac) [<804bea6c>] (really_probe) from [<804bed9c>] (driver_probe_device+0x60/0x16c) [<804bed9c>] (driver_probe_device) from [<804bef84>] (__driver_attach+0xdc/0xe0) [<804bef84>] (__driver_attach) from [<804bcea4>] (bus_for_each_dev+0x74/0xb4) [<804bcea4>] (bus_for_each_dev) from [<804be048>] (bus_add_driver+0x1c0/0x204) [<804be048>] (bus_add_driver) from [<804bfaf0>] (driver_register+0x74/0x108) [<804bfaf0>] (driver_register) from [<80102e10>] (do_one_initcall+0x54/0x208) [<80102e10>] (do_one_initcall) from [<80a01100>] (kernel_init_freeable+0x2d0/0x368) [<80a01100>] (kernel_init_freeable) from [<80718428>] (kernel_init+0x8/0x110) [<80718428>] (kernel_init) from [<801010e8>] (ret_from_fork+0x14/0x2c) Exception stack(0xbe0b5fb0 to 0xbe0b5ff8) 5fa0: 00000000 00000000 00000000 00000000 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 ---[ end trace 1450c1e951914dce ]--- vexpress-sysreg 1c010000.sysreg: DT HBI (249) is not matching hardware (237)! NET: Registered protocol family 16 DMA: preallocated 256 KiB pool for atomic coherent allocations cpuidle: using governor ladder hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. hw-breakpoint: maximum watchpoint size is 8 bytes. Serial: AMBA PL011 UART driver 1c090000.uart: ttyAMA0 at MMIO 0x1c090000 (irq = 30, base_baud = 0) is a PL011 rev1 printk: console [ttyAMA0] enabled 1c0a0000.uart: ttyAMA1 at MMIO 0x1c0a0000 (irq = 31, base_baud = 0) is a PL011 rev1 1c0b0000.uart: ttyAMA2 at MMIO 0x1c0b0000 (irq = 32, base_baud = 0) is a PL011 rev1 1c0c0000.uart: ttyAMA3 at MMIO 0x1c0c0000 (irq = 33, base_baud = 0) is a PL011 rev1 OF: amba_device_add() failed (-19) for /smb@8000000/motherboard/iofpga@3,00000000/wdt@f0000 OF: amba_device_add() failed (-19) for /wdt@2a490000 OF: amba_device_add() failed (-19) for /memory-controller@2b0a0000 OF: amba_device_add() failed (-19) for /memory-controller@7ffd0000 OF: amba_device_add() failed (-19) for /dma@7ff00000 OF: amba_device_add() failed (-19) for /etb@20010000 OF: amba_device_add() failed (-19) for /tpiu@20030000 OF: amba_device_add() failed (-19) for /funnel@20040000 OF: amba_device_add() failed (-19) for /ptm@2201c000 OF: amba_device_add() failed (-19) for /ptm@2201d000 OF: amba_device_add() failed (-19) for /etm@2203c000 OF: amba_device_add() failed (-19) for /etm@2203d000 OF: amba_device_add() failed (-19) for /etm@2203e000 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb Advanced Linux Sound Architecture Driver Initialized. clocksource: Switched to clocksource arch_sys_counter NET: Registered protocol family 2 tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes) TCP established hash table entries: 8192 (order: 3, 32768 bytes) TCP bind hash table entries: 8192 (order: 4, 65536 bytes) TCP: Hash tables configured (established 8192 bind 8192) UDP hash table entries: 512 (order: 2, 16384 bytes) UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. hw perfevents: enabled with armv7_cortex_a15 PMU driver, 1 counters available hw perfevents: /pmu-a7: failed to probe PMU! hw perfevents: /pmu-a7: failed to register PMU devices! failed to build OPP table workingset: timestamp_bits=30 max_order=18 bucket_order=0 squashfs: version 4.0 (2009/01/31) Phillip Lougher jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc. 9p: Installing v9fs 9p2000 file system support io scheduler mq-deadline registered io scheduler kyber registered i2c i2c-0: Added multiplexed i2c bus 2 drm-clcd-pl111 1c1f0000.clcd: assigned reserved memory node vram@18000000 drm-clcd-pl111 1c1f0000.clcd: using device-specific reserved memory drm-clcd-pl111 1c1f0000.clcd: initializing Versatile Express PL111 drm-clcd-pl111 1c1f0000.clcd: DVI muxed to motherboard CLCD drm-clcd-pl111 1c1f0000.clcd: found bridge on endpoint 0 drm-clcd-pl111 1c1f0000.clcd: Using non-panel bridge [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [drm] No driver support for vblank timestamp query. [drm] Initialized pl111 1.0.0 20170317 for 1c1f0000.clcd on minor 0 Console: switching to colour frame buffer device 80x30 drm-clcd-pl111 1c1f0000.clcd: fb0: DRM emulated frame buffer device physmap-flash 8000000.flash: physmap platform flash device: [mem 0x08000000-0x0bffffff] 8000000.flash: Found 2 x16 devices at 0x0 in 32-bit bank. Manufacturer ID 0x000000 Chip ID 0x000000 Intel/Sharp Extended Query Table at 0x0031 Using buffer write method physmap-flash 8000000.flash: physmap platform flash device: [mem 0x0c000000-0x0fffffff] 8000000.flash: Found 2 x16 devices at 0x0 in 32-bit bank. Manufacturer ID 0x000000 Chip ID 0x000000 Intel/Sharp Extended Query Table at 0x0031 Using buffer write method Concatenating MTD devices: (0): "8000000.flash" (1): "8000000.flash" into device "8000000.flash" physmap-flash 14000000.psram: physmap platform flash device: [mem 0x14000000-0x15ffffff] libphy: Fixed MDIO Bus: probed smsc911x 1a000000.ethernet: Linked as a consumer to regulator.1 libphy: smsc911x-mdio: probed smsc911x 1a000000.ethernet eth0: MAC Address: 52:54:00:12:34:56 isp1760 1b000000.usb: bus width: 32, oc: digital isp1760 1b000000.usb: NXP ISP1760 USB Host Controller isp1760 1b000000.usb: new USB bus registered, assigned bus number 1 isp1760 1b000000.usb: Scratch test failed. isp1760 1b000000.usb: can't setup: -19 isp1760 1b000000.usb: USB bus 1 deregistered usbcore: registered new interface driver usb-storage rtc-pl031 1c170000.rtc: registered as rtc0 mmci-pl18x 1c050000.mmci: Got CD GPIO mmci-pl18x 1c050000.mmci: Got WP GPIO mmci-pl18x 1c050000.mmci: Linked as a consumer to regulator.1 mmci-pl18x 1c050000.mmci: mmc0: PL181 manf 41 rev0 at 0x1c050000 irq 26,27 (pio) ledtrig-cpu: registered to indicate activity on CPUs usbcore: registered new interface driver usbhid usbhid: USB HID core driver input: AT Raw Set 2 keyboard as /devices/platform/smb@8000000/smb@8000000:motherboard/smb@8000000:motherboard:iofpga@3,00000000/1c060000.kmi/serio0/input/input0 mmc0: new SD card at address 4567 mmcblk0: mmc0:4567 QEMU! 100 MiB aaci-pl041 1c040000.aaci: ARM AC'97 Interface PL041 rev0 at 0x1c040000, irq 25 aaci-pl041 1c040000.aaci: FIFO 512 entries oprofile: using timer interrupt. NET: Registered protocol family 17 9pnet: Installing 9P2000 support Registering SWP/SWPB emulation handler rtc-pl031 1c170000.rtc: setting system clock to 2019-02-07T14:32:36 UTC (1549549956) ALSA device list: #0: ARM AC'97 Interface PL041 rev0 at 0x1c040000, irq 25 random: fast init done input: ImExPS/2 Generic Explorer Mouse as /devices/platform/smb@8000000/smb@8000000:motherboard/smb@8000000:motherboard:iofpga@3,00000000/1c070000.kmi/serio1/input/input2 VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6 Please append a correct "root=" boot option; here are the available partitions: 1f00 131072 mtdblock0 (driver?) 1f01 32768 mtdblock1 (driver?) b300 102400 mmcblk0 driver: mmcblk Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W 5.0.0-rc5+ #2 Hardware name: ARM-Versatile Express [<80110a40>] (unwind_backtrace) from [<8010c76c>] (show_stack+0x10/0x14) [<8010c76c>] (show_stack) from [<807014a8>] (dump_stack+0x88/0x9c) [<807014a8>] (dump_stack) from [<80120aec>] (panic+0x110/0x2cc) [<80120aec>] (panic) from [<80a015d8>] (mount_block_root+0x208/0x2b4) [<80a015d8>] (mount_block_root) from [<80a017a4>] (mount_root+0x120/0x13c) [<80a017a4>] (mount_root) from [<80a01910>] (prepare_namespace+0x150/0x198) [<80a01910>] (prepare_namespace) from [<80718428>] (kernel_init+0x8/0x110) [<80718428>] (kernel_init) from [<801010e8>] (ret_from_fork+0x14/0x2c) Exception stack(0xbe0b5fb0 to 0xbe0b5ff8) 5fa0: 00000000 00000000 00000000 00000000 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---