cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Participant
Participant
1,428 Views
Registered: ‎06-28-2016

Yocto booting kernel using core-image-minimal

Hi,

I'm trying to build a kernel image for a zcu102. I have change the local.conf for the machine  "zcu102-zynqmp" and to make an Init_ramfs image, but when i copy to the sd or to the QSPI and i boot the kernel it stops :

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.0-xilinx-v2017.1 (oe-user@oe-host) (gcc version 6.3.0 (GCC) ) #12 SMP PREEMPT Thu Aug 31 12:17:15 CEST 2017
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] earlycon: cdns0 at MMIO 0x00000000ff000000 (options '115200n8')
[    0.000000] bootconsole [cdns0] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 128 MiB at 0x0000000078000000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] percpu: Embedded 21 pages/cpu @ffffffc87ff67000 s46872 r8192 d30952 u86016
[    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: 1034240
[    0.000000] Kernel command line: earlycon clk_ignore_unused
[    0.000000] log_buf_len individual max cpu contribution: 4096 bytes
[    0.000000] log_buf_len total cpu_extra contributions: 12288 bytes
[    0.000000] log_buf_len min size: 16384 bytes
[    0.000000] log_buf_len: 32768 bytes
[    0.000000] early log buf free: 14620(89%)
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] software IO TLB [mem 0x73fff000-0x77fff000] (64MB) mapped at [ffffffc073fff000-ffffffc077ffefff]
[    0.000000] Memory: 3920704K/4194304K available (6396K kernel code, 434K rwdata, 2096K rodata, 3008K init, 405K bss, 142528K reserved, 131072K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000   (   250 GB)
[    0.000000]       .text : 0xffffff8008080000 - 0xffffff80086c0000   (  6400 KB)
[    0.000000]     .rodata : 0xffffff80086c0000 - 0xffffff80088d0000   (  2112 KB)
[    0.000000]       .init : 0xffffff80088d0000 - 0xffffff8008bc0000   (  3008 KB)
[    0.000000]       .data : 0xffffff8008bc0000 - 0xffffff8008c2ca00   (   435 KB)
[    0.000000]        .bss : 0xffffff8008c2ca00 - 0xffffff8008c91f3c   (   406 KB)
[    0.000000]     fixed   : 0xffffffbefe7fd000 - 0xffffffbefec00000   (  4108 KB)
[    0.000000]     PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffffffbf00000000 - 0xffffffc000000000   (     4 GB maximum)
[    0.000000]               0xffffffbf00000000 - 0xffffffbf1dc00000   (   476 MB actual)
[    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc880000000   ( 34816 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] GIC: Adjusting CPU interface base to 0x00000000f902f000
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 100.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x171024e7e0, max_idle_ns: 440795205315 ns
[    0.000003] sched_clock: 56 bits at 100MHz, resolution 10ns, wraps every 4398046511100ns
[    0.008402] Console: colour dummy device 80x25
[    0.012656] console [tty0] enabled
[    0.016028] bootconsole [cdns0] disabled
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.0-xilinx-v2017.1 (oe-user@oe-host) (gcc version 6.3.0 (GCC) ) #12 SMP PREEMPT Thu Aug 31 12:17:15 CEST 2017
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] earlycon: cdns0 at MMIO 0x00000000ff000000 (options '115200n8')
[    0.000000] bootconsole [cdns0] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 128 MiB at 0x0000000078000000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] percpu: Embedded 21 pages/cpu @ffffffc87ff67000 s46872 r8192 d30952 u86016
[    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: 1034240
[    0.000000] Kernel command line: earlycon clk_ignore_unused
[    0.000000] log_buf_len individual max cpu contribution: 4096 bytes
[    0.000000] log_buf_len total cpu_extra contributions: 12288 bytes
[    0.000000] log_buf_len min size: 16384 bytes
[    0.000000] log_buf_len: 32768 bytes
[    0.000000] early log buf free: 14620(89%)
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] software IO TLB [mem 0x73fff000-0x77fff000] (64MB) mapped at [ffffffc073fff000-ffffffc077ffefff]
[    0.000000] Memory: 3920704K/4194304K available (6396K kernel code, 434K rwdata, 2096K rodata, 3008K init, 405K bss, 142528K reserved, 131072K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000   (   250 GB)
[    0.000000]       .text : 0xffffff8008080000 - 0xffffff80086c0000   (  6400 KB)
[    0.000000]     .rodata : 0xffffff80086c0000 - 0xffffff80088d0000   (  2112 KB)
[    0.000000]       .init : 0xffffff80088d0000 - 0xffffff8008bc0000   (  3008 KB)
[    0.000000]       .data : 0xffffff8008bc0000 - 0xffffff8008c2ca00   (   435 KB)
[    0.000000]        .bss : 0xffffff8008c2ca00 - 0xffffff8008c91f3c   (   406 KB)
[    0.000000]     fixed   : 0xffffffbefe7fd000 - 0xffffffbefec00000   (  4108 KB)
[    0.000000]     PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffffffbf00000000 - 0xffffffc000000000   (     4 GB maximum)
[    0.000000]               0xffffffbf00000000 - 0xffffffbf1dc00000   (   476 MB actual)
[    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc880000000   ( 34816 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] GIC: Adjusting CPU interface base to 0x00000000f902f000
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 100.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x171024e7e0, max_idle_ns: 440795205315 ns
[    0.000003] sched_clock: 56 bits at 100MHz, resolution 10ns, wraps every 4398046511100ns
[    0.008402] Console: colour dummy device 80x25
[    0.012656] console [tty0] enabled
[    0.016028] bootconsole [cdns0] disabled
[    0.019940] Calibrating delay loop (skipped), value calculated using timer frequency.. 200.00 BogoMIPS (lpj=1000000)
[    0.019960] pid_max: default: 32768 minimum: 301
[    0.020073] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.020088] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.020691] ASID allocator initialised with 65536 entries
[    0.100194] zynqmp_plat_init Power management API v0.3
[    0.100320] EFI services will not be available.
[    0.190393] Detected VIPT I-cache on CPU1
[    0.190422] CPU1: Booted secondary processor [410fd034]
[    0.260437] Detected VIPT I-cache on CPU2
[    0.260458] CPU2: Booted secondary processor [410fd034]
[    0.330498] Detected VIPT I-cache on CPU3
[    0.330518] CPU3: Booted secondary processor [410fd034]
[    0.330568] Brought up 4 CPUs
[    0.330627] SMP: Total of 4 processors activated.
[    0.330641] CPU features: detected feature: 32-bit EL0 Support
[    0.330658] CPU: All CPU(s) started at EL2
[    0.330683] alternatives: patching kernel code
[    0.331490] devtmpfs: initialized
[    0.339702] DMI not present or invalid.
[    0.339966] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.343294] pinctrl core: initialized pinctrl subsystem
[    0.344158] NET: Registered protocol family 16
[    0.380254] cpuidle: using governor menu
[    0.380655] Failed to initialise IOMMU /amba/smmu@fd800000
[    0.380783] vdso: 2 pages (1 code @ ffffff80086c7000, 1 data @ ffffff8008bc4000)
[    0.380816] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.381782] DMA: preallocated 256 KiB pool for atomic allocations
[    0.428908] reset_zynqmp reset-controller: Xilinx zynqmp reset driver probed
[    0.429984] ARM CCI_400_r1 PMU driver probed
[    0.432924] zynq-gpio ff0a0000.gpio: could not find pctldev for node /amba/pinctrl@ff180000/gpio-default, deferring probe
[    0.435581] zynqmp-pinctrl ff180000.pinctrl: zynqmp pinctrl initialized
[    0.449808] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.451549] vgaarb: loaded
[    0.451889] SCSI subsystem initialized
[    0.452489] usbcore: registered new interface driver usbfs
[    0.452587] usbcore: registered new interface driver hub
[    0.452681] usbcore: registered new device driver usb
[    0.452912] media: Linux media interface: v0.10
[    0.452991] Linux video capture interface: v2.00
[    0.453100] pps_core: LinuxPPS API ver. 1 registered
[    0.453120] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.453193] PTP clock support registered
[    0.453302] EDAC MC: Ver: 3.0.0
[    0.453761] dmi: Firmware registration failed.
[    0.453928] FPGA manager framework
[    0.454287] Advanced Linux Sound Architecture Driver Initialized.
[    0.454996] clocksource: Switched to clocksource arch_sys_counter
[    0.465026] NET: Registered protocol family 2
[    0.465517] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[    0.465765] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
[    0.466245] TCP: Hash tables configured (established 32768 bind 32768)
[    0.466308] UDP hash table entries: 2048 (order: 4, 65536 bytes)
[    0.466405] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
[    0.466620] NET: Registered protocol family 1
[    0.466919] RPC: Registered named UNIX socket transport module.
[    0.466938] RPC: Registered udp transport module.
[    0.466953] RPC: Registered tcp transport module.
[    0.466969] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.591208] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    0.592580] futex hash table entries: 1024 (order: 5, 131072 bytes)
[    0.592648] audit: initializing netlink subsys (disabled)
[    0.592700] audit: type=2000 audit(0.580:1): initialized
[    0.593548] workingset: timestamp_bits=62 max_order=20 bucket_order=0
[    0.594314] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.594825] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    0.594856] io scheduler noop registered
[    0.594874] io scheduler deadline registered
[    0.594898] io scheduler cfq registered (default)
[    0.596267] nwl-pcie fd0e0000.pcie: Link is DOWN
[    0.596340] OF: PCI: host bridge /amba/pcie@fd0e0000 ranges:
[    0.596363] OF: PCI:   No bus range found for /amba/pcie@fd0e0000, using [bus 00-ff]
[    0.596411] OF: PCI:   MEM 0xe0000000..0xefffffff -> 0xe0000000
[    0.596438] OF: PCI:   MEM 0x600000000..0x7ffffffff -> 0x600000000
[    0.596629] nwl-pcie fd0e0000.pcie: PCI host bridge to bus 0000:00
[    0.596656] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.596678] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    0.596701] pci_bus 0000:00: root bus resource [mem 0x600000000-0x7ffffffff pref]
[    0.597263] pci 0000:00:00.0: PCI bridge to [bus 01-0c]
[    0.599353] xilinx-dpdma fd4c0000.dma: Xilinx DPDMA engine is probed
[    0.600950] xilinx-zynqmp-dma fd500000.dma: ZynqMP DMA driver Probe success
[    0.601236] xilinx-zynqmp-dma fd510000.dma: ZynqMP DMA driver Probe success
[    0.601521] xilinx-zynqmp-dma fd520000.dma: ZynqMP DMA driver Probe success
[    0.601808] xilinx-zynqmp-dma fd530000.dma: ZynqMP DMA driver Probe success
[    0.602091] xilinx-zynqmp-dma fd540000.dma: ZynqMP DMA driver Probe success
[    0.602375] xilinx-zynqmp-dma fd550000.dma: ZynqMP DMA driver Probe success
[    0.602662] xilinx-zynqmp-dma fd560000.dma: ZynqMP DMA driver Probe success
[    0.602954] xilinx-zynqmp-dma fd570000.dma: ZynqMP DMA driver Probe success
[    0.603189] zynqmp_pm firmware: Power management API v0.3
[    0.603546] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.605545] zynqmp-pinctrl ff180000.pinctrl: write failed at 0xff180048
[    0.605682] zynqmp-pinctrl ff180000.pinctrl: write failed at 0xff18004c
[    0.605816] zynqmp-pinctrl ff180000.pinctrl: write failed at 0xff180048
[    0.605838] xuartps ff000000.serial: Error applying setting, reverse things back
[    0.606645] ff000000.serial: ttyPS0 at MMIO 0xff000000 (irq = 38, base_baud = 6249999) is a xuartps
[    1.490497] console [ttyPS0] enabled
[    1.494536] zynqmp-pinctrl ff180000.pinctrl: write failed at 0xff180050
[    1.501209] zynqmp-pinctrl ff180000.pinctrl: write failed at 0xff180054
[    1.507874] zynqmp-pinctrl ff180000.pinctrl: write failed at 0xff180050
[    1.514411] xuartps ff010000.serial: Error applying setting, reverse things back
[    1.522587] ff010000.serial: ttyPS1 at MMIO 0xff010000 (irq = 39, base_baud = 6249999) is a xuartps
[    1.531879] [drm] Initialized
[    1.535303] [drm] load() is defered & will be called again
[    1.542012] PLL: shutdown

 

Any ide??

0 Kudos
1 Reply
Highlighted
Voyager
Voyager
1,366 Views
Registered: ‎09-14-2016

Hi,

 

I'm not expert but you can take a look in driver sources and add some traces :

 

https://github.com/Xilinx/linux-xlnx/blob/master/drivers/gpu/drm/xilinx/xilinx_drm_drv.c#L407

 

or maybe here:

 

https://forums.xilinx.com/t5/DSP-and-Video/MPSoC-DisplayPort-no-picture-on-ZCU102/td-p/711388/page/2

 

Becauser of your drm driver seems wrong :S

 

Cheers,

Trigger

0 Kudos