This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5749/Problem with compilation rt-kernel

Hello support!

I use ti-processor-sdk-linux-rt-am57xx-evm-06.03.00.106 on am5749 (custom board).

So the problem is: when I create bootable flash card through "create-sdcard.sh" script it is work good.

 I would like to add some driver in kernel and I did it. I used ti-processor-sdk-linux-am57xx-evm-06.03.00.106 and it is work perfect.

But when I built kernel in  ti-processor-sdk-linux-rt-am57xx-evm-06.03.00.106 I didn't see some messages, everything was good. Than I paste my kernell in boot directory of rootfs on sdcard.

I tryed to load linux but my boot log is awful....I can't understand what is wrong??  I did the same operations on ti-processor-sdk-linux-am57xx-evm-06.03.00.106 and it is work good.

This is my log:

[    0.000000] OF: reserved mem: initialized node dsp2-memory@9f000000, compatib                                                                                                le id shared-dma-pool
[    0.000000] cma: Reserved 24 MiB at 0x00000000fd400000
[    0.000000] OMAP4: Map 0x00000000fed00000 to (ptrval) for dram barrier
[    0.000000] DRA762 ES1.0
[    0.000000] random: get_random_bytes called from start_kernel+0xb4/0x458 with                                                                                                 crng_init=0
[    0.000000] percpu: Embedded 15 pages/cpu s32140 r8192 d21108 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 411520
[    0.000000] Kernel command line: console=ttyS2,115200n8 root=PARTUUID=804f073                                                                                                c-02 rw rootfstype=ext4 rootwait
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 1462244K/1650688K available (10240K kernel code, 334K rwd                                                                                                ata, 2796K rodata, 2048K init, 268K bss, 32796K reserved, 155648K cma-reserved,                                                                                                 1135616K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (12256 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (2048 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 335 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 269 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] OMAP clockevent source: timer1 at 32786 Hz
[    0.000000] arch_timer: cp15 timer(s) running at 6.14MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles:                                                                                                 0x16af5adb9, max_idle_ns: 440795202250 ns
[    0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 43980                                                                                                46511023ns
[    0.000018] Switching to timer-based delay loop, resolution 162ns
[    0.000290] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff                                                                                                , max_idle_ns: 58327039986419 ns
[    0.000300] OMAP clocksource: 32k_counter at 32768 Hz
[    0.000816] Console: colour dummy device 80x30
[    0.000859] Calibrating delay loop (skipped), value calculated using timer fr                                                                                                equency.. 12.29 BogoMIPS (lpj=61475)
[    0.000873] pid_max: default: 32768 minimum: 301
[    0.001002] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001015] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001561] CPU: Testing write buffer coherency: ok
[    0.001597] CPU0: Spectre v2: using ICIALLU workaround
[    0.001802] /cpus/cpu@0 missing clock-frequency property
[    0.001821] /cpus/cpu@1 missing clock-frequency property
[    0.001833] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002282] Setting up static identity map for 0x80200000 - 0x80200060
[    0.002398] rcu: Hierarchical SRCU implementation.
[    0.002887] EFI services will not be available.
[    0.003011] smp: Bringing up secondary CPUs ...
[    0.003716] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.003722] CPU1: Spectre v2: using ICIALLU workaround
[    0.003843] smp: Brought up 1 node, 2 CPUs
[    0.003855] SMP: Total of 2 processors activated (24.59 BogoMIPS).
[    0.003863] CPU: All CPU(s) started in HYP mode.
[    0.003870] CPU: Virtualization extensions available.
[    0.004329] devtmpfs: initialized
[    0.024558] VFP support v0.3: implementor 41 architecture 4 part 30 variant f                                                                                                 rev 0
[    0.024734] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma                                                                                                x_idle_ns: 19112604462750000 ns
[    0.024752] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.027352] pinctrl core: initialized pinctrl subsystem
[    0.027837] DMI not present or invalid.
[    0.028146] NET: Registered protocol family 16
[    0.029230] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.030159] omap_hwmod: l3_main_2 using broken dt data from ocp
[    0.222372] cpuidle: using governor ladder
[    0.222409] cpuidle: using governor menu
[    0.232784] OMAP GPIO hardware version 0.1
[    0.257281] No ATAGs?
[    0.257393] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint                                                                                                 registers.
[    0.257408] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.258233] OMAP DMA hardware revision 0.0
[    0.269523] edma 43300000.edma: memcpy is disabled
[    0.272906] edma 43300000.edma: TI EDMA DMA engine driver
[    0.279965] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (                                                                                                LinkedList1/2/3 supported)
[    0.283456] omap-iommu 40d01000.mmu: 40d01000.mmu registered
[    0.283629] omap-iommu 40d02000.mmu: 40d02000.mmu registered
[    0.283876] omap-iommu 58882000.mmu: 58882000.mmu registered
[    0.284115] omap-iommu 55082000.mmu: 55082000.mmu registered
[    0.284473] omap-iommu 41501000.mmu: 41501000.mmu registered
[    0.284650] omap-iommu 41502000.mmu: 41502000.mmu registered
[    0.284918] iommu: Adding device 58820000.ipu to group 1
[    0.284994] iommu: Adding device 55020000.ipu to group 2
[    0.285114] iommu: Adding device 40800000.dsp to group 0
[    0.285341] iommu: Adding device 41000000.dsp to group 3
[    0.286611] SCSI subsystem initialized
[    0.287725] palmas 0-0058: Irq flag is 0x00000004
[    0.311918] palmas 0-0058: Muxing GPIO 2b, PWM 0, LED 0
[    0.313582] SMPS12: supplied by regulator-dummy
[    0.315245] SMPS3: supplied by VMAIN
[    0.316782] SMPS45: supplied by regulator-dummy
[    0.318579] SMPS6: supplied by VMAIN
[    0.320211] SMPS7: supplied by VMAIN
[    0.322006] SMPS8: supplied by VMAIN
[    0.323225] SMPS9: supplied by VMAIN
[    0.324144] LDO1: supplied by VMAIN
[    0.330806] random: fast init done
[    0.330915] LDO2: supplied by VMAIN
[    0.340769] LDO3: supplied by VMAIN
[    0.350781] LDO4: supplied by VMAIN
[    0.360809] LDO5: supplied by regulator-dummy
[    0.361476] LDO6: supplied by regulator-dummy
[    0.362136] LDO7: supplied by regulator-dummy
[    0.362788] LDO8: supplied by regulator-dummy
[    0.363444] LDO9: supplied by VMAIN
[    0.371114] LDOLN: supplied by VMAIN
[    0.380826] LDOUSB: supplied by VMAIN
[    0.393527] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
[    0.393726] media: Linux media interface: v0.10
[    0.393763] videodev: Linux video capture interface: v2.00
[    0.393830] pps_core: LinuxPPS API ver. 1 registered
[    0.393839] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome                                                                                                tti <giometti@linux.it>
[    0.393858] PTP clock support registered
[    0.393887] EDAC MC: Ver: 3.0.0
[    0.394697] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
[    0.394931] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
[    0.395392] Advanced Linux Sound Architecture Driver Initialized.
[    0.396134] clocksource: Switched to clocksource arch_sys_counter
[    0.404220] NET: Registered protocol family 2
[    0.404775] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144                                                                                                 bytes)
[    0.404803] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.404841] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.404909] TCP: Hash tables configured (established 4096 bind 4096)
[    0.404976] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.405000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.405116] NET: Registered protocol family 1
[    0.405476] RPC: Registered named UNIX socket transport module.
[    0.405486] RPC: Registered udp transport module.
[    0.405494] RPC: Registered tcp transport module.
[    0.405503] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.406542] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[    0.406754] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counte                                                                                                rs available
[    0.407698] Initialise system trusted keyrings
[    0.407836] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[    0.412691] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.413142] NFS: Registering the id_resolver key type
[    0.413162] Key type id_resolver registered
[    0.413171] Key type id_legacy registered
[    0.413212] ntfs: driver 2.1.32 [Flags: R/O].
[    0.414840] Key type asymmetric registered
[    0.414852] Asymmetric key parser 'x509' registered
[    0.414901] bounce: pool size: 64 pages
[    0.414935] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2                                                                                                45)
[    0.414945] io scheduler noop registered
[    0.414954] io scheduler deadline registered
[    0.415112] io scheduler cfq registered (default)
[    0.415123] io scheduler mq-deadline registered
[    0.415132] io scheduler kyber registered
[    0.420569] pinctrl-single 4a003400.pinmux: 282 pins, size 1128
[    0.424831] dra7-pcie 51000000.pcie: Linked as a consumer to phy-4a094000.pci                                                                                                ephy.1
[    0.425190] dra7-pcie 51000000.pcie: host bridge /ocp/axi@0/pcie@51000000 ran                                                                                                ges:
[    0.425229] dra7-pcie 51000000.pcie:    IO 0x20003000..0x20012fff -> 0x000000                                                                                                00
[    0.425255] dra7-pcie 51000000.pcie:   MEM 0x20013000..0x2fffffff -> 0x200130                                                                                                00
[    1.425507] dra7-pcie 51000000.pcie: Phy link never came up
[    1.425635] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
[    1.425649] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.425661] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    1.425672] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
[    1.432076] PCI: bus0: Fast back to back transfers disabled
[    1.438012] PCI: bus1: Fast back to back transfers enabled
[    1.438052] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff 64bi                                                                                                t]
[    1.438071] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    1.438396] pcieport 0000:00:00.0: Signaling PME with IRQ 173
[    1.438528] pcieport 0000:00:00.0: AER enabled with IRQ 173
[    1.439441] pwm-backlight backlight: backlight supply power not found, using                                                                                                 dummy regulator
[    1.439510] pwm-backlight backlight: Linked as a consumer to regulator.0
[    1.442512] V3_3D: supplied by smps9
[    1.442769] vtt_fixed: supplied by V3_3D
[    1.490030] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[    1.493526] console [ttyS2] disabled
[    1.493564] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 45, base_baud =                                                                                                 3000000) is a 8250
[    2.551787] console [ttyS2] enabled
[    2.557424] omap_rng 48090000.rng: Random Number Generator ver. 20
[    2.557887] random: crng init done
[    2.564472] omapdss_dss 58000000.dss: Linked as a consumer to regulator.20
[    2.574158] omapdss_dss 58000000.dss: Dropping the link to regulator.20
[    2.587450] panel-osd-osd101t2587-53ts 0-000e.0: 0-000e.0 supply power not fo                                                                                                und, using dummy regulator
[    2.596970] panel-osd-osd101t2587-53ts 0-000e.0: Linked as a consumer to regu                                                                                                lator.0
[    2.612427] brd: module loaded
[    2.621522] loop: module loaded
[    2.629956] m25p80 spi0.0: s25fl256s1 (32768 Kbytes)
[    2.635013] 7 fixed-partitions partitions found on MTD device spi0.0
[    2.641426] Creating 7 MTD partitions on "spi0.0":
[    2.646258] 0x000000000000-0x000000040000 : "QSPI.SPL"
[    2.652126] 0x000000040000-0x000000140000 : "QSPI.u-boot"
[    2.658234] 0x000000140000-0x0000001c0000 : "QSPI.u-boot-spl-os"
[    2.664917] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env"
[    2.671366] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1"
[    2.678527] 0x0000001e0000-0x0000009e0000 : "QSPI.kernel"
[    2.684577] 0x0000009e0000-0x000002000000 : "QSPI.file-system"
[    2.691691] libphy: Fixed MDIO Bus: probed
[    2.756162] davinci_mdio 48485000.mdio: davinci mdio revision 1.6, bus freq 1                                                                                                000000
[    2.763856] davinci_mdio 48485000.mdio: detected phy mask fffffffc
[    2.774584] libphy: 48485000.mdio: probed
[    2.778639] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driv                                                                                                er Micrel KSZ9031 Gigabit PHY
[    2.788350] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driv                                                                                                er Micrel KSZ9031 Gigabit PHY
[    2.798739] cpsw 48484000.ethernet: Detected MACID = 90:9a:77:57:03:6c
[    2.805378] cpsw 48484000.ethernet: initialized cpsw ale version 1.4
[    2.811781] cpsw 48484000.ethernet: ALE Table size 1024
[    2.817089] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
[    2.825061] cpsw 48484000.ethernet: cpsw: Detected MACID = 90:9a:77:57:03:6d
[    2.833300] i2c /dev entries driver
[    2.841804] cpu cpu0: Linked as a consumer to regulator.4
[    2.847328] cpu cpu0: Linked as a consumer to regulator.27
[    2.854434] sdhci: Secure Digital Host Controller Interface driver
[    2.860668] sdhci: Copyright(c) Pierre Ossman
[    2.865944] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.872550] omap_gpio 4805d000.gpio: Could not set line 27 debounce to 200000                                                                                                 microseconds (-22)
[    2.881401] sdhci-omap 4809c000.mmc: Got CD GPIO
[    2.886275] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.26
[    2.893742] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.11
[    2.900681] sdhci-omap 4809c000.mmc: Dropping the link to regulator.11
[    2.907343] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.2
[    2.914541] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.11
[    2.921556] sdhci-omap 4809c000.mmc: no pinctrl state for ddr_3_3v mode
[    2.955562] mmc0: SDHCI controller on 4809c000.mmc [4809c000.mmc] using ADMA
[    2.963152] sdhci-omap 480b4000.mmc: Linked as a consumer to regulator.2
[    2.970014] sdhci-omap 480b4000.mmc: Dropping the link to regulator.2
[    2.976582] sdhci-omap 480b4000.mmc: Linked as a consumer to regulator.2
[    3.008884] mmc1: SDHCI controller on 480b4000.mmc [480b4000.mmc] using ADMA
[    3.017702] ledtrig-cpu: registered to indicate activity on CPUs
[    3.027296] mmc0: host does not support reading read-only switch, assuming wr                                                                                                ite-enable
[    3.028970] NET: Registered protocol family 10
[    3.040107] mmc0: new high speed SDHC card at address 0001
[    3.046427] mmcblk0: mmc0:0001 EB1QT 29.8 GiB
[    3.046555] Segment Routing with IPv6
[    3.054717] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.061351] NET: Registered protocol family 17
[    3.066104] Key type dns_resolver registered
[    3.070620] Registering SWP/SWPB emulation handler
[    3.075510] omap_voltage_late_init: Voltage driver support not added
[    3.081985] Power Management for TI OMAP4+ devices.
[    3.087516]  mmcblk0: p1 p2
[    3.091199] Loading compiled-in X.509 certificates
[    3.112886] dmm 4e000000.dmm: workaround for errata i878 in use
[    3.120604] dmm 4e000000.dmm: initialized all PAT entries
[    3.127010] omapdss_dss 58000000.dss: Linked as a consumer to regulator.20
[    3.134157] DSS: OMAP DSS rev 6.1
[    3.138800] omapdss_hdmi5 58040000.encoder: Linked as a consumer to regulator                                                                                                .13
[    3.146425] omapdss_hdmi5 58040000.encoder: Dropping the link to regulator.13
[    3.154861] omapdss_hdmi5 58040000.encoder: Linked as a consumer to regulator                                                                                                .13
[    3.162634] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_compone                                                                                                nt_ops)
[    3.170606] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_compo                                                                                                nent_ops)
[    3.206832] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.213477] [drm] No driver support for vblank timestamp query.
[    3.234635] [drm] Enabling DMM ywrap scrolling
[    3.255131] Console: switching to colour frame buffer device 240x75
[    3.277062] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
[    3.284179] [drm] Initialized omapdrm 1.0.0 20110917 for omapdrm.0 on minor 0
[    3.292044] hctosys: unable to open rtc device (rtc0)
[    3.297951] ALSA device list:
[    3.300931]   No soundcards found.
[    3.535157] EXT4-fs (mmcblk0p2): recovery complete
[    3.555724] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    3.563898] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    3.577586] devtmpfs: mounted
[    3.581674] Freeing unused kernel memory: 2048K
[    3.586384] Run /sbin/init as init process
[    3.889673] systemd[1]: System time before build time, advancing clock.
[    3.923435] systemd[1]: systemd 239 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
[    3.945451] systemd[1]: Detected architecture arm.

Welcome to Arago 2019.11!

[    3.997227] systemd[1]: Set hostname to <am57xx-evm>.
[    4.167418] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[    4.184683] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[    4.418599] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[    4.458471] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    4.486556] systemd[1]: Listening on Network Service Netlink Socket.
[  OK  ] Listening on Network Service Netlink Socket.
[    4.540995] systemd[1]: Listening on Process Core Dump Socket.
[  OK  ] Listening on Process Core Dump Socket.
[    4.577973] systemd[1]: Created slice system-getty.slice.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Reached target Swap.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Reached target Remote File Systems.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Reached target Paths.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Listening on Journal Socket.
         Mounting POSIX Message Queue File System...
         Starting Remount Root and Kernel File Systems...
[    4.977287] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
         Starting Journal Service...
[  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
         Starting Create list of required st…ce nodes for the current kernel...
         Mounting Temporary Directory (/tmp)...
         Mounting Kernel Debug File System...
         Starting Load Kernel Modules...
[    5.199398] cmemk: disagrees about version of symbol module_layout
[  OK  ] Listening on udev Kernel Socket.
[    5.211683] cryptodev: disagrees about version of symbol module_layout
[    5.220317] gdbserverproxy: disagrees about version of symbol module_layout
[    5.231505] jailhouse: disagrees about version of symbol module_layout
         Starting udev Coldplug all Devices...
[    5.243010] usb_common: disagrees about version of symbol module_layout
[    5.254477] usb_common: disagrees about version of symbol module_layout
[  OK  ] Reached target Slices.
[    5.283466] uio: disagrees about version of symbol module_layout
[  OK  ] Started Journal Service.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Create list of required sta…vice nodes for the current kernel.
[  OK  ] Mounted Temporary Directory (/tmp).
[  OK  ] Mounted Kernel Debug File System.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
         Starting Apply Kernel Variables...
[    5.568300] sch_fq_codel: disagrees about version of symbol module_layout
         Mounting Kernel Configuration File System...
         Starting Create Static Device Nodes in /dev...
         Starting Flush Journal to Persistent Storage...
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Started Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /var/volatile...
[  OK  ] Reached target Containers.
         Mounting /media/ram...
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Mounted /var/volatile.
[  OK  ] Mounted /media/ram.
[    5.997613] systemd-journald[100]: Received request to flush runtime journal from PID 1
         Starting Load/Save Random Seed...
[  OK  ] Reached target Local File Systems.
[  OK  ] Started udev Coldplug all Devices.
[    6.083303] remoteproc: disagrees about version of symbol module_layout
[    6.083306] remoteproc: disagrees about version of symbol module_layout
[  OK  ] Started Flush Journal to Persistent Storage.
[    6.124512] remoteproc: disagrees about version of symbol module_layout
[  OK  ] Started Load/Save Random Seed.
[    6.151038] remoteproc: disagrees about version of symbol module_layout
         Starting Create Volatile Files and Directories...
[  OK  ] Started Create Volatile Files and Directories.
         Starting Update UTMP about System Boot/Shutdown...
[    6.366384] omap_crypto: disagrees about version of symbol module_layout
         [    6.380515] wire: disagrees about version of symbol module_layout
Starting Network Time Synchronization...
[    6.419538] omap_crypto: disagrees about version of symbol module_layout
[    6.422831] wire: disagrees about version of symbol module_layout
         Starting Network Service...
[    6.444577] v4l2_fwnode: disagrees about version of symbol module_layout
[    6.453338] edt_ft5x06: disagrees about version of symbol module_layout
[    6.460925] gpio_tpic2810: disagrees about version of symbol module_layout
[    6.500616] v4l2_fwnode: disagrees about version of symbol module_layout
[    6.502679] gpio_tpic2810: disagrees about version of symbol module_layout
[    6.513210] edt_ft5x06: disagrees about version of symbol module_layout
[    6.536673] gpio_pisosr: disagrees about version of symbol module_layout
[  OK  ] Found device /dev/ttyS2.
[    6.567648] gpio_pisosr: disagrees about version of symbol module_layout
[    6.577539] extcon_palmas: disagrees about version of symbol module_layout
[    6.588474] rtc_palmas: disagrees about version of symbol module_layout
[    6.592445] extcon_palmas: disagrees about version of symbol module_layout
[  OK  ] Started Update UTMP about System Boot/Shutdow[    6.614747] rtc_palmas: disagrees about version of symbol module_layout
n.
[    6.688278] dwc3_omap: disagrees about version of symbol module_layout
[    6.688281] dwc3_omap: disagrees about version of symbol module_layout
[    6.702169] rtc_omap: disagrees about version of symbol module_layout
[    6.710702] v4l2_fwnode: disagrees about version of symbol module_layout
[    6.718911] dwc3_omap: disagrees about version of symbol module_layout
[    6.725613] rtc_omap: disagrees about version of symbol module_layout
[    6.733852] ti_vpdma: disagrees about version of symbol module_layout
[    6.743804] v4l2_fwnode: disagrees about version of symbol module_layout
[  OK  ] Started Network Service.
[    6.756302] net eth1: initializing cpsw version 1.15 (0)
         Starting Wait for Network to be Configured...
[    6.789510] ti_vpdma: disagrees about version of symbol module_layout
[    6.798897] phy_omap_usb2: disagrees about version of symbol module_layout
[    6.805445] dwc3_omap: disagrees about version of symbol module_layout
[    6.805921] phy_omap_usb2: disagrees about version of symbol module_layout
         Starting Network Name Resolution...
[    6.905471] phy_omap_usb2: disagrees about version of symbol module_layout
[    6.911054] phy_omap_usb2: disagrees about version of symbol module_layout
[    6.947836] phy_omap_usb2: disagrees about version of symbol module_layout
[    6.950364] phy_omap_usb2: disagrees about version of symbol module_layout
[    6.956877] libata: disagrees about version of symbol module_layout
[    6.969094] Micrel KSZ9031 Gigabit PHY 48485000.mdio:01: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=48485000.mdio:01, irq=POLL)
[    6.987485] omap_wdt: disagrees about version of symbol module_layout
[    7.004330] omap_sham: disagrees about version of symbol module_layout
[    7.011529] can_dev: disagrees about version of symbol module_layout
[    7.020073] pruss_soc_bus: disagrees about version of symbol module_layout
[    7.027251] pruss_soc_bus: disagrees about version of symbol module_layout
[    7.031618] omap_wdt: disagrees about version of symbol module_layout
[    7.038117] omap_crypto: disagrees about version of symbol module_layout
[    7.042106] omap_crypto: disagrees about version of symbol module_layout
[    7.063123] pruss_soc_bus: disagrees about version of symbol module_layout
[    7.063573] pruss_soc_bus: disagrees about version of symbol module_layout
[    7.073224] phy_omap_usb2: disagrees about version of symbol module_layout
[    7.079861] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[    7.087968] libata: disagrees about version of symbol module_layout
[    7.103448] omap_crypto: disagrees about version of symbol module_layout
[    7.111849] net eth0: initializing cpsw version 1.15 (0)
[    7.114832] omap_sham: disagrees about version of symbol module_layout
[    7.127028] can_dev: disagrees about version of symbol module_layout
[    7.135838] phy_omap_usb2: disagrees about version of symbol module_layout
[    7.147262] remoteproc: disagrees about version of symbol module_layout
[    7.165319] omap_crypto: disagrees about version of symbol module_layout
[    7.178641] pvrsrvkm: disagrees about version of symbol module_layout
[    7.184823] remoteproc: disagrees about version of symbol module_layout
[    7.210840] remoteproc: disagrees about version of symbol module_layout
[    7.224073] remoteproc: disagrees about version of symbol module_layout
[    7.252045] Micrel KSZ9031 Gigabit PHY 48485000.mdio:00: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=48485000.mdio:00, irq=POLL)
[    7.267857] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    7.282841] pvrsrvkm: disagrees about version of symbol module_layout
[    7.396919] snd_soc_omap_hdmi: disagrees about version of symbol module_layout
[    7.440522] snd_soc_omap_hdmi: disagrees about version of symbol module_layout
[    7.551361] remoteproc: disagrees about version of symbol module_layout
[    7.599705] remoteproc: disagrees about version of symbol module_layout
[  OK  ] Started Network Time Synchronization.
[  OK  ] Started Network Name Resolution.
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[  OK  ] Created slice system-systemd\x2dfsck.slice.
         Starting File System Check on /dev/mmcblk0p1...
[  OK  ] Reached target Host and Network Name Lookups.
[  OK  ] Reached target Network.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Created slice system-systemd\x2dbacklight.slice.
         Starting Load/Save Screen Backlight…ightness of backlight:backlight...
[  OK  ] Started Load/Save Screen Backlight Brightness of backlight:backlight.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on RPCbind Server Activation Socket.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on dropbear.socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
         Starting Reboot and dump vmcore via kexec...
[  OK  ] Reached target Basic System.
         Starting Avahi mDNS/DNS-SD Stack...
         Starting Print notice about GPLv3 packages...
         Starting RPC Bind Service...
         Starting TI IPC Daemon...
         Starting rc.pvr.service...
[   11.644388] pvrsrvkm: disagrees about version of symbol module_layout
[  OK  ] Started Periodic Command Scheduler.
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started Job spooling tools.
         Starting Enable and configure wl18xx bluetooth stack...
         Starting Lightning Fast Webserver With Light System Requirements...
         Starting Login Service...
         Starting Permit User Sessions...
         Starting Simple Network Management Protocol (SNMP) Daemon....
[  OK  ] Started Redis In-Memory Data Store.
         Starting TI MultiCore Tools Daemon...
[  OK  ] Started File System Check on /dev/mmcblk0p1.
[  OK  ] Started Reboot and dump vmcore via kexec.
[  OK  ] Started TI IPC Daemon.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Enable and configure wl18xx bluetooth stack.
[  OK  ] Started Serial Getty on ttyS2.
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
         Starting Synchronize System and HW clocks...
         Mounting /run/media/mmcblk0p1...
[  OK  ] Started RPC Bind Service.
[  OK  ] Started Lightning Fast Webserver With Light System Requirements.
[FAILED] Failed to start TI MultiCore Tools Daemon.
See 'systemctl status ti-mct-daemon.service' for details.
[FAILED] Failed to start Synchronize System and HW clocks.
See 'systemctl status sync-clocks.service' for details.
[  OK  ] Mounted /run/media/mmcblk0p1.
[  OK  ] Started Login Service.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started NFS status monitor for NFSv2/3 locking..
[  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..
[   13.963591] pvrsrvkm: disagrees about version of symbol module_layout
[  OK  ] Started rc.pvr.service.
         Starting weston.service...
***************************************************************
***************************************************************
NOTICE: This file system contains the following GPLv3 packages:
        autoconf
        bash-dev
        bash
        bc
        binutils-dev
        binutils
        bison-dev
        bison
        cifs-utils
        cpio
        cpp-symlinks
        cpp
        dosfstools
        elfutils-dev
        elfutils
        findutils
        g++-symlinks
        g++
        gawk
        gcc-symlinks
        gcc
        gdb
        gdbc6x
        gdbserver
        gettext
        glmark2
        gstreamer1.0-libav
        gzip
        hidapi
        libasm1
        libbfd
        libcairo-perf-utils
        libdw1
        libelf1
        libgdbm-compat4
        libgdbm-dev
        libgdbm6
        libgettextlib
        libgettextsrc
        libgmp10
        libidn2-0
        libmavconn
        libmpc3
        libmpfr6
        libreadline-dev
        libreadline7
        libunistring2
        m4-dev
        m4
        make
        mavlink
        mavros-extras
        mavros-msgs
        mavros
        nettle
        parted
        pdm-anomaly-detection
        socketcan-interface
        swig-dev
        swig
        which

If you do not wish to distribute GPLv3 components please remove
the above packages prior to distribution.  This can be done using
the opkg remove command.  i.e.:
    opkg remove <package>
Where <package> is the name printed in the list above

NOTE: If the package is a dependency of another package you
      will be notified of the dependent packages.  You should
      use the --force-removal-of-dependent-packages option to
      also remove the dependent packages as well
***************************************************************
***************************************************************
[  OK  ] Started Print notice about GPLv3 packages.
[   16.333750] cpsw 48484000.ethernet eth1: Link is Up - 100Mbps/Full - flow control off
[   16.341681] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready

 _____                    _____           _         _
|  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
|     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
|__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
              |___|                    |___|

Arago Project http://arago-project.org am57xx-evm ttyS2

Arago 2019.11 am57xx-evm ttyS2

I use:

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- defconfig KBUILD_DEFCONFIG=tisdk_am57xx-evm-rt_defconfig

for configuration... Is it right config?

Best Regards,

Oleg

  • Oleg,

    That is because changing kernel alone and not installing the modules with corresponding version of kernel
    will have a mismatch and hence all the modules are not getting installed.

    make modules
    make modules_install INSTALL_MOD_PATH=/media/user/rootfs

    or make linux

    vi Rules.make

    Change DEST_DIR to point to /media/$user/rootfs (Basically your card rootfs partition)

    make linux_install

    Best Regards,
    Keerthy

  • Hi Keerthy,

    I resolve it, the problem was obvious:

    ti-processor-sdk-linux-rt-am57xx-evm-06.03.00.106/board-support/linux-rt-4.19.94+gitAUTOINC+a242ccf3f1-ga242ccf3f1/arch/arm/boot/

    Here after compilation we have 2 core files:

    zImage-4.19.94-rt39-ga242ccf3f1

    zImage

    I tryed to chenge zImage-4.19.94-rt39-ga242ccf3f1 which was on SD card on zImage-4.19.94-rt39-ga242ccf3f1 which located in kernel directory SDK but it is no righ.

    zImage-4.19.94-rt39-ga242ccf3f1 no have changes after compilation and have another time and date but zImage have it.

    So...I just rename file zImage into zImage-4.19.94-rt39-ga242ccf3f1 and try to boot ...and it is work good like was with brebuild image.

    Best Regards,

    Oleg