RT_PREEMPT with L4T 4.4.38 kernel

I am trying to apply the RT_PREEMPT kernel patch to my Jetson TX2 and am running into some problems. I have performed the following on my TX2:

Installing potentially necessary packages and make a directory for compiling

sudo apt-get install kernel-package fakeroot build-essential libncurses5-dev
mkdir tmp
cd tmp

Getting the nvidia kernel source

wget http://developer.download.nvidia.com/embedded/L4T/r28_Release_v1.0/BSP/source_release.tbz2
tar -vxf source_release.tbz2 sources/kernel_src-tx2.tbz2
tar -vxf sources/kernel_src-tx2.tbz2

Confirming the kernel version

cd kernel/kernel-4.4
head Makefile
    VERSION = 4
    PATCHLEVEL = 4
    SUBLEVEL = 38
    EXTRAVERSION =
    NAME = Blurry Fish Butt

Get the realtime patch and applying it.

cd ~/tmp
wget hptts://www.kernel.org/pub/linux/kernel/projects/rt/4.4/older/patch-4.4.38-rt49.patch.xz
xzcat ../../patch-4.4.38-rt49.patch.xz | patch -p1

and I get the following output

patching file Documentation/hwlat_detector.txt
patching file Documentation/kernel-parameters.txt
Hunk #1 succeeded at 1642 (offset 6 lines).
patching file Documentation/sysrq.txt
patching file Documentation/trace/histograms.txt
patching file Makefile
Hunk #1 succeeded at 797 (offset 12 lines).
patching file arch/Kconfig
patching file arch/arm/Kconfig
Hunk #1 succeeded at 33 with fuzz 2.
Hunk #2 succeeded at 69 (offset 1 line).
patching file arch/arm/include/asm/switch_to.h
patching file arch/arm/include/asm/thread_info.h
patching file arch/arm/kernel/asm-offsets.c
Hunk #1 succeeded at 55 (offset -10 lines).
patching file arch/arm/kernel/entry-armv.S
patching file arch/arm/kernel/entry-common.S
patching file arch/arm/kernel/process.c
Hunk #1 succeeded at 394 (offset 75 lines).
patching file arch/arm/kernel/signal.c
patching file arch/arm/kernel/smp.c
patching file arch/arm/kernel/unwind.c
patching file arch/arm/kvm/arm.c
patching file arch/arm/kvm/psci.c
patching file arch/arm/mach-at91/Kconfig
patching file arch/arm/mach-at91/at91rm9200.c
patching file arch/arm/mach-at91/at91sam9.c
patching file arch/arm/mach-at91/generic.h
patching file arch/arm/mach-at91/pm.c
patching file arch/arm/mach-at91/sama5.c
patching file arch/arm/mach-exynos/platsmp.c
patching file arch/arm/mach-hisi/platmcpm.c
patching file arch/arm/mach-imx/Kconfig
patching file arch/arm/mach-omap2/omap-smp.c
patching file arch/arm/mach-prima2/platsmp.c
patching file arch/arm/mach-qcom/platsmp.c
patching file arch/arm/mach-spear/platsmp.c
patching file arch/arm/mach-sti/platsmp.c
patching file arch/arm/mm/fault.c
patching file arch/arm/mm/highmem.c
patching file arch/arm/plat-versatile/platsmp.c
patching file arch/arm64/Kconfig
Hunk #1 succeeded at 78 with fuzz 2 (offset 2 lines).
Hunk #2 succeeded at 691 (offset 108 lines).
patching file arch/arm64/include/asm/thread_info.h
Hunk #3 succeeded at 121 (offset 1 line).
Hunk #4 succeeded at 131 with fuzz 1 (offset 2 lines).
patching file arch/arm64/kernel/asm-offsets.c
patching file arch/arm64/kernel/entry.S
Hunk #1 succeeded at 377 (offset 1 line).
Hunk #2 succeeded at 400 (offset 1 line).
Hunk #3 succeeded at 673 (offset 29 lines).
patching file arch/mips/Kconfig
patching file arch/mips/kvm/mips.c
patching file arch/powerpc/Kconfig
patching file arch/powerpc/include/asm/kvm_host.h
patching file arch/powerpc/include/asm/thread_info.h
patching file arch/powerpc/kernel/asm-offsets.c
patching file arch/powerpc/kernel/entry_32.S
patching file arch/powerpc/kernel/entry_64.S
patching file arch/powerpc/kernel/irq.c
patching file arch/powerpc/kernel/misc_32.S
patching file arch/powerpc/kernel/misc_64.S
patching file arch/powerpc/kvm/Kconfig
patching file arch/powerpc/kvm/book3s_hv.c
patching file arch/powerpc/platforms/ps3/device-init.c
patching file arch/s390/include/asm/kvm_host.h
patching file arch/s390/kvm/interrupt.c
patching file arch/sh/kernel/irq.c
patching file arch/sparc/Kconfig
patching file arch/sparc/kernel/irq_64.c
patching file arch/x86/Kconfig
Hunk #2 succeeded at 229 (offset 16 lines).
Hunk #3 succeeded at 868 (offset 16 lines).
patching file arch/x86/crypto/aesni-intel_glue.c
patching file arch/x86/crypto/cast5_avx_glue.c
patching file arch/x86/crypto/glue_helper.c
patching file arch/x86/entry/common.c
patching file arch/x86/entry/entry_32.S
patching file arch/x86/entry/entry_64.S
patching file arch/x86/include/asm/preempt.h
patching file arch/x86/include/asm/signal.h
patching file arch/x86/include/asm/stackprotector.h
patching file arch/x86/include/asm/thread_info.h
patching file arch/x86/include/asm/uv/uv_bau.h
patching file arch/x86/include/asm/uv/uv_hub.h
patching file arch/x86/kernel/acpi/boot.c
patching file arch/x86/kernel/apic/io_apic.c
patching file arch/x86/kernel/apic/x2apic_uv_x.c
patching file arch/x86/kernel/asm-offsets.c
patching file arch/x86/kernel/cpu/mcheck/mce.c
patching file arch/x86/kernel/cpu/perf_event_intel_rapl.c
patching file arch/x86/kernel/dumpstack_32.c
patching file arch/x86/kernel/dumpstack_64.c
patching file arch/x86/kernel/irq_32.c
patching file arch/x86/kernel/kvm.c
patching file arch/x86/kernel/nmi.c
patching file arch/x86/kernel/process_32.c
patching file arch/x86/kernel/reboot.c
patching file arch/x86/kvm/lapic.c
patching file arch/x86/kvm/x86.c
patching file arch/x86/mm/highmem_32.c
patching file arch/x86/mm/iomap_32.c
patching file arch/x86/platform/uv/tlb_uv.c
patching file arch/x86/platform/uv/uv_time.c
patching file block/blk-core.c
patching file block/blk-ioc.c
patching file block/blk-iopoll.c
patching file block/blk-mq-cpu.c
patching file block/blk-mq.c
patching file block/blk-mq.h
patching file block/blk-softirq.c
patching file block/bounce.c
patching file crypto/algapi.c
patching file crypto/api.c
patching file crypto/internal.h
patching file drivers/acpi/acpica/acglobal.h
patching file drivers/acpi/acpica/hwregs.c
patching file drivers/acpi/acpica/hwxface.c
patching file drivers/acpi/acpica/utmutex.c
patching file drivers/ata/libata-sff.c
patching file drivers/block/zram/zram_drv.c
patching file drivers/block/zram/zram_drv.h
patching file drivers/char/random.c
patching file drivers/clk/at91/clk-generated.c
patching file drivers/clk/at91/clk-h32mx.c
patching file drivers/clk/at91/clk-main.c
patching file drivers/clk/at91/clk-master.c
patching file drivers/clk/at91/clk-peripheral.c
patching file drivers/clk/at91/clk-pll.c
patching file drivers/clk/at91/clk-plldiv.c
patching file drivers/clk/at91/clk-programmable.c
patching file drivers/clk/at91/clk-slow.c
patching file drivers/clk/at91/clk-smd.c
patching file drivers/clk/at91/clk-system.c
patching file drivers/clk/at91/clk-usb.c
patching file drivers/clk/at91/clk-utmi.c
patching file drivers/clk/at91/pmc.c
patching file drivers/clk/at91/pmc.h
patching file drivers/clocksource/tcb_clksrc.c
patching file drivers/clocksource/timer-atmel-pit.c
patching file drivers/clocksource/timer-atmel-st.c
patching file drivers/cpufreq/Kconfig.x86
patching file drivers/cpuidle/coupled.c
patching file drivers/gpu/drm/i915/i915_gem_execbuffer.c
Hunk #1 succeeded at 1302 with fuzz 1 (offset 38 lines).
patching file drivers/gpu/drm/i915/i915_gem_shrinker.c
Hunk #1 succeeded at 40 (offset 1 line).
patching file drivers/gpu/drm/i915/i915_irq.c
patching file drivers/gpu/drm/i915/intel_display.c
Hunk #1 succeeded at 11613 with fuzz 2 (offset 213 lines).
patching file drivers/gpu/drm/i915/intel_sprite.c
Hunk #3 succeeded at 97 with fuzz 1 (offset -2 lines).
Hunk #4 succeeded at 127 (offset -2 lines).
Hunk #5 succeeded at 183 with fuzz 2 (offset 16 lines).
patching file drivers/gpu/drm/radeon/radeon_display.c
Hunk #1 succeeded at 1869 (offset 7 lines).
Hunk #2 succeeded at 1962 (offset 7 lines).
patching file drivers/hv/vmbus_drv.c
patching file drivers/i2c/busses/i2c-omap.c
patching file drivers/ide/alim15x3.c
patching file drivers/ide/hpt366.c
patching file drivers/ide/ide-io-std.c
patching file drivers/ide/ide-io.c
patching file drivers/ide/ide-iops.c
patching file drivers/ide/ide-probe.c
patching file drivers/ide/ide-taskfile.c
patching file drivers/infiniband/ulp/ipoib/ipoib_multicast.c
patching file drivers/input/gameport/gameport.c
patching file drivers/iommu/amd_iommu.c
patching file drivers/leds/trigger/Kconfig
patching file drivers/md/bcache/Kconfig
patching file drivers/md/dm.c
patching file drivers/md/raid5.c
patching file drivers/md/raid5.h
patching file drivers/media/platform/vsp1/vsp1_video.c
patching file drivers/misc/Kconfig
patching file drivers/misc/Makefile
patching file drivers/misc/hwlat_detector.c
patching file drivers/mmc/host/mmci.c
patching file drivers/net/ethernet/3com/3c59x.c
patching file drivers/net/ethernet/atheros/atl1c/atl1c_main.c
patching file drivers/net/ethernet/atheros/atl1e/atl1e_main.c
patching file drivers/net/ethernet/chelsio/cxgb/sge.c
patching file drivers/net/ethernet/neterion/s2io.c
patching file drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c
patching file drivers/net/ethernet/realtek/8139too.c
patching file drivers/net/ethernet/tehuti/tehuti.c
patching file drivers/net/rionet.c
patching file drivers/net/wireless/orinoco/orinoco_usb.c
patching file drivers/pci/access.c
patching file drivers/scsi/fcoe/fcoe.c
patching file drivers/scsi/fcoe/fcoe_ctlr.c
patching file drivers/scsi/libfc/fc_exch.c
patching file drivers/scsi/libsas/sas_ata.c
patching file drivers/scsi/qla2xxx/qla_inline.h
patching file drivers/thermal/x86_pkg_temp_thermal.c
patching file drivers/tty/serial/8250/8250_core.c
patching file drivers/tty/serial/8250/8250_port.c
patching file drivers/tty/serial/amba-pl011.c
patching file drivers/tty/serial/omap-serial.c
patching file drivers/tty/serial/sc16is7xx.c
patching file drivers/usb/core/hcd.c
patching file drivers/usb/gadget/function/f_fs.c
Hunk #1 succeeded at 1405 (offset 1 line).
patching file drivers/usb/gadget/legacy/inode.c
patching file drivers/usb/gadget/udc/atmel_usba_udc.c
patching file drivers/usb/gadget/udc/atmel_usba_udc.h
patching file fs/aio.c
patching file fs/autofs4/autofs_i.h
patching file fs/autofs4/expire.c
patching file fs/buffer.c
patching file fs/dcache.c
patching file fs/eventpoll.c
Hunk #1 succeeded at 506 (offset 1 line).
patching file fs/exec.c
patching file fs/f2fs/f2fs.h
patching file fs/jbd2/checkpoint.c
patching file fs/namespace.c
patching file fs/ntfs/aops.c
patching file fs/timerfd.c
patching file include/acpi/platform/aclinux.h
patching file include/asm-generic/bug.h
patching file include/asm-generic/preempt.h
patching file include/linux/blk-mq.h
patching file include/linux/blkdev.h
patching file include/linux/bottom_half.h
patching file include/linux/buffer_head.h
patching file include/linux/cgroup-defs.h
patching file include/linux/clk/at91_pmc.h
patching file include/linux/completion.h
patching file include/linux/cpu.h
patching file include/linux/delay.h
patching file include/linux/ftrace.h
patching file include/linux/highmem.h
patching file include/linux/hrtimer.h
patching file include/linux/idr.h
patching file include/linux/init_task.h
patching file include/linux/interrupt.h
patching file include/linux/irq.h
patching file include/linux/irq_work.h
patching file include/linux/irqdesc.h
patching file include/linux/irqflags.h
patching file include/linux/jbd2.h
patching file include/linux/kdb.h
patching file include/linux/kernel.h
Hunk #5 succeeded at 489 (offset 1 line).
patching file include/linux/kvm_host.h
patching file include/linux/lglock.h
patching file include/linux/list_bl.h
patching file include/linux/locallock.h
patching file include/linux/mm_types.h
Hunk #2 succeeded at 512 (offset 7 lines).
patching file include/linux/mutex.h
patching file include/linux/mutex_rt.h
patching file include/linux/netdevice.h
patching file include/linux/netfilter/x_tables.h
patching file include/linux/notifier.h
patching file include/linux/percpu.h
patching file include/linux/pid.h
patching file include/linux/preempt.h
patching file include/linux/printk.h
patching file include/linux/radix-tree.h
patching file include/linux/random.h
patching file include/linux/rbtree.h
patching file include/linux/rcupdate.h
patching file include/linux/rcutree.h
patching file include/linux/rtmutex.h
patching file include/linux/rwlock_rt.h
patching file include/linux/rwlock_types.h
patching file include/linux/rwlock_types_rt.h
patching file include/linux/rwsem.h
patching file include/linux/rwsem_rt.h
patching file include/linux/sched.h
Hunk #3 succeeded at 242 (offset 1 line).
Hunk #4 succeeded at 308 (offset 1 line).
Hunk #5 succeeded at 972 (offset 1 line).
Hunk #6 succeeded at 1401 (offset 11 lines).
Hunk #7 succeeded at 1438 (offset 11 lines).
Hunk #8 succeeded at 1551 (offset 11 lines).
Hunk #9 succeeded at 1570 (offset 11 lines).
Hunk #10 succeeded at 1603 (offset 11 lines).
Hunk #11 succeeded at 1835 (offset 11 lines).
Hunk #12 succeeded at 1857 (offset 11 lines).
Hunk #13 succeeded at 1891 (offset 11 lines).
Hunk #14 succeeded at 2080 (offset 11 lines).
Hunk #15 succeeded at 2096 (offset 11 lines).
Hunk #16 succeeded at 2135 (offset 11 lines).
Hunk #17 succeeded at 2300 (offset 11 lines).
Hunk #18 succeeded at 2316 (offset 11 lines).
Hunk #19 succeeded at 2528 (offset 11 lines).
Hunk #20 succeeded at 2652 (offset 11 lines).
Hunk #21 succeeded at 2979 (offset 11 lines).
Hunk #22 succeeded at 3047 (offset 11 lines).
Hunk #23 succeeded at 3113 (offset 11 lines).
Hunk #24 succeeded at 3288 with fuzz 2 (offset 15 lines).
patching file include/linux/seqlock.h
patching file include/linux/signal.h
patching file include/linux/skbuff.h
patching file include/linux/smp.h
patching file include/linux/spinlock.h
patching file include/linux/spinlock_api_smp.h
patching file include/linux/spinlock_rt.h
patching file include/linux/spinlock_types.h
patching file include/linux/spinlock_types_nort.h
patching file include/linux/spinlock_types_raw.h
patching file include/linux/spinlock_types_rt.h
patching file include/linux/srcu.h
patching file include/linux/suspend.h
patching file include/linux/swait.h
patching file include/linux/swap.h
patching file include/linux/swork.h
patching file include/linux/thread_info.h
patching file include/linux/timer.h
patching file include/linux/trace_events.h
patching file include/linux/uaccess.h
patching file include/linux/uprobes.h
patching file include/linux/vmstat.h
patching file include/linux/wait.h
patching file include/net/dst.h
patching file include/net/neighbour.h
patching file include/net/netns/ipv4.h
patching file include/trace/events/hist.h
patching file include/trace/events/latency_hist.h
patching file include/trace/events/writeback.h
patching file init/Kconfig
Hunk #4 succeeded at 1113 (offset 7 lines).
Hunk #5 succeeded at 1734 (offset 14 lines).
Hunk #6 succeeded at 1753 (offset 14 lines).
Hunk #7 succeeded at 1763 (offset 14 lines).
patching file init/Makefile
Hunk #1 succeeded at 31 (offset -2 lines).
patching file init/main.c
patching file ipc/msg.c
patching file ipc/sem.c
patching file kernel/Kconfig.locks
patching file kernel/Kconfig.preempt
patching file kernel/cgroup.c
Hunk #1 succeeded at 4795 (offset 55 lines).
Hunk #2 succeeded at 4837 (offset 55 lines).
Hunk #3 succeeded at 5461 (offset 61 lines).
patching file kernel/cpu.c
Hunk #1 succeeded at 77 (offset 2 lines).
Hunk #2 succeeded at 91 (offset 2 lines).
Hunk #3 succeeded at 623 (offset 2 lines).
Hunk #4 succeeded at 639 (offset 2 lines).
Hunk #5 succeeded at 693 with fuzz 1 (offset 3 lines).
Hunk #6 FAILED at 740.
1 out of 6 hunks FAILED -- saving rejects to file kernel/cpu.c.rej
patching file kernel/debug/kdb/kdb_io.c
Hunk #1 succeeded at 562 (offset 8 lines).
Hunk #2 succeeded at 572 (offset 8 lines).
Hunk #3 succeeded at 860 (offset 8 lines).
Hunk #4 succeeded at 869 (offset 8 lines).
patching file kernel/events/core.c
patching file kernel/exit.c
patching file kernel/fork.c
Hunk #5 succeeded at 1266 (offset 1 line).
Hunk #6 succeeded at 1394 (offset 1 line).
patching file kernel/futex.c
patching file kernel/irq/handle.c
patching file kernel/irq/irqdesc.c
patching file kernel/irq/manage.c
patching file kernel/irq/settings.h
patching file kernel/irq/spurious.c
patching file kernel/irq_work.c
patching file kernel/ksysfs.c
patching file kernel/locking/Makefile
patching file kernel/locking/lglock.c
patching file kernel/locking/lockdep.c
patching file kernel/locking/locktorture.c
patching file kernel/locking/rt.c
patching file kernel/locking/rtmutex.c
patching file kernel/locking/rtmutex_common.h
patching file kernel/locking/spinlock.c
patching file kernel/locking/spinlock_debug.c
patching file kernel/panic.c
Hunk #1 succeeded at 64 (offset 3 lines).
Hunk #2 succeeded at 105 (offset 3 lines).
Hunk #3 succeeded at 128 (offset 3 lines).
Hunk #4 succeeded at 442 (offset 3 lines).
patching file kernel/power/hibernate.c
patching file kernel/power/suspend.c
Hunk #1 succeeded at 372 (offset 13 lines).
Hunk #2 succeeded at 393 (offset 16 lines).
Hunk #3 succeeded at 551 with fuzz 1 (offset 29 lines).
Hunk #4 FAILED at 538.
Hunk #5 FAILED at 545.
2 out of 5 hunks FAILED -- saving rejects to file kernel/power/suspend.c.rej
patching file kernel/printk/printk.c
Hunk #1 succeeded at 245 (offset 4 lines).
Hunk #2 succeeded at 1266 (offset 4 lines).
Hunk #3 succeeded at 1278 (offset 4 lines).
Hunk #4 succeeded at 1306 (offset 4 lines).
Hunk #5 succeeded at 1327 (offset 4 lines).
Hunk #6 succeeded at 1375 (offset 4 lines).
Hunk #7 succeeded at 1531 (offset 4 lines).
Hunk #8 succeeded at 1552 (offset 4 lines).
Hunk #9 succeeded at 1613 (offset 4 lines).
Hunk #10 succeeded at 1776 (offset 4 lines).
Hunk #11 succeeded at 1928 (offset 8 lines).
Hunk #12 succeeded at 1936 (offset 8 lines).
Hunk #13 succeeded at 2075 (offset 8 lines).
Hunk #14 succeeded at 2296 (offset 8 lines).
Hunk #15 succeeded at 2415 (offset 8 lines).
Hunk #16 succeeded at 2477 (offset 8 lines).
patching file kernel/ptrace.c
patching file kernel/rcu/rcutorture.c
patching file kernel/rcu/tree.c
patching file kernel/rcu/tree.h
patching file kernel/rcu/tree_plugin.h
patching file kernel/rcu/update.c
patching file kernel/relay.c
patching file kernel/sched/Makefile
Hunk #1 succeeded at 15 (offset 2 lines).
patching file kernel/sched/completion.c
patching file kernel/sched/core.c
Hunk #1 succeeded at 261 (offset 1 line).
Hunk #2 succeeded at 443 (offset 1 line).
Hunk #3 succeeded at 548 (offset 1 line).
Hunk #4 succeeded at 565 (offset 1 line).
Hunk #5 succeeded at 604 (offset 1 line).
Hunk #6 succeeded at 659 (offset 1 line).
Hunk #7 succeeded at 685 (offset 1 line).
Hunk #8 succeeded at 1220 (offset 1 line).
Hunk #9 succeeded at 1247 (offset 1 line).
Hunk #10 succeeded at 1364 (offset 1 line).
Hunk #11 succeeded at 1540 (offset 1 line).
Hunk #12 succeeded at 1596 (offset 1 line).
Hunk #13 succeeded at 1611 (offset 1 line).
Hunk #14 succeeded at 1769 (offset 1 line).
Hunk #15 succeeded at 1849 (offset 1 line).
Hunk #16 succeeded at 2075 (offset 1 line).
Hunk #17 succeeded at 2187 (offset 1 line).
Hunk #18 succeeded at 2204 (offset 1 line).
Hunk #19 succeeded at 2407 (offset 6 lines).
Hunk #20 succeeded at 2739 (offset 11 lines).
Hunk #21 succeeded at 3075 (offset 11 lines).
Hunk #22 succeeded at 3096 (offset 11 lines).
Hunk #23 succeeded at 3123 (offset 11 lines).
Hunk #24 succeeded at 3178 (offset 11 lines).
Hunk #25 succeeded at 3373 (offset 11 lines).
Hunk #26 succeeded at 3382 (offset 11 lines).
Hunk #27 succeeded at 3404 (offset 11 lines).
Hunk #28 succeeded at 3425 (offset 11 lines).
Hunk #29 succeeded at 3441 (offset 11 lines).
Hunk #30 succeeded at 3490 (offset 11 lines).
Hunk #31 succeeded at 3528 (offset 11 lines).
Hunk #32 succeeded at 3556 (offset 11 lines).
Hunk #33 succeeded at 3567 (offset 11 lines).
Hunk #34 succeeded at 4920 (offset 11 lines).
Hunk #35 succeeded at 4934 (offset 11 lines).
Hunk #36 succeeded at 5301 (offset 11 lines).
Hunk #37 succeeded at 5444 (offset 11 lines).
Hunk #38 succeeded at 5460 (offset 11 lines).
Hunk #39 succeeded at 5837 (offset 11 lines).
Hunk #40 succeeded at 7833 (offset 20 lines).
patching file kernel/sched/cpudeadline.c
patching file kernel/sched/cpupri.c
patching file kernel/sched/cputime.c
patching file kernel/sched/deadline.c
Hunk #4 succeeded at 994 (offset 4 lines).
Hunk #5 succeeded at 1072 (offset 4 lines).
Hunk #6 succeeded at 1095 (offset 4 lines).
Hunk #7 succeeded at 1103 (offset 4 lines).
Hunk #8 succeeded at 1217 (offset 4 lines).
Hunk #9 succeeded at 1340 (offset 4 lines).
Hunk #10 succeeded at 1446 (offset 4 lines).
Hunk #11 succeeded at 1485 (offset 4 lines).
Hunk #12 succeeded at 1524 (offset 4 lines).
Hunk #13 succeeded at 1671 (offset 4 lines).
Hunk #14 succeeded at 1774 (offset 4 lines).
patching file kernel/sched/debug.c
patching file kernel/sched/fair.c
Hunk #1 succeeded at 3581 (offset 415 lines).
Hunk #2 succeeded at 3605 (offset 415 lines).
Hunk #3 succeeded at 3745 (offset 415 lines).
Hunk #4 succeeded at 3927 (offset 415 lines).
Hunk #5 succeeded at 4539 (offset 415 lines).
Hunk #6 succeeded at 5746 (offset 533 lines).
Hunk #7 succeeded at 8615 (offset 651 lines).
Hunk #8 succeeded at 8639 (offset 650 lines).
patching file kernel/sched/features.h
patching file kernel/sched/rt.c
Hunk #5 succeeded at 1301 (offset 37 lines).
Hunk #6 succeeded at 1390 (offset 37 lines).
Hunk #7 succeeded at 1414 (offset 37 lines).
Hunk #8 succeeded at 1422 (offset 37 lines).
Hunk #9 succeeded at 1556 (offset 37 lines).
Hunk #10 succeeded at 1606 (offset 37 lines).
Hunk #11 succeeded at 1738 (offset 37 lines).
Hunk #12 succeeded at 2098 (offset 37 lines).
Hunk #13 succeeded at 2173 (offset 37 lines).
patching file kernel/sched/sched.h
Hunk #1 succeeded at 1111 (offset 11 lines).
Hunk #2 succeeded at 1314 (offset 14 lines).
patching file kernel/sched/swait.c
patching file kernel/sched/swork.c
patching file kernel/signal.c
patching file kernel/softirq.c
patching file kernel/stop_machine.c
patching file kernel/time/hrtimer.c
patching file kernel/time/itimer.c
patching file kernel/time/jiffies.c
patching file kernel/time/ntp.c
patching file kernel/time/posix-cpu-timers.c
patching file kernel/time/posix-timers.c
patching file kernel/time/tick-broadcast-hrtimer.c
patching file kernel/time/tick-common.c
patching file kernel/time/tick-sched.c
patching file kernel/time/timekeeping.c
Hunk #1 succeeded at 2072 (offset 2 lines).
patching file kernel/time/timekeeping.h
patching file kernel/time/timer.c
patching file kernel/trace/Kconfig
Hunk #1 succeeded at 190 (offset 3 lines).
Hunk #2 succeeded at 232 (offset 3 lines).
Hunk #3 succeeded at 260 (offset 3 lines).
patching file kernel/trace/Makefile
patching file kernel/trace/latency_hist.c
patching file kernel/trace/trace.c
Hunk #1 succeeded at 1672 (offset 20 lines).
Hunk #2 succeeded at 1682 (offset 20 lines).
Hunk #3 succeeded at 2578 (offset 19 lines).
Hunk #4 succeeded at 2621 with fuzz 1 (offset 26 lines).
patching file kernel/trace/trace.h
patching file kernel/trace/trace_events.c
patching file kernel/trace/trace_irqsoff.c
patching file kernel/trace/trace_output.c
patching file kernel/user.c
patching file kernel/watchdog.c
Hunk #1 succeeded at 374 with fuzz 2 (offset 75 lines).
Hunk #2 succeeded at 410 (offset 75 lines).
Hunk #3 succeeded at 434 (offset 75 lines).
Hunk #4 succeeded at 585 (offset 78 lines).
patching file kernel/workqueue.c
patching file kernel/workqueue_internal.h
patching file lib/Kconfig
patching file lib/debugobjects.c
patching file lib/idr.c
patching file lib/locking-selftest.c
patching file lib/percpu_ida.c
patching file lib/radix-tree.c
patching file lib/rbtree.c
patching file lib/scatterlist.c
patching file lib/smp_processor_id.c
patching file localversion-rt
patching file mm/Kconfig
Hunk #1 succeeded at 393 (offset 1 line).
patching file mm/backing-dev.c
patching file mm/compaction.c
Hunk #1 succeeded at 1431 (offset 1 line).
patching file mm/filemap.c
patching file mm/highmem.c
patching file mm/memcontrol.c
Hunk #6 succeeded at 4717 (offset 2 lines).
Hunk #7 succeeded at 5522 (offset 12 lines).
Hunk #8 succeeded at 5581 (offset 12 lines).
Hunk #9 succeeded at 5780 (offset 12 lines).
Hunk #10 succeeded at 5821 (offset 12 lines).
patching file mm/mmu_context.c
patching file mm/page_alloc.c
Hunk #2 succeeded at 277 (offset 12 lines).
Hunk #3 succeeded at 811 (offset 12 lines).
Hunk #4 succeeded at 822 (offset 12 lines).
Hunk #5 succeeded at 884 (offset 12 lines).
Hunk #6 succeeded at 892 (offset 12 lines).
Hunk #7 succeeded at 906 (offset 12 lines).
Hunk #8 succeeded at 918 (offset 12 lines).
Hunk #9 succeeded at 1069 (offset 12 lines).
Hunk #10 succeeded at 1929 (offset 12 lines).
Hunk #11 succeeded at 1956 (offset 12 lines).
Hunk #12 succeeded at 2056 (offset 12 lines).
Hunk #13 succeeded at 2122 (offset 12 lines).
Hunk #14 succeeded at 2148 (offset 12 lines).
Hunk #15 succeeded at 2293 (offset 12 lines).
Hunk #16 succeeded at 2325 (offset 12 lines).
Hunk #17 succeeded at 2335 (offset 12 lines).
Hunk #18 succeeded at 2351 (offset 12 lines).
Hunk #19 succeeded at 6031 (offset 20 lines).
Hunk #20 succeeded at 6932 (offset 26 lines).
Hunk #21 succeeded at 6941 (offset 26 lines).
patching file mm/slab.h
patching file mm/slub.c
patching file mm/swap.c
patching file mm/truncate.c
patching file mm/vmalloc.c
Hunk #1 succeeded at 836 (offset 15 lines).
Hunk #2 succeeded at 879 (offset 15 lines).
Hunk #3 succeeded at 953 (offset 15 lines).
Hunk #4 succeeded at 968 (offset 15 lines).
Hunk #5 succeeded at 992 (offset 15 lines).
patching file mm/vmstat.c
patching file mm/workingset.c
patching file mm/zsmalloc.c
patching file net/core/dev.c
Hunk #19 succeeded at 4144 (offset 2 lines).
Hunk #20 succeeded at 4153 (offset 2 lines).
Hunk #21 succeeded at 4614 (offset 2 lines).
Hunk #22 succeeded at 4628 (offset 2 lines).
Hunk #23 succeeded at 4710 (offset 2 lines).
Hunk #24 succeeded at 4987 (offset 2 lines).
Hunk #25 succeeded at 7326 (offset 2 lines).
Hunk #26 succeeded at 7567 (offset 2 lines).
Hunk #27 succeeded at 7882 (offset 2 lines).
patching file net/core/skbuff.c
patching file net/core/sock.c
Hunk #1 succeeded at 2439 (offset 3 lines).
patching file net/ipv4/icmp.c
Hunk #8 succeeded at 902 (offset 2 lines).
Hunk #9 succeeded at 952 (offset 2 lines).
patching file net/ipv4/sysctl_net_ipv4.c
Hunk #1 succeeded at 840 (offset 22 lines).
patching file net/ipv4/tcp_ipv4.c
Hunk #3 FAILED at 689.
Hunk #4 FAILED at 774.
2 out of 4 hunks FAILED -- saving rejects to file net/ipv4/tcp_ipv4.c.rej
patching file net/mac80211/rx.c
patching file net/netfilter/core.c
patching file net/packet/af_packet.c
patching file net/rds/ib_rdma.c
patching file net/sched/sch_generic.c
Hunk #1 succeeded at 900 (offset 7 lines).
patching file net/sunrpc/svc_xprt.c
patching file scripts/mkcompile_h
patching file sound/core/pcm_native.c
patching file virt/kvm/async_pf.c
patching file virt/kvm/kvm_main.c

Has anyone successfully patched the kernel with this or know how to proceed? I see there are the rejection files saved at kernel/cpu.c.rej, kernel/power/suspend.c.rej, and net/ipv4/tcp_ipv4.c.rej
but I’m not sure how to use those to fix anything. I then ran make menuconfig and updated the preemptable option and then tried compiling anyway just in case and get the following

CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
make[1]: 'include/generated/mach-types.h' is up to date.
  CHK     include/generated/bounds.h
  CHK     include/generated/timeconst.h
  CHK     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  CC      arch/arm64/mm/dma-mapping.o
In file included from include/linux/amba/bus.h:22:0,
                 from arch/arm64/mm/dma-mapping.c:668:
include/linux/regulator/consumer.h:513:1: error: expected identifier or ‘(’ before ‘{’ token
 {
 ^
include/linux/regulator/consumer.h:529:1: error: expected identifier or ‘(’ before ‘{’ token
 {
 ^
include/linux/regulator/consumer.h:512:19: error: ‘regulator_can_set_mode’ declared ‘static’ but never defined [-Werror=unused-function]
 static inline int regulator_can_set_mode(struct regulator *regulator);
                   ^
cc1: all warnings being treated as errors
scripts/Makefile.build:261: recipe for target 'arch/arm64/mm/dma-mapping.o' failed
make[1]: *** [arch/arm64/mm/dma-mapping.o] Error 1
Makefile:976: recipe for target 'arch/arm64/mm' failed
make: *** [arch/arm64/mm] Error 2

Hi,

Do you follow the document to build kernel?

https://developer.nvidia.com/embedded/dlc/l4t-documentation-28-2

I have not looked at this in any detail, but I do see it has some x86 specific code. Part of the patch failure is in cpu-specific code. This code would not matter when running in arm64, but I also see some DMA patching…DMA is different in arm64 as well, so I have to wonder if the patch is compatible with arm64.

Keep in mind nobody knows which L4T release you are using. Is it R28.1? Compiling directly on the TX2 works well for this release, but some earlier release may not work as well with native compile.

That is possible it’s not compatible with arm64, that’s part of what I’m looking into. I haven’t found much information on this patch.

I am using R28.1 L4T. One thing was that I did another test and realized I couldn’t compile the Nvidia provided kernel on the Jetson so I used the buildJetsonTX2Kernel repo and used its fixMakefiles script https://github.com/jetsonhacks/buildJetsonTX2Kernel/blob/master/scripts/fixMakeFiles.sh and then I was able to compile the kernel.

I tried starting over knowing that and applied the patch and attempted to fix the rejects (I have the .c .c.orig and .c.rej if I need that information). I tried to compile and get to here:

nvidia@tegra-ubuntu:/usr/src/kernel/kernel-4.4$ make -j6 Image
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
make[1]: 'include/generated/mach-types.h' is up to date.
  CHK     include/generated/timeconst.h
  CHK     include/generated/bounds.h
  CHK     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  CHK     kernel/config_data.h
  CC      fs/ramfs/inode.o
  CC      fs/ramfs/file-mmu.o
  CC      drivers/base/attribute_container.o
  CC      drivers/base/transport_class.o
  LD      fs/ramfs/ramfs.o
  CC      net/ipv4/tcp_ipv4.o
  LD      fs/ramfs/built-in.o
  CC      fs/sysfs/file.o
  CC      fs/tracefs/inode.o
  CC      drivers/base/topology.o
  CC      drivers/base/container.o
  CC      drivers/base/property.o
  CC      fs/sysfs/dir.o
  LD      fs/tracefs/tracefs.o
  LD      fs/tracefs/built-in.o
  CC      net/ipv6/ndisc.o
  CC      fs/sysfs/symlink.o
  CC      net/ipv6/udp.o
  CC      fs/sysfs/mount.o
  CC      fs/sysfs/group.o
  CC      net/ipv6/udplite.o
  CC      drivers/base/cacheinfo.o
  LD      fs/sysfs/built-in.o
  CC      fs/eventpoll.o
drivers/base/cacheinfo.c:640:12: warning: ‘cacheinfo_cpu_callback’ defined but not used [-Wunused-function]
 static int cacheinfo_cpu_callback(struct notifier_block *nfb,
            ^
  CC      drivers/base/devtmpfs.o
  CC      net/ipv4/tcp_minisocks.o
  CC      net/ipv6/raw.o
  CC      net/ipv6/icmp.o
  CC      fs/anon_inodes.o
  CC      fs/signalfd.o
  CC      drivers/base/dma-contiguous.o
  CC      net/ipv4/tcp_cong.o
  CC      net/ipv4/tcp_metrics.o
  CC      drivers/base/power/sysfs.o
  CC      fs/timerfd.o
  CC      net/ipv4/tcp_fastopen.o
  CC      net/ipv6/mcast.o
  CC      drivers/base/power/generic_ops.o
  CC      net/ipv4/tcp_recovery.o
  CC      fs/eventfd.o
  CC      net/ipv4/tcp_offload.o
  CC      drivers/base/power/common.o
  CC      net/ipv4/datagram.o
  CC      drivers/base/power/qos.o
  CC      fs/aio.o
  CC      net/ipv4/raw.o
  CC      net/ipv4/udp.o
  CC      net/ipv4/udplite.o
  CC      drivers/base/power/runtime.o
  CC      net/ipv4/udp_offload.o
  CC      net/ipv6/reassembly.o
  CC      net/ipv4/arp.o
  CC      drivers/base/power/wakeirq.o
  CC      fs/locks.o
  CC      drivers/base/power/main.o
  CC      net/ipv4/icmp.o
  CC      net/ipv6/tcp_ipv6.o
  CC      net/ipv4/devinet.o
  CC      net/ipv4/af_inet.o
  CC      net/ipv4/igmp.o
  CC      drivers/base/power/wakeup.o
  CC      fs/compat.o
  CC      net/ipv6/ping.o
  CC      drivers/base/power/domain.o
  CC      net/ipv4/fib_frontend.o
  CC      net/ipv6/exthdrs.o
  CC      fs/compat_ioctl.o
  CC      net/netfilter/nf_sockopt.o
  CC      net/ipv4/fib_semantics.o
  CC      net/netfilter/nf_conntrack_core.o
  CC      net/ipv6/datagram.o
  CC      net/ipv4/fib_trie.o
  CC      drivers/base/power/domain_governor.o
  CC      fs/binfmt_script.o
  CC      drivers/base/power/clock_ops.o
  CC      fs/binfmt_elf.o
  CC      net/ipv4/inet_fragment.o
  LD      drivers/base/power/built-in.o
  CC      drivers/base/regmap/regmap.o
  CC      net/ipv6/ip6_flowlabel.o
  CC      net/netfilter/nf_conntrack_standalone.o
  CC      net/ipv4/ping.o
  CC      fs/compat_binfmt_elf.o
  CC      net/ipv4/ip_tunnel_core.o
  CC      net/netfilter/nf_conntrack_expect.o
  CC      net/ipv6/inet6_connection_sock.o
  CC      net/ipv4/gre_offload.o
  CC      net/ipv6/sysctl_net_ipv6.o
  CC      fs/mbcache.o
  CC      net/ipv6/xfrm6_policy.o
  CC      drivers/base/regmap/regcache.o
  CC      net/netfilter/nf_conntrack_helper.o
  CC      net/ipv6/xfrm6_state.o
  CC      net/ipv4/ip_tunnel.o
  CC      net/ipv6/xfrm6_input.o
  CC      fs/posix_acl.o
  CC      net/netfilter/nf_conntrack_proto.o
  CC      drivers/base/regmap/regcache-rbtree.o
  CC      net/ipv6/xfrm6_output.o
  CC      drivers/base/regmap/regcache-lzo.o
  CC      net/ipv6/xfrm6_protocol.o
  CC      fs/coredump.o
  CC      net/ipv4/sysctl_net_ipv4.o
  CC      net/netfilter/nf_conntrack_l3proto_generic.o
  CC      drivers/base/regmap/regcache-flat.o
  CC      net/ipv6/netfilter.o
  CC      drivers/base/regmap/regmap-debugfs.o
  CC      net/netfilter/nf_conntrack_proto_generic.o
  CC      net/ipv6/fib6_rules.o
  CC      fs/drop_caches.o
  CC      net/ipv4/sysfs_net_ipv4.o
  CC      drivers/base/regmap/regmap-i2c.o
  CC      net/ipv6/proc.o
  CC      fs/fhandle.o
  CC      net/netfilter/nf_conntrack_proto_tcp.o
  CC      drivers/base/regmap/regmap-spi.o
  CC      net/netfilter/nf_conntrack_proto_udp.o
  LD      fs/built-in.o
  CC      net/ipv4/proc.o
  CC      drivers/base/regmap/regmap-mmio.o
  CC      net/ipv6/netfilter/ip6_tables.o
  CC      drivers/base/regmap/regmap-irq.o
  CC      net/netlink/genetlink.o
  CC      net/packet/af_packet.o
  CC      net/ipv4/fib_rules.o
  CC      net/netfilter/nf_conntrack_extend.o
  LD      drivers/base/regmap/built-in.o
  CC      drivers/base/dma-mapping.o
  CC      net/ipv4/ipmr.o
  CC      net/netfilter/nf_conntrack_acct.o
  CC      net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.o
  CC      drivers/base/dma-coherent.o
  LD      net/netlink/built-in.o
  CC      net/rfkill/core.o
  CC      net/netfilter/nf_conntrack_seqadj.o
  CC      net/ipv6/netfilter/nf_conntrack_proto_icmpv6.o
  LD      net/rfkill/rfkill.o
  LD      net/rfkill/built-in.o
  CC      net/sched/sch_generic.o
  CC      drivers/base/firmware_class.o
  CC      net/netfilter/nf_conntrack_ecache.o
  CC      net/ipv6/netfilter/nf_defrag_ipv6_hooks.o
  CC      net/ipv4/ipip.o
  LD      net/packet/built-in.o
  CC      net/sched/sch_mq.o
  CC      drivers/base/module.o
  CC      net/netfilter/x_tables.o
  CC      drivers/base/soc.o
  CC      net/sched/sch_api.o
  CC      net/ipv6/netfilter/nf_conntrack_reasm.o
  CC      net/sched/sch_blackhole.o
  CC      net/ipv4/ah4.o
  CC      drivers/base/pinctrl.o
  CC      drivers/base/platform-msi.o
  CC      net/sched/cls_api.o
  LD      net/ipv6/netfilter/nf_conntrack_ipv6.o
  CC      net/netfilter/xt_tcpudp.o
  CC      net/ipv4/esp4.o
  LD      net/ipv6/netfilter/nf_defrag_ipv6.o
  LD      drivers/base/built-in.o
  LD      net/ipv6/netfilter/built-in.o
  CC      net/ipv6/addrconf_core.o
  CC      drivers/block/brd.o
  CC      drivers/block/loop.o
  CC      net/sched/act_api.o
  CC      net/ipv6/exthdrs_core.o
  CC      net/netfilter/xt_qtaguid_print.o
  CC      net/netfilter/xt_qtaguid.o
  CC      net/ipv4/ipcomp.o
  CC      net/netfilter/xt_socket.o
  CC      net/ipv6/ip6_checksum.o
  LD      drivers/block/built-in.o
  LD      drivers/bluetooth/built-in.o
  LD      drivers/bus/built-in.o
  CC      net/sched/act_police.o
  LD      drivers/cdrom/built-in.o
  CC      drivers/char/mem.o
  CC      net/ipv4/xfrm4_tunnel.o
  CC      net/ipv6/ip6_icmp.o
  CC      drivers/char/random.o
  CC      drivers/char/misc.o
  CC      net/sched/act_gact.o
  CC      net/ipv4/inet_lro.o
  LD      drivers/char/agp/built-in.o
  CC      net/sunrpc/clnt.o
  CC      net/ipv6/output_core.o
  CC      net/sched/act_mirred.o
  LD      net/netfilter/netfilter.o
  LD      net/netfilter/nf_conntrack.o
  CC      net/ipv4/tunnel4.o
  LD      net/netfilter/built-in.o
  CC      net/unix/af_unix.o
  CC      net/ipv6/protocol.o
  CC      net/sched/sch_fifo.o
  LD      drivers/char/built-in.o
  CC      drivers/clk/clk-devres.o
  CC      net/sunrpc/xprt.o
  CC      net/ipv4/xfrm4_mode_transport.o
  CC      drivers/clk/clkdev.o
  CC      net/ipv6/ip6_offload.o
  CC      net/sched/sch_htb.o
  CC      drivers/clk/clk.o
  CC      net/ipv4/ipconfig.o
  CC      net/ipv6/tcpv6_offload.o
  CC      net/unix/garbage.o
  CC      net/sunrpc/socklib.o
  CC      net/ipv6/udp_offload.o
  CC      net/unix/sysctl_net_unix.o
  CC      net/sched/sch_ingress.o
  CC      net/sunrpc/xprtsock.o
  CC      net/ipv4/netfilter.o
  CC      net/ipv6/exthdrs_offload.o
  CC      net/sched/cls_u32.o
  LD      net/unix/unix.o
  LD      net/unix/built-in.o
  CC      net/wireless/core.o
  CC      drivers/clk/clk-divider.o
  CC      net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.o
  CC      net/ipv6/inet6_hashtables.o
  CC      net/sched/ematch.o
  CC      drivers/clk/clk-fixed-factor.o
  CC      net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.o
  CC      net/sunrpc/sched.o
  CC      drivers/clk/clk-fixed-rate.o
  CC      net/ipv6/mcast_snoop.o
  CC      net/sched/em_u32.o
  CC      net/wireless/sysfs.o
  CC      drivers/clk/clk-gate.o
  CC      net/ipv4/netfilter/nf_conntrack_proto_icmp.o
  CC      drivers/clk/clk-multiplier.o
  LD      net/sched/built-in.o
  LD      net/ipv6/ipv6.o
  CC      net/wireless/radiotap.o
  LD      net/ipv6/built-in.o
  CC      net/xfrm/xfrm_policy.o
  CC      drivers/clk/clk-mux.o
  CC      net/ipv4/netfilter/nf_defrag_ipv4.o
  CC      net/xfrm/xfrm_state.o
  CC      net/wireless/util.o
  CC      drivers/clk/clk-composite.o
  CC      drivers/clk/clk-fractional-divider.o
  LD      net/ipv4/netfilter/nf_conntrack_ipv4.o
  LD      net/ipv4/netfilter/built-in.o
  CC      net/ipv4/tcp_cubic.o
  CC      net/sunrpc/auth.o
  CC      drivers/clk/clk-gpio.o
  CC      drivers/clk/clk-conf.o
  LD      drivers/clk/bcm/built-in.o
  CC      net/xfrm/xfrm_hash.o
  CC      net/ipv4/xfrm4_policy.o
  CC      drivers/clk/tegra/clk.o
  CC      net/sunrpc/auth_null.o
  CC      net/compat.o
drivers/clk/tegra/clk.c:395:9: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  .ops = &rst_ops,
         ^
drivers/clk/tegra/clk.c: In function ‘tegra_add_of_provider’:
drivers/clk/tegra/clk.c:532:8: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   name = __clk_get_name(clk);
        ^
  CC      net/xfrm/xfrm_input.o
  CC      net/wireless/reg.o
  CC      drivers/clk/tegra/clk-audio-sync.o
  CC      net/sunrpc/auth_unix.o
  CC      net/ipv4/xfrm4_state.o
  CC      drivers/clk/tegra/clk-dfll.o
  CC      net/sysctl_net.o
  CC      net/xfrm/xfrm_output.o
  CC      net/sunrpc/auth_generic.o
  CC      net/ipv4/xfrm4_input.o
  CC      net/ipv4/xfrm4_output.o
  CC      net/xfrm/xfrm_sysctl.o
  CC      net/sunrpc/svc.o
  CC      net/ipv4/xfrm4_protocol.o
  CC      drivers/clocksource/clksrc-probe.o
  CC      net/wireless/scan.o
  CC      drivers/clk/tegra/clk-divider.o
  CC      net/xfrm/xfrm_replay.o
  CC      drivers/clocksource/mmio.o
  CC      drivers/clocksource/arm_arch_timer.o
  CC      drivers/clk/tegra/clk-periph.o
  LD      net/ipv4/built-in.o
  CC      drivers/clk/tegra/clk-periph-fixed.o
net/wireless/scan.c:73:0: warning: "IEEE80211_SCAN_RESULT_EXPIRE" redefined
 #define IEEE80211_SCAN_RESULT_EXPIRE (30 * HZ)
 ^
net/wireless/scan.c:59:0: note: this is the location of the previous definition
 #define IEEE80211_SCAN_RESULT_EXPIRE (7 * HZ)
 ^
  CC      net/sunrpc/svcsock.o
  CC      net/sunrpc/svcauth.o
  CC      drivers/clocksource/dummy_timer.o
  CC      net/xfrm/xfrm_algo.o
  CC      drivers/clk/tegra/clk-periph-gate.o
  LD      drivers/clocksource/built-in.o
  CC      drivers/cpufreq/cpufreq.o
  CC      net/sunrpc/svcauth_unix.o
  CC      drivers/clk/tegra/clk-pll.o
  CC      net/xfrm/xfrm_user.o
  CC      net/wireless/nl80211.o
drivers/clk/tegra/clk-pll.c:990:12: warning: ‘clk_pll_is_prepared’ defined but not used [-Wunused-function]
 static int clk_pll_is_prepared(struct clk_hw *hw)
            ^
drivers/clk/tegra/clk-pll.c:2453:12: warning: ‘clk_pll_iddq_enable’ defined but not used [-Wunused-function]
 static int clk_pll_iddq_enable(struct clk_hw *hw)
            ^
drivers/clk/tegra/clk-pll.c:2479:13: warning: ‘clk_pll_iddq_disable’ defined but not used [-Wunused-function]
 static void clk_pll_iddq_disable(struct clk_hw *hw)
             ^
  CC      net/sunrpc/addr.o
  CC      drivers/clk/tegra/clk-pll-out.o
  CC      net/sunrpc/rpcb_clnt.o
  CC      net/sunrpc/timer.o
  CC      drivers/clk/tegra/clk-super.o
  CC      drivers/cpufreq/freq_table.o
  CC      drivers/clk/tegra/clk-tegra-audio.o
  CC      net/sunrpc/xdr.o
  CC      drivers/clk/tegra/clk-tegra-periph.o
  CC      drivers/cpufreq/cpufreq_stats.o
  CC      net/sunrpc/sunrpc_syms.o
  CC      net/xfrm/xfrm_ipcomp.o
  CC      drivers/clk/tegra/clk-tegra-pmc.o
  CC      drivers/cpufreq/cpufreq_performance.o
  CC      net/sunrpc/cache.o
  CC      drivers/clk/tegra/clk-tegra-fixed.o
  CC      net/sunrpc/rpc_pipe.o
  CC      drivers/cpufreq/cpufreq_powersave.o
  CC      drivers/clk/tegra/clk-tegra-super-gen4.o
  LD      net/xfrm/built-in.o
  CC      drivers/clk/tegra/clk-cbus-shared.o
  CC      drivers/cpufreq/cpufreq_userspace.o
  CC      drivers/clk/tegra/clk-tegra-shared.o
  CC      drivers/cpufreq/cpufreq_ondemand.o
  CC      drivers/clk/tegra/clk-skipper.o
  CC      net/sunrpc/svc_xprt.o
  CC      net/sunrpc/stats.o
  CC      drivers/clk/tegra/div71.o
  CC      net/sunrpc/sysctl.o
  CC      drivers/cpufreq/cpufreq_conservative.o
  LD      drivers/clk/tegra/built-in.o
  LD      drivers/clk/built-in.o
  CC      drivers/cpuidle/cpuidle.o
  CC      drivers/cpuidle/driver.o
  CC      drivers/crypto/tegra-cryptodev.o
  CC      drivers/cpufreq/cpufreq_interactive.o
  CC      drivers/cpuidle/governor.o
  CC      drivers/cpuidle/sysfs.o
  CC      drivers/cpuidle/governors/ladder.o
  LD      net/sunrpc/sunrpc.o
  LD      net/sunrpc/built-in.o
  CC      drivers/cpuidle/governors/menu.o
  CC      drivers/cpuidle/dt_idle_states.o
  CC      drivers/devfreq/devfreq.o
  CC      drivers/crypto/tegra-se.o
  LD      drivers/cpuidle/governors/built-in.o
  CC      drivers/devfreq/governor_simpleondemand.o
  CC      drivers/cpuidle/cpuidle-arm.o
  CC      drivers/cpufreq/cpufreq_governor.o
  CC      drivers/devfreq/governor_userspace.o
  CC      drivers/devfreq/governor_pod_scaling.o
  LD      drivers/cpuidle/built-in.o
  CC      drivers/dma/dmaengine.o
  CC      drivers/dma/of-dma.o
  CC      drivers/cpufreq/cpufreq_governor_attr_set.o
  CC      drivers/cpufreq/tegra20-cpufreq.o
  CC      drivers/dma/tegra210-adma.o
  CC      drivers/cpufreq/tegra210-cpufreq.o
  LD      drivers/devfreq/built-in.o
  LD      drivers/dma/xilinx/built-in.o
  CC      drivers/crypto/tegra-se-elp.o
  CC      drivers/dma-buf/dma-buf.o
  LD      drivers/cpufreq/built-in.o
  CC      drivers/dma-buf/fence.o
  CC      drivers/extcon/extcon.o
drivers/crypto/tegra-se-elp.c: In function ‘tegra_se_mod_mult’:
drivers/crypto/tegra-se-elp.c:2158:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  req.modulus = mod;
              ^
drivers/crypto/tegra-se-elp.c:2159:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  req.base_pt_x = left;
                ^
drivers/crypto/tegra-se-elp.c:2160:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  req.base_pt_y = right;
                ^
drivers/crypto/tegra-se-elp.c: In function ‘tegra_se_mod_add’:
drivers/crypto/tegra-se-elp.c:2176:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  req.modulus = mod;
              ^
drivers/crypto/tegra-se-elp.c:2177:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  req.base_pt_x = left;
                ^
drivers/crypto/tegra-se-elp.c:2178:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  req.base_pt_y = right;
                ^
drivers/crypto/tegra-se-elp.c: In function ‘tegra_se_mod_inv’:
drivers/crypto/tegra-se-elp.c:2195:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  req.modulus = mod;
              ^
drivers/crypto/tegra-se-elp.c:2196:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  req.base_pt_x = input;
                ^
drivers/crypto/tegra-se-elp.c: In function ‘tegra_se_mod_reduce’:
drivers/crypto/tegra-se-elp.c:2213:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  req.modulus = mod;
              ^
drivers/crypto/tegra-se-elp.c:2214:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  req.base_pt_x = input;
                ^
drivers/crypto/tegra-se-elp.c: In function ‘tegra_se_ecdsa_sign’:
drivers/crypto/tegra-se-elp.c:2785:49: error: passing argument 3 of ‘tegra_se_ecc_point_mult’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  ret = tegra_se_ecc_point_mult(x1y1, &curve->g, k, curve, nbytes);
                                                 ^
drivers/crypto/tegra-se-elp.c:2221:12: note: expected ‘const u32 * {aka const unsigned int *}’ but argument is of type ‘u64 * {aka long long unsigned int *}’
 static int tegra_se_ecc_point_mult(struct tegra_se_ecc_point *result,
            ^
drivers/crypto/tegra-se-elp.c:2790:41: error: passing argument 2 of ‘tegra_se_mod_reduce’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  ret = tegra_se_mod_reduce(mod_op_mode, r, x1y1->x, curve->n, nbytes);
                                         ^
drivers/crypto/tegra-se-elp.c:2203:12: note: expected ‘u32 * {aka unsigned int *}’ but argument is of type ‘u64 * {aka long long unsigned int *}’
 static int tegra_se_mod_reduce(int op_mode, u32 *result,
            ^
drivers/crypto/tegra-se-elp.c:2795:38: error: passing argument 2 of ‘tegra_se_mod_inv’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  ret = tegra_se_mod_inv(mod_op_mode, k_inv, k, curve->n, nbytes);
                                      ^
drivers/crypto/tegra-se-elp.c:2185:12: note: expected ‘u32 * {aka unsigned int *}’ but argument is of type ‘u64 * {aka long long unsigned int *}’
 static int tegra_se_mod_inv(int op_mode, u32 *result,
            ^
drivers/crypto/tegra-se-elp.c:2795:45: error: passing argument 3 of ‘tegra_se_mod_inv’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  ret = tegra_se_mod_inv(mod_op_mode, k_inv, k, curve->n, nbytes);
                                             ^
drivers/crypto/tegra-se-elp.c:2185:12: note: expected ‘const u32 * {aka const unsigned int *}’ but argument is of type ‘u64 * {aka long long unsigned int *}’
 static int tegra_se_mod_inv(int op_mode, u32 *result,
            ^
drivers/crypto/tegra-se-elp.c:2800:39: error: passing argument 2 of ‘tegra_se_mod_mult’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  ret = tegra_se_mod_mult(mod_op_mode, dr, d, r, curve->n, nbytes);
                                       ^
drivers/crypto/tegra-se-elp.c:2148:12: note: expected ‘u32 * {aka unsigned int *}’ but argument is of type ‘u64 * {aka long long unsigned int *}’
 static int tegra_se_mod_mult(int op_mode, u32 *result,
            ^
drivers/crypto/tegra-se-elp.c:2800:43: error: passing argument 3 of ‘tegra_se_mod_mult’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  ret = tegra_se_mod_mult(mod_op_mode, dr, d, r, curve->n, nbytes);
                                           ^
drivers/crypto/tegra-se-elp.c:2148:12: note: expected ‘const u32 * {aka const unsigned int *}’ but argument is of type ‘u64 * {aka long long unsigned int *}’
 static int tegra_se_mod_mult(int op_mode, u32 *result,
            ^
drivers/crypto/tegra-se-elp.c:2800:46: error: passing argument 4 of ‘tegra_se_mod_mult’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  ret = tegra_se_mod_mult(mod_op_mode, dr, d, r, curve->n, nbytes);
                                              ^
drivers/crypto/tegra-se-elp.c:2148:12: note: expected ‘const u32 * {aka const unsigned int *}’ but argument is of type ‘u64 * {aka long long unsigned int *}’
 static int tegra_se_mod_mult(int op_mode, u32 *result,
            ^
drivers/crypto/tegra-se-elp.c:2805:38: error: passing argument 2 of ‘tegra_se_mod_add’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  ret = tegra_se_mod_add(mod_op_mode, zdr, z, dr, curve->n, nbytes);
                                      ^
drivers/crypto/tegra-se-elp.c:2166:12: note: expected ‘u32 * {aka unsigned int *}’ but argument is of type ‘u64 * {aka long long unsigned int *}’
 static int tegra_se_mod_add(int op_mode, u32 *result,
            ^
drivers/crypto/tegra-se-elp.c:2805:43: error: passing argument 3 of ‘tegra_se_mod_add’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  ret = tegra_se_mod_add(mod_op_mode, zdr, z, dr, curve->n, nbytes);
                                           ^
drivers/crypto/tegra-se-elp.c:2166:12: note: expected ‘const u32 * {aka const unsigned int *}’ but argument is of type ‘u64 * {aka long long unsigned int *}’
 static int tegra_se_mod_add(int op_mode, u32 *result,
            ^
drivers/crypto/tegra-se-elp.c:2805:46: error: passing argument 4 of ‘tegra_se_mod_add’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  ret = tegra_se_mod_add(mod_op_mode, zdr, z, dr, curve->n, nbytes);
                                              ^
drivers/crypto/tegra-se-elp.c:2166:12: note: expected ‘const u32 * {aka const unsigned int *}’ but argument is of type ‘u64 * {aka long long unsigned int *}’
 static int tegra_se_mod_add(int op_mode, u32 *result,
            ^
drivers/crypto/tegra-se-elp.c:2810:39: error: passing argument 2 of ‘tegra_se_mod_mult’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  ret = tegra_se_mod_mult(mod_op_mode, s, k_inv, zdr, curve->n, nbytes);
                                       ^
drivers/crypto/tegra-se-elp.c:2148:12: note: expected ‘u32 * {aka unsigned int *}’ but argument is of type ‘u64 * {aka long long unsigned int *}’
 static int tegra_se_mod_mult(int op_mode, u32 *result,
            ^
drivers/crypto/tegra-se-elp.c:2810:42: error: passing argument 3 of ‘tegra_se_mod_mult’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  ret = tegra_se_mod_mult(mod_op_mode, s, k_inv, zdr, curve->n, nbytes);
                                          ^
drivers/crypto/tegra-se-elp.c:2148:12: note: expected ‘const u32 * {aka const unsigned int *}’ but argument is of type ‘u64 * {aka long long unsigned int *}’
 static int tegra_se_mod_mult(int op_mode, u32 *result,
            ^
drivers/crypto/tegra-se-elp.c:2810:49: error: passing argument 4 of ‘tegra_se_mod_mult’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  ret = tegra_se_mod_mult(mod_op_mode, s, k_inv, zdr, curve->n, nbytes);
                                                 ^
drivers/crypto/tegra-se-elp.c:2148:12: note: expected ‘const u32 * {aka const unsigned int *}’ but argument is of type ‘u64 * {aka long long unsigned int *}’
 static int tegra_se_mod_mult(int op_mode, u32 *result,
            ^
drivers/crypto/tegra-se-elp.c: In function ‘tegra_se_ecdsa_verify’:
drivers/crypto/tegra-se-elp.c:2867:38: error: passing argument 2 of ‘tegra_se_mod_inv’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  ret = tegra_se_mod_inv(mod_op_mode, w, s, curve->n, nbytes);
                                      ^
drivers/crypto/tegra-se-elp.c:2185:12: note: expected ‘u32 * {aka unsigned int *}’ but argument is of type ‘u64 * {aka long long unsigned int *}’
 static int tegra_se_mod_inv(int op_mode, u32 *result,
            ^
drivers/crypto/tegra-se-elp.c:2867:41: error: passing argument 3 of ‘tegra_se_mod_inv’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  ret = tegra_se_mod_inv(mod_op_mode, w, s, curve->n, nbytes);
                                         ^
drivers/crypto/tegra-se-elp.c:2185:12: note: expected ‘const u32 * {aka const unsigned int *}’ but argument is of type ‘u64 * {aka long long unsigned int *}’
 static int tegra_se_mod_inv(int op_mode, u32 *result,
            ^
drivers/crypto/tegra-se-elp.c:2872:39: error: passing argument 2 of ‘tegra_se_mod_mult’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  ret = tegra_se_mod_mult(mod_op_mode, u1, z, w, curve->n, nbytes);
                                       ^
drivers/crypto/tegra-se-elp.c:2148:12: note: expected ‘u32 * {aka unsigned int *}’ but argument is of type ‘u64 * {aka long long unsigned int *}’
 static int tegra_se_mod_mult(int op_mode, u32 *result,
            ^
drivers/crypto/tegra-se-elp.c:2872:43: error: passing argument 3 of ‘tegra_se_mod_mult’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  ret = tegra_se_mod_mult(mod_op_mode, u1, z, w, curve->n, nbytes);
                                           ^
drivers/crypto/tegra-se-elp.c:2148:12: note: expected ‘const u32 * {aka const unsigned int *}’ but argument is of type ‘u64 * {aka long long unsigned int *}’
 static int tegra_se_mod_mult(int op_mode, u32 *result,
            ^
drivers/crypto/tegra-se-elp.c:2872:46: error: passing argument 4 of ‘tegra_se_mod_mult’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  ret = tegra_se_mod_mult(mod_op_mode, u1, z, w, curve->n, nbytes);
                                              ^
drivers/crypto/tegra-se-elp.c:2148:12: note: expected ‘const u32 * {aka const unsigned int *}’ but argument is of type ‘u64 * {aka long long unsigned int *}’
 static int tegra_se_mod_mult(int op_mode, u32 *result,
            ^
drivers/crypto/tegra-se-elp.c:2877:39: error: passing argument 2 of ‘tegra_se_mod_mult’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  ret = tegra_se_mod_mult(mod_op_mode, u2, r, w, curve->n, nbytes);
                                       ^
drivers/crypto/tegra-se-elp.c:2148:12: note: expected ‘u32 * {aka unsigned int *}’ but argument is of type ‘u64 * {aka long long unsigned int *}’
 static int tegra_se_mod_mult(int op_mode, u32 *result,
            ^
drivers/crypto/tegra-se-elp.c:2877:43: error: passing argument 3 of ‘tegra_se_mod_mult’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  ret = tegra_se_mod_mult(mod_op_mode, u2, r, w, curve->n, nbytes);
                                           ^
drivers/crypto/tegra-se-elp.c:2148:12: note: expected ‘const u32 * {aka const unsigned int *}’ but argument is of type ‘u64 * {aka long long unsigned int *}’
 static int tegra_se_mod_mult(int op_mode, u32 *result,
            ^
drivers/crypto/tegra-se-elp.c:2877:46: error: passing argument 4 of ‘tegra_se_mod_mult’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  ret = tegra_se_mod_mult(mod_op_mode, u2, r, w, curve->n, nbytes);
                                              ^
drivers/crypto/tegra-se-elp.c:2148:12: note: expected ‘const u32 * {aka const unsigned int *}’ but argument is of type ‘u64 * {aka long long unsigned int *}’
 static int tegra_se_mod_mult(int op_mode, u32 *result,
            ^
drivers/crypto/tegra-se-elp.c:2885:10: error: passing argument 1 of ‘vli_set’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  vli_set(Q->x, ctx_qx, ndigits);
          ^
In file included from drivers/crypto/tegra-se-elp.c:47:0:
drivers/crypto/../../crypto/ecc.h:42:6: note: expected ‘u64 * {aka long long unsigned int *}’ but argument is of type ‘u32 * {aka unsigned int *}’
 void vli_set(u64 *dest, const u64 *src, unsigned int ndigits);
      ^
drivers/crypto/tegra-se-elp.c:2886:10: error: passing argument 1 of ‘vli_set’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  vli_set(Q->y, ctx_qy, ndigits);
          ^
In file included from drivers/crypto/tegra-se-elp.c:47:0:
drivers/crypto/../../crypto/ecc.h:42:6: note: expected ‘u64 * {aka long long unsigned int *}’ but argument is of type ‘u32 * {aka unsigned int *}’
 void vli_set(u64 *dest, const u64 *src, unsigned int ndigits);
      ^
drivers/crypto/tegra-se-elp.c:2889:34: error: passing argument 1 of ‘tegra_se_ecc_shamir_trick’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  ret = tegra_se_ecc_shamir_trick(u1, &curve->g, u2, Q, curve, nbytes);
                                  ^
drivers/crypto/tegra-se-elp.c:2270:12: note: expected ‘u32 * {aka unsigned int *}’ but argument is of type ‘u64 * {aka long long unsigned int *}’
 static int tegra_se_ecc_shamir_trick(u32 *s1,
            ^
drivers/crypto/tegra-se-elp.c:2889:38: warning: passing argument 2 of ‘tegra_se_ecc_shamir_trick’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  ret = tegra_se_ecc_shamir_trick(u1, &curve->g, u2, Q, curve, nbytes);
                                      ^
drivers/crypto/tegra-se-elp.c:2270:12: note: expected ‘struct tegra_se_ecc_point *’ but argument is of type ‘const struct tegra_se_ecc_point *’
 static int tegra_se_ecc_shamir_trick(u32 *s1,
            ^
drivers/crypto/tegra-se-elp.c:2889:49: error: passing argument 3 of ‘tegra_se_ecc_shamir_trick’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  ret = tegra_se_ecc_shamir_trick(u1, &curve->g, u2, Q, curve, nbytes);
                                                 ^
drivers/crypto/tegra-se-elp.c:2270:12: note: expected ‘u32 * {aka unsigned int *}’ but argument is of type ‘u64 * {aka long long unsigned int *}’
 static int tegra_se_ecc_shamir_trick(u32 *s1,
            ^
drivers/crypto/tegra-se-elp.c:2894:41: error: passing argument 2 of ‘tegra_se_mod_reduce’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  ret = tegra_se_mod_reduce(mod_op_mode, v, Q->x, curve->n, nbytes);
                                         ^
drivers/crypto/tegra-se-elp.c:2203:12: note: expected ‘u32 * {aka unsigned int *}’ but argument is of type ‘u64 * {aka long long unsigned int *}’
 static int tegra_se_mod_reduce(int op_mode, u32 *result,
            ^
drivers/crypto/tegra-se-elp.c: At top level:
drivers/crypto/tegra-se-elp.c:2246:12: warning: ‘tegra_se_ecc_point_add’ defined but not used [-Wunused-function]
 static int tegra_se_ecc_point_add(struct tegra_se_ecc_point *p1,
            ^
  LD      drivers/dma/built-in.o
  LD      drivers/firewire/built-in.o
  CC      drivers/firmware/psci.o
  CC      drivers/dma-buf/reservation.o
  CC      drivers/dma-buf/seqno-fence.o
  CC      drivers/extcon/devres.o
  CC      drivers/extcon/extcon-gpio.o
  LD      drivers/dma-buf/built-in.o
  CC      drivers/gpio/devres.o
  LD      drivers/firmware/broadcom/built-in.o
  CC      drivers/firmware/tegra/bpmp_t210.o
  CC      drivers/firmware/tegra/fwdebug.o
  CC      drivers/extcon/extcon-gpio-states.o
  CC      drivers/gpio/gpiolib.o
  CC      drivers/firmware/tegra/bpmp.o
  CC      net/wireless/mlme.o
cc1: some warnings being treated as errors
scripts/Makefile.build:261: recipe for target 'drivers/crypto/tegra-se-elp.o' failed
make[2]: *** [drivers/crypto/tegra-se-elp.o] Error 1
scripts/Makefile.build:406: recipe for target 'drivers/crypto' failed
make[1]: *** [drivers/crypto] Error 2
make[1]: *** Waiting for unfinished jobs....
  CC      net/wireless/ibss.o
  LD      drivers/extcon/built-in.o
  CC      drivers/firmware/tegra/bpmp_tty.o
  CC      drivers/firmware/tegra/mail.o
  CC      drivers/firmware/tegra/mail_t186.o
  CC      drivers/firmware/tegra/mail_t210.o
  CC      drivers/firmware/tegra/mailman.o
  CC      net/wireless/sme.o
  CC      net/wireless/chan.o
  CC      drivers/gpio/gpiolib-legacy.o
  LD      drivers/firmware/tegra/built-in.o
  LD      drivers/firmware/built-in.o
  CC      net/wireless/ethtool.o
  CC      drivers/gpio/gpiolib-of.o
  CC      drivers/gpio/gpiolib-sysfs.o
  CC      net/wireless/mesh.o
  CC      drivers/gpio/gpio-max77620.o
  CC      net/wireless/ap.o
  CC      net/wireless/trace.o
  CC      drivers/gpio/gpio-pca953x.o
  CC      drivers/gpio/gpio-tegra.o
  CC      net/wireless/ocb.o
  CC      drivers/gpio/gpio-tmpm32xi2c.o
  LD      drivers/gpio/built-in.o
Makefile:976: recipe for target 'drivers' failed
make: *** [drivers] Error 2
make: *** Waiting for unfinished jobs....
  LD      net/wireless/cfg80211.o
  LD      net/wireless/built-in.o
  LD      net/built-in.o

Some const qualifier complaints can be from newer compilers (in other words, it is possible if your compiler is too new, then you could revert to an earlier compiler and it would work…most notably the 7.x compilers tend to complain about the const being repeated, whereas prior compilers do not). What is your compiler version? E.g., “${CROSS_COMPILE}gcc --version”?

This output is from on the Jetson TX2, not a crosscompiler. My gcc --version on the jetson is 5.4.0

Is this R28.1? Or R28.2DP (pre-release)? Did you use source_sync.sh to download the kernel?

R28.1. I got the kernel from

wget http://developer.download.nvidia.com/embedded/L4T/r28_Release_v1.0/BSP/source_release.tbz2
tar -xvf source_release.tbz2
tar -xvf sources/kernel_src-tx2.tbz2

I just compiled the source_sync.sh downloaded kernel natively on R28.2 pre-release (compiler 5.4.0) using the config from the R28.2 running system without problem. I think probably the issue is with that particular source download.

What I suggest is to get all of the related files with this. From the driver package you will find “Linux_for_Tegra/source_sync.sh”. Copy this to your TX2, e.g., to “/usr/local/src” (this is what I use). Then run:

sudo ./source_sync.sh -k tegra-l4t-r28.1

This will download the kernel and some related device directory into a “sources/” subdirectory. The actual kernel to compile will be in “sources/kernel/kernel-4.4/”. Then build natively after correct config and it should work.

Trying this now, thanks.

I also noticed in my particular sources was an rt-patches folder with various patches (information found here: https://github.com/kozyilmaz/nvidia-jetson-rt/blob/master/docs/README.03-realtime.md

So I’ll try those rt patches as well instead.

I obtained the sources through you command and was able to successfully compile using

sudo make -j4

Next I cleared my temporary directory and applied the patches provided in the kernel/kernel-4.4 through

sudo ./source_sync.sh -k tegra-l4t-r28.1
cd sources/kernel/kernel-4.4
for i in rt-patches/*.patch; do patch -p1 < $i; done
make menuconfig

and then
I updated the CONFIG_LOCALVERSION="-rt", “CONFIG_HZ_1000=y” and CONFIG_PREEMPT_RT_FULL=y for real-time scheduling.

Just a note again, this is being done on the Jetson TX2 which right now has

nvidia@tegra-ubuntu:~/tmp/sources/kernel/kernel-4.4$ uname -a
Linux tegra-ubuntu 4.4.38+ #7 SMP PREEMPT Tue Nov 7 12:35:49 EST 2017 aarch64 aarch64 aarch64 GNU/Linux

When compiling I get the following

[code]
nvidia@tegra-ubuntu:~/tmp/sources/kernel/kernel-4.4$ sudo make -j4
scripts/kconfig/conf --silentoldconfig Kconfig

configuration written to .config

CHK include/config/kernel.release
WRAP arch/arm64/include/generated/asm/bugs.h
WRAP arch/arm64/include/generated/asm/bug.h
WRAP arch/arm64/include/generated/asm/checksum.h
WRAP arch/arm64/include/generated/asm/cputime.h
CHK include/generated/uapi/linux/version.h
WRAP arch/arm64/include/generated/asm/clkdev.h
WRAP arch/arm64/include/generated/asm/current.h
UPD include/generated/uapi/linux/version.h
WRAP arch/arm64/include/generated/asm/delay.h
WRAP arch/arm64/include/generated/asm/div64.h
WRAP arch/arm64/include/generated/asm/dma.h
WRAP arch/arm64/include/generated/asm/dma-contiguous.h
WRAP arch/arm64/include/generated/asm/early_ioremap.h
WRAP arch/arm64/include/generated/asm/emergency-restart.h
WRAP arch/arm64/include/generated/asm/errno.h
WRAP arch/arm64/include/generated/asm/ftrace.h
WRAP arch/arm64/include/generated/asm/hw_irq.h
WRAP arch/arm64/include/generated/asm/ioctl.h
WRAP arch/arm64/include/generated/asm/ioctls.h
WRAP arch/arm64/include/generated/asm/ipcbuf.h
WRAP arch/arm64/include/generated/asm/irq_regs.h
WRAP arch/arm64/include/generated/asm/kdebug.h
WRAP arch/arm64/include/generated/asm/kmap_types.h
WRAP arch/arm64/include/generated/asm/kvm_para.h
WRAP arch/arm64/include/generated/asm/local.h
WRAP arch/arm64/include/generated/asm/local64.h
HOSTCC scripts/basic/bin2c
WRAP arch/arm64/include/generated/asm/mcs_spinlock.h
WRAP arch/arm64/include/generated/asm/mm-arch-hooks.h
WRAP arch/arm64/include/generated/asm/mman.h
WRAP arch/arm64/include/generated/asm/msgbuf.h
WRAP arch/arm64/include/generated/asm/msi.h
WRAP arch/arm64/include/generated/asm/mutex.h
WRAP arch/arm64/include/generated/asm/pci.h
WRAP arch/arm64/include/generated/asm/pci-bridge.h
WRAP arch/arm64/include/generated/asm/poll.h
WRAP arch/arm64/include/generated/asm/preempt.h
WRAP arch/arm64/include/generated/asm/resource.h
WRAP arch/arm64/include/generated/asm/rwsem.h
WRAP arch/arm64/include/generated/asm/sections.h
WRAP arch/arm64/include/generated/asm/segment.h
WRAP arch/arm64/include/generated/asm/sembuf.h
WRAP arch/arm64/include/generated/asm/serial.h
WRAP arch/arm64/include/generated/asm/shmbuf.h
WRAP arch/arm64/include/generated/asm/simd.h
WRAP arch/arm64/include/generated/asm/sizes.h
WRAP arch/arm64/include/generated/asm/socket.h
WRAP arch/arm64/include/generated/asm/sockios.h
WRAP arch/arm64/include/generated/asm/swab.h
WRAP arch/arm64/include/generated/asm/switch_to.h
WRAP arch/arm64/include/generated/asm/termbits.h
WRAP arch/arm64/include/generated/asm/termios.h
WRAP arch/arm64/include/generated/asm/topology.h
WRAP arch/arm64/include/generated/asm/trace_clock.h
WRAP arch/arm64/include/generated/asm/types.h
WRAP arch/arm64/include/generated/asm/unaligned.h
WRAP arch/arm64/include/generated/asm/user.h
WRAP arch/arm64/include/generated/asm/vga.h
WRAP arch/arm64/include/generated/asm/xor.h
WRAP arch/arm64/include/generated/uapi/asm/kvm_para.h
UPD include/config/kernel.release
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
HOSTCC scripts/dtc/dtc.o
HOSTCC scripts/dtc/flattree.o
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
CC scripts/mod/devicetable-offsets.s
MKELF scripts/mod/elfconfig.h
GEN scripts/mod/devicetable-offsets.h
HOSTCC scripts/mod/sumversion.o
Generating include/generated/mach-types.h
CC kernel/bounds.s
CHK include/generated/timeconst.h
UPD include/generated/timeconst.h
CHK include/generated/bounds.h
UPD include/generated/bounds.h
CC arch/arm64/kernel/asm-offsets.s
HOSTCC scripts/dtc/fstree.o
HOSTCC scripts/dtc/data.o
HOSTCC scripts/mod/modpost.o
CHK include/generated/asm-offsets.h
UPD include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
HOSTCC scripts/dtc/livetree.o
HOSTCC scripts/dtc/treesource.o
HOSTCC scripts/dtc/srcpos.o
HOSTCC scripts/dtc/checks.o
HOSTCC scripts/dtc/util.o
HOSTCC scripts/mod/file2alias.o
SHIPPED scripts/dtc/dtc-lexer.lex.c
SHIPPED scripts/dtc/dtc-parser.tab.h
HOSTCC scripts/kallsyms
SHIPPED scripts/dtc/dtc-parser.tab.c
HOSTCC scripts/dtc/dtc-lexer.lex.o
HOSTCC scripts/pnmtologo
HOSTCC scripts/conmakehash
HOSTCC scripts/sortextable
HOSTCC scripts/dtc/dtc-parser.tab.o
HOSTLD scripts/mod/modpost
HOSTLD scripts/dtc/dtc
CC init/main.o
CHK include/generated/compile.h
HOSTCC usr/gen_init_cpio
UPD include/generated/compile.h
LDS arch/arm64/kernel/vdso/vdso.lds
CC arch/arm64/mm/dma-mapping.o
VDSOA arch/arm64/kernel/vdso/gettimeofday.o
VDSOA arch/arm64/kernel/vdso/note.o
VDSOA arch/arm64/kernel/vdso/sigreturn.o
VDSOL arch/arm64/kernel/vdso/vdso.so.dbg
OBJCOPY arch/arm64/kernel/vdso/vdso.so
VDSOSYM arch/arm64/kernel/vdso/vdso-offsets.h
AS arch/arm64/kernel/vdso/vdso.o
LD arch/arm64/kernel/vdso/built-in.o
AS arch/arm64/kernel/head.o
LDS arch/arm64/kernel/vmlinux.lds
CC arch/arm64/kernel/debug-monitors.o
GEN usr/initramfs_data.cpio.gz
AS usr/initramfs_data.o
LD usr/built-in.o
AS arch/arm64/kernel/entry.o
CC arch/arm64/kernel/irq.o
CC arch/arm64/kernel/fpsimd.o
AS arch/arm64/kernel/entry-fpsimd.o
CC arch/arm64/kernel/process.o
CC init/do_mounts.o
CC arch/arm64/kernel/ptrace.o
CC arch/arm64/kernel/setup.o
CC init/do_mounts_rd.o
CC arch/arm64/kernel/signal.o
CC arch/arm64/mm/extable.o
CC arch/arm64/kernel/sys.o
CC init/do_mounts_initrd.o
CC arch/arm64/mm/fault.o
CC arch/arm64/kernel/stacktrace.o
CC arch/arm64/kernel/time.o
CC arch/arm64/kernel/traps.o
CC init/do_mounts_dm.o
CC arch/arm64/kernel/io.o
CC arch/arm64/mm/init.o
CC arch/arm64/kernel/vdso.o
AS arch/arm64/kernel/hyp-stub.o
CC arch/arm64/kernel/psci.o
CC init/noinitramfs.o
AS arch/arm64/kernel/psci-call.o
CC arch/arm64/kernel/cpu_ops.o
AS arch/arm64/mm/cache.o
CC arch/arm64/mm/copypage.o
CC arch/arm64/kernel/insn.o
CC arch/arm64/mm/flush.o
CC init/initramfs.o
CC arch/arm64/kernel/return_address.o
CC arch/arm64/mm/ioremap.o
CC arch/arm64/kernel/cpuinfo.o
CC arch/arm64/kernel/cpu_errata.o
CC arch/arm64/mm/mmap.o
CC arch/arm64/kernel/cpufeature.o
CC init/calibrate.o
CC arch/arm64/kernel/alternative.o
CC init/init_task.o
CC arch/arm64/mm/pgd.o
CC arch/arm64/kernel/cacheinfo.o
CC arch/arm64/kernel/smp.o
CC arch/arm64/mm/mmu.o
CC init/version.o
CC arch/arm64/kernel/smp_spin_table.o
LD init/mounts.o
LD init/built-in.o
LD arch/arm64/net/built-in.o
CC arch/arm64/crypto/sha1-ce-glue.o
AS arch/arm64/crypto/sha1-ce-core.o
CC arch/arm64/mm/context.o
AS arch/arm64/mm/proc.o
CC arch/arm64/mm/pageattr.o
CC arch/arm64/crypto/sha2-ce-glue.o
CC arch/arm64/kernel/topology.o
CC kernel/fork.o
LD arch/arm64/mm/built-in.o
CC kernel/exec_domain.o
AS arch/arm64/crypto/sha2-ce-core.o
CC arch/arm64/kernel/sys32.o
CC arch/arm64/crypto/ghash-ce-glue.o
CC kernel/panic.o
AS arch/arm64/kernel/kuser32.o
CC arch/arm64/kernel/signal32.o
AS arch/arm64/crypto/ghash-ce-core.o
CC arch/arm64/crypto/aes-ce-cipher.o
CC kernel/cpu.o
CC arch/arm64/crypto/aes-ce-ccm-glue.o
CC arch/arm64/kernel/sys_compat.o
CC kernel/exit.o
AS arch/arm64/crypto/aes-ce-ccm-core.o
CC arch/arm64/crypto/aes-glue-ce.o
AS arch/arm64/kernel/entry32.o
CC arch/arm64/kernel/…/…/arm/kernel/opcodes.o
CC kernel/softirq.o
CC arch/arm64/kernel/arm64ksyms.o
AS arch/arm64/crypto/aes-ce.o
CC arch/arm64/crypto/aes-glue-neon.o
CC arch/arm64/kernel/module.o
AS arch/arm64/crypto/aes-neon.o
LD arch/arm64/crypto/sha1-ce.o
LD arch/arm64/crypto/sha2-ce.o
LD arch/arm64/crypto/ghash-ce.o
LD arch/arm64/crypto/aes-ce-ccm.o
LD arch/arm64/crypto/aes-ce-blk.o
LD arch/arm64/crypto/aes-neon-blk.o
LD arch/arm64/crypto/built-in.o
CC arch/arm64/kernel/perf_regs.o
CC arch/arm64/kernel/perf_callchain.o
CC kernel/resource.o
CC kernel/sysctl.o
CC arch/arm64/kernel/perf_event.o
CC arch/arm64/kernel/hw_breakpoint.o
AS arch/arm64/kernel/sleep.o
CC arch/arm64/kernel/suspend.o
CC kernel/sysctl_binary.o
CC kernel/capability.o
CC arch/arm64/kernel/cpuidle.o
CC arch/arm64/kernel/pci.o
CC kernel/ptrace.o
LD certs/built-in.o
CC mm/filemap.o
CC mm/mempool.o
CC arch/arm64/kernel/bios32.o
CC mm/oom_kill.o
CC arch/arm64/kernel/armv8_deprecated.o
CC kernel/user.o
CC kernel/signal.o
CC mm/maccess.o
LD arch/arm64/kernel/built-in.o
CC fs/open.o
CC fs/read_write.o
CC mm/page_alloc.o
CC mm/page-writeback.o
CC fs/file_table.o
CC fs/super.o
CC kernel/sys.o
CC fs/char_dev.o
CC mm/readahead.o
CC mm/swap.o
CC kernel/kmod.o
CC fs/stat.o
CC mm/truncate.o
CC fs/exec.o
CC kernel/workqueue.o
CC mm/vmscan.o
CC mm/shmem.o
CC fs/pipe.o
CC fs/namei.o
CC mm/util.o
CC kernel/pid.o
CC mm/mmzone.o
CC mm/vmstat.o
CC mm/backing-dev.o
CC kernel/task_work.o
CC kernel/extable.o
CC mm/mm_init.o
CC mm/mmu_context.o
CC kernel/params.o
CC mm/percpu.o
CC mm/slab_common.o
CC fs/fcntl.o
CC kernel/kthread.o
CC fs/ioctl.o
CC fs/readdir.o
CC kernel/sys_ni.o
CC mm/compaction.o
CC kernel/nsproxy.o
CC fs/select.o
CC fs/dcache.o
CC kernel/notifier.o
CC kernel/ksysfs.o
CC kernel/cred.o
CC fs/inode.o
CC mm/vmacache.o
CC mm/interval_tree.o
CC kernel/reboot.o
CC fs/attr.o
CC mm/list_lru.o
CC kernel/async.o
CC fs/bad_inode.o
CC kernel/range.o
CC mm/workingset.o
CC mm/debug.o
CC kernel/smpboot.o
CC fs/file.o
CC mm/gup.o
CC mm/highmem.o
CC kernel/groups.o
CC mm/memory.o
CC fs/filesystems.o
CC kernel/bpf/core.o
CC ipc/compat.o
CC fs/namespace.o
CC ipc/util.o
LD kernel/bpf/built-in.o
CC kernel/events/core.o
CC ipc/msgutil.o
CC mm/mincore.o
CC ipc/msg.o
CC mm/mlock.o
CC fs/seq_file.o
CC ipc/sem.o
CC mm/mmap.o
CC fs/xattr.o
CC ipc/shm.o
CC fs/libfs.o
CC mm/mprotect.o
CC ipc/syscall.o
CC ipc/ipc_sysctl.o
CC fs/fs-writeback.o
CC ipc/namespace.o
CC mm/mremap.o
CC kernel/events/ring_buffer.o
LD ipc/built-in.o
CC security/commoncap.o
CC mm/msync.o
CC kernel/events/callchain.o
CC security/min_addr.o
CC mm/rmap.o
CC security/security.o
CC kernel/events/hw_breakpoint.o
LD kernel/events/built-in.o
CC kernel/irq/irqdesc.o
CC fs/pnode.o
CC mm/vmalloc.o
CC kernel/irq/handle.o
CC fs/splice.o
CC kernel/irq/manage.o
CC security/lsm_audit.o
CC mm/pagewalk.o
CC fs/sync.o
CC kernel/irq/spurious.o
CC mm/pgtable-generic.o
CC security/integrity/iint.o
CC kernel/irq/resend.o
CC fs/utimes.o
CC mm/process_vm_access.o
CC security/integrity/integrity_audit.o
CC kernel/irq/chip.o
CC fs/stack.o
LD security/integrity/integrity.o
LD security/integrity/built-in.o
LD security/built-in.o
CC crypto/api.o
CC mm/init-mm.o
CC mm/nobootmem.o
CC fs/fs_struct.o
CC kernel/irq/dummychip.o
CC fs/statfs.o
CC mm/fadvise.o
CC crypto/cipher.o
CC kernel/irq/devres.o
CC fs/fs_pin.o
CC kernel/irq/autoprobe.o
CC mm/madvise.o
CC crypto/compress.o
CC fs/nsfs.o
CC kernel/irq/irqdomain.o
CC crypto/memneq.o
CC fs/buffer.o
CC mm/memblock.o
CC crypto/crypto_wq.o
CC kernel/irq/proc.o
CC crypto/algapi.o
CC mm/page_io.o
CC kernel/irq/cpuhotplug.o
CC kernel/irq/pm.o
CC mm/swap_state.o
CC crypto/scatterwalk.o
CC kernel/irq/msi.o
CC fs/block_dev.o
CC mm/swapfile.o
CC crypto/proc.o
LD kernel/irq/built-in.o
LD kernel/livepatch/built-in.o
CC kernel/locking/semaphore.o
CC crypto/aead.o
CC kernel/locking/percpu-rwsem.o
CC kernel/locking/spinlock.o
CC fs/direct-io.o
CC kernel/locking/lglock.o
CC crypto/ablkcipher.o
CC kernel/locking/rtmutex.o
CC mm/dmapool.o
CC crypto/blkcipher.o
CC kernel/locking/rt.o
CC mm/sparse.o
CC fs/mpage.o
CC mm/sparse-vmemmap.o
LD kernel/locking/built-in.o
CC kernel/power/qos.o
CC crypto/skcipher.o
CC mm/ksm.o
CC fs/proc_namespace.o
CC crypto/chainiv.o
CC fs/autofs4/init.o
CC kernel/power/main.o
CC crypto/eseqiv.o
CC fs/autofs4/inode.o
CC kernel/power/console.o
CC crypto/ahash.o
CC mm/slub.o
CC fs/autofs4/root.o
CC kernel/power/process.o
CC crypto/shash.o
CC fs/autofs4/symlink.o
CC kernel/power/suspend.o
CC fs/autofs4/waitq.o
CC crypto/pcompress.o
CC fs/autofs4/expire.o
CC kernel/power/poweroff.o
CC crypto/akcipher.o
CC kernel/power/wakeup_reason.o
CC fs/autofs4/dev-ioctl.o
CC crypto/kpp.o
LD kernel/power/built-in.o
CC kernel/printk/printk.o
CC crypto/ecc.o
LD fs/autofs4/autofs4.o
LD fs/autofs4/built-in.o
LD fs/cifs/built-in.o
CC [M] fs/cifs/cifsfs.o
CC mm/migrate.o
CC crypto/ecdh.o
CC [M] fs/cifs/cifssmb.o
CC mm/kmemleak.o
LD kernel/printk/built-in.o
CC kernel/rcu/update.o
CC crypto/ecdh_helper.o
CC crypto/ecdsa.o
CC kernel/rcu/sync.o
CC kernel/rcu/srcu.o
CC crypto/ecdsa_helper.o
CC mm/page_isolation.o
CC crypto/algboss.o
CC kernel/rcu/tree.o
CC mm/zsmalloc.o
CC crypto/testmgr.o
CC mm/early_ioremap.o
CC mm/cma.o
CC [M] fs/cifs/cifs_debug.o
LD kernel/rcu/built-in.o
CC kernel/sched/core.o
CC mm/frame_vector.o
CC crypto/hmac.o
LD mm/built-in.o
CC kernel/sched/loadavg.o
CC [M] fs/cifs/connect.o
CC kernel/sched/clock.o
CC crypto/crypto_null.o
CC kernel/sched/cputime.o
CC crypto/md5.o
CC kernel/sched/idle_task.o
CC crypto/sha1_generic.o
CC kernel/sched/fair.o
CC crypto/ecb.o
CC crypto/cbc.o
CC crypto/cryptd.o
CC [M] fs/cifs/dir.o
CC crypto/des_generic.o
CC [M] fs/cifs/file.o
CC crypto/twofish_generic.o
CC kernel/sched/rt.o
CC crypto/twofish_common.o
CC kernel/sched/deadline.o
CC crypto/aes_generic.o
CC crypto/arc4.o
CC kernel/sched/stop_task.o
CC crypto/deflate.o
CC kernel/sched/wait.o
CC [M] fs/cifs/inode.o
CC crypto/crc32c_generic.o
CC kernel/sched/swait.o
CC kernel/sched/swork.o
CC crypto/authenc.o
CC kernel/sched/completion.o
CC kernel/sched/idle.o
CC kernel/sched/cpupri.o
CC kernel/sched/cpudeadline.o
CC crypto/authencesn.o
CC crypto/lzo.o
CC kernel/sched/stats.o
CC crypto/rng.o
CC [M] fs/cifs/link.o
CC kernel/sched/cpuacct.o
CC crypto/ablk_helper.o
CC [M] crypto/echainiv.o
CC kernel/sched/cpufreq.o
CC [M] crypto/cmac.o
CC [M] crypto/md4.o
CC kernel/sched/cpufreq_schedutil.o
CC [M] fs/cifs/misc.o
CC [M] crypto/sha256_generic.o
CC [M] crypto/drbg.o
LD kernel/sched/built-in.o
CC kernel/time/time.o
CC [M] fs/cifs/netmisc.o
CC kernel/time/timer.o
CC [M] crypto/jitterentropy.o
CC [M] crypto/jitterentropy-kcapi.o
CC kernel/time/hrtimer.o
CC [M] crypto/tcrypt.o
CC [M] fs/cifs/smbencrypt.o
CC kernel/time/itimer.o
CC [M] fs/cifs/transport.o
CC kernel/time/posix-timers.o
CC kernel/time/posix-cpu-timers.o
LD crypto/crypto.o
LD crypto/crypto_algapi.o
LD crypto/crypto_blkcipher.o
LD crypto/crypto_hash.o
LD crypto/ecdh_generic.o
LD crypto/ecdsa_generic.o
LD crypto/cryptomgr.o
CC kernel/time/timekeeping.o
LD [M] crypto/jitterentropy_rng.o
LD crypto/built-in.o
CC block/bio.o
CC [M] fs/cifs/asn1.o
CC block/elevator.o
CC [M] fs/cifs/cifs_unicode.o
CC kernel/time/ntp.o
CC block/blk-core.o
CC drivers/…/…/t18x/drivers/clk/tegra/clk-bpmp.o
CC kernel/time/clocksource.o
CC [M] fs/cifs/nterr.o
CC drivers/…/…/t18x/drivers/clk/tegra/clk-fake.o
CC [M] fs/cifs/xattr.o
CC drivers/…/…/t18x/drivers/clk/tegra/clk-tegra.o
CC kernel/time/jiffies.o
CC kernel/time/timer_list.o
LD drivers/…/…/t18x/drivers/clk/tegra/built-in.o
LD drivers/…/…/t18x/drivers/clk/built-in.o
CC drivers/…/…/t18x/drivers/clocksource/tegra186_timer.o
CC [M] fs/cifs/cifsencrypt.o
LD drivers/…/…/t18x/drivers/clocksource/built-in.o
CC drivers/…/…/t18x/drivers/cpufreq/tegra_cpufreq.o
CC kernel/time/timeconv.o
CC kernel/time/timecounter.o
CC kernel/time/posix-clock.o
CC kernel/time/alarmtimer.o
CC [M] fs/cifs/readdir.o
CC drivers/…/…/t18x/drivers/cpufreq/tegra_cluster_clk.o
CC block/blk-tag.o
CC kernel/time/clockevents.o
CC drivers/…/…/t18x/drivers/cpufreq/tegra_cpufreq_hv.o
CC block/blk-sysfs.o
LD drivers/…/…/t18x/drivers/cpufreq/built-in.o
CC drivers/…/…/t18x/drivers/cpuidle/cpuidle-tegra18x.o
CC kernel/time/tick-common.o
CC [M] fs/cifs/ioctl.o
CC block/blk-flush.o
LD drivers/…/…/t18x/drivers/cpuidle/built-in.o
CC drivers/…/…/t18x/drivers/crypto/tegra-se-nvhost.o
CC kernel/time/tick-broadcast.o
CC [M] fs/cifs/sess.o
CC block/blk-settings.o
CC kernel/time/tick-broadcast-hrtimer.o
CC kernel/time/sched_clock.o
CC block/blk-ioc.o
CC kernel/time/tick-oneshot.o
CC [M] fs/cifs/export.o
CC kernel/time/tick-sched.o
CC block/blk-map.o
LD drivers/…/…/t18x/drivers/crypto/built-in.o
CC drivers/…/…/t18x/drivers/dma/tegra186-gpc-dma.o
CC [M] fs/cifs/smb1ops.o
CC block/blk-exec.o
CC kernel/time/timer_stats.o
CC block/blk-merge.o
CC kernel/time/timekeeping_debug.o
CC drivers/…/…/t18x/drivers/dma/tegra18x-adma.o
LD kernel/time/built-in.o
CC kernel/trace/trace_clock.o
CC [M] fs/cifs/winucase.o
LD drivers/…/…/t18x/drivers/dma/built-in.o
LD [M] fs/cifs/cifs.o
CC drivers/…/…/t18x/drivers/gpio/gpio-tegra186.o
CC fs/configfs/inode.o
CC kernel/trace/ring_buffer.o
CC block/blk-softirq.o
CC fs/configfs/file.o
LD drivers/…/…/t18x/drivers/gpio/built-in.o
CC drivers/…/…/t18x/drivers/i2c/busses/i2c-bpmp-tegra.o
CC block/blk-timeout.o
CC fs/configfs/dir.o
CC drivers/…/…/t18x/drivers/i2c/busses/i2c-t18x-slave.o
CC block/blk-iopoll.o
CC drivers/…/…/t18x/drivers/i2c/busses/i2c-t18x-client.o
CC fs/configfs/symlink.o
CC block/blk-lib.o
CC kernel/trace/trace.o
LD drivers/…/…/t18x/drivers/i2c/busses/built-in.o
LD drivers/…/…/t18x/drivers/i2c/built-in.o
LD drivers/…/…/t18x/drivers/net/can/mttcan/built-in.o
LD drivers/…/…/t18x/drivers/net/can/mttcan/native/built-in.o
CC [M] drivers/…/…/t18x/drivers/net/can/mttcan/native/m_ttcan_linux.o
CC fs/configfs/mount.o
CC block/blk-mq.o
CC fs/configfs/item.o
LD fs/configfs/configfs.o
LD fs/configfs/built-in.o
CC fs/debugfs/inode.o
CC [M] drivers/…/…/t18x/drivers/net/can/mttcan/native/m_ttcan_sys.o
CC fs/debugfs/file.o
CC block/blk-mq-tag.o
CC [M] drivers/…/…/t18x/drivers/net/can/mttcan/native/…/hal/m_ttcan.o
LD fs/debugfs/debugfs.o
LD fs/debugfs/built-in.o
CC fs/devpts/inode.o
CC block/blk-mq-sysfs.o
CC kernel/trace/trace_output.o
LD fs/devpts/devpts.o
LD fs/devpts/built-in.o
LD fs/exofs/built-in.o
CC fs/exportfs/expfs.o
CC [M] drivers/…/…/t18x/drivers/net/can/mttcan/native/…/hal/m_ttcan_intr.o
LD fs/exportfs/exportfs.o
LD fs/exportfs/built-in.o
CC fs/ext4/balloc.o
CC block/blk-mq-cpu.o
CC [M] drivers/…/…/t18x/drivers/net/can/mttcan/native/…/hal/m_ttcan_list.o
CC block/blk-mq-cpumap.o
CC kernel/trace/trace_seq.o
CC block/ioctl.o
CC kernel/trace/trace_stat.o
CC [M] drivers/…/…/t18x/drivers/net/can/mttcan/native/…/hal/m_ttcan_ram.o
CC fs/ext4/bitmap.o
CC kernel/trace/trace_printk.o
CC fs/ext4/dir.o
CC block/genhd.o
CC [M] drivers/…/…/t18x/drivers/net/can/mttcan/native/…/hal/m_ttcan_tt.o
CC kernel/trace/trace_sched_switch.o
LD [M] drivers/…/…/t18x/drivers/net/can/mttcan/native/mttcan.o
LD drivers/…/…/t18x/drivers/net/can/built-in.o
CC fs/ext4/file.o
LD drivers/…/…/t18x/drivers/net/built-in.o
LD drivers/…/…/t18x/drivers/padctrl/built-in.o
CC drivers/…/…/t18x/drivers/pinctrl/pinctrl-tegra186.o
CC kernel/trace/trace_nop.o
CC block/scsi_ioctl.o
CC drivers/…/…/t18x/drivers/pinctrl/pinctrl-tegra186-padctl.o
CC kernel/trace/blktrace.o
CC fs/ext4/fsync.o
CC kernel/trace/trace_events.o
CC block/partition-generic.o
CC fs/ext4/ialloc.o
CC block/ioprio.o
CC block/partitions/check.o
LD drivers/…/…/t18x/drivers/pinctrl/built-in.o
CC drivers/…/…/t18x/drivers/platform/tegra/tegra18_speedo.o
CC drivers/…/…/t18x/drivers/platform/tegra/panel-simulator.o
CC kernel/trace/trace_export.o
CC fs/ext4/inode.o
CC block/partitions/msdos.o
CC drivers/…/…/t18x/drivers/platform/tegra/tegra-mce.o
CC kernel/trace/trace_event_perf.o
CC block/partitions/efi.o
CC drivers/…/…/t18x/drivers/platform/tegra/tegra-roc.o
CC kernel/trace/trace_events_filter.o
CC drivers/…/…/t18x/drivers/platform/tegra/tegra186-aowake.o
LD block/partitions/built-in.o
CC block/bounce.o
CC drivers/…/…/t18x/drivers/platform/tegra/tegra186-system-config.o
CC drivers/…/…/t18x/drivers/platform/tegra/tegra-camera-rtcpu.o
CC block/noop-iosched.o
CC kernel/trace/trace_events_trigger.o
CC block/compat_ioctl.o
CC drivers/…/…/t18x/drivers/platform/tegra/mc/mcerr_ecc_t18x.o
CC kernel/trace/power-traces.o
LD block/built-in.o
CC drivers/…/…/t18x/drivers/platform/tegra/mc/mc_addr_translate.o
CC fs/ext4/page-io.o
CC drivers/…/…/t18x/drivers/platform/tegra/mc/mcerr-t18x.o
CC drivers/…/…/t18x/drivers/platform/tegra/mc/tegra18_emc.o
CC drivers/…/…/t18x/drivers/platform/tegra/powergate/powergate-t186.o
CC fs/ext4/ioctl.o
LD drivers/…/…/t18x/drivers/platform/tegra/powergate/built-in.o
CC drivers/…/…/t18x/drivers/platform/tegra/mc/bwmgr_mc_t186.o
CC drivers/…/…/t18x/drivers/platform/tegra/mc/tegra18x_la.o
CC kernel/trace/rpm-traces.o
CC drivers/…/…/t18x/drivers/platform/tegra/mc/tegra186-mc-sid.o
LD kernel/trace/built-in.o
CC kernel/freezer.o
CC kernel/stacktrace.o
CC kernel/futex.o
CC fs/ext4/namei.o
CC kernel/futex_compat.o
CC kernel/smp.o
CC kernel/uid16.o
CC kernel/module.o
LD drivers/…/…/t18x/drivers/platform/tegra/mc/built-in.o
CC drivers/…/…/t18x/drivers/platform/tegra/rtcpu/debug.o
CC drivers/…/…/t18x/drivers/platform/tegra/rtcpu/tegra-sysfs-mbox.o
CC drivers/…/…/t18x/drivers/platform/tegra/rtcpu/vi-notify.o
CC fs/ext4/super.o
CC fs/ext4/symlink.o
CC fs/ext4/hash.o
CC drivers/…/…/t18x/drivers/platform/tegra/rtcpu/hsp-mbox.o
CC drivers/…/…/t18x/drivers/platform/tegra/rtcpu/tegra-rtcpu-trace.o
CC fs/ext4/resize.o
CC kernel/kallsyms.o
CC kernel/compat.o
CC fs/ext4/extents.o
CC kernel/cgroup.o
CC drivers/…/…/t18x/drivers/platform/tegra/rtcpu/camchar.o
CC drivers/…/…/t18x/drivers/platform/tegra/rtcpu/rtcpu-monitor.o
CC drivers/…/…/t18x/drivers/platform/tegra/rtcpu/tegra-ivc-rpc.o
CC drivers/…/…/t18x/drivers/platform/tegra/rtcpu/tegra-ivc-rpc-test.o
CC fs/ext4/ext4_jbd2.o
CC kernel/cgroup_freezer.o
CC drivers/…/…/t18x/drivers/platform/tegra/rtcpu/capture-ivc.o
CC fs/ext4/migrate.o
CC fs/ext4/mballoc.o
CC kernel/cpuset.o
LD drivers/…/…/t18x/drivers/platform/tegra/rtcpu/built-in.o
CC drivers/…/…/t18x/drivers/platform/tegra/pm-irq-t18x.o
CC fs/ext4/block_validity.o
CC drivers/…/…/t18x/drivers/platform/tegra/wakeups-t18x.o
CC drivers/…/…/t18x/drivers/platform/tegra/tegra-aon.o
CC fs/ext4/move_extent.o
CC drivers/…/…/t18x/drivers/platform/tegra/tegra-aon-ivc-echo.o
CC kernel/utsname.o
CC drivers/…/…/t18x/drivers/platform/tegra/tegra18_cpu_debugfs.o
CC kernel/pid_namespace.o
CC fs/ext4/mmp.o
CC drivers/…/…/t18x/drivers/platform/tegra/reboot-t18x.o
GZIP kernel/config_data.gz
CC drivers/…/…/t18x/drivers/platform/tegra/pm-tegra186.o
CC kernel/stop_machine.o
CC fs/ext4/indirect.o
CC drivers/…/…/t18x/drivers/platform/tegra/tegra186_aondbg.o
CC kernel/audit.o
CC drivers/…/…/t18x/drivers/platform/tegra/rtcpu/ivc-bus.o
CC fs/ext4/extents_status.o
CC drivers/…/…/t18x/drivers/platform/tegra/rtcpu/hsp-doorbell.o
CC drivers/…/…/t18x/drivers/platform/tegra/ari_mca.o
CC drivers/…/…/t18x/drivers/platform/tegra/tegra18_serr.o
CC kernel/auditfilter.o
CC drivers/…/…/t18x/drivers/platform/tegra/bridge_mca.o
CC fs/ext4/xattr.o
CC drivers/…/…/t18x/drivers/platform/tegra/tegra18_a57_serr.o
CC drivers/…/…/t18x/drivers/platform/tegra/tegra18_throttle.o
CC kernel/auditsc.o
CC kernel/audit_watch.o
CC drivers/…/…/t18x/drivers/platform/tegra/cactmon_t18x.o
CC fs/ext4/xattr_user.o
CC drivers/…/…/t18x/drivers/platform/tegra/tegra18_perf_uncore.o
CC fs/ext4/xattr_trusted.o
CC fs/ext4/inline.o
CC kernel/audit_fsnotify.o
CC fs/ext4/readpage.o
LD drivers/…/…/t18x/drivers/platform/tegra/built-in.o
LD drivers/…/…/t18x/drivers/platform/built-in.o
CC drivers/…/…/t18x/drivers/reset/tegra/reset-bpmp.o
CC drivers/…/…/t18x/drivers/reset/tegra/reset-tegra.o
CC kernel/audit_tree.o
CC drivers/…/…/t18x/drivers/reset/reset-fake.o
LD drivers/…/…/t18x/drivers/reset/tegra/built-in.o
CC fs/ext4/sysfs.o
LD drivers/…/…/t18x/drivers/reset/built-in.o
CC drivers/…/…/t18x/drivers/spi/spi-tegra186-qspi.o
CC drivers/…/…/t18x/drivers/spi/spi-tegra-aon.o
CC fs/ext4/acl.o
CC kernel/watchdog.o
CC fs/ext4/xattr_security.o
CC drivers/…/…/t18x/drivers/tachometer/core.o
LD fs/ext4/ext4.o
LD drivers/…/…/t18x/drivers/spi/built-in.o
CC drivers/…/…/t18x/drivers/tachometer/tachometer-tegra.o
LD fs/ext4/built-in.o
CC kernel/seccomp.o
LD fs/fat/built-in.o
CC [M] fs/fat/cache.o
CC [M] fs/fat/dir.o
LD drivers/…/…/t18x/drivers/tachometer/built-in.o
CC drivers/…/…/t18x/drivers/thermal/tegra_bpmp_thermal.o
LD fs/fuse/built-in.o
CC [M] fs/fuse/dev.o
CC kernel/utsname_sysctl.o
LD drivers/…/…/t18x/drivers/thermal/built-in.o
LD drivers/…/…/t18x/drivers/tty/serial/built-in.o
LD drivers/…/…/t18x/drivers/tty/built-in.o
CC drivers/…/…/t18x/drivers/video/tegra/dc/nvdisp/nvdisp.o
CC kernel/delayacct.o
CC kernel/taskstats.o
CC [M] fs/fat/fatent.o
CC kernel/tsacct.o
CC [M] fs/fuse/dir.o
CC [M] fs/fat/file.o
CC kernel/tracepoint.o
CC [M] fs/fat/inode.o
CC kernel/elfcore.o
CC kernel/irq_work.o
CC [M] fs/fuse/file.o
CC kernel/cpu_pm.o
CC kernel/membarrier.o
CC [M] fs/fat/misc.o
CC kernel/memremap.o
CC [M] fs/fat/nfs.o
CHK kernel/config_data.h
UPD kernel/config_data.h
CC kernel/configs.o
CC [M] fs/fat/namei_vfat.o
LD kernel/built-in.o
CC drivers/…/…/t18x/drivers/video/tegra/dc/nvdisp/nvdisp_win.o
CC [M] fs/fuse/inode.o
LD [M] fs/fat/fat.o
LD [M] fs/fat/vfat.o
CC fs/jbd2/transaction.o
CC [M] fs/fuse/control.o
LD [M] fs/fuse/fuse.o
CC fs/jbd2/commit.o
CC fs/jbd2/recovery.o
CC drivers/…/…/t18x/drivers/video/tegra/dc/nvdisp/nvdisp_stub.o
CC fs/jbd2/checkpoint.o
CC fs/jbd2/revoke.o
CC drivers/…/…/t18x/drivers/video/tegra/dc/nvdisp/nvdisp_cursor.o
CC fs/jbd2/journal.o
CC fs/kernfs/mount.o
CC fs/kernfs/inode.o
CC fs/kernfs/dir.o
CC fs/kernfs/file.o
CC fs/kernfs/symlink.o
CC fs/lockd/clntlock.o
LD fs/kernfs/built-in.o
CC fs/lockd/clntproc.o
LD fs/jbd2/jbd2.o
LD fs/jbd2/built-in.o
CC fs/nfs/client.o
CC fs/nfs/dir.o
CC fs/lockd/clntxdr.o
CC fs/lockd/host.o
CC fs/nfs/file.o
CC drivers/…/…/t18x/drivers/video/tegra/dc/nvdisp/nvdisp_config.o
CC drivers/…/…/t18x/drivers/video/tegra/dc/nvdisp/nvdisp_sd.o
CC fs/lockd/svc.o
CC fs/nfs/getroot.o
CC fs/nfs/inode.o
CC fs/nfs/super.o
CC fs/lockd/svclock.o
CC drivers/…/…/t18x/drivers/video/tegra/dc/nvdisp/nvdisp_bandwidth.o
CC drivers/…/…/t18x/drivers/video/tegra/dc/nvdisp/nvdisp_lut.o
CC fs/lockd/svcshare.o
CC fs/nfs/direct.o
CC fs/nfs/pagelist.o
CC drivers/…/…/t18x/drivers/video/tegra/dc/nvdisp/nvdisp_csc.o
CC fs/lockd/svcproc.o
LD drivers/…/…/t18x/drivers/video/tegra/dc/nvdisp/built-in.o
LD drivers/…/…/t18x/drivers/video/tegra/dc/built-in.o
CC drivers/…/…/t18x/drivers/video/tegra/host/vi/host_vi_notify.o
CC drivers/…/…/t18x/drivers/video/tegra/host/vi/vi4.o
CC fs/lockd/svcsubs.o
CC fs/nfs/read.o
CC drivers/…/…/t18x/drivers/video/tegra/host/vi/vi_notify.o
CC fs/nfs/symlink.o
CC fs/lockd/mon.o
LD drivers/…/…/t18x/drivers/video/tegra/host/vi/built-in.o
LD drivers/…/…/t18x/drivers/video/tegra/host/built-in.o
CC fs/nfs/unlink.o
LD drivers/…/…/t18x/drivers/video/tegra/built-in.o
LD drivers/…/…/t18x/drivers/video/built-in.o
CC sound/sound_core.o
CC drivers/…/…/t18x/drivers/watchdog/tegra_wdt_t18x.o
LD sound/arm/built-in.o
LD sound/atmel/built-in.o
CC sound/core/sound.o
CC fs/lockd/xdr.o
LD drivers/…/…/t18x/drivers/watchdog/built-in.o
LD drivers/…/…/t18x/drivers/built-in.o
CC drivers/amba/bus.o
CC sound/core/init.o
CC fs/nfs/write.o
CC fs/lockd/clnt4xdr.o
CC drivers/amba/tegra-ahb.o
CC sound/core/memory.o
LD drivers/amba/built-in.o
CC drivers/ata/libata-core.o
CC sound/core/control.o
CC fs/lockd/xdr4.o
CC fs/nfs/namespace.o
CC fs/lockd/svc4proc.o
CC sound/core/misc.o
CC sound/core/device.o
CC fs/lockd/procfs.o
CC fs/nfs/mount_clnt.o
CC sound/core/info.o
LD fs/lockd/lockd.o
LD fs/lockd/built-in.o
CC drivers/ata/libata-scsi.o
CC fs/nfs/nfstrace.o
CC sound/core/vmaster.o
CC drivers/ata/libata-eh.o
CC sound/core/ctljack.o
CC sound/core/jack.o
CC sound/core/timer.o
CC drivers/ata/libata-transport.o
CC fs/nfs/nfsroot.o
CC drivers/ata/libata-trace.o
CC fs/nfs/sysctl.o
CC sound/core/pcm.o
CC drivers/ata/libata-sff.o
CC fs/nfs/nfs2super.o
CC fs/nfs/proc.o
CC sound/core/pcm_native.o
CC fs/nfs/nfs2xdr.o
CC fs/nfs/nfs3super.o
CC drivers/ata/libata-pmp.o
CC fs/nfs/nfs3client.o
CC fs/nfs/nfs3proc.o
CC drivers/ata/tegra/ahci_tegra.o
CC fs/nfs_common/grace.o
CC [M] fs/nfs_common/nfsacl.o
CC sound/core/pcm_lib.o
CC fs/nfs/nfs3xdr.o
LD fs/nfs_common/built-in.o
LD [M] fs/nfs_common/nfs_acl.o
LD fs/nfsd/built-in.o
CC [M] fs/nfsd/trace.o
LD drivers/ata/tegra/built-in.o
CC drivers/ata/libahci.o
CC [M] fs/nfsd/nfssvc.o
LD fs/nfs/nfs.o
LD fs/nfs/nfsv2.o
LD fs/nfs/nfsv3.o
LD fs/nfs/built-in.o
CC fs/nls/nls_base.o
CC sound/core/pcm_misc.o
CC [M] fs/nfsd/nfsctl.o
CC fs/nls/nls_cp437.o
CC sound/core/pcm_memory.o
CC drivers/ata/libahci_platform.o
CC fs/nls/nls_iso8859-1.o
LD fs/nls/built-in.o
CC sound/core/memalloc.o
CC sound/core/pcm_timer.o
CC [M] fs/nfsd/nfsproc.o
CC [M] drivers/ata/ahci.o
CC sound/core/pcm_dmaengine.o
LD drivers/auxdisplay/built-in.o
CC [M] fs/nfsd/nfsfh.o
CC [M] fs/nfsd/vfs.o
CC sound/core/rawmidi.o
MK_FW firmware/tigon/tg3.bin.gen.S
IHEX firmware/tigon/tg3.bin
MK_FW firmware/tigon/tg3_tso.bin.gen.S
IHEX firmware/tigon/tg3_tso.bin
MK_FW firmware/tigon/tg3_tso5.bin.gen.S
IHEX firmware/tigon/tg3_tso5.bin
AS firmware/tigon/tg3.bin.gen.o
AS firmware/tigon/tg3_tso.bin.gen.o
AS firmware/tigon/tg3_tso5.bin.gen.o
LD firmware/built-in.o
CC net/socket.o
LD drivers/ata/libata.o
LD drivers/ata/built-in.o
CC drivers/base/component.o
CC drivers/base/core.o
CC [M] fs/nfsd/export.o
CC sound/core/compress_offload.o
CC [M] sound/core/hwdep.o
CC [M] fs/nfsd/auth.o
CC drivers/base/bus.o
CC net/802/p8022.o
CC [M] fs/nfsd/lockd.o
LD sound/core/snd.o
LD sound/core/snd-timer.o
LD sound/core/snd-pcm.o
LD sound/core/snd-pcm-dmaengine.o
LD sound/core/snd-rawmidi.o
LD sound/core/snd-compress.o
LD [M] sound/core/snd-hwdep.o
LD sound/core/built-in.o
LD sound/drivers/mpu401/built-in.o
LD sound/drivers/opl3/built-in.o
LD sound/drivers/opl4/built-in.o
LD sound/drivers/pcsp/built-in.o
LD sound/drivers/vx/built-in.o
LD sound/drivers/built-in.o
LD sound/firewire/built-in.o
CC sound/hda/hda_bus_type.o
CC net/802/psnap.o
CC [M] fs/nfsd/nfscache.o
CC drivers/base/dd.o
CC sound/hda/hdac_bus.o
CC net/802/stp.o
CC drivers/base/syscore.o
CC sound/hda/hdac_device.o
CC [M] fs/nfsd/nfsxdr.o
LD net/802/built-in.o
CC net/8021q/vlan_core.o
CC drivers/base/driver.o
CC sound/hda/hdac_sysfs.o
CC drivers/base/class.o
CC [M] fs/nfsd/stats.o
CC sound/hda/hdac_regmap.o
CC net/8021q/vlan.o
CC [M] fs/nfsd/nfs2acl.o
CC drivers/base/platform.o
CC sound/hda/hdac_controller.o
CC [M] fs/nfsd/nfs3proc.o
CC sound/hda/hdac_stream.o
CC net/8021q/vlan_dev.o
CC drivers/base/cpu.o
CC [M] fs/nfsd/nfs3xdr.o
CC sound/hda/array.o
CC drivers/base/firmware.o
CC sound/hda/trace.o
CC net/8021q/vlan_netlink.o
CC drivers/base/init.o
CC drivers/base/map.o
LD sound/hda/snd-hda-core.o
LD sound/hda/built-in.o
LD sound/i2c/other/built-in.o
LD sound/i2c/built-in.o
LD sound/isa/ad1816a/built-in.o
CC drivers/base/devres.o
LD sound/isa/ad1848/built-in.o
LD sound/isa/cs423x/built-in.o
LD sound/isa/es1688/built-in.o
CC net/8021q/vlanproc.o
LD sound/isa/galaxy/built-in.o
LD sound/isa/gus/built-in.o
LD sound/isa/msnd/built-in.o
LD sound/isa/opti9xx/built-in.o
LD sound/isa/sb/built-in.o
LD sound/isa/wavefront/built-in.o
LD sound/isa/wss/built-in.o
LD sound/isa/built-in.o
LD sound/mips/built-in.o
CC [M] fs/nfsd/nfs3acl.o
LD sound/parisc/built-in.o
LD sound/pci/ac97/built-in.o
LD sound/pci/ali5451/built-in.o
LD sound/pci/asihpi/built-in.o
LD sound/pci/au88x0/built-in.o
LD sound/pci/aw2/built-in.o
LD sound/pci/ca0106/built-in.o
LD sound/pci/cs46xx/built-in.o
LD sound/pci/cs5535audio/built-in.o
LD sound/pci/ctxfi/built-in.o
LD sound/pci/echoaudio/built-in.o
LD sound/pci/emu10k1/built-in.o
CC sound/pci/hda/hda_bind.o
CC drivers/base/attribute_container.o
LD [M] fs/nfsd/nfsd.o
CC fs/notify/fsnotify.o
LD net/8021q/8021q.o
LD net/8021q/built-in.o
LD net/bluetooth/built-in.o
CC [M] net/bluetooth/af_bluetooth.o
CC sound/pci/hda/hda_codec.o
CC drivers/base/transport_class.o
CC fs/notify/notification.o
CC drivers/base/topology.o
CC fs/notify/group.o
CC drivers/base/container.o
CC [M] net/bluetooth/hci_core.o
CC drivers/base/property.o
CC fs/notify/inode_mark.o
CC fs/notify/mark.o
CC drivers/base/cacheinfo.o
CC sound/pci/hda/hda_jack.o
drivers/base/cacheinfo.c:640:12: warning: ‘cacheinfo_cpu_callback’ defined but not used [-Wunused-function]
static int cacheinfo_cpu_callback(struct notifier_block *nfb,
^
CC fs/notify/vfsmount_mark.o
CC drivers/base/devtmpfs.o
CC fs/notify/fdinfo.o
CC sound/pci/hda/hda_auto_parser.o
CC fs/notify/dnotify/dnotify.o
CC drivers/base/dma-contiguous.o
LD fs/notify/dnotify/built-in.o
CC drivers/base/power/sysfs.o
LD fs/notify/fanotify/built-in.o
CC fs/notify/inotify/inotify_fsnotify.o
CC sound/pci/hda/hda_sysfs.o
CC fs/notify/inotify/inotify_user.o
CC [M] net/bluetooth/hci_conn.o
CC drivers/base/power/generic_ops.o
CC sound/pci/hda/hda_controller.o
CC drivers/base/power/common.o
LD fs/notify/inotify/built-in.o
LD fs/notify/built-in.o
LD fs/ntfs/built-in.o
CC [M] fs/ntfs/aops.o
CC drivers/base/power/qos.o
CC [M] fs/ntfs/attrib.o
CC sound/pci/hda/hda_proc.o
CC [M] net/bluetooth/hci_event.o
CC drivers/base/power/runtime.o
CC [M] fs/ntfs/collate.o
CC sound/pci/hda/patch_hdmi.o
CC [M] fs/ntfs/compress.o
CC drivers/base/power/wakeirq.o
CC drivers/base/power/main.o
CC [M] fs/ntfs/debug.o
CC [M] fs/ntfs/dir.o
CC sound/pci/hda/hda_eld.o
CC drivers/base/power/wakeup.o
CC [M] fs/ntfs/file.o
CC sound/pci/hda/hda_intel.o
CC [M] fs/ntfs/index.o
CC drivers/base/power/domain.o
CC [M] fs/ntfs/inode.o
CC [M] net/bluetooth/mgmt.o
CC sound/pci/hda/hda_tegra.o
LD sound/pci/hda/snd-hda-codec.o
LD sound/pci/hda/snd-hda-codec-hdmi.o
LD sound/pci/hda/snd-hda-intel.o
LD sound/pci/hda/snd-hda-tegra.o
LD sound/pci/hda/built-in.o
CC drivers/base/power/domain_governor.o
LD sound/pci/ice1712/built-in.o
LD sound/pci/korg1212/built-in.o
CC [M] fs/ntfs/mft.o
LD sound/pci/lola/built-in.o
LD sound/pci/lx6464es/built-in.o
LD sound/pci/mixart/built-in.o
LD sound/pci/nm256/built-in.o
LD sound/pci/oxygen/built-in.o
LD sound/pci/pcxhr/built-in.o
LD sound/pci/riptide/built-in.o
LD sound/pci/rme9652/built-in.o
LD sound/pci/trident/built-in.o
LD sound/pci/vx222/built-in.o
LD sound/pci/ymfpci/built-in.o
LD sound/pci/built-in.o
LD sound/pcmcia/pdaudiocf/built-in.o
LD sound/pcmcia/vx/built-in.o
LD sound/pcmcia/built-in.o
LD sound/ppc/built-in.o
LD sound/sh/built-in.o
CC sound/soc/soc-core.o
CC drivers/base/power/clock_ops.o
CC [M] fs/ntfs/mst.o
LD drivers/base/power/built-in.o
CC drivers/base/regmap/regmap.o
CC [M] fs/ntfs/namei.o
CC [M] fs/ntfs/runlist.o
CC [M] fs/ntfs/super.o
CC sound/soc/soc-dapm.o
CC drivers/base/regmap/regcache.o
CC [M] fs/ntfs/sysctl.o
CC [M] fs/ntfs/unistr.o
CC [M] net/bluetooth/hci_sock.o
CC drivers/base/regmap/regcache-rbtree.o
CC [M] fs/ntfs/upcase.o
CC drivers/base/regmap/regcache-lzo.o
LD [M] fs/ntfs/ntfs.o
CC fs/proc/task_mmu.o
CC drivers/base/regmap/regcache-flat.o
CC [M] net/bluetooth/hci_sysfs.o
CC drivers/base/regmap/regmap-debugfs.o
CC sound/soc/soc-jack.o
CC fs/proc/inode.o
CC [M] net/bluetooth/l2cap_core.o
CC drivers/base/regmap/regmap-i2c.o
CC sound/soc/soc-cache.o
CC fs/proc/root.o
CC drivers/base/regmap/regmap-spi.o
CC sound/soc/soc-utils.o
CC fs/proc/base.o
CC drivers/base/regmap/regmap-mmio.o
CC sound/soc/soc-pcm.o
CC drivers/base/regmap/regmap-irq.o
LD drivers/base/regmap/built-in.o
CC drivers/base/dma-mapping.o
CC fs/proc/generic.o
CC drivers/base/dma-coherent.o
CC fs/proc/array.o
CC sound/soc/soc-io.o
CC sound/soc/soc-devres.o
CC drivers/base/firmware_class.o
CC fs/proc/fd.o
CC sound/soc/soc-ops.o
CC fs/proc/proc_tty.o
CC fs/proc/cmdline.o
CC drivers/base/module.o
CC sound/soc/soc-compress.o
CC [M] net/bluetooth/l2cap_sock.o
CC fs/proc/consoles.o
CC drivers/base/soc.o
CC fs/proc/cpuinfo.o
CC drivers/base/pinctrl.o
CC fs/proc/devices.o
CC sound/soc/…/…/…/t18x/sound/soc/tegra-alt/tegra186_xbar_alt.o
CC drivers/base/platform-msi.o
CC fs/proc/interrupts.o
LD drivers/base/built-in.o
CC fs/proc/loadavg.o
CC drivers/block/brd.o
CC [M] net/bluetooth/smp.o
CC fs/proc/meminfo.o
CC sound/soc/…/…/…/t18x/sound/soc/tegra-alt/…/…/…/…/kernel-4.4/sound/soc/tegra-alt/tegra210_xbar_alt.o
CC fs/proc/stat.o
CC drivers/block/loop.o
CC fs/proc/uptime.o
CC fs/proc/version.o
CC sound/soc/…/…/…/t18x/sound/soc/tegra-alt/tegra186_arad_alt.o
CC fs/proc/softirqs.o
CC fs/proc/namespaces.o
LD drivers/block/built-in.o
LD drivers/bluetooth/built-in.o
CC [M] drivers/bluetooth/hci_ldisc.o
CC sound/soc/…/…/…/t18x/sound/soc/tegra-alt/tegra186_asrc_alt.o
CC [M] net/bluetooth/lib.o
CC fs/proc/self.o
CC [M] net/bluetooth/ecc.o
CC sound/soc/…/…/…/t18x/sound/soc/tegra-alt/tegra186_afc_alt.o
CC fs/proc/thread_self.o
CC [M] drivers/bluetooth/hci_h4.o
CC fs/proc/task_weight.o
CC sound/soc/…/…/…/t18x/sound/soc/tegra-alt/…/…/…/…/kernel-4.4/sound/soc/tegra-alt/tegra210_afc_alt.o
CC [M] net/bluetooth/hci_request.o
CC fs/proc/proc_sysctl.o
LD [M] drivers/bluetooth/hci_uart.o
LD drivers/bus/built-in.o
LD drivers/cdrom/built-in.o
CC drivers/char/mem.o
CC sound/soc/…/…/…/t18x/sound/soc/tegra-alt/ahub_unit_fpga_clock_t18x.o
CC sound/soc/…/…/…/t18x/sound/soc/tegra-alt/tegra186_dspk_alt.o
CC [M] net/bluetooth/mgmt_util.o
CC drivers/char/random.o
CC fs/proc/proc_net.o
CC sound/soc/…/…/…/t18x/sound/soc/tegra-alt/tegra_asoc_machine_alt_t18x.o
CC [M] net/bluetooth/sco.o
CC fs/proc/kmsg.o
CC sound/soc/…/…/…/t18x/sound/soc/tegra-alt/…/…/…/…/kernel-4.4/sound/soc/tegra-alt/tegra_asoc_machine_alt.o
CC fs/proc/page.o
LD fs/proc/proc.o
LD fs/proc/built-in.o
CC fs/pstore/inode.o
CC sound/soc/…/…/…/t18x/sound/soc/tegra-alt/tegra_t186ref_mobile_rt565x.o
CC drivers/char/misc.o
CC [M] net/bluetooth/a2mp.o
CC fs/pstore/platform.o
LD drivers/char/agp/built-in.o
LD drivers/char/built-in.o
CC drivers/clk/clk-devres.o
CC sound/soc/…/…/…/t18x/sound/soc/tegra-alt/tegra_t186ref_p4573_alt.o
CC drivers/clk/clkdev.o
CC fs/pstore/ram.o
CC drivers/clk/clk.o
CC sound/soc/…/…/…/t18x/sound/soc/tegra-alt/tegra_t186ref_m3420_alt.o
CC [M] net/bluetooth/amp.o
CC fs/pstore/ram_core.o
LD sound/soc/…/…/…/t18x/sound/soc/tegra-alt/snd-soc-tegra186-alt-xbar.o
LD sound/soc/…/…/…/t18x/sound/soc/tegra-alt/snd-soc-tegra186-alt-arad.o
LD sound/soc/…/…/…/t18x/sound/soc/tegra-alt/snd-soc-tegra186-alt-asrc.o
LD sound/soc/…/…/…/t18x/sound/soc/tegra-alt/snd-soc-tegra186-alt-afc.o
LD sound/soc/…/…/…/t18x/sound/soc/tegra-alt/snd-soc-tegra186-alt-fpga-clock.o
LD sound/soc/…/…/…/t18x/sound/soc/tegra-alt/snd-soc-tegra186-alt-dspk.o
LD sound/soc/…/…/…/t18x/sound/soc/tegra-alt/snd-soc-tegra-asoc-machine-alt-t18x.o
LD sound/soc/…/…/…/t18x/sound/soc/tegra-alt/snd-soc-tegra-alt-t186ref-mobile.o
LD sound/soc/…/…/…/t18x/sound/soc/tegra-alt/snd-soc-tegra-alt-t186ref-p4573.o
LD sound/soc/…/…/…/t18x/sound/soc/tegra-alt/snd-soc-tegra-alt-t186ref-m3420.o
LD sound/soc/…/…/…/t18x/sound/soc/tegra-alt/built-in.o
LD sound/soc/…/…/…/t18x/sound/soc/built-in.o
LD sound/soc/adi/built-in.o
LD sound/soc/atmel/built-in.o
LD sound/soc/au1x/built-in.o
LD sound/soc/bcm/built-in.o
LD sound/soc/blackfin/built-in.o
LD sound/soc/cirrus/built-in.o
CC sound/soc/codecs/ad193x.o
LD fs/pstore/pstore.o
LD fs/pstore/ramoops.o
LD fs/pstore/built-in.o
LD fs/quota/built-in.o
CC fs/ramfs/inode.o
CC [M] net/bluetooth/hci_debugfs.o
CC sound/soc/codecs/ad193x-i2c.o
CC fs/ramfs/file-mmu.o
LD fs/ramfs/ramfs.o
LD fs/ramfs/built-in.o
CC fs/sysfs/file.o
CC sound/soc/codecs/cs53l30.o
CC fs/sysfs/dir.o
LD net/bluetooth/bnep/built-in.o
CC [M] net/bluetooth/bnep/core.o
CC drivers/clk/clk-divider.o
CC sound/soc/codecs/spdif_receiver.o
CC fs/sysfs/symlink.o
CC sound/soc/codecs/spdif_transmitter.o
CC drivers/clk/clk-fixed-factor.o
CC fs/sysfs/mount.o
CC fs/sysfs/group.o
CC drivers/clk/clk-fixed-rate.o
CC [M] net/bluetooth/bnep/sock.o
CC sound/soc/codecs/tas2552.o
CC drivers/clk/clk-gate.o
LD fs/sysfs/built-in.o
CC fs/tracefs/inode.o
CC drivers/clk/clk-multiplier.o
CC [M] net/bluetooth/bnep/netdev.o
CC sound/soc/codecs/rt5659.o
CC drivers/clk/clk-mux.o
LD fs/tracefs/tracefs.o
LD fs/tracefs/built-in.o
CC fs/eventpoll.o
CC drivers/clk/clk-composite.o
LD [M] net/bluetooth/bnep/bnep.o
LD net/bluetooth/hidp/built-in.o
CC [M] net/bluetooth/hidp/core.o
CC drivers/clk/clk-fractional-divider.o
CC sound/soc/codecs/rl6231.o
CC drivers/clk/clk-gpio.o
CC fs/anon_inodes.o
LD sound/soc/codecs/snd-soc-ad193x.o
LD sound/soc/codecs/snd-soc-ad193x-i2c.o
LD sound/soc/codecs/snd-soc-cs53l30.o
LD sound/soc/codecs/snd-soc-spdif-rx.o
LD sound/soc/codecs/snd-soc-spdif-tx.o
LD sound/soc/codecs/snd-soc-tas2552.o
LD sound/soc/codecs/snd-soc-rt5659.o
LD sound/soc/codecs/snd-soc-rl6231.o
LD sound/soc/codecs/built-in.o
CC fs/signalfd.o
LD sound/soc/davinci/built-in.o
LD sound/soc/dwc/built-in.o
LD sound/soc/fsl/built-in.o
LD sound/soc/generic/built-in.o
LD sound/soc/intel/boards/built-in.o
LD sound/soc/intel/built-in.o
LD sound/soc/jz4740/built-in.o
LD sound/soc/kirkwood/built-in.o
CC drivers/clk/clk-conf.o
LD sound/soc/mediatek/built-in.o
LD sound/soc/mxs/built-in.o
LD sound/soc/nuc900/built-in.o
LD sound/soc/omap/built-in.o
LD sound/soc/pxa/built-in.o
LD sound/soc/qcom/built-in.o
LD sound/soc/rockchip/built-in.o
LD sound/soc/samsung/built-in.o
LD sound/soc/sh/built-in.o
LD sound/soc/sirf/built-in.o
LD sound/soc/spear/built-in.o
LD sound/soc/sti/built-in.o
LD sound/soc/sunxi/built-in.o
LD sound/soc/tegra/built-in.o
CC sound/soc/tegra-alt/tegra_asoc_utils_alt.o
CC [M] net/bluetooth/hidp/sock.o
LD drivers/clk/bcm/built-in.o
CC drivers/clk/tegra/clk.o
CC fs/timerfd.o
drivers/clk/tegra/clk.c:395:9: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
.ops = &rst_ops,
^
drivers/clk/tegra/clk.c: In function ‘tegra_add_of_provider’:
drivers/clk/tegra/clk.c:532:8: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
name = __clk_get_name(clk);
^
CC sound/soc/tegra-alt/tegra_pcm_alt.o
CC drivers/clk/tegra/clk-audio-sync.o
LD [M] net/bluetooth/hidp/hidp.o
LD net/bluetooth/rfcomm/built-in.o
CC [M] net/bluetooth/rfcomm/core.o
CC fs/eventfd.o
CC drivers/clk/tegra/clk-dfll.o
CC sound/soc/tegra-alt/ahub_unit_fpga_clock.o
In file included from sound/soc/tegra-alt/ahub_unit_fpga_clock.c:31:0:
./…/t18x/include/sound/tegra_audio.h:24:31: fatal error: tegra210_xbar_alt.h: No such file or directory
compilation terminated.
scripts/Makefile.build:261: recipe for target ‘sound/soc/tegra-alt/ahub_unit_fpga_clock.o’ failed
make[3]: *** [sound/soc/tegra-alt/ahub_unit_fpga_clock.o] Error 1
scripts/Makefile.build:406: recipe for target ‘sound/soc/tegra-alt’ failed
make[2]: *** [sound/soc/tegra-alt] Error 2
scripts/Makefile.build:406: recipe for target ‘sound/soc’ failed
make[1]: *** [sound/soc] Error 2
Makefile:976: recipe for target ‘sound’ failed
make: *** [sound] Error 2
make: *** Waiting for unfinished jobs…
CC drivers/clk/tegra/clk-divider.o
CC fs/aio.o
CC drivers/clk/tegra/clk-periph.o
CC drivers/clk/tegra/clk-periph-fixed.o
CC drivers/clk/tegra/clk-periph-gate.o
CC drivers/clk/tegra/clk-pll.o
CC [M] net/bluetooth/rfcomm/sock.o
drivers/clk/tegra/clk-pll.c:990:12: warning: ‘clk_pll_is_prepared’ defined but not used [-Wunused-function]
static int clk_pll_is_prepared(struct clk_hw *hw)
^
drivers/clk/tegra/clk-pll.c:2453:12: warning: ‘clk_pll_iddq_enable’ defined but not used [-Wunused-function]
static int clk_pll_iddq_enable(struct clk_hw *hw)
^
drivers/clk/tegra/clk-pll.c:2479:13: warning: ‘clk_pll_iddq_disable’ defined but not used [-Wunused-function]
static void clk_pll_iddq_disable(struct clk_hw *hw)
^
CC drivers/clk/tegra/clk-pll-out.o
CC fs/locks.o
CC drivers/clk/tegra/clk-super.o
CC drivers/clk/tegra/clk-tegra-audio.o
CC net/bridge/br.o
CC drivers/clk/tegra/clk-tegra-periph.o
LD [M] net/bluetooth/rfcomm/rfcomm.o
LD [M] net/bluetooth/bluetooth.o
LD net/can/built-in.o
CC [M] net/can/af_can.o
CC drivers/clk/tegra/clk-tegra-pmc.o
CC net/bridge/br_device.o
CC drivers/clk/tegra/clk-tegra-fixed.o
CC drivers/clk/tegra/clk-tegra-super-gen4.o
CC fs/compat.o
CC [M] net/can/proc.o
CC drivers/clk/tegra/clk-cbus-shared.o
CC net/bridge/br_fdb.o
CC [M] net/can/raw.o
CC drivers/clk/tegra/clk-tegra-shared.o
CC fs/compat_ioctl.o
CC drivers/clk/tegra/clk-skipper.o
CC net/bridge/br_forward.o
CC drivers/clk/tegra/div71.o
CC [M] net/can/bcm.o
LD drivers/clk/tegra/built-in.o
LD drivers/clk/built-in.o
CC drivers/clocksource/clksrc-probe.o
CC drivers/clocksource/mmio.o
CC net/bridge/br_if.o
CC drivers/clocksource/arm_arch_timer.o
CC fs/binfmt_script.o
CC fs/binfmt_elf.o
CC drivers/clocksource/dummy_timer.o
CC [M] net/can/gw.o
CC net/bridge/br_input.o
LD drivers/clocksource/built-in.o
CC drivers/cpufreq/cpufreq.o
CC net/bridge/br_ioctl.o
CC fs/compat_binfmt_elf.o
LD [M] net/can/can.o
LD [M] net/can/can-raw.o
LD [M] net/can/can-bcm.o
LD [M] net/can/can-gw.o
CC fs/mbcache.o
CC net/bridge/br_stp.o
CC fs/posix_acl.o
CC drivers/cpufreq/freq_table.o
CC fs/coredump.o
CC drivers/cpufreq/cpufreq_stats.o
CC fs/drop_caches.o
CC net/bridge/br_stp_bpdu.o
CC drivers/cpufreq/cpufreq_performance.o
CC fs/fhandle.o
CC drivers/cpufreq/cpufreq_powersave.o
CC net/bridge/br_stp_if.o
CC drivers/cpufreq/cpufreq_userspace.o
LD fs/built-in.o
CC net/bridge/br_stp_timer.o
CC drivers/cpufreq/cpufreq_ondemand.o
CC net/core/sock.o
CC net/core/request_sock.o
CC drivers/cpufreq/cpufreq_conservative.o
CC net/bridge/br_netlink.o
CC net/core/skbuff.o
CC drivers/cpufreq/cpufreq_interactive.o
CC net/bridge/br_sysfs_if.o
CC net/core/datagram.o
CC net/bridge/br_sysfs_br.o
CC drivers/cpufreq/cpufreq_governor.o
CC drivers/cpufreq/cpufreq_governor_attr_set.o
CC net/core/stream.o
CC drivers/cpufreq/tegra20-cpufreq.o
CC net/bridge/br_nf_core.o
CC drivers/cpufreq/tegra210-cpufreq.o
CC net/core/scm.o
CC net/core/gen_stats.o
LD drivers/cpufreq/built-in.o
CC drivers/cpuidle/cpuidle.o
CC net/bridge/br_multicast.o
CC drivers/cpuidle/driver.o
CC net/core/gen_estimator.o
CC drivers/cpuidle/governor.o
CC drivers/cpuidle/sysfs.o
CC drivers/cpuidle/governors/ladder.o
CC net/core/net_namespace.o
CC drivers/cpuidle/governors/menu.o
CC drivers/cpuidle/dt_idle_states.o
LD drivers/cpuidle/governors/built-in.o
CC drivers/cpuidle/cpuidle-arm.o
CC net/ethernet/eth.o
CC net/bridge/br_mdb.o
LD drivers/cpuidle/built-in.o
CC drivers/crypto/tegra-cryptodev.o
CC net/core/secure_seq.o
LD net/ethernet/built-in.o
CC drivers/crypto/tegra-se.o
CC net/core/flow_dissector.o
LD net/bridge/netfilter/built-in.o
CC [M] net/bridge/br_netfilter_hooks.o
CC drivers/crypto/tegra-se-elp.o
drivers/crypto/tegra-se-elp.c: In function ‘tegra_se_mod_mult’:
drivers/crypto/tegra-se-elp.c:2158:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
req.modulus = mod;
^
drivers/crypto/tegra-se-elp.c:2159:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
req.base_pt_x = left;
^
drivers/crypto/tegra-se-elp.c:2160:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
req.base_pt_y = right;
^
drivers/crypto/tegra-se-elp.c: In function ‘tegra_se_mod_add’:
drivers/crypto/tegra-se-elp.c:2176:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
req.modulus = mod;
^
drivers/crypto/tegra-se-elp.c:2177:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
req.base_pt_x = left;
^
drivers/crypto/tegra-se-elp.c:2178:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
req.base_pt_y = right;
^
drivers/crypto/tegra-se-elp.c: In function ‘tegra_se_mod_inv’:
drivers/crypto/tegra-se-elp.c:2195:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
req.modulus = mod;
^
drivers/crypto/tegra-se-elp.c:2196:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
req.base_pt_x = input;
^
drivers/crypto/tegra-se-elp.c: In function ‘tegra_se_mod_reduce’:
drivers/crypto/tegra-se-elp.c:2213:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
req.modulus = mod;
^
drivers/crypto/tegra-se-elp.c:2214:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
req.base_pt_x = input;
^
drivers/crypto/tegra-se-elp.c: In function ‘tegra_se_ecdsa_sign’:
drivers/crypto/tegra-se-elp.c:2785:49: error: passing argument 3 of ‘tegra_se_ecc_point_mult’ from incompatible pointer type [-Werror=incompatible-pointer-types]
ret = tegra_se_ecc_point_mult(x1y1, &curve->g, k, curve, nbytes);
^
drivers/crypto/tegra-se-elp.c:2221:12: note: expected ‘const u32 * {aka const unsigned int *}’ but argument is of type ‘u64 * {aka long long unsigned int *}’
static int tegra_se_ecc_point_mult(struct tegra_se_ecc_point *result,
^
drivers/crypto/tegra-se-elp.c:2790:41: error: passing argument 2 of ‘tegra_se_mod_reduce’ from incompatible pointer type [-Werror=incompatible-pointer-types]
ret = tegra_se_mod_reduce(mod_op_mode, r, x1y1->x, curve->n, nbytes);
^
drivers/crypto/tegra-se-elp.c:2203:12: note: expected ‘u32 * {aka unsigned int *}’ but argument is of type ‘u64 * {aka long long unsigned int *}’
static int tegra_se_mod_reduce(int op_mode, u32 *result,
^
drivers/crypto/tegra-se-elp.c:2795:38: error: passing argument 2 of ‘tegra_se_mod_inv’ from incompatible pointer type [-Werror=incompatible-pointer-types]
ret = tegra_se_mod_inv(mod_op_mode, k_inv, k, curve->n, nbytes);
^
drivers/crypto/tegra-se-elp.c:2185:12: note: expected ‘u32 * {aka unsigned int *}’ but argument is of type ‘u64 * {aka long long unsigned int *}’
static int tegra_se_mod_inv(int op_mode, u32 *result,
^
drivers/crypto/tegra-se-elp.c:2795:45: error: passing argument 3 of ‘tegra_se_mod_inv’ from incompatible pointer type [-Werror=incompatible-pointer-types]
ret = tegra_se_mod_inv(mod_op_mode, k_inv, k, curve->n, nbytes);
^
drivers/crypto/tegra-se-elp.c:2185:12: note: expected ‘const u32 * {aka const unsigned int *}’ but argument is of type ‘u64 * {aka long long unsigned int *}’
static int tegra_se_mod_inv(int op_mode, u32 *result,
^
drivers/crypto/tegra-se-elp.c:2800:39: error: passing argument 2 of ‘tegra_se_mod_mult’ from incompatible pointer type [-Werror=incompatible-pointer-types]
ret = tegra_se_mod_mult(mod_op_mode, dr, d, r, curve->n, nbytes);
^
drivers/crypto/tegra-se-elp.c:2148:12: note: expected ‘u32 * {aka unsigned int *}’ but argument is of type ‘u64 * {aka long long unsigned int *}’
static int tegra_se_mod_mult(int op_mode, u32 *result,
^
drivers/crypto/tegra-se-elp.c:2800:43: error: passing argument 3 of ‘tegra_se_mod_mult’ from incompatible pointer type [-Werror=incompatible-pointer-types]
ret = tegra_se_mod_mult(mod_op_mode, dr, d, r, curve->n, nbytes);
^
drivers/crypto/tegra-se-elp.c:2148:12: note: expected ‘const u32 * {aka const unsigned int *}’ but argument is of type ‘u64 * {aka long long unsigned int *}’
static int tegra_se_mod_mult(int op_mode, u32 *result,
^
drivers/crypto/tegra-se-elp.c:2800:46: error: passing argument 4 of ‘tegra_se_mod_mult’ from incompatible pointer type [-Werror=incompatible-pointer-types]
ret = tegra_se_mod_mult(mod_op_mode, dr, d, r, curve->n, nbytes);
^
drivers/crypto/tegra-se-elp.c:2148:12: note: expected ‘const u32 * {aka const unsigned int *}’ but argument is of type ‘u64 * {aka long long unsigned int *}’
static int tegra_se_mod_mult(int op_mode, u32 *result,
^
drivers/crypto/tegra-se-elp.c:2805:38: error: passing argument 2 of ‘tegra_se_mod_add’ from incompatible pointer type [-Werror=incompatible-pointer-types]
ret = tegra_se_mod_add(mod_op_mode, zdr, z, dr, curve->n, nbytes);
^
drivers/crypto/tegra-se-elp.c:2166:12: note: expected ‘u32 * {aka unsigned int *}’ but argument is of type ‘u64 * {aka long long unsigned int *}’
static int tegra_se_mod_add(int op_mode, u32 *result,
^
drivers/crypto/tegra-se-elp.c:2805:43: error: passing argument 3 of ‘tegra_se_mod_add’ from incompatible pointer type [-Werror=incompatible-pointer-types]
ret = tegra_se_mod_add(mod_op_mode, zdr, z, dr, curve->n, nbytes);
^
drivers/crypto/tegra-se-elp.c:2166:12: note: expected ‘const u32 * {aka const unsigned int *}’ but argument is of type ‘u64 * {aka long long unsigned int *}’
static int tegra_se_mod_add(int op_mode, u32 *result,
^
drivers/crypto/tegra-se-elp.c:2805:46: error: passing argument 4 of ‘tegra_se_mod_add’ from incompatible pointer type [-Werror=incompatible-pointer-types]
ret = tegra_se_mod_add(mod_op_mode, zdr, z, dr, curve->n, nbytes);
^
drivers/crypto/tegra-se-elp.c:2166:12: note: expected ‘const u32 * {aka const unsigned int *}’ but argument is of type ‘u64 * {aka long long unsigned int *}’
static int tegra_se_mod_add(int op_mode, u32 *result,
^
drivers/crypto/tegra-se-elp.c:2810:39: error: passing argument 2 of ‘tegra_se_mod_mult’ from incompatible pointer type [-Werror=incompatible-pointer-types]
ret = tegra_se_mod_mult(mod_op_mode, s, k_inv, zdr, curve->n, nbytes);
^
drivers/crypto/tegra-se-elp.c:2148:12: note: expected ‘u32 * {aka unsigned int *}’ but argument is of type ‘u64 * {aka long long unsigned int *}’
static int tegra_se_mod_mult(int op_mode, u32 *result,
^
drivers/crypto/tegra-se-elp.c:2810:42: error: passing argument 3 of ‘tegra_se_mod_mult’ from incompatible pointer type [-Werror=incompatible-pointer-types]
ret = tegra_se_mod_mult(mod_op_mode, s, k_inv, zdr, curve->n, nbytes);
^
drivers/crypto/tegra-se-elp.c:2148:12: note: expected ‘const u32 * {aka const unsigned int *}’ but argument is of type ‘u64 * {aka long long unsigned int *}’
static int tegra_se_mod_mult(int op_mode, u32 *result,
^
drivers/crypto/tegra-se-elp.c:2810:49: error: passing argument 4 of ‘tegra_se_mod_mult’ from incompatible pointer type [-Werror=incompatible-pointer-types]
ret = tegra_se_mod_mult(mod_op_mode, s, k_inv, zdr, curve->n, nbytes);
^
drivers/crypto/tegra-se-elp.c:2148:12: note: expected ‘const u32 * {ak

This used oldconfig. What I am wondering is what config you loaded prior to changes you made in “make menuconfig”? I start with a working system’s “/proc/config.gz” and do not rely on tegra186_defconfig. Your edits should start matching the existing system…the RT patches may change something, but the “make menuconfig” should make it obvious if there is an invalid config.

I am going to attempt to attach the R28.1 config from “/proc/config.gz” for reference.
config-4.4.38-tegra_tx2.txt (139 KB)

Ok, I will try again starting from the /proc/config.gz as .config instead of the tegra18_defconfig.

Just to confirm, what are the build steps you’re using for the kernel? I’ve seen some mentions of

make -j4 zImage
make dtbs
make -j4 modules
make modules_install

and then copying over the files to the /boot/Image, /boot/dtb, and /boot.

I’ve seen some things saying

make -j4
make modules_install

and copying over the arch/arm64/boot/Image and arch/arm64/boot/dts to /boot/

As well as some that are

make -j4
make modules_install
make install -j4

It depends on whether you are cross-compiling or compiling natively on the TX2. Where are you building from?

Has anyone else gotten any further on this?