[U-Boot] Booting linux zImage on vexpress-a15
Liviu Dudau
liviu at dudau.co.uk
Thu Feb 7 14:40:19 UTC 2019
On Thu, Feb 07, 2019 at 01:55:00PM +0100, Andre Wagner wrote:
> Hi Liviu,
>
> thank you very much for your reply. A very good hint was that I need to set
> the extra kernel parameter earlyprintk for showing further debug output. I
> expected that setting the 'Early Printk' option in Kconfig is enough. After
> adding this kernel parameter i can see the kernel boot messages, but the
> kernel stucks now at 'smp: Bringing up secondary CPUs ...'. As a cross-check
> I booted the kernel directly on the qemu vexpress machine and there are also
> error messages at the SMP step shown, but the boot process continues. In the
> running system I can only see one CPU, so SMP does not work at all. So I
> disabled all CPUs expect the first one in the device tree, so my boot
> procedure in u-boot is as following:
>
> 1. Set boot args: setenv bootargs console=ttyAMA0 earlyprintk debug verbose
May I suggest you use
$ setenv bootargs 'console=ttyAMA0 earlyprintk debug verbose'
i.e. put single quotes around the value of the variable.
>
> 2. Load the zImage at start of RAM + 8000h offset: ext4load mmc 0:1 80008000
> zImage
>
> 3. Load Device Tree: ext4load mmc 0:1 8a000000 vexpress-v2p-ca15-tc1.dtb
>
> 4. Init fdt subsystem: fdt addr 8a000000
In my test with mainline kernel and U-Boot from yesterday I didn't had to do
this, because ....
>
> 5. Deactivate second CPU: fdt rm /cpus/cpu at 1
I didn't have to disable the other CPUs either.
>
> 6. Boot with bootz command: bootz 80008000 - 8a000000
>
> 7. In the SMP boot step only one CPU it recognized, the boot process
> continues
>
> 8. Now the boot process stucks at 'DMA: preallocated 256 KiB pool for atomic
> coherent allocations'
>
>
> Further I found that:
>
> 1. The space between kernel loadaddr and DTB load address of 2ff8000h Bytes
> (about 50MB) was big enough, since there is no difference if I use the old
> (85000000h) or the new DTB loadaddr (8a000000h). Just for being on the sure
> site I continue using 8a000000 for DTB load address
>
> 2. All vexpress DTBs contain a ARM HBI number with seems to be a
> identificator for the ARM board. The ARM HBI of vexpress-v2p-ca15-tc1.dtb
> fits the expected ARM HBI of the qemu vexpress-a15, the
> vexpress-v2p-ca15_a7.dtb fits not. So I keep using the
> vexpress-v2p-ca15-tc1.dtb device tree
Like I've said, those dtbs are for real hardware CoreTiles placed inside the
Versatile Express motherboard. I don't know (or remember exactly) if qemu
emulates all the aspects, but it should not matter much.
>
> 3. I recompiled the vexpress-v2p-ca15-tc1.dtb device tree without the
> /cpus/cpu at 1 and let it run directly by qemu. The boot process succeeds. The
> next message after 'DMA: preallocated 256 KiB pool for atomic coherent
> allocations' is in this case 'cpuidle: using governor ladder'
>
> 4. I didn't mentioned the versions I'm using: It's qemu version
> 2.11.1(Debian 1:2.11+dfsg-1ubuntu7.8), Linux version 5.0.0-rc5 and U-Boot
> version 2019.01-00523-ge5fd39c886. I'm aware that these are development
> versions.
My versions are qemu 3.1.0, U-Boot 2019.01-00058-g23b00a07fc-dirty,
Linux version 5.0.0-rc5+. Attached is a log of my session.
Best regards,
Liviu
>
>
> At this point I assume that kernel and DTB are loaded correctly, but I
> haven't any idea what influence u-boot can have initializing DMA and/or
> cpuidle. Any suggestions?
>
>
> P.S. I will continue testing other stable vanilla kernels.
>
> P.S. I attached the boot logs: The file boot_qemu_only is the successful
> boot with qemu only via kernel and dtb option, the file boot_qemu_uboot is
> the boot with qemu + u-boot.
>
>
> Thanks for your help.
>
> Greetings,
>
> André
>
>
>
>
> On 06.02.19 17:58, Liviu Dudau wrote:
> > On Tue, Feb 05, 2019 at 07:05:55PM +0100, Andre Wagner wrote:
> > > Hi @all,
> > Hi Andre,
> >
>
> > > I'm trying to build a linux kernel as zImage and boot it with u-boot on a
> > > qemu vexpress-a15 machine. The host machine is a Ubuntu 18.04.
> > >
> > > What I tried until now:
> > >
> > > 1. Get Linux from git, export ARCH=arm and
> > > CROSS_COMPILE=arm-linux-gnueabihf-
> > >
> > > 2. Make Defconfig: make vexpress_defconfig
> > >
> > > 3. Enable 'Early Printk' with make menuconfig
> > >
> > > 4. Make Kernel: make
> > >
> > > 5. Get U-Boot from git, export ARCH=arm and
> > > CROSS_COMPILE=arm-linux-gnueabihf-
> > >
> > > 6. Make Defconfig: make vexpress_ca15_tc2_defconfig
> > >
> > > 7. Make U-Boot: make
> > >
> > > 8. Generate empty image file and mount it: truncate -s 100M image; mkfs.ext4
> > > image; mount -o loop image /mnt
> > >
> > > 9. Copy zImage and DTB to image: cp arch/arm/boot/zImage /mnt ; cp
> > > arch/arm/boot/dts/vexpress-v2p-ca15_a7.dtb /mnt
> > >
> > > 10. Unmount Image: umount /mnt
> > >
> > > 11. Start u-boot in qemu: qemu-system-arm -m 1024M -M vexpress-a15 -cpu
> > > cortex-a15 -kernel u-boot -serial stdio -sd image => U-Boot comes up and I
> > > can hit a key to stop automount, ok so far
> > >
> > > 12. In u-boot, checking filesystem on image: ext4ls mmc 0:0 => I can see my
> > > zImage and my DTB file, ok so far
> > >
> > > 13. In u-boot, loading kernel: ext4load mmc 0:0 82008000 zImage => XXXX
> > > bytes read is shown, ok so far
> > >
> > > 14. In u-boot, loading DTB: ext4load mmc 0:0 85000000
> > > vexpress-v2p-ca15_a7.dtb => YYYY bytes read, ok so far
> > >
> > > 15. In u-boot, boot: bootz 82008000 - 85000000 => 'Starting kernel ....' and
> > > 'Uncompressing kernel done' is shown and then nothing at all...
> > I think your problem is that you're putting the device tree too close to the
> > kernel, so it might be trampled on by the kernel decompression.
> >
> > Steps I suggest you try that worked in my environment:
> >
> > 1. set the bootargs variable in U-Boot to 'console=ttyAMA0 earlyprintk debug verbose'
> > 2. Load the kernel at 0x80008000
> >
> > > Cross-checks I have done right now:
> > >
> > > - Booting kernel and DTB directly from qemu with 'qemu-system-arm -m 1024M
> > > -M vexpress-a15 -cpu cortex-a15 -kernel arch/arm/boot/zImage -dtb
> > > arch/arm/boot/dts/vexpress-v2p-ca15-tc1.dtb -serial stdio' works, normal
> > > boot output is shown. Also the standard console device ttyAMA0 is available
> > > after mounting devtmpfs.
> > >
> > > - Same setup with vexpress-a9 (uboot with vexpress_ca9x4_defconfig, linux
> > > with vexpress_defconfig and DTB vexpress-v2p-ca9.dtb. The kernel was loaded
> > > to 62008000 and the DTB to 65000000) worked, Normal boot output was shown.
> > >
> > >
> > > What I don't understand right now is:
> > >
> > > - Am I using the corrected DTB? vexpress-v2p-ca15-tc1.dtb or
> > > vexpress-v2p-ca15_a7.dtb ? Which is the right one?
> > None is the right one, as they are DTBs for actual hardware that QEMU doesn't
> > emulate correctly with your parameters. However, the emulation should be close
> > enough to allow you to boot the kernel.
> >
> > > - What are the addresses I need to load kernel and the DTB? In the working
> > > vexpress-a9 sample the kernel was loaded with a offset of 2008000h and the
> > > DTB with a offset of 5000000h to start of RAM at 60000000h. So I decided use
> > > the same offsets with the alternate start of RAM address of 8000000h of
> > > vexpress-a15, i.e. kernel at 82008000 and DTB at 85000000. Is this
> > > assumption correct?
> > No, the offset should be 0x8000 from the start of your memory, because the kernel
> > for arm arch expects to be loaded at the beginning of the RAM. For DTB it doesn't
> > matter (other than probably faster if it is 32bit aligned).
> >
> > > - 'Starting kernel...' is a last message from u-boot and 'Uncompressing
> > > kernel done' the first from the kernels self extractor?
> > Correct.
> >
> > > - Where in RAM is the zImage decompressed by u-boot bootz? Between start of
> > > RAM at 80000000h and kernels loadaddr at 82008000h?
> > I might be wrong but I believe it decompresses in memory *after* the kernel image,
> > not before (otherwise the decompression might generate an image that overwrites
> > the start of the kernel, which is where the decompressor lives).
> >
> > > - What are the differences between loading kernel and DTB by qemu directly
> > > and loading kernel and DTB indirectly via u-boot?
> > Placement in memory of the kernel image :)
> >
> > Best regards,
> > Liviu
> >
> > > Thank you very very much for your replies in advance.
> > >
> > >
> > > Greetings,
> > >
> > > André
> > >
> > >
> > > +++
> > > Richard Wolf GmbH, Pforzheimer Strasse 32, 75438 Knittlingen
> > > Managing Directors: Juergen Pfab, Juergen Steinbeck. Trade Register:
> > > Mannheim HRB 510031 +++
> > > Richard Wolf GmbH routinely monitors the content of e-mail sent and received via its network for the purposes of ensuring compliance with its policies and procedures. Richard Wolf GmbH is not responsible for any changes made to the message after it has been sent. Where opinions are expressed, they are not necessarily those of Richard Wolf GmbH. This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to which they are addressed. If you are not the intended addressee, or the person responsible for delivering it to them, you may not copy, forward, disclose, or otherwise use it or any part of it in any way. To do so may be unlawful. If you receive this e-mail by mistake, please advise the sender immediately.
> > > +++
> > > _______________________________________________
> > > U-Boot mailing list
> > > U-Boot at lists.denx.de
> > > https://lists.denx.de/listinfo/u-boot
>
> +++
> Richard Wolf GmbH, Pforzheimer Strasse 32, 75438 Knittlingen
> Managing Directors: Juergen Pfab, Juergen Steinbeck. Trade Register:
> Mannheim HRB 510031 +++
> Richard Wolf GmbH routinely monitors the content of e-mail sent and received via its network for the purposes of ensuring compliance with its policies and procedures. Richard Wolf GmbH is not responsible for any changes made to the message after it has been sent. Where opinions are expressed, they are not necessarily those of Richard Wolf GmbH. This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to which they are addressed. If you are not the intended addressee, or the person responsible for delivering it to them, you may not copy, forward, disclose, or otherwise use it or any part of it in any way. To do so may be unlawful. If you receive this e-mail by mistake, please advise the sender immediately.
> +++
> Booting Linux on physical CPU 0x0
> Linux version 5.0.0-rc5 (wagner at wagner-Precision-3510) (gcc version 7.3.0 (Ubuntu/Linaro 7.3.0-27ubuntu1~18.04)) #1 SMP Tue Feb 5 17:09:25 CET 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
> Memory policy: Data cache writealloc
> Reserved memory: created DMA memory pool at 0x18000000, size 8 MiB
> OF: reserved mem: initialized node vram at 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: root=/dev/mmcblk0p1 console=ttyAMA0,9600
> Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
> Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
> Memory: 1012188K/1048576K available (7168K kernel code, 420K rwdata, 1572K rodata, 1024K init, 158K bss, 20004K 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) ( 159 kB)
> SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
> rcu: Hierarchical RCU implementation.
> rcu: RCU event tracing is enabled.
> rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
> rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
> rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
> NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
> 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 at 8000000/motherboard/iofpga at 3,00000000/timer at 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
> /cpus/cpu at 0 missing clock-frequency property
> 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 ...
> 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: 256 (order: 2, 16384 bytes)
> 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 = 33, base_baud = 0) is a PL011 rev1
> printk: console [ttyAMA0] enabled
> 1c0a0000.uart: ttyAMA1 at MMIO 0x1c0a0000 (irq = 34, base_baud = 0) is a PL011 rev1
> 1c0b0000.uart: ttyAMA2 at MMIO 0x1c0b0000 (irq = 35, base_baud = 0) is a PL011 rev1
> 1c0c0000.uart: ttyAMA3 at MMIO 0x1c0c0000 (irq = 36, base_baud = 0) is a PL011 rev1
> OF: amba_device_add() failed (-19) for /smb at 8000000/motherboard/iofpga at 3,00000000/wdt at f0000
> OF: amba_device_add() failed (-19) for /memory-controller at 2b0a0000
> OF: amba_device_add() failed (-19) for /memory-controller at 7ffd0000
> OF: amba_device_add() failed (-19) for /dma at 7ffb0000
> 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
> 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
> drm-clcd-pl111 1c1f0000.clcd: assigned reserved memory node vram at 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
> 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 29,30 (pio)
> ledtrig-cpu: registered to indicate activity on CPUs
> usbcore: registered new interface driver usbhid
> usbhid: USB HID core driver
> aaci-pl041 1c040000.aaci: ARM AC'97 Interface PL041 rev0 at 0x1c040000, irq 28
> 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
> input: AT Raw Set 2 keyboard as /devices/platform/smb at 8000000/smb at 8000000:motherboard/smb at 8000000:motherboard:iofpga at 3,00000000/1c060000.kmi/serio0/input/input0
> mmc0: new SD card at address 4567
> mmcblk0: mmc0:4567 QEMU! 1.00 GiB
> drm-clcd-pl111 1c1f0000.clcd: assigned reserved memory node vram at 18000000
> drm-clcd-pl111 1c1f0000.clcd: using device-specific reserved memory
> Error: Driver 'vexpress-muxfpga' is already registered, aborting...
> drm-clcd-pl111 1c1f0000.clcd: initializing Versatile Express PL111
> drm-clcd-pl111 1c1f0000.clcd: DVI muxed to motherboard CLCD
> mmcblk0: p1
> drm-clcd-pl111 1c1f0000.clcd: assigned reserved memory node vram at 18000000
> drm-clcd-pl111 1c1f0000.clcd: using device-specific reserved memory
> Error: Driver 'vexpress-muxfpga' is already registered, aborting...
> drm-clcd-pl111 1c1f0000.clcd: initializing Versatile Express PL111
> drm-clcd-pl111 1c1f0000.clcd: DVI muxed to motherboard CLCD
> drm-clcd-pl111 1c1f0000.clcd: assigned reserved memory node vram at 18000000
> drm-clcd-pl111 1c1f0000.clcd: using device-specific reserved memory
> Error: Driver 'vexpress-muxfpga' is already registered, aborting...
> drm-clcd-pl111 1c1f0000.clcd: initializing Versatile Express PL111
> drm-clcd-pl111 1c1f0000.clcd: DVI muxed to motherboard CLCD
> rtc-pl031 1c170000.rtc: setting system clock to 2019-02-07T12:12:07 UTC (1549541527)
> ALSA device list:
> #0: ARM AC'97 Interface PL041 rev0 at 0x1c040000, irq 28
> input: ImExPS/2 Generic Explorer Mouse as /devices/platform/smb at 8000000/smb at 8000000:motherboard/smb at 8000000:motherboard:iofpga at 3,00000000/1c070000.kmi/serio1/input/input2
> drm-clcd-pl111 1c1f0000.clcd: assigned reserved memory node vram at 18000000
> drm-clcd-pl111 1c1f0000.clcd: using device-specific reserved memory
> Error: Driver 'vexpress-muxfpga' is already registered, aborting...
> drm-clcd-pl111 1c1f0000.clcd: initializing Versatile Express PL111
> drm-clcd-pl111 1c1f0000.clcd: DVI muxed to motherboard CLCD
>
> Booting Linux on physical CPU 0x0
> Linux version 5.0.0-rc5 (wagner at wagner-Precision-3510) (gcc version 7.3.0 (Ubuntu/Linaro 7.3.0-27ubuntu1~18.04)) #1 SMP Tue Feb 5 17:09:25 CET 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
> printk: bootconsole [earlycon0] enabled
> Memory policy: Data cache writealloc
> Reserved memory: created DMA memory pool at 0x18000000, size 8 MiB
> OF: reserved mem: initialized node vram at 18000000, compatible id shared-dma-pool
> cma: Reserved 16 MiB at 0xbf000000
> On node 0 totalpages: 262144
> Normal zone: 2048 pages used for memmap
> Normal zone: 0 pages reserved
> Normal zone: 262144 pages, LIFO batch:63
> random: get_random_bytes called from start_kernel+0x9c/0x458 with crng_init=0
> percpu: Embedded 17 pages/cpu @(ptrval) s37196 r8192 d24244 u69632
> pcpu-alloc: s37196 r8192 d24244 u69632 alloc=17*4096
> pcpu-alloc: [0] 0
> Built 1 zonelists, mobility grouping on. Total pages: 260096
> Kernel command line: console=ttyAMA0 earlyprintk debug verbose
> Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
> Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
> Memory: 1012216K/1048576K available (7168K kernel code, 420K rwdata, 1572K rodata, 1024K init, 158K bss, 19976K 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) ( 159 kB)
> SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
> rcu: Hierarchical RCU implementation.
> rcu: RCU event tracing is enabled.
> rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
> rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
> rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
> NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
> 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 at 8000000/motherboard/iofpga at 3,00000000/timer at 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
> /cpus/cpu at 0 missing clock-frequency property
> 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 ...
> 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: 256 (order: 2, 16384 bytes)
> NET: Registered protocol family 16
> DMA: preallocated 256 KiB pool for atomic coherent allocations
>
--
________________________________________________________
________| |_______
\ | With enough courage, you can do without a reputation | /
\ | -- Rhett Butler | /
/ |________________________________________________________| \
/__________) (_________\
-------------- next part --------------
$ 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 at 0x800000(uboot),7M at 0x1000000(kernel),24M at 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 at 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 at 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 at 8000000/motherboard/iofpga at 3,00000000/timer at 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 at 8000000/motherboard/iofpga at 3,00000000/wdt at f0000
OF: amba_device_add() failed (-19) for /wdt at 2a490000
OF: amba_device_add() failed (-19) for /memory-controller at 2b0a0000
OF: amba_device_add() failed (-19) for /memory-controller at 7ffd0000
OF: amba_device_add() failed (-19) for /dma at 7ff00000
OF: amba_device_add() failed (-19) for /etb at 20010000
OF: amba_device_add() failed (-19) for /tpiu at 20030000
OF: amba_device_add() failed (-19) for /funnel at 20040000
OF: amba_device_add() failed (-19) for /ptm at 2201c000
OF: amba_device_add() failed (-19) for /ptm at 2201d000
OF: amba_device_add() failed (-19) for /etm at 2203c000
OF: amba_device_add() failed (-19) for /etm at 2203d000
OF: amba_device_add() failed (-19) for /etm at 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 at 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 at 8000000/smb at 8000000:motherboard/smb at 8000000:motherboard:iofpga at 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 at 8000000/smb at 8000000:motherboard/smb at 8000000:motherboard:iofpga at 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) ]---
More information about the U-Boot
mailing list