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.

AM4378: Fastboot

Part Number: AM4378
Other Parts Discussed in Thread: AM62P

I am currently working with the TI SDK on a Linux-based system, which takes approximately 20 seconds to boot before launching my Qt application.

I am interested in reducing the boot time so that my application, along with essential services, can start within 5 seconds. I have come across some resources suggesting that this is possible, but I do not have a clear understanding of the steps required to achieve this on AM4378 boards using the TI SDK.

I would greatly appreciate your guidance on how to optimize the boot process and directly launch my application within the desired timeframe.
The links i saw are given below
https://embetrix.com/2017/05/16/embedded-linux-fast-boot-techniques/
https://www.e-consystems.com/articles/Product-Design/Linux-Boot-Time-Optimization-Techniques.asp

Thank you for your support.

Best regards,
Roshan Rajagopal

  • Hi , 

    Is there any update regarding the above

  • Hi Roshan,

    Have you tried to build tisdk-tiny-image or tisdk-base-image and create a system with required feature set?

    https://software-dl.ti.com/processor-sdk-linux/esd/AM437X/11_02_05_02/exports/docs/linux/Overview_Building_the_SDK.html#id3

    Best Regards,

    Suren

  • Hi ,

    No i have not tried , but i need some support in doing so as i have some questions before i proceed with the same.
    1) i have created a QT application, right now it launches on the weston desktop with the rendering done by wayland i guess , this is the image provided by TI in the SDK but problem is it takes 20 seconds to boot and then another 2 seconds to launch the application. I would like to know if it is possible to boot within 5 seconds and launch the QT application on wayland itself or should we use any other renderer.The main goal of doing this is so that it resembles something similar to a car multimedia system where the system is switched on as soon as the car is switched on.

    2) Is it necessary to Bitbake an image or can we achieve this with the present image provided by TI in their SDK.If bitbake has to be done could you guide me on what to do for the above scenario to work.

    Regards,
    Roshan Rajagopal

  • Hi ,

    Is there any updates regarding this ?

    Regards,

    Roshan Rajagopal

  • Hi Roshan,

    Theoretically speakinig, yes you should be able to reduce the boot time. The default image that is packaged is usually with all the features enabled/configured. That's the reason, I suggested you to begin with a core minimal image or a tiny/base image and add what features based on your requirments.

    Removing from the default image would be a tedious job. So, I would stick with a minimal config image first and then keep adding features on top.

    Best Regards,

    Suren

  • Hi,

    I will try to bitbake the image , but i have one doubt , if i want the QT application to pop up immediately should i compile it with weston or anything else is better off to try?
    Could you help me and guide me through it ?

    Regards,
    Roshan Rajagopal

  • Hi Roshan,

    Its not required to have weston, you can use DRM.

    Let me know how the image build goes.

    Hope this helps

    Best Regards,

    Suren

  • Hi ,

    I bitbaked a tiny tisdk image but that also still takes 13 seconds to boot , is it because i used the zimage i previously used?
    also i even bitbaked core-image minimal. Could you provide some guidelines on how to reduce the boot time?
    Is it because of systemd? is there any other way other than systemd which might boot the system faster?

    Regards,

    Roshan Rajagopal

  • Hi Roshan,

    Instead of systemd you can use sysvinit as the INIT_Manager.

    Also for core-minimal-image, what oe-config file did you use? 

    Best Regards,

    Suren

  • Hi,

    To use sysvinit do we change anything the conf file or something or is it someother way?
    for core minimal image i didnt change the oe-config file. i used the ti processor sdk config file only

    Regards,
    Roshan Rajagopal

  • Hi Roshan,

    I have sent you an email on how to boot quickly on AM62P. Please follow the instructions and let me know how it goes.

    Best Regards,

    Suren

  • Hi ,

    Thank you , will try it out and get back to you

    Regards,

    Roshan Rajagopal

  • Hi Suren,
    I have bitbaked the core-minimal image and was able to boot the boardup , but when i make the changes to sbin/init to run the kmscube i am facing errors like no serial login. i am giving what the initial login gives below:

    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 6.12.57-ti-01350-g8843c53f4443 (oe-user@oe-host) (arm6
    [    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction e
    [    0.000000] OF: fdt: Machine model: TI AM437x GP EVM
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 64 MiB at 0xfb800000 on node -1
    [    0.000000] Zone ranges:
    [    0.000000]   Normal   [mem 0x0000000080000000-0x00000000afffffff]
    [    0.000000]   HighMem  [mem 0x00000000b0000000-0x00000000ffffefff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x00000000ffffefff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffefff]
    [    0.000000] OF: reserved mem: Reserved memory: No reserved-memory node in the DT
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM437x ES1.2 (sgx neon)
    [    0.000000] percpu: Embedded 17 pages/cpu s40460 r8192 d20980 u69632
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=8e2da419-t
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, li)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, line)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 524287
    [    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU event tracing is enabled.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=1.
    [    0.000000]  Trampoline variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffi.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
    [    0.000000] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu.
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e43000
    [    0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e40
    [    0.000000] L2C-310 erratum 769419 enabled
    [    0.000000] L2C-310 enabling early BRESP for Cortex-A9
    [    0.000000] OMAP L2C310: ROM does not support power control setting
    [    0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
    [    0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
    [    0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x4e430000
    [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    0.000000] TI gptimer clocksource: always-on /ocp@44000000/interconnect@44c0000
    [    0.000002] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 8947848s
    [    0.000022] clocksource: dmtimer: mask: 0xffffffff max_cycles: 0xffffffff, max_s
    [    0.000168] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000176] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, s
    [    0.000537] TI gptimer clockevent: 24000000 Hz at /ocp@44000000/interconnect@480
    [    0.002215] Console: colour dummy device 80x30
    [    0.002264] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.002272] This ensures that you still see kernel messages. Please
    [    0.002276] update your kernel commandline.
    [    0.002313] Calibrating delay loop... 1993.93 BogoMIPS (lpj=9969664)
    [    0.057528] CPU: Testing write buffer coherency: ok
    [    0.057614] CPU0: Spectre v2: using BPIALL workaround
    [    0.057626] pid_max: default: 32768 minimum: 301
    [    0.057820] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
    [    0.057849] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, li)
    [    0.058959] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.060726] Setting up static identity map for 0x80100000 - 0x80100060
    [    0.060992] rcu: Hierarchical SRCU implementation.
    [    0.061001] rcu:     Max phase no-delay instances is 1000.
    [    0.061635] EFI services will not be available.
    [    0.061816] smp: Bringing up secondary CPUs ...
    [    0.061847] smp: Brought up 1 node, 1 CPU
    [    0.061858] SMP: Total of 1 processors activated (1993.93 BogoMIPS).
    [    0.061869] CPU: All CPU(s) started in SVC mode.
    [    0.061988] Memory: 1990204K/2097148K available (13312K kernel code, 1562K rwda)
    [    0.062703] devtmpfs: initialized
    [    0.079178] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 r4
    [    0.079501] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_s
    [    0.079528] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
    [    0.084594] pinctrl core: initialized pinctrl subsystem
    [    0.085743] DMI not present or invalid.
    [    0.086466] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.088987] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.090370] thermal_sys: Registered thermal governor 'step_wise'
    [    0.090490] cpuidle: using governor menu
    [    0.116706] /ocp@44000000/interconnect@44c00000/segment@200000/target-module@b00
    [    0.117774] /ocp@44000000/interconnect@48000000/segment@0/target-module@2a000/i0
    [    0.118506] /ocp@44000000/interconnect@48000000/segment@300000/target-module@260
    [    0.118578] /ocp@44000000/interconnect@48000000/segment@300000/target-module@280
    [    0.121772] /ocp@44000000/interconnect@48000000/segment@300000/target-module@2ay
    [    0.121977] /display: Fixed dependency cycle(s) with /ocp@44000000/interconnect0
    [    0.122739] No ATAGs?
    [    0.122837] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint re.
    [    0.122851] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [    0.139828] iommu: Default domain type: Translated
    [    0.139844] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.141864] SCSI subsystem initialized
    [    0.142492] usbcore: registered new interface driver usbfs
    [    0.142544] usbcore: registered new interface driver hub
    [    0.142599] usbcore: registered new device driver usb
    [    0.143101] pps_core: LinuxPPS API ver. 1 registered
    [    0.143109] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giomett>
    [    0.143130] PTP clock support registered
    [    0.143204] EDAC MC: Ver: 3.0.0
    [    0.144434] scmi_core: SCMI protocol bus registered
    [    0.148438] clocksource: Switched to clocksource dmtimer
    [    0.169619] NET: Registered PF_INET protocol family
    [    0.178753] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [    0.180464] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 by)
    [    0.180499] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, li)
    [    0.180513] TCP established hash table entries: 8192 (order: 3, 32768 bytes, li)
    [    0.180581] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
    [    0.180885] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.181076] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
    [    0.181141] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
    [    0.181382] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.182382] RPC: Registered named UNIX socket transport module.
    [    0.182398] RPC: Registered udp transport module.
    [    0.182403] RPC: Registered tcp transport module.
    [    0.182407] RPC: Registered tcp-with-tls transport module.
    [    0.182412] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.182433] PCI: CLS 0 bytes, default 64
    [    0.183727] Initialise system trusted keyrings
    [    0.184611] workingset: timestamp_bits=30 max_order=19 bucket_order=0
    [    0.185061] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.185570] NFS: Registering the id_resolver key type
    [    0.185632] Key type id_resolver registered
    [    0.185639] Key type id_legacy registered
    [    0.185681] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.185690] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.186206] Key type asymmetric registered
    [    0.186220] Asymmetric key parser 'x509' registered
    [    0.186318] bounce: pool size: 64 pages
    [    0.186382] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.186394] io scheduler mq-deadline registered
    [    0.186402] io scheduler kyber registered
    [    0.186440] io scheduler bfq registered
    [    0.198500] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.323837] Serial: 8250/16550 driver, 5 ports, IRQ sharing enabled
    [    0.330563] STMicroelectronics ASC driver initialized
    [    0.361738] brd: module loaded
    [    0.379972] loop: module loaded
    [    0.386839] CAN device driver interface
    [    0.387201] e1000e: Intel(R) PRO/1000 Network Driver
    [    0.387207] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
    [    0.387278] igb: Intel(R) Gigabit Ethernet Network Driver
    [    0.387284] igb: Copyright (c) 2007-2014 Intel Corporation.
    [    0.388145] pegasus: Pegasus/Pegasus II USB Ethernet driver
    [    0.388211] usbcore: registered new interface driver pegasus
    [    0.388271] usbcore: registered new interface driver asix
    [    0.388319] usbcore: registered new interface driver ax88179_178a
    [    0.388366] usbcore: registered new interface driver cdc_ether
    [    0.398513] usbcore: registered new interface driver smsc75xx
    [    0.398621] usbcore: registered new interface driver smsc95xx
    [    0.398674] usbcore: registered new interface driver net1080
    [    0.398739] usbcore: registered new interface driver cdc_subset
    [    0.398787] usbcore: registered new interface driver zaurus
    [    0.398846] usbcore: registered new interface driver cdc_ncm
    [    0.400040] usbcore: registered new interface driver usb-storage
    [    0.401128] i2c_dev: i2c /dev entries driver
    [    0.403517] cpuidle: enable-method property 'ti,am4372' found operations
    [    0.404264] sdhci: Secure Digital Host Controller Interface driver
    [    0.404274] sdhci: Copyright(c) Pierre Ossman
    [    0.404475] Synopsys Designware Multimedia Card Interface Driver
    [    0.404684] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.405672] usbcore: registered new interface driver usbhid
    [    0.405680] usbhid: USB HID core driver
    [    0.418810] NET: Registered PF_INET6 protocol family
    [    0.420484] Segment Routing with IPv6
    [    0.420572] In-situ OAM (IOAM) with IPv6
    [    0.420673] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    0.421488] NET: Registered PF_PACKET protocol family
    [    0.421505] can: controller area network core
    [    0.421593] NET: Registered PF_CAN protocol family
    [    0.421603] can: raw protocol
    [    0.421615] can: broadcast manager protocol
    [    0.421628] can: netlink gateway - max_hops=1
    [    0.422036] Key type dns_resolver registered
    [    0.422303] ThumbEE CPU extension supported.
    [    0.422325] Registering SWP/SWPB emulation handler
    [    0.422977] omap_voltage_late_init: Voltage driver support not added
    [    0.449878] Loading compiled-in X.509 certificates
    [    0.495508] omap_l3_noc 44000000.l3-noc: L3 debug error: target 8 mod:0 (unclea)
    [    0.495679] omap_l3_noc 44000000.l3-noc: L3 application error: target 8 mod:0 ()
    [    0.510920] /ocp@44000000/interconnect@44c00000/segment@200000/target-module@b00
    [    0.534702] /ocp@44000000/interconnect@44c00000/segment@200000/target-module@b00
    [    0.548756] /ocp@44000000/interconnect@44c00000/segment@200000/target-module@b00
    [    0.549607] /ocp@44000000/interconnect@44c00000/segment@200000/target-module@b00
    [    0.554601] /ocp@44000000/interconnect@44c00000/segment@200000/target-module@10s
    [    0.554663] /ocp@44000000/interconnect@44c00000/segment@200000/target-module@10s
    [    0.554709] /ocp@44000000/interconnect@44c00000/segment@200000/target-module@10s
    [    0.554754] /ocp@44000000/interconnect@44c00000/segment@200000/target-module@10s
    [    0.554798] /ocp@44000000/interconnect@44c00000/segment@200000/target-module@10s
    [    0.555762] pinctrl-single 44e10800.pinmux: 199 pins, size 796
    [    0.571578] ti-sysc 44e31000.target-module: probe with driver ti-sysc failed wi6
    [    0.590153] /ocp@44000000/interconnect@48000000/segment@0/target-module@2a000/i0
    [    0.590869] /ocp@44000000/interconnect@48000000/segment@300000/target-module@260
    [    0.590935] /ocp@44000000/interconnect@48000000/segment@300000/target-module@280
    [    0.590999] /ocp@44000000/interconnect@48000000/segment@300000/target-module@2ay
    [    0.591907] /ocp@44000000/interconnect@48000000/segment@0/target-module@2a000/i0
    [    0.594190] /ocp@44000000/interconnect@48000000/segment@0/target-module@2a000/i0
    [    0.594981] /ocp@44000000/interconnect@48000000/segment@0/target-module@2a000/i0
    [    0.599998] /ocp@44000000/interconnect@48000000/segment@0/target-module@2a000/i0
    [    0.600535] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 100 kHz
    [    0.613297] ti-sysc 48040000.target-module: probe with driver ti-sysc failed wi6
    [    0.629412] OMAP GPIO hardware version 0.1
    [    0.637528] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.655702] omap8250 481a6000.serial: No clock speed specified: using default: 0
    [    0.658051] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 65, base_baud = 300
    [    0.690399] 48000000.interconnect:segment@200000:target-module@0:mpu@0:fck: dev4
    [    0.692127] /ocp@44000000/interconnect@48000000/segment@300000/target-module@260
    [    0.692289] /ocp@44000000/interconnect@48000000/segment@300000/target-module@280
    [    0.692363] /ocp@44000000/interconnect@48000000/segment@300000/target-module@2ay
    [    0.710975] omap_rng 48310000.rng: Random Number Generator ver. 20
    [    0.713362] random: crng init done
    [    0.719589] /ocp@44000000/interconnect@48000000/segment@300000/target-module@260
    [    0.720427] /ocp@44000000/interconnect@48000000/segment@0/target-module@2a000/i0
    [    0.720630] /ocp@44000000/interconnect@48000000/segment@300000/target-module@260
    [    0.729277] /ocp@44000000/interconnect@48000000/segment@300000/target-module@280
    [    0.730045] /ocp@44000000/interconnect@44c00000/segment@200000/target-module@b00
    [    0.730277] /ocp@44000000/interconnect@48000000/segment@300000/target-module@280
    [    0.731774] /ocp@44000000/interconnect@48000000/segment@300000/target-module@2ay
    [    0.732818] /display: Fixed dependency cycle(s) with /ocp@44000000/interconnect0
    [    0.733070] /ocp@44000000/interconnect@48000000/segment@300000/target-module@2ay
    [    0.753743] 483a8000.target-module:ocp2scp@0:fck: device ID is greater than 24
    [    0.763162] 483e8000.target-module:ocp2scp@0:fck: device ID is greater than 24
    [    0.828452] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000
    [    0.833028] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driverY
    [    0.833441] cpsw-switch 4a100000.switch: initialized cpsw ale version 1.4
    [    0.833457] cpsw-switch 4a100000.switch: ALE Table size 1024, Policers 0
    [    0.833566] cpsw-switch 4a100000.switch: cpts: overflow check period 500 (jiffi)
    [    0.833581] cpsw-switch 4a100000.switch: CPTS: ref_clk_freq:250000000 calc_multc
    [    0.833646] cpsw-switch 4a100000.switch: Detected MACID = 68:e7:4a:af:e9:c1
    [    0.835201] cpsw-switch 4a100000.switch: initialized (regs 0x4a100000, pool siz)
    [    0.844775] debugfs: Directory '49000000.dma' with parent 'dmaengine' already p!
    [    0.844805] edma 49000000.dma: TI EDMA DMA engine driver
    [    0.881395] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    0.881421] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    0.919883] omap8250 44e09000.serial: No clock speed specified: using default: 0
    [    0.921522] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 79, base_baud = 300
    [    0.921599] printk: legacy console [ttyS0] enabled
    [    3.501048] tps65218-pwrbutton: Failed to locate of_node [id: -2]
    [    3.507638] tps65218-gpio: Failed to locate of_node [id: -2]
    [    3.514753] /ocp@44000000/interconnect@48000000/segment@300000/target-module@280
    [    3.533680] /ocp@44000000/interconnect@44c00000/segment@200000/target-module@b00
    [    3.553133] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 100 kHz
    [    3.563032] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 mi)
    [    3.572057] sdhci-omap 48060000.mmc: Got CD GPIO
    [    3.576901] sdhci-omap 48060000.mmc: supply pbias not found, using dummy regular
    [    3.599001] sdhci-omap 48060000.mmc: supply vqmmc not found, using dummy regular
    [    3.608290] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
    [    3.614056] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus numb1
    [    3.625195] xhci-hcd xhci-hcd.3.auto: hcc params 0x0238f06d hci version 0x100 q0
    [    3.635153] xhci-hcd xhci-hcd.3.auto: irq 84, io mem 0x483d0000
    [    3.641436] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
    [    3.646980] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus numb2
    [    3.655271] mmc0: SDHCI controller on 48060000.mmc [48060000.mmc] using ExternaA
    [    3.663336] xhci-hcd xhci-hcd.3.auto: Host supports USB 3.0 SuperSpeed
    [    3.671398] hub 1-0:1.0: USB hub found
    [    3.675321] hub 1-0:1.0: 1 port detected
    [    3.680024] usb usb2: We don't know the algorithms for LPM for this host, disab.
    [    3.689584] hub 2-0:1.0: USB hub found
    [    3.693560] hub 2-0:1.0: 1 port detected
    [    3.700965] sdhci-omap 47810000.mmc: supply pbias not found, using dummy regular
    [    3.709910] nand: No NAND device found
    [    3.717697] sdhci-omap 47810000.mmc: supply vqmmc not found, using dummy regular
    [    3.727814] clk: Disabling unused clocks
    [    3.734521] PM: genpd: Disabling unused power domains
    [    3.766142] mmc1: SDHCI controller on 47810000.mmc [47810000.mmc] using ExternaA
    [    3.777015] Waiting for root device PARTUUID=8e2da419-02...
    [    3.864036] mmc0: new high speed SDHC card at address aaaa
    [    3.871115] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
    [    3.883631]  mmcblk0: p1 p2
    [    3.901400] mmc1: Failed to initialize a non-removable card
    [    3.948815] usb 1-1: new full-speed USB device number 2 using xhci-hcd
    [    4.004175] EXT4-fs (mmcblk0p2): recovery complete
    [    4.010628] EXT4-fs (mmcblk0p2): mounted filesystem 490fe003-7f64-4c89-b2a7-db1.
    [    4.023674] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    4.040997] devtmpfs: mounted
    [    4.045968] Freeing unused kernel image (initmem) memory: 1024K
    [    4.052402] Run /sbin/init as init process
    INIT: version 3.04 booting
    [    4.311407] hub 1-1:1.0: USB hub found
    [    4.315803] hub 1-1:1.0: 4 ports detected
    Starting udev
    [    4.647625] udevd[98]: starting version 3.2.14
    [    4.712255] udevd[99]: starting eudev-3.2.14
    [    6.498645] EXT4-fs (mmcblk0p2): re-mounted 490fe003-7f64-4c89-b2a7-db17e6b8a7e.
    hwclock: can't open '/dev/misc/rtc': No such file or directory
    Fri Mar  9 12:34:56 UTC 2018
    hwclock: can't open '/dev/misc/rtc': No such file or directory
    INIT: Entering runlevel: 5misc/rtc': No such file or directory
    Configuring network interfaces... [    7.235182] cpsw-switch 4a100000.switch: starc
    [    7.304421] Microchip KSZ9131 Gigabit PHY 4a101000.mdio:00: attached PHY driver)
    udhcpc: started, v1.36.1
    udhcpc: broadcasting discover
    udhcpc: broadcasting discover
    udhcpc: broadcasting discover
    [   13.921762] platform backlight: deferred probe pending: pwm-backlight: unable tM
    [   13.930536] platform display: deferred probe pending: platform: supplier backliy
    udhcpc: no lease, forking to background
    ip: SIOCGIFFLAGS: No such device
    Starting syslogd/klogd: done
    
    Poky (Yocto Project Reference Distro) 5.0.15 am437x-evm /dev/ttyS0
    
    am437x-evm login: 
    

    Below i am giving the init script we made and the boot message associated with it

    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 6.12.57-ti-01350-g8843c53f4443 (oe-user@oe-host) (arm6
    [    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction e
    [    0.000000] OF: fdt: Machine model: TI AM437x GP EVM
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 64 MiB at 0xfb800000 on node -1
    [    0.000000] Zone ranges:
    [    0.000000]   Normal   [mem 0x0000000080000000-0x00000000afffffff]
    [    0.000000]   HighMem  [mem 0x00000000b0000000-0x00000000ffffefff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x00000000ffffefff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffefff]
    [    0.000000] OF: reserved mem: Reserved memory: No reserved-memory node in the DT
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM437x ES1.2 (sgx neon)
    [    0.000000] percpu: Embedded 17 pages/cpu s40460 r8192 d20980 u69632
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=8e2da419-t
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, li)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, line)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 524287
    [    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU event tracing is enabled.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=1.
    [    0.000000]  Trampoline variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffi.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
    [    0.000000] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu.
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e43000
    [    0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e40
    [    0.000000] L2C-310 erratum 769419 enabled
    [    0.000000] L2C-310 enabling early BRESP for Cortex-A9
    [    0.000000] OMAP L2C310: ROM does not support power control setting
    [    0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
    [    0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
    [    0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x4e430000
    [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    0.000000] TI gptimer clocksource: always-on /ocp@44000000/interconnect@44c0000
    [    0.000001] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 8947848s
    [    0.000021] clocksource: dmtimer: mask: 0xffffffff max_cycles: 0xffffffff, max_s
    [    0.000169] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000178] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, s
    [    0.000543] TI gptimer clockevent: 24000000 Hz at /ocp@44000000/interconnect@480
    [    0.002212] Console: colour dummy device 80x30
    [    0.002260] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.002269] This ensures that you still see kernel messages. Please
    [    0.002273] update your kernel commandline.
    [    0.002310] Calibrating delay loop... 1993.93 BogoMIPS (lpj=9969664)
    [    0.057511] CPU: Testing write buffer coherency: ok
    [    0.057599] CPU0: Spectre v2: using BPIALL workaround
    [    0.057609] pid_max: default: 32768 minimum: 301
    [    0.057802] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
    [    0.057830] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, li)
    [    0.058943] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.060699] Setting up static identity map for 0x80100000 - 0x80100060
    [    0.060965] rcu: Hierarchical SRCU implementation.
    [    0.060974] rcu:     Max phase no-delay instances is 1000.
    [    0.061614] EFI services will not be available.
    [    0.061788] smp: Bringing up secondary CPUs ...
    [    0.061818] smp: Brought up 1 node, 1 CPU
    [    0.061829] SMP: Total of 1 processors activated (1993.93 BogoMIPS).
    [    0.061840] CPU: All CPU(s) started in SVC mode.
    [    0.061961] Memory: 1990204K/2097148K available (13312K kernel code, 1562K rwda)
    [    0.062666] devtmpfs: initialized
    [    0.079251] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 r4
    [    0.079571] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_s
    [    0.079598] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
    [    0.084735] pinctrl core: initialized pinctrl subsystem
    [    0.085874] DMI not present or invalid.
    [    0.086592] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.089028] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.090415] thermal_sys: Registered thermal governor 'step_wise'
    [    0.090536] cpuidle: using governor menu
    [    0.116770] /ocp@44000000/interconnect@44c00000/segment@200000/target-module@b00
    [    0.117851] /ocp@44000000/interconnect@48000000/segment@0/target-module@2a000/i0
    [    0.118587] /ocp@44000000/interconnect@48000000/segment@300000/target-module@260
    [    0.118657] /ocp@44000000/interconnect@48000000/segment@300000/target-module@280
    [    0.121822] /ocp@44000000/interconnect@48000000/segment@300000/target-module@2ay
    [    0.122033] /display: Fixed dependency cycle(s) with /ocp@44000000/interconnect0
    [    0.122790] No ATAGs?
    [    0.122891] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint re.
    [    0.122905] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [    0.141366] iommu: Default domain type: Translated
    [    0.141384] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.148258] SCSI subsystem initialized
    [    0.148972] usbcore: registered new interface driver usbfs
    [    0.149031] usbcore: registered new interface driver hub
    [    0.149078] usbcore: registered new device driver usb
    [    0.149582] pps_core: LinuxPPS API ver. 1 registered
    [    0.149592] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giomett>
    [    0.149623] PTP clock support registered
    [    0.149703] EDAC MC: Ver: 3.0.0
    [    0.150274] scmi_core: SCMI protocol bus registered
    [    0.152749] clocksource: Switched to clocksource dmtimer
    [    0.178834] NET: Registered PF_INET protocol family
    [    0.179262] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [    0.181356] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 by)
    [    0.181395] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, li)
    [    0.181412] TCP established hash table entries: 8192 (order: 3, 32768 bytes, li)
    [    0.181481] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
    [    0.181785] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.181981] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
    [    0.182044] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
    [    0.182282] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.183158] RPC: Registered named UNIX socket transport module.
    [    0.183173] RPC: Registered udp transport module.
    [    0.183178] RPC: Registered tcp transport module.
    [    0.183182] RPC: Registered tcp-with-tls transport module.
    [    0.183187] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.183207] PCI: CLS 0 bytes, default 64
    [    0.193947] Initialise system trusted keyrings
    [    0.194386] workingset: timestamp_bits=30 max_order=19 bucket_order=0
    [    0.194816] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.195316] NFS: Registering the id_resolver key type
    [    0.195378] Key type id_resolver registered
    [    0.195386] Key type id_legacy registered
    [    0.195429] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.195438] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.195955] Key type asymmetric registered
    [    0.195969] Asymmetric key parser 'x509' registered
    [    0.196067] bounce: pool size: 64 pages
    [    0.196133] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.196144] io scheduler mq-deadline registered
    [    0.196152] io scheduler kyber registered
    [    0.196190] io scheduler bfq registered
    [    0.198218] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.328205] Serial: 8250/16550 driver, 5 ports, IRQ sharing enabled
    [    0.335808] STMicroelectronics ASC driver initialized
    [    0.366215] brd: module loaded
    [    0.383274] loop: module loaded
    [    0.397048] CAN device driver interface
    [    0.397404] e1000e: Intel(R) PRO/1000 Network Driver
    [    0.397410] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
    [    0.397479] igb: Intel(R) Gigabit Ethernet Network Driver
    [    0.397486] igb: Copyright (c) 2007-2014 Intel Corporation.
    [    0.398337] pegasus: Pegasus/Pegasus II USB Ethernet driver
    [    0.398401] usbcore: registered new interface driver pegasus
    [    0.398463] usbcore: registered new interface driver asix
    [    0.398512] usbcore: registered new interface driver ax88179_178a
    [    0.398559] usbcore: registered new interface driver cdc_ether
    [    0.398606] usbcore: registered new interface driver smsc75xx
    [    0.398663] usbcore: registered new interface driver smsc95xx
    [    0.398710] usbcore: registered new interface driver net1080
    [    0.398764] usbcore: registered new interface driver cdc_subset
    [    0.398810] usbcore: registered new interface driver zaurus
    [    0.398866] usbcore: registered new interface driver cdc_ncm
    [    0.400002] usbcore: registered new interface driver usb-storage
    [    0.403642] i2c_dev: i2c /dev entries driver
    [    0.406020] cpuidle: enable-method property 'ti,am4372' found operations
    [    0.406784] sdhci: Secure Digital Host Controller Interface driver
    [    0.406795] sdhci: Copyright(c) Pierre Ossman
    [    0.406995] Synopsys Designware Multimedia Card Interface Driver
    [    0.407208] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.408211] usbcore: registered new interface driver usbhid
    [    0.408220] usbhid: USB HID core driver
    [    0.411240] NET: Registered PF_INET6 protocol family
    [    0.424238] Segment Routing with IPv6
    [    0.424325] In-situ OAM (IOAM) with IPv6
    [    0.424425] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    0.425237] NET: Registered PF_PACKET protocol family
    [    0.425253] can: controller area network core
    [    0.425340] NET: Registered PF_CAN protocol family
    [    0.425351] can: raw protocol
    [    0.425363] can: broadcast manager protocol
    [    0.425376] can: netlink gateway - max_hops=1
    [    0.425763] Key type dns_resolver registered
    [    0.426031] ThumbEE CPU extension supported.
    [    0.426053] Registering SWP/SWPB emulation handler
    [    0.426702] omap_voltage_late_init: Voltage driver support not added
    [    0.454133] Loading compiled-in X.509 certificates
    [    0.499689] omap_l3_noc 44000000.l3-noc: L3 debug error: target 8 mod:0 (unclea)
    [    0.499864] omap_l3_noc 44000000.l3-noc: L3 application error: target 8 mod:0 ()
    [    0.506000] /ocp@44000000/interconnect@44c00000/segment@200000/target-module@b00
    [    0.538480] /ocp@44000000/interconnect@44c00000/segment@200000/target-module@b00
    [    0.542339] /ocp@44000000/interconnect@44c00000/segment@200000/target-module@b00
    [    0.553268] /ocp@44000000/interconnect@44c00000/segment@200000/target-module@b00
    [    0.558375] /ocp@44000000/interconnect@44c00000/segment@200000/target-module@10s
    [    0.558437] /ocp@44000000/interconnect@44c00000/segment@200000/target-module@10s
    [    0.558482] /ocp@44000000/interconnect@44c00000/segment@200000/target-module@10s
    [    0.558527] /ocp@44000000/interconnect@44c00000/segment@200000/target-module@10s
    [    0.558573] /ocp@44000000/interconnect@44c00000/segment@200000/target-module@10s
    [    0.559517] pinctrl-single 44e10800.pinmux: 199 pins, size 796
    [    0.575411] ti-sysc 44e31000.target-module: probe with driver ti-sysc failed wi6
    [    0.594433] /ocp@44000000/interconnect@48000000/segment@0/target-module@2a000/i0
    [    0.595155] /ocp@44000000/interconnect@48000000/segment@300000/target-module@260
    [    0.595225] /ocp@44000000/interconnect@48000000/segment@300000/target-module@280
    [    0.595293] /ocp@44000000/interconnect@48000000/segment@300000/target-module@2ay
    [    0.596227] /ocp@44000000/interconnect@48000000/segment@0/target-module@2a000/i0
    [    0.598467] /ocp@44000000/interconnect@48000000/segment@0/target-module@2a000/i0
    [    0.599272] /ocp@44000000/interconnect@48000000/segment@0/target-module@2a000/i0
    [    0.604266] /ocp@44000000/interconnect@48000000/segment@0/target-module@2a000/i0
    [    0.604797] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 100 kHz
    [    0.617611] ti-sysc 48040000.target-module: probe with driver ti-sysc failed wi6
    [    0.633789] OMAP GPIO hardware version 0.1
    [    0.641931] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.659982] omap8250 481a6000.serial: No clock speed specified: using default: 0
    [    0.662366] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 65, base_baud = 300
    [    0.695295] 48000000.interconnect:segment@200000:target-module@0:mpu@0:fck: dev4
    [    0.697005] /ocp@44000000/interconnect@48000000/segment@300000/target-module@260
    [    0.697155] /ocp@44000000/interconnect@48000000/segment@300000/target-module@280
    [    0.697229] /ocp@44000000/interconnect@48000000/segment@300000/target-module@2ay
    [    0.715937] omap_rng 48310000.rng: Random Number Generator ver. 20
    [    0.718462] random: crng init done
    [    0.723919] /ocp@44000000/interconnect@48000000/segment@300000/target-module@260
    [    0.724753] /ocp@44000000/interconnect@48000000/segment@0/target-module@2a000/i0
    [    0.724952] /ocp@44000000/interconnect@48000000/segment@300000/target-module@260
    [    0.733566] /ocp@44000000/interconnect@48000000/segment@300000/target-module@280
    [    0.734350] /ocp@44000000/interconnect@44c00000/segment@200000/target-module@b00
    [    0.734574] /ocp@44000000/interconnect@48000000/segment@300000/target-module@280
    [    0.736080] /ocp@44000000/interconnect@48000000/segment@300000/target-module@2ay
    [    0.737106] /display: Fixed dependency cycle(s) with /ocp@44000000/interconnect0
    [    0.737359] /ocp@44000000/interconnect@48000000/segment@300000/target-module@2ay
    [    0.758144] 483a8000.target-module:ocp2scp@0:fck: device ID is greater than 24
    [    0.774183] 483e8000.target-module:ocp2scp@0:fck: device ID is greater than 24
    [    0.842740] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000
    [    0.847311] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driverY
    [    0.847717] cpsw-switch 4a100000.switch: initialized cpsw ale version 1.4
    [    0.847735] cpsw-switch 4a100000.switch: ALE Table size 1024, Policers 0
    [    0.847846] cpsw-switch 4a100000.switch: cpts: overflow check period 500 (jiffi)
    [    0.847859] cpsw-switch 4a100000.switch: CPTS: ref_clk_freq:250000000 calc_multc
    [    0.847926] cpsw-switch 4a100000.switch: Detected MACID = 68:e7:4a:af:e9:c1
    [    0.849484] cpsw-switch 4a100000.switch: initialized (regs 0x4a100000, pool siz)
    [    0.868515] debugfs: Directory '49000000.dma' with parent 'dmaengine' already p!
    [    0.868545] edma 49000000.dma: TI EDMA DMA engine driver
    [    0.905399] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    0.905426] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    0.929347] omap8250 44e09000.serial: No clock speed specified: using default: 0
    [    0.931069] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 79, base_baud = 300
    [    0.931163] printk: legacy console [ttyS0] enabled
    [    3.495338] tps65218-pwrbutton: Failed to locate of_node [id: -2]
    [    3.501938] tps65218-gpio: Failed to locate of_node [id: -2]
    [    3.509016] /ocp@44000000/interconnect@48000000/segment@300000/target-module@280
    [    3.527830] /ocp@44000000/interconnect@44c00000/segment@200000/target-module@b00
    [    3.547059] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 100 kHz
    [    3.557172] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 mi)
    [    3.566252] sdhci-omap 48060000.mmc: Got CD GPIO
    [    3.571213] sdhci-omap 48060000.mmc: supply pbias not found, using dummy regular
    [    3.593721] sdhci-omap 48060000.mmc: supply vqmmc not found, using dummy regular
    [    3.602859] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
    [    3.608455] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus numb1
    [    3.619533] xhci-hcd xhci-hcd.3.auto: hcc params 0x0238f06d hci version 0x100 q0
    [    3.629539] xhci-hcd xhci-hcd.3.auto: irq 84, io mem 0x483d0000
    [    3.635810] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
    [    3.641354] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus numb2
    [    3.649652] mmc0: SDHCI controller on 48060000.mmc [48060000.mmc] using ExternaA
    [    3.657731] xhci-hcd xhci-hcd.3.auto: Host supports USB 3.0 SuperSpeed
    [    3.665777] hub 1-0:1.0: USB hub found
    [    3.669689] hub 1-0:1.0: 1 port detected
    [    3.674414] usb usb2: We don't know the algorithms for LPM for this host, disab.
    [    3.683993] hub 2-0:1.0: USB hub found
    [    3.687955] hub 2-0:1.0: 1 port detected
    [    3.694982] nand: No NAND device found
    [    3.700222] sdhci-omap 47810000.mmc: supply pbias not found, using dummy regular
    [    3.713856] clk: Disabling unused clocks
    [    3.718080] PM: genpd: Disabling unused power domains
    [    3.723900] sdhci-omap 47810000.mmc: supply vqmmc not found, using dummy regular
    [    3.760101] mmc1: SDHCI controller on 47810000.mmc [47810000.mmc] using ExternaA
    [    3.770346] Waiting for root device PARTUUID=8e2da419-02...
    [    3.791736] mmc0: new high speed SDHC card at address aaaa
    [    3.798593] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
    [    3.809659]  mmcblk0: p1 p2
    [    3.889658] EXT4-fs (mmcblk0p2): recovery complete
    [    3.897721] EXT4-fs (mmcblk0p2): mounted filesystem 490fe003-7f64-4c89-b2a7-db1.
    [    3.910490] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    3.921362] mmc1: Failed to initialize a non-removable card
    [    3.927988] devtmpfs: mounted
    [    3.938550] Freeing unused kernel image (initmem) memory: 1024K
    [    3.944872] usb 1-1: new full-speed USB device number 2 using xhci-hcd
    [    3.951794] Run /sbin/init as init process
    init
    mounted
    insmod: ERROR: could not load module /lib/modules/6.12.42-ti-gfe4718a972cf-dirty/uy
    modded
    /sbin/init: line 25: kmscube: not found
    /bin/sh: can't access tty; job control turned off
    ~ # [    4.305219] hub 1-1:1.0: USB hub found
    [    4.309197] hub 1-1:1.0: 4 ports detected
    [   13.926762] platform backlight: deferred probe pending: pwm-backlight: unable tM
    [   13.935864] platform display: deferred probe pending: platform: supplier backliy
    
    ~ # 
    ~ # 
    

    init script is as below: 

    #!/bin/sh                                     
    PATH=/sbin:/bin:/usr/sbin:/usr/bin            
    echo "init"                                   
    if [ -e /proc ] && ! [ -e /proc/mounts ]; then
    mount -t proc proc /proc                      
    fi                                            
    if [ -e /sys ] && grep -q sysfs /proc/filesystems && ! [ -e /sys/class ]; then
    mount -t sysfs sysfs /sys                                                     
    fi                                                                            
    if [ -e /sys/kernel/debug ] && grep -q debugfs /proc/filesystems; then        
    mount -t debugfs debugfs /sys/kernel/debug                            
    fi                                                                    
    if [ -e /sys/kernel/config ] && grep -q configfs /proc/filesystems; then
    mount -t configfs configfs /sys/kernel/config                           
    fi                                                                      
    if [ -e /sys/firmware/efi/efivars ] && grep -q efivarfs /proc/filesystems; then
    mount -t efivarfs efivarfs /sys/firmware/efi/efivars                           
    fi                                                                             
    if ! [ -e /dev/zero ] && [ -e /dev ] && grep -q devtmpfs /proc/filesystems; then
    mount -n -t devtmpfs devtmpfs /dev                                              
    fi                                                                              
    echo "mounted"                                                                  
    insmod /lib/modules/6.12.42-ti-gfe4718a972cf-dirty/updates/pvrsrvkm.ko
    echo "modded"                                                         
    kmscube -D /dev/dri/card0                                             
    exec /bin/sh   

    Also could you let me know how do i get the login prompt and the reboot command also running like the old init script, if possbile bring up the display early and then do the rest.

    Regards,
    Roshan Rajagopal

  • Hi Roshan,

    The script is referencing pvrsrvkm.ko which is the kernel module on AM62P for graphics and not on AM4378. 

    Now that you are able to create a core-minimal-image, you should be able to modify the script to run your applications that you want.

    Best Regards

    Suren