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.

PROCESSOR-SDK-AM335X: Observing Reboot in AM3352 in latest TISDK 9.1

Part Number: PROCESSOR-SDK-AM335X
Other Parts Discussed in Thread: AM3352

Tool/software:

Hi All,

We are able to bring up the kernel. But we are facing reboot issue.. 

Steps tried,

1. u-boot 2021 and kernel (TISDK 8.2) and RFS (TISDK 2017.10) booting success there was no observation of rebooting controller..

2. u-boot 2023 and kernel (TISDK 9.1) and RFS (TISDK 2017.10) booting success there was no observation of rebooting controller.

3. u-boot 2023 and kernel (TISDK 9.1)  and RFS (TISDK 8.2) rebooting continuously even though i have enable watchdog

Below is the log..

please help on this,

U-Boot SPL 2023.04-g999 (Sep 02 2024 - 09:32:22 +0000)
Trying to boot from MMC1
Loading Environment from FAT... Unable to read "uboot.env" from mmc0:1...
######## Crypto Chip is Locked ########
public_key.bin file found
######## u-boot.img is verified successfully. ###########


U-Boot 2023.04-g999 (Sep 02 2024 - 09:32:22 +0000)

CPU : AM335X-GP rev 2.1
Model: TI AM335x EVM-SK
DRAM: 1 GiB
Core: 155 devices, 16 uclasses, devicetree: separate
WDT: Started wdt@44e35000 with servicing every 1000ms (60s timeout)
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from FAT... Unable to read "uboot.env" from mmc0:1...
<ethaddr> not set. Validating first E-fuse MAC
Signature file present on SD_CARD : 1
######## Crypto Chip is Locked ########
public_key.bin file found
######## zImage is verified successfully. ###########
File write successfully
Net: eth2: usb_ether
Hit any key to stop autoboot: 0
######### hangupstatus 0 #########
switch to partitions #0, OK
mmc0 is current device
micro SD card found
<DIR> 4096 .
<DIR> 4096 ..
94612 am335x-evmsk.dtb
5020680 zImage
kernel image is present in sdcard
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
5020680 bytes read in 652 ms (7.3 MiB/s)
loaduimage Siemens ...
94612 bytes read in 19 ms (4.7 MiB/s)
Booting Siemens from mmc ...
94612 bytes read in 18 ms (5 MiB/s)
## Error: "get_overlay_mmc" not defined
Kernel image @ 0x82000000 [ 0x000000 - 0x4c9c08 ]
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Working FDT set to 88000000
Loading Device Tree to 8ffe5000, end 8ffff193 ... OK
Working FDT set to 8ffe5000

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 6.1.46v0.0.1-g7a7a3af903 (oe-user@oe-host) (arm-oe-linux-gnueabi-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP Fri Aug 30 09:31:27 UTC 2024
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: TI AM335x EVM
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] cma: Reserved 16 MiB at 0xbf000000
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000080000000-0x00000000afdfffff]
[ 0.000000] HighMem [mem 0x00000000afe00000-0x00000000bfffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080000000-0x00000000afdfffff]
[ 0.000000] node 0: [mem 0x00000000b0000000-0x00000000bfffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000bfffffff]
[ 0.000000] On node 0, zone HighMem: 512 pages in unavailable ranges
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] AM335X ES2.1 (neon)
[ 0.000000] percpu: Embedded 16 pages/cpu s34132 r8192 d23212 u65536
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 259908
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=cbe695ed-02 rw rootfstype=ext4 rootwait
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 1004044K/1046528K available (10240K kernel code, 1092K rwdata, 2496K rodata, 1024K init, 280K bss, 26100K reserved, 16384K cma-reserved, 245760K highmem)
[ 0.000000] trace event string verifier disabled
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrupts
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] TI gptimer clocksource: always-on /ocp/interconnect@44c00000/segment@200000/target-module@31000
[ 0.000005] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000062] clocksource: dmtimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.001146] TI gptimer clockevent: 24000000 Hz at /ocp/interconnect@48000000/segment@0/target-module@40000
[ 0.006000] Console: colour dummy device 80x30
[ 0.006094] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[ 0.006116] This ensures that you still see kernel messages. Please
[ 0.006131] update your kernel commandline.
[ 0.006240] Calibrating delay loop... 298.59 BogoMIPS (lpj=1492992)
[ 0.151371] CPU: Testing write buffer coherency: ok
[ 0.151574] CPU0: Spectre v2: using BPIALL workaround
[ 0.151605] pid_max: default: 32768 minimum: 301
[ 0.151953] LSM: Security Framework initializing
[ 0.152433] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.152497] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.156361] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[ 0.159520] Setting up static identity map for 0x80100000 - 0x80100078
[ 0.160216] rcu: Hierarchical SRCU implementation.
[ 0.160240] rcu: Max phase no-delay instances is 1000.
[ 0.162282] smp: Bringing up secondary CPUs ...
[ 0.162310] smp: Brought up 1 node, 1 CPU
[ 0.162339] SMP: Total of 1 processors activated (298.59 BogoMIPS).
[ 0.162367] CPU: All CPU(s) started in SVC mode.
[ 0.164224] devtmpfs: initialized
[ 0.208571] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 0.209362] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.209437] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[ 0.212732] pinctrl core: initialized pinctrl subsystem
[ 0.217634] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.225179] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.226558] audit: initializing netlink subsys (disabled)
[ 0.229375] thermal_sys: Registered thermal governor 'fair_share'
[ 0.229414] thermal_sys: Registered thermal governor 'step_wise'
[ 0.229431] thermal_sys: Registered thermal governor 'user_space'
[ 0.229636] audit: type=2000 audit(0.220:1): state=initialized audit_enabled=0 res=1
[ 0.229800] cpuidle: using governor menu
[ 0.275314] No ATAGs?
[ 0.275358] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.301185] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[ 2.502293] iommu: Default domain type: Translated
[ 2.502322] iommu: DMA domain TLB invalidation policy: strict mode
[ 2.505825] SCSI subsystem initialized
[ 2.507236] SPI driver ksz8863 has no spi_device_id for microchip,ksz8873
[ 2.507834] pps_core: LinuxPPS API ver. 1 registered
[ 2.507860] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 2.507922] PTP clock support registered
[ 2.511645] vgaarb: loaded
[ 2.513031] clocksource: Switched to clocksource dmtimer
[ 2.514561] VFS: Disk quotas dquot_6.6.0
[ 2.514776] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 2.689869] NET: Registered PF_INET protocol family
[ 2.690763] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 2.696332] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 2.696430] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 2.696498] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 2.696738] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[ 2.697348] TCP: Hash tables configured (established 8192 bind 8192)
[ 2.697669] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 2.697779] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 2.698247] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 2.700771] RPC: Registered named UNIX socket transport module.
[ 2.700812] RPC: Registered udp transport module.
[ 2.700828] RPC: Registered tcp transport module.
[ 2.700843] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 2.700882] PCI: CLS 0 bytes, default 64
[ 2.704695] Initialise system trusted keyrings
[ 2.706534] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[ 2.709420] NFS: Registering the id_resolver key type
[ 2.709545] Key type id_resolver registered
[ 2.709566] Key type id_legacy registered
[ 2.709699] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 2.710670] Key type asymmetric registered
[ 2.710705] Asymmetric key parser 'x509' registered
[ 2.711058] bounce: pool size: 64 pages
[ 2.711170] io scheduler mq-deadline registered
[ 2.711198] io scheduler kyber registered
[ 2.723716] Serial: 8250/16550 driver, 6 ports, IRQ sharing enabled
[ 2.767121] brd: module loaded
[ 2.787464] loop: module loaded
[ 2.789863] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 2.796952] i2c_dev: i2c /dev entries driver
[ 2.799353] cpuidle: enable-method property 'ti,am3352' found operations
[ 2.800434] sdhci: Secure Digital Host Controller Interface driver
[ 2.800458] sdhci: Copyright(c) Pierre Ossman
[ 2.800955] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.801566] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.803675] Initializing XFRM netlink socket
[ 2.804118] NET: Registered PF_INET6 protocol family
[ 2.807973] Segment Routing with IPv6
[ 2.808174] In-situ OAM (IOAM) with IPv6
[ 2.808442] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 2.810672] NET: Registered PF_PACKET protocol family
[ 2.810735] NET: Registered PF_KEY protocol family
[ 2.810990] Key type dns_resolver registered
[ 2.811195] ThumbEE CPU extension supported.
[ 2.811237] Registering SWP/SWPB emulation handler
[ 2.812114] omap_voltage_late_init: Voltage driver support not added
[ 2.812797] SmartReflex Class3 initialized
[ 2.815116] Loading compiled-in X.509 certificates
[ 2.892411] ti-sysc 44e07000.target-module: dts flag should be at module level for ti,no-reset-on-init
[ 2.911665] pinctrl-single 44e10800.pinmux: 142 pins, size 568
[ 2.922710] ti-sysc: probe of 44e31000.target-module failed with error -16
[ 2.930769] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 2.962531] ti-sysc: probe of 48040000.target-module failed with error -16
[ 2.988241] gpio gpiochip0: (gpio-0-31): not an immutable chip, please consider fixing it!
[ 2.994907] OMAP GPIO hardware version 0.1
[ 3.058082] rtc rtc0: invalid alarm value: 2024-09-01T45:85:00
[ 3.058895] rtc-pcf8563 2-0051: registered as rtc0
[ 3.060344] rtc-pcf8563 2-0051: setting system clock to 2024-09-01T02:37:09 UTC (1725158229)
[ 3.062277] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
[ 3.072141] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 25, base_baud = 3000000) is a 8250
[ 3.081148] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 26, base_baud = 3000000) is a 8250
[ 3.089814] gpio gpiochip1: (gpio-32-63): not an immutable chip, please consider fixing it!
[ 3.096676] gpio gpiochip2: (gpio-64-95): not an immutable chip, please consider fixing it!
[ 3.140644] sdhci-omap 481d8000.mmc: supply pbias not found, using dummy regulator
[ 3.141705] sdhci-omap 481d8000.mmc: supply vqmmc not found, using dummy regulator
[ 3.142517] sdhci-omap 481d8000.mmc: using old ti,non-removable property
[ 3.152561] cpsw 4a100000.ethernet: No slave[1] phy_id, phy-handle, or fixed-link property
[ 3.152860] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
[ 3.152891] cpsw 4a100000.ethernet: ALE Table size 1024
[ 3.153573] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
[ 3.153774] cpsw 4a100000.ethernet: Detected MACID = 98:5d:ad:e9:1e:4c
[ 3.178872] debugfs: Directory '49000000.dma' with parent 'dmaengine' already present!
[ 3.178946] edma 49000000.dma: TI EDMA DMA engine driver
[ 3.238804] omap_reset_deassert: timedout waiting for gfx:0
[ 3.238919] ti-sysc: probe of 5600fe00.target-module failed with error -110
[ 3.246756] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[ 3.250266] gpio gpiochip3: (gpio-96-127): not an immutable chip, please consider fixing it!
[ 3.255642] l3-aon-clkctrl:0000:0: failed to disable
[ 3.260618] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 36, base_baud = 3000000) is a 8250
[ 4.266587] printk: console [ttyS0] enabled
[ 4.276277] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 37, base_baud = 3000000) is a 8250
[ 4.292022] ksz8863 spi0.0: chip id 0x8831
[ 4.326854] ksz8863: 0xC6(198) ->0xa
[ 4.330591] ksz8863: 0xC6(198) ->0xA
[ 4.341236] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
[ 4.350342] sdhci-omap 48060000.mmc: Got CD GPIO
[ 4.355838] sdhci-omap 48060000.mmc: supply pbias not found, using dummy regulator
[ 4.380650] sdhci-omap 48060000.mmc: supply vqmmc not found, using dummy regulator
[ 4.390110] sdhci-omap 481d8000.mmc: supply pbias not found, using dummy regulator
[ 4.399338] sdhci-omap 47810000.mmc: supply pbias not found, using dummy regulator
[ 4.409434] sdhci-omap 481d8000.mmc: supply vqmmc not found, using dummy regulator
[ 4.421827] sdhci-omap 47810000.mmc: supply vqmmc not found, using dummy regulator
[ 4.458943] mmc1: SDHCI controller on 481d8000.mmc [481d8000.mmc] using External DMA
[ 4.468952] mmc0: SDHCI controller on 48060000.mmc [48060000.mmc] using External DMA
[ 4.523704] mmc1: new high speed MMC card at address 0001
[ 4.532305] mmcblk1: mmc1:0001 W62704 3.53 GiB
[ 4.546062] mmcblk1: p1 p2 p3 p4 < p5 p6 >
[ 4.552523] mmc2: SDHCI controller on 47810000.mmc [47810000.mmc] using External DMA
[ 4.567144] mmcblk1boot0: mmc1:0001 W62704 2.00 MiB
[ 4.575597] mmc0: new high speed SDHC card at address aaaa
[ 4.581988] sdhci-omap 47810000.mmc: card claims to support voltages below defined range
[ 4.592595] mmcblk0: mmc0:aaaa SA08G 7.40 GiB
[ 4.603157] mmcblk1boot1: mmc1:0001 W62704 2.00 MiB
[ 4.617499] mmcblk0: p1 p2 p3
[ 4.622443] mmcblk1rpmb: mmc1:0001 W62704 512 KiB, chardev (249:0)
[ 4.654395] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none.
[ 4.663378] VFS: Mounted root (ext4 filesystem) on device 179:18.
[ 4.681307] devtmpfs: mounted
[ 4.689667] Freeing unused kernel image (initmem) memory: 1024K
[ 4.697592] Run /sbin/init as init process
[ 4.731193] mmc2: new SDIO card at address 0001
[ 5.110060] systemd[1]: Failed to lookup module alias 'autofs4': Function not implemented
[ 5.161654] systemd[1]: systemd 244 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)
[ 5.185761] systemd[1]: Detected architecture arm.

Welcome to Arago 2021.09!

[ 5.316180] systemd[1]: Set hostname to
[ 9.683026] random: crng init done
[ 9.687504] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[ 9.700365] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[ 9.720830] systemd[1]: Created slice system-getty.slice.
[ OK ] Created slice system-getty.slice.
[ 9.769142] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ OK ] Created slice system-serial\x2dgetty.slice.
[ 9.808196] systemd[1]: Created slice User and Session Slice.
[ OK ] Created slice User and Session Slice.
[ 9.845108] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Started Dispatch Password …ts to Console Directory Watch.
[ 9.884835] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ OK ] Started Forward Password R…uests to Wall Directory Watch.
[ 9.924382] systemd[1]: Reached target Paths.
[ OK ] Reached target Paths.
[ 9.935514] systemd[1]: Reached target Remote File Systems.
[ OK ] Reached target Remote File Systems.
[ 9.973834] systemd[1]: Reached target Slices.
[ OK ] Reached target Slices.
[ 10.013854] systemd[1]: Reached target Swap.
[ OK ] Reached target Swap.
[ 10.068382] systemd[1]: Listening on RPCbind Server Activation Socket.
[ OK ] Listening on RPCbind Server Activation Socket.
[ 10.104022] systemd[1]: Reached target RPC Port Mapper.
[ OK ] Reached target RPC Port Mapper.
[ 10.149491] systemd[1]: Listening on Syslog Socket.
[ OK ] Listening on Syslog Socket.
[ 10.213772] systemd[1]: Listening on Process Core Dump Socket.
[ OK ] Listening on Process Core Dump Socket.
[ 10.254976] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ OK ] Listening on initctl Compatibility Named Pipe.
[ 10.296869] systemd[1]: Listening on Journal Audit Socket.
[ OK ] Listening on Journal Audit Socket.
[ 10.335765] systemd[1]: Listening on Journal Socket (/dev/log).
[ OK ] Listening on Journal Socket (/dev/log).
[ 10.376287] systemd[1]: Listening on Journal Socket.
[ OK ] Listening on Journal Socket.
[ 10.416644] systemd[1]: Listening on Network Service Netlink Socket.
[ OK ] Listening on Network Service Netlink Socket.
[ 10.455985] systemd[1]: Listening on udev Control Socket.
[ OK ] Listening on udev Control Socket.
[ 10.495289] systemd[1]: Listening on udev Kernel Socket.
[ OK ] Listening on udev Kernel Socket.
[ 10.536009] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[ 10.575748] systemd[1]: Mounting POSIX Message Queue File System...
Mounting POSIX Message Queue File System...
[ 10.646335] systemd[1]: Mounting Kernel Debug File System...
Mounting Kernel Debug File System...
[ 10.715654] systemd[1]: Mounting Temporary Directory (/tmp)...
Mounting Temporary Directory (/tmp)...
[ 10.730359] systemd[1]: Condition check resulted in Create list of static device nodes for the current kernel being skipped.
[ 10.807136] systemd[1]: Starting RPC Bind...
Starting RPC Bind...
[ 10.825294] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[ 10.907825] systemd[1]: Starting Journal Service...
Starting Journal Service...
[ 11.037069] systemd[1]: Starting Load Kernel Modules...
Starting Load Kernel Modules...
[ 11.137004] systemd[1]: Starting Remount Root and Kernel File Systems...
Starting Remount Root and Kernel File Systems...
[ 11.267326] systemd[1]: Starting udev Coldplug all Devices...
Starting udev Coldplug all Devices...
[ 11.450818] systemd[1]: Started RPC Bind.
[ OK ] Started RPC Bind.
[ 11.545171] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none.
[ 11.652675] systemd[1]: Mounted POSIX Message Queue File System.
[ OK ] Mounted POSIX Message Queue File System.
[ 11.716353] systemd[1]: Mounted Kernel Debug File System.
[ OK ] Mounted Kernel Debug File System.
[ 11.747024] systemd[1]: Mounted Temporary Directory (/tmp).
[ OK ] Mounted Temporary Directory (/tmp).
[ 11.806236] systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
[ 11.847170] systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
[ 11.914273] systemd[1]: Failed to start Load Kernel Modules.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[ 11.994686] systemd[1]: Started Remount Root and Kernel File Systems.
[ OK ] Started Remount Root and Kernel File Systems.
[ 12.028506] systemd[1]: Condition check resulted in FUSE Control File System being skipped.
[ 12.136282] systemd[1]: Mounting Kernel Configuration File System...
Mounting Kernel Configuration File System...
[ 12.209134] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[ 12.307025] systemd[1]: Starting Apply Kernel Variables...
Starting Apply Kernel Variables...
[ 12.374522] systemd[1]: Condition check resulted in Create System Users being skipped.
[ 12.467340] systemd[1]: Starting Create Static Device Nodes in /dev...
Starting Create Static Device Nodes in /dev...
[ 12.608063] systemd[1]: Mounted Kernel Configuration File System.
[ OK ] Mounted Kernel Configuration File System.
[ 12.754817] systemd[1]: Started Apply Kernel Variables.
[ OK ] Started Apply Kernel Variables.
[ 12.996193] systemd[1]: Started Create Static Device Nodes in /dev.
[ OK ] Started Create Static Device Nodes in /dev.
[ 13.056372] systemd[1]: Reached target Local File Systems (Pre).
[ OK ] Reached target Local File Systems (Pre).
[ 13.176581] systemd[1]: Mounting /media/ram...
Mounting /media/ram...
[ 13.276296] systemd[1]: Mounting /var/volatile...
Mounting /var/volatile...
[ 13.372809] systemd[1]: Starting udev Kernel Device Manager...
Starting udev Kernel Device Manager...
[ 13.532305] systemd[1]: Mounted /media/ram.
[ OK ] Mounted /media/ram.
[ 13.592693] systemd[1]: Mounted /var/volatile.
[ OK ] Mounted /var/volatile.
[ 13.642605] systemd[1]: Condition check resulted in Bind mount volatile /var/cache being skipped.
[ 13.681249] systemd[1]: Condition check resulted in Bind mount volatile /var/lib being skipped.
[ 13.799314] systemd[1]: Starting Load/Save Random Seed...
Starting Load/Save Random Seed...
[ 13.884501] systemd[1]: Condition check resulted in Bind mount volatile /var/spool being skipped.
[ 13.934551] systemd[1]: Condition check resulted in Bind mount volatile /srv being skipped.
[ 13.984273] systemd[1]: Reached target Local File Systems.
[ OK ] Reached target Local File Systems.
[ 14.024857] systemd[1]: Condition check resulted in Rebuild Dynamic Linker Cache being skipped.
[ 14.085378] systemd[1]: Condition check resulted in Commit a transient machine-id on disk being skipped.
[ 14.207535] systemd[1]: Started Load/Save Random Seed.
[ OK ] Started Load/Save Random Seed.
[ 14.280810] systemd[1]: Started Journal Service.
[ OK ] Started Journal Service.
Starting Flush Journal to Persistent Storage...
[ 14.668112] systemd-journald[101]: Received client request to flush runtime journal.
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started Flush Journal to Persistent Storage.
Starting Create Volatile Files and Directories...
[ OK ] Started Create Volatile Files and Directories.
Starting Update UTMP about System Boot/Shutdown...
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Started udev Coldplug all Devices.
[ OK ] Reached target System Initialization.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target Timers.
[ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Listening on dropbear.socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
[ OK ] Started Kernel Logging Service.
[ OK ] Started System Logging Service.
[ OK ] Started D-Bus System Message Bus.
Starting IPv6 Packet Filtering Framework...
Starting IPv4 Packet Filtering Framework...
Starting Lighttpd Daemon...
Starting Telephony service...
Starting Login Service...
[ OK ] Started IPv6 Packet Filtering Framework.
[ OK ] Started IPv4 Packet Filtering Framework.
[ OK ] Started Lighttpd Daemon.
[ OK ] Started Telephony service.
[ OK ] Started Login Service.
[ OK ] Reached target Network (Pre).
Starting Network Service...
[ OK ] Started Network Service.
[ 38.917483] cpsw 4a100000.ethernet: initializing cpsw version 1.12 (0)
[ 38.969419] Generic PHY fixed-0:00: attached PHY driver (mii_bus:phy_addr=fixed-0:00, irq=POLL)
[ 38.979052] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
[ 39.041739] libphy: PHY not found
[ 39.045568] cpsw 4a100000.ethernet: phy "" not found on slave 1, err -19
Starting Network Name Resolution...
[ OK ] Started Network Name Resolution.
[ OK ] Reached target Network.
[ OK ] Reached target Host and Network Name Lookups.
Starting Avahi mDNS/DNS-SD Stack...
Starting LLDP daemon...
[ OK ] Started 24VDC SEM3 Controller startup service.
Starting Permit User Sessions...
[ OK ] Started Avahi mDNS/DNS-SD Stack.
[ OK ] Started Permit User Sessions.
[ OK ] Started Getty on tty1.
[ OK ] Started Serial Getty on ttyS0.
[ OK ] Started Serial Getty on ttyS3.
[ OK ] Reached target Login Prompts.
Starting Synchronize System and HW clocks...
[ OK ] Started LLDP daemon.
[ OK ] Reached target Multi-User System.
Starting Update UTMP about System Runlevel Changes...
[ OK ] Started Update UTMP about System Runlevel Changes.
[ OK ] Started Synchronize System and HW clocks.

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

Arago Project http://arago-project.org ttyS0

Arago 2021.09 ttyS0

[ 97.252066] audit: type=1006 audit(1725161374.680:2): pid=403 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=1 res=1
[ 97.264874] audit: type=1300 audit(1725161374.680:2): arch=40000028 syscall=4 per=800000 success=yes exit=1 a0=7 a1=be89c374 a2=1 a3=0 items=0 ppid=1 pid=403 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/lib/systemd/systemd" key=(null)
[ 97.404008] audit: type=1327 audit(1725161374.680:2): proctitle="(systemd)"

login: [ 55.263233] mmcblk1: p1 p2 p3 p4 < p5 p6 >
[ 64.007539] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
[ 196.706363] EXT4-fs (mmcblk1p2): unmounting filesystem.
[ 199.308971] /dev/mapper/DATA: Can't open blockdev
[ 199.456840] EXT4-fs (mmcblk1p6): mounted filesystem with ordered data mode. Quota mode: none.
[ 199.908332] cpsw 4a100000.ethernet eth0: Link is Down
[ 202.657942] cpsw 4a100000.ethernet: initializing cpsw version 1.12 (0)
[ 202.668076] Generic PHY fixed-0:00: attached PHY driver (mii_bus:phy_addr=fixed-0:00, irq=POLL)
[ 202.693451] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
[ 202.724543] libphy: PHY not found
[ 202.728082] cpsw 4a100000.ethernet: phy "" not found on slave 1, err -19
[ 202.771271] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ OK ] Stopped target Multi-User System.
[ OK ] Stopped target Login Prompts.
[ OK ] Stopped target Host and Network Name Lookups.
[ OK ] Stopped target RPC Port Mapper.
[ OK ] Stopped target Timers.
[ OK ] Stopped Daily Cleanup of Temporary Directories.
Stopping Avahi mDNS/DNS-SD Stack...
Stopping Kernel Logging Service...
Stopping System Logging Service...
Stopping D-Bus System Message Bus...
Stopping Getty on tty1...
Stopping Lighttpd Daemon...
Stopping LLDP daemon...
Stopping Telephony service...
[ OK ] Stopped 24VDC S Stopping Serial Getty on ttyS0...
Stopping Serial Getty on ttyS3...
Stopping Login Service...
Stopping Load/Save Random Seed...
Stopping Time & Date Service...
[ OK ] Stopped Kernel Logging Service.
[ OK ] Stopped System Logging Service.
[ OK ] Stopped D-Bus System Message Bus.
[ OK ] Stopped Telephony service.
[ OK ] Stopped Lighttpd Daemon.
[ OK ] Stopped Login Service.
[ OK ] Stopped Avahi mDNS/DNS-SD Stack.
[ OK ] Stopped LLDP daemon.
[ OK ] Stopped Getty on tty1.
[ OK ] Stopped Serial Getty on ttyS0.
[ OK ] Stopped Serial Getty on ttyS3.
[ OK ] Stopped Time & Date Service.
[ OK ] Stopped Load/Save Random Seed.
[ OK ] Removed slice system-getty.slice.
[ OK ] Removed slice system-serial\x2dgetty.slice.
Stopping Permit User Sessions...
[ OK ] Stopped Permit User Sessions.
[ OK ] Stopped target Network.
[ OK ] Stopped target Remote File Systems.
Stopping Network Name Resolution...
[ OK ] Stopped Network Name Resolution.
Stopping Network Service...
[ OK ] Stopped Network Service.
[ OK ] Stopped target Network (Pre).
[ OK ] Stopped IPv6 Packet Filtering Framework.
[ OK ] Stopped IPv4 Packet Filtering Framework.
[ OK ] Stopped target Basic System.
[ OK ] Stopped target Paths.
[ OK ] Stopped Dispatch Password …ts to Console Directory Watch.
[ OK ] Stopped Forward Password R…uests to Wall Directory Watch.
[ OK ] Stopped target Slices.
[ OK ] Removed slice User and Session Slice.
[ OK ] Stopped target Sockets.
[ OK ] Closed Avahi mDNS/DNS-SD Stack Activation Socket.
[ OK ] Closed D-Bus System Message Bus Socket.
[ OK ] Closed dropbear.socket.
[ OK ] Stopped target System Initialization.
[ OK ] Closed Syslog Socket.
[ OK ] Stopped Apply Kernel Variables.
Stopping Update UTMP about System Boot/Shutdown...
[ OK ] Stopped Update UTMP about System Boot/Shutdown.
[ OK ] Stopped Create Volatile Files and Directories.
[ OK ] Stopped target Local File Systems.
Unmounting /media/ic_log_emmc...
Unmounting /media/ram...
Unmounting Temporary Directory (/tmp)...
[ 217.570853] EXT4-fs (mmcblk1p6): unmounting filesystem.
Unmounting /var/volatile...
[ OK ] Unmounted /media/ic_log_emmc.
[ OK ] Unmounted /media/ram.
[ OK ] Unmounted Temporary Directory (/tmp).
[ OK ] Unmounted /var/volatile.
[ OK ] Stopped target Local File Systems (Pre).
[ OK ] Stopped target Swap.
[ OK ] Reached target Unmount All Filesystems.
[ OK ] Stopped Remount Root and Kernel File Systems.
[ OK ] Stopped Create Static Device Nodes in /dev.
[ OK ] Reached target Shutdown.
[ OK ] Reached target Final Step.
[ OK ] Started Reboot.
[ OK ] Reached target Reboot.

You can see controller is rebooting after ethernet link is up and ready

Also 2 more observation made

1. I power off and power on after some time now i am not able to see rebooting

2. if i login in u-boot prompt and run "booot" command i am not able see rebooting 


▒▒

  • Hi Manu,

    You can see controller is rebooting after ethernet link is up and ready

    It appears Linux reboot by itself, right?

    For testing, can you please add "init=/bin/sh" in U-Boot bootargs env to see if the auto reboot problem still happens?

    BTY, please attach the boot log as a file, not directly copy and paste it to the thread. It makes the thread too long and difficult to navigate.

  • init_bin_ssh.txt
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 6.1.46v0.0.1-g7a7a3af903 (oe-user@oe-host) (arm-oe-linux-gnueabi-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP Wed Sep  4 03:13:16 UTC 2024
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] OF: fdt: Machine model: TI AM335x EVM
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] cma: Reserved 16 MiB at 0xbf000000
    [    0.000000] Zone ranges:
    [    0.000000]   Normal   [mem 0x0000000080000000-0x00000000afdfffff]
    [    0.000000]   HighMem  [mem 0x00000000afe00000-0x00000000bfffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x00000000afdfffff]
    [    0.000000]   node   0: [mem 0x00000000b0000000-0x00000000bfffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000bfffffff]
    [    0.000000] On node 0, zone HighMem: 512 pages in unavailable ranges
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (neon)
    [    0.000000] percpu: Embedded 16 pages/cpu s34132 r8192 d23212 u65536
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 259908
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID= rw rootfstype=ext4 rootwait init=/bin/sh
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] Memory: 1004044K/1046528K available (10240K kernel code, 1092K rwdata, 2496K rodata, 1024K init, 280K bss, 26100K reserved, 16384K cma-reserved, 245760K highmem)
    [    0.000000] trace event string verifier disabled
    [    0.000000] rcu: Hierarchical RCU implementation.
    [    0.000000] rcu:     RCU event tracing is enabled.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrupts
    [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    0.000000] TI gptimer clocksource: always-on /ocp/interconnect@44c00000/segment@200000/target-module@31000
    [    0.000005] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000060] clocksource: dmtimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.001142] TI gptimer clockevent: 24000000 Hz at /ocp/interconnect@48000000/segment@0/target-module@40000
    [    0.005997] Console: colour dummy device 80x30
    [    0.006097] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.006120] This ensures that you still see kernel messages. Please
    [    0.006135] update your kernel commandline.
    [    0.006243] Calibrating delay loop... 298.59 BogoMIPS (lpj=1492992)
    [    0.151363] CPU: Testing write buffer coherency: ok
    [    0.151565] CPU0: Spectre v2: using BPIALL workaround
    [    0.151595] pid_max: default: 32768 minimum: 301
    [    0.151940] LSM: Security Framework initializing
    [    0.152430] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
    [    0.152491] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
    [    0.156335] CPU0: thread -1, cpu 0, socket -1, mpidr 0
    [    0.159514] Setting up static identity map for 0x80100000 - 0x80100078
    [    0.160204] rcu: Hierarchical SRCU implementation.
    [    0.160226] rcu:     Max phase no-delay instances is 1000.
    [    0.162277] smp: Bringing up secondary CPUs ...
    [    0.162305] smp: Brought up 1 node, 1 CPU
    [    0.162334] SMP: Total of 1 processors activated (298.59 BogoMIPS).
    [    0.162362] CPU: All CPU(s) started in SVC mode.
    [    0.164225] devtmpfs: initialized
    [    0.208605] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.209399] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.209476] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
    [    0.212739] pinctrl core: initialized pinctrl subsystem
    [    0.217617] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.225153] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.226534] audit: initializing netlink subsys (disabled)
    [    0.229356] thermal_sys: Registered thermal governor 'fair_share'
    [    0.229394] thermal_sys: Registered thermal governor 'step_wise'
    [    0.229412] thermal_sys: Registered thermal governor 'user_space'
    [    0.229611] audit: type=2000 audit(0.220:1): state=initialized audit_enabled=0 res=1
    [    0.229772] cpuidle: using governor menu
    [    0.275314] No ATAGs?
    [    0.275357] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.301215] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
    [    2.502169] iommu: Default domain type: Translated
    [    2.502199] iommu: DMA domain TLB invalidation policy: strict mode
    [    2.505700] SCSI subsystem initialized
    [    2.507095] SPI driver ksz8863 has no spi_device_id for microchip,ksz8873
    [    2.507707] pps_core: LinuxPPS API ver. 1 registered
    [    2.507734] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    2.507799] PTP clock support registered
    [    2.511528] vgaarb: loaded
    [    2.512913] clocksource: Switched to clocksource dmtimer
    [    2.514433] VFS: Disk quotas dquot_6.6.0
    [    2.514650] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    2.689758] NET: Registered PF_INET protocol family
    [    2.690649] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [    2.696224] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
    [    2.696325] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    2.696392] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
    [    2.696632] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
    [    2.697241] TCP: Hash tables configured (established 8192 bind 8192)
    [    2.697565] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
    [    2.697674] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
    [    2.698153] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    2.700671] RPC: Registered named UNIX socket transport module.
    [    2.700711] RPC: Registered udp transport module.
    [    2.700727] RPC: Registered tcp transport module.
    [    2.700741] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    2.700780] PCI: CLS 0 bytes, default 64
    [    2.704602] Initialise system trusted keyrings
    [    2.706464] workingset: timestamp_bits=14 max_order=18 bucket_order=4
    [    2.709356] NFS: Registering the id_resolver key type
    [    2.709481] Key type id_resolver registered
    [    2.709504] Key type id_legacy registered
    [    2.709633] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
    [    2.710601] Key type asymmetric registered
    [    2.710634] Asymmetric key parser 'x509' registered
    [    2.710981] bounce: pool size: 64 pages
    [    2.711095] io scheduler mq-deadline registered
    [    2.711121] io scheduler kyber registered
    [    2.723658] Serial: 8250/16550 driver, 6 ports, IRQ sharing enabled
    [    2.767071] brd: module loaded
    [    2.787392] loop: module loaded
    [    2.789789] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    2.796866] i2c_dev: i2c /dev entries driver
    [    2.799259] cpuidle: enable-method property 'ti,am3352' found operations
    [    2.800336] sdhci: Secure Digital Host Controller Interface driver
    [    2.800359] sdhci: Copyright(c) Pierre Ossman
    [    2.800852] sdhci-pltfm: SDHCI platform and OF driver helper
    [    2.801462] ledtrig-cpu: registered to indicate activity on CPUs
    [    2.803582] Initializing XFRM netlink socket
    [    2.804024] NET: Registered PF_INET6 protocol family
    [    2.807895] Segment Routing with IPv6
    [    2.808094] In-situ OAM (IOAM) with IPv6
    [    2.808364] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    2.810585] NET: Registered PF_PACKET protocol family
    [    2.810650] NET: Registered PF_KEY protocol family
    [    2.810970] Key type dns_resolver registered
    [    2.811186] ThumbEE CPU extension supported.
    [    2.811225] Registering SWP/SWPB emulation handler
    [    2.812100] omap_voltage_late_init: Voltage driver support not added
    [    2.812774] SmartReflex Class3 initialized
    [    2.815099] Loading compiled-in X.509 certificates
    [    2.892275] ti-sysc 44e07000.target-module: dts flag should be at module level for ti,no-reset-on-init
    [    2.911548] pinctrl-single 44e10800.pinmux: 142 pins, size 568
    [    2.922545] ti-sysc: probe of 44e31000.target-module failed with error -16
    [    2.930573] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    2.962313] ti-sysc: probe of 48040000.target-module failed with error -16
    [    2.988114] gpio gpiochip0: (gpio-0-31): not an immutable chip, please consider fixing it!
    [    2.994781] OMAP GPIO hardware version 0.1
    [    3.057970] rtc rtc0: invalid alarm value: 2024-09-02T45:85:00
    [    3.058761] rtc-pcf8563 2-0051: registered as rtc0
    [    3.060219] rtc-pcf8563 2-0051: setting system clock to 2024-09-02T06:24:38 UTC (1725258278)
    [    3.062168] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
    [    3.071986] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 25, base_baud = 3000000) is a 8250
    [    3.080961] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 26, base_baud = 3000000) is a 8250
    [    3.089618] gpio gpiochip1: (gpio-32-63): not an immutable chip, please consider fixing it!
    [    3.096462] gpio gpiochip2: (gpio-64-95): not an immutable chip, please consider fixing it!
    [    3.140465] sdhci-omap 481d8000.mmc: supply pbias not found, using dummy regulator
    [    3.141520] sdhci-omap 481d8000.mmc: supply vqmmc not found, using dummy regulator
    [    3.142328] sdhci-omap 481d8000.mmc: using old ti,non-removable property
    [    3.152333] cpsw 4a100000.ethernet: No slave[1] phy_id, phy-handle, or fixed-link property
    [    3.152628] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [    3.152659] cpsw 4a100000.ethernet: ALE Table size 1024
    [    3.153342] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [    3.153541] cpsw 4a100000.ethernet: Detected MACID = 98:5d:ad:e9:1e:4c
    [    3.178551] debugfs: Directory '49000000.dma' with parent 'dmaengine' already present!
    [    3.178629] edma 49000000.dma: TI EDMA DMA engine driver
    [    3.238402] omap_reset_deassert: timedout waiting for gfx:0
    [    3.238518] ti-sysc: probe of 5600fe00.target-module failed with error -110
    [    3.246341] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    3.249834] gpio gpiochip3: (gpio-96-127): not an immutable chip, please consider fixing it!
    [    3.255204] l3-aon-clkctrl:0000:0: failed to disable
    [    3.260156] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 36, base_baud = 3000000) is a 8250
    [    4.266287] printk: console [ttyS0] enabled
    [    4.275999] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 37, base_baud = 3000000) is a 8250
    [    4.291740] ksz8863 spi0.0: chip id 0x8831
    [    4.326472] ksz8863: 0xC6(198) ->0x2
    [    4.330220] ksz8863: 0xC6(198) ->0xA
    [    4.340958] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
    [    4.350064] sdhci-omap 48060000.mmc: Got CD GPIO
    [    4.355556] sdhci-omap 48060000.mmc: supply pbias not found, using dummy regulator
    [    4.380015] sdhci-omap 48060000.mmc: supply vqmmc not found, using dummy regulator
    [    4.389480] sdhci-omap 481d8000.mmc: supply pbias not found, using dummy regulator
    [    4.398702] sdhci-omap 47810000.mmc: supply pbias not found, using dummy regulator
    [    4.408795] sdhci-omap 481d8000.mmc: supply vqmmc not found, using dummy regulator
    [    4.421160] sdhci-omap 47810000.mmc: supply vqmmc not found, using dummy regulator
    [    4.456066] mmc1: SDHCI controller on 481d8000.mmc [481d8000.mmc] using External DMA
    [    4.466070] mmc0: SDHCI controller on 48060000.mmc [48060000.mmc] using External DMA
    [    4.539903] mmc0: new high speed SDHC card at address aaaa
    [    4.548311] mmcblk0: mmc0:aaaa SA08G 7.40 GiB
    [    4.555151] mmc2: SDHCI controller on 47810000.mmc [47810000.mmc] using External DMA
    [    4.569875]  mmcblk0: p1 p2 p3
    [    4.576552] sdhci-omap 47810000.mmc: card claims to support voltages below defined range
    [    4.585007] VFS: PARTUUID= is invalid.
    [    4.585007] Expected PARTUUID=<valid-uuid-id>[/PARTNROFF=%d]
    [    4.594655] Disabling rootwait; root= is invalid.
    [    4.603522] /dev/root: Can't open blockdev
    [    4.607845] VFS: Cannot open root device "PARTUUID=" or unknown-block(0,0): error -6
    [    4.615789] Please append a correct "root=" boot option; here are the available partitions:
    [    4.624322] 0100           16384 ram0
    [    4.624356]  (driver?)
    [    4.630522] 0101           16384 ram1
    [    4.630547]  (driver?)
    [    4.636820] 0102           16384 ram2
    [    4.636847]  (driver?)
    [    4.643077] 0103           16384 ram3
    [    4.643103]  (driver?)
    [    4.649264] 0104           16384 ram4
    [    4.649289]  (driver?)
    [    4.655513] 0105           16384 ram5
    [    4.655540]  (driver?)
    [    4.661700] 0106           16384 ram6
    [    4.661723]  (driver?)
    [    4.667946] 0107           16384 ram7
    [    4.667972]  (driver?)
    [    4.674214] 0108           16384 ram8
    [    4.674242]  (driver?)
    [    4.680404] 0109           16384 ram9
    [    4.680428]  (driver?)
    [    4.686654] 010a           16384 ram10
    [    4.686680]  (driver?)
    [    4.692989] 010b           16384 ram11
    [    4.693015]  (driver?)
    [    4.699262] 010c           16384 ram12
    [    4.699286]  (driver?)
    [    4.705597] 010d           16384 ram13
    [    4.705624]  (driver?)
    [    4.711870] 010e           16384 ram14
    [    4.711893]  (driver?)
    [    4.718204] 010f           16384 ram15
    [    4.718230]  (driver?)
    [    4.724560] b300         7761920 mmcblk0
    [    4.724589]  driver: mmcblk
    [    4.731447]   b301           72292 mmcblk0p1 f25d50e8-01
    [    4.731475]
    [    4.738397]   b302         1572864 mmcblk0p2 f25d50e8-02
    [    4.738425]
    [    4.745342]   b303         6092620 mmcblk0p3 f25d50e8-03
    [    4.745371]
    [    4.752244] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
    [    4.760592] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
    Liu,

    i did via u-boot command "args_mmc "run finduuid;setenv bootargs console=${console} ${optargs} root=PARTUUID=${uuid} rw rootfstype=${mmcrootfstype} init=/bin/sh"

    also please let me know in which file do we need to edit this.. i tried to edit in "u-boot/include/environment/ti/mmc.env"  it did not showed in command line

    when i searched i got below lists,

    u-boot/include/configs/at91sam9n12ek.h:34: "bootargs_mmc=root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait\0"
    u-boot/include/configs/am335x_sem3t.h:204: "run args_mmc; " \
    u-boot/include/configs/tbs2910.h:35: "bootargs_mmc1=console=ttymxc0,115200 di0_primary console=tty1\0" \
    u-boot/include/configs/tbs2910.h:36: "bootargs_mmc2=video=mxcfb0:dev=hdmi,1920x1080M@60 " \
    u-boot/include/configs/tbs2910.h:38: "bootargs_mmc3=root=/dev/mmcblk0p1 rootwait consoleblank=0 quiet\0" \
    u-boot/include/configs/tbs2910.h:39: "bootargs_mmc=setenv bootargs ${bootargs_mmc1} ${bootargs_mmc2} " \
    u-boot/include/configs/tbs2910.h:40: "${bootargs_mmc3}\0" \
    u-boot/include/configs/tbs2910.h:43: "bootcmd_mmc=run bootargs_mmc; mmc dev 2; " \
    u-boot/include/configs/siemens-env-common.h:116:/** set_bootargs_mmc()
    u-boot/include/configs/siemens-env-common.h:124:#define ENV_EMMC_FCT_SET_EMMC_BOOTARGS "set_bootargs_mmc=" \
    u-boot/include/configs/siemens-env-common.h:162: "run set_bootargs_mmc;" \
    u-boot/include/configs/k2g_evm.h:43: "init_mmc=run args_all args_mmc\0" \
    u-boot/include/configs/ti_omap4_common.h:74: "run args_mmc; " \
    u-boot/include/environment/ti/mmc.h:15: "args_mmc=run finduuid;setenv bootargs console=${console} " \
    u-boot/include/environment/ti/mmc.h:44: "mmcloados= run args_mmc; " \
    u-boot/include/environment/ti/mmc.h:65: "run args_mmc; " \
    u-boot/include/environment/ti/mmc.env:4:args_mmc=run finduuid;setenv bootargs console=${console}
    u-boot/include/environment/ti/mmc.env:55: run args_mmc;
    u-boot/include/environment/ti/mmc.env:64:init_mmc=run args_all args_mmc

    i am geeting kernel panic.. i think we have to do other changes..  with the above changes i am getting kernel panic

  • init_bin_ssh.txt
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 6.1.46v0.0.1-g7a7a3af903 (oe-user@oe-host) (arm-oe-linux-gnueabi-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP Wed Sep  4 03:13:16 UTC 2024
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] OF: fdt: Machine model: TI AM335x EVM
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] cma: Reserved 16 MiB at 0xbf000000
    [    0.000000] Zone ranges:
    [    0.000000]   Normal   [mem 0x0000000080000000-0x00000000afdfffff]
    [    0.000000]   HighMem  [mem 0x00000000afe00000-0x00000000bfffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x00000000afdfffff]
    [    0.000000]   node   0: [mem 0x00000000b0000000-0x00000000bfffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000bfffffff]
    [    0.000000] On node 0, zone HighMem: 512 pages in unavailable ranges
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (neon)
    [    0.000000] percpu: Embedded 16 pages/cpu s34132 r8192 d23212 u65536
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 259908
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID= rw rootfstype=ext4 rootwait init=/bin/sh
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] Memory: 1004044K/1046528K available (10240K kernel code, 1092K rwdata, 2496K rodata, 1024K init, 280K bss, 26100K reserved, 16384K cma-reserved, 245760K highmem)
    [    0.000000] trace event string verifier disabled
    [    0.000000] rcu: Hierarchical RCU implementation.
    [    0.000000] rcu:     RCU event tracing is enabled.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrupts
    [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    0.000000] TI gptimer clocksource: always-on /ocp/interconnect@44c00000/segment@200000/target-module@31000
    [    0.000005] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000060] clocksource: dmtimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.001142] TI gptimer clockevent: 24000000 Hz at /ocp/interconnect@48000000/segment@0/target-module@40000
    [    0.005997] Console: colour dummy device 80x30
    [    0.006097] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.006120] This ensures that you still see kernel messages. Please
    [    0.006135] update your kernel commandline.
    [    0.006243] Calibrating delay loop... 298.59 BogoMIPS (lpj=1492992)
    [    0.151363] CPU: Testing write buffer coherency: ok
    [    0.151565] CPU0: Spectre v2: using BPIALL workaround
    [    0.151595] pid_max: default: 32768 minimum: 301
    [    0.151940] LSM: Security Framework initializing
    [    0.152430] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
    [    0.152491] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
    [    0.156335] CPU0: thread -1, cpu 0, socket -1, mpidr 0
    [    0.159514] Setting up static identity map for 0x80100000 - 0x80100078
    [    0.160204] rcu: Hierarchical SRCU implementation.
    [    0.160226] rcu:     Max phase no-delay instances is 1000.
    [    0.162277] smp: Bringing up secondary CPUs ...
    [    0.162305] smp: Brought up 1 node, 1 CPU
    [    0.162334] SMP: Total of 1 processors activated (298.59 BogoMIPS).
    [    0.162362] CPU: All CPU(s) started in SVC mode.
    [    0.164225] devtmpfs: initialized
    [    0.208605] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.209399] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.209476] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
    [    0.212739] pinctrl core: initialized pinctrl subsystem
    [    0.217617] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.225153] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.226534] audit: initializing netlink subsys (disabled)
    [    0.229356] thermal_sys: Registered thermal governor 'fair_share'
    [    0.229394] thermal_sys: Registered thermal governor 'step_wise'
    [    0.229412] thermal_sys: Registered thermal governor 'user_space'
    [    0.229611] audit: type=2000 audit(0.220:1): state=initialized audit_enabled=0 res=1
    [    0.229772] cpuidle: using governor menu
    [    0.275314] No ATAGs?
    [    0.275357] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.301215] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
    [    2.502169] iommu: Default domain type: Translated
    [    2.502199] iommu: DMA domain TLB invalidation policy: strict mode
    [    2.505700] SCSI subsystem initialized
    [    2.507095] SPI driver ksz8863 has no spi_device_id for microchip,ksz8873
    [    2.507707] pps_core: LinuxPPS API ver. 1 registered
    [    2.507734] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    2.507799] PTP clock support registered
    [    2.511528] vgaarb: loaded
    [    2.512913] clocksource: Switched to clocksource dmtimer
    [    2.514433] VFS: Disk quotas dquot_6.6.0
    [    2.514650] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    2.689758] NET: Registered PF_INET protocol family
    [    2.690649] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [    2.696224] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
    [    2.696325] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    2.696392] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
    [    2.696632] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
    [    2.697241] TCP: Hash tables configured (established 8192 bind 8192)
    [    2.697565] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
    [    2.697674] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
    [    2.698153] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    2.700671] RPC: Registered named UNIX socket transport module.
    [    2.700711] RPC: Registered udp transport module.
    [    2.700727] RPC: Registered tcp transport module.
    [    2.700741] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    2.700780] PCI: CLS 0 bytes, default 64
    [    2.704602] Initialise system trusted keyrings
    [    2.706464] workingset: timestamp_bits=14 max_order=18 bucket_order=4
    [    2.709356] NFS: Registering the id_resolver key type
    [    2.709481] Key type id_resolver registered
    [    2.709504] Key type id_legacy registered
    [    2.709633] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
    [    2.710601] Key type asymmetric registered
    [    2.710634] Asymmetric key parser 'x509' registered
    [    2.710981] bounce: pool size: 64 pages
    [    2.711095] io scheduler mq-deadline registered
    [    2.711121] io scheduler kyber registered
    [    2.723658] Serial: 8250/16550 driver, 6 ports, IRQ sharing enabled
    [    2.767071] brd: module loaded
    [    2.787392] loop: module loaded
    [    2.789789] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    2.796866] i2c_dev: i2c /dev entries driver
    [    2.799259] cpuidle: enable-method property 'ti,am3352' found operations
    [    2.800336] sdhci: Secure Digital Host Controller Interface driver
    [    2.800359] sdhci: Copyright(c) Pierre Ossman
    [    2.800852] sdhci-pltfm: SDHCI platform and OF driver helper
    [    2.801462] ledtrig-cpu: registered to indicate activity on CPUs
    [    2.803582] Initializing XFRM netlink socket
    [    2.804024] NET: Registered PF_INET6 protocol family
    [    2.807895] Segment Routing with IPv6
    [    2.808094] In-situ OAM (IOAM) with IPv6
    [    2.808364] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    2.810585] NET: Registered PF_PACKET protocol family
    [    2.810650] NET: Registered PF_KEY protocol family
    [    2.810970] Key type dns_resolver registered
    [    2.811186] ThumbEE CPU extension supported.
    [    2.811225] Registering SWP/SWPB emulation handler
    [    2.812100] omap_voltage_late_init: Voltage driver support not added
    [    2.812774] SmartReflex Class3 initialized
    [    2.815099] Loading compiled-in X.509 certificates
    [    2.892275] ti-sysc 44e07000.target-module: dts flag should be at module level for ti,no-reset-on-init
    [    2.911548] pinctrl-single 44e10800.pinmux: 142 pins, size 568
    [    2.922545] ti-sysc: probe of 44e31000.target-module failed with error -16
    [    2.930573] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    2.962313] ti-sysc: probe of 48040000.target-module failed with error -16
    [    2.988114] gpio gpiochip0: (gpio-0-31): not an immutable chip, please consider fixing it!
    [    2.994781] OMAP GPIO hardware version 0.1
    [    3.057970] rtc rtc0: invalid alarm value: 2024-09-02T45:85:00
    [    3.058761] rtc-pcf8563 2-0051: registered as rtc0
    [    3.060219] rtc-pcf8563 2-0051: setting system clock to 2024-09-02T06:24:38 UTC (1725258278)
    [    3.062168] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
    [    3.071986] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 25, base_baud = 3000000) is a 8250
    [    3.080961] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 26, base_baud = 3000000) is a 8250
    [    3.089618] gpio gpiochip1: (gpio-32-63): not an immutable chip, please consider fixing it!
    [    3.096462] gpio gpiochip2: (gpio-64-95): not an immutable chip, please consider fixing it!
    [    3.140465] sdhci-omap 481d8000.mmc: supply pbias not found, using dummy regulator
    [    3.141520] sdhci-omap 481d8000.mmc: supply vqmmc not found, using dummy regulator
    [    3.142328] sdhci-omap 481d8000.mmc: using old ti,non-removable property
    [    3.152333] cpsw 4a100000.ethernet: No slave[1] phy_id, phy-handle, or fixed-link property
    [    3.152628] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [    3.152659] cpsw 4a100000.ethernet: ALE Table size 1024
    [    3.153342] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [    3.153541] cpsw 4a100000.ethernet: Detected MACID = 98:5d:ad:e9:1e:4c
    [    3.178551] debugfs: Directory '49000000.dma' with parent 'dmaengine' already present!
    [    3.178629] edma 49000000.dma: TI EDMA DMA engine driver
    [    3.238402] omap_reset_deassert: timedout waiting for gfx:0
    [    3.238518] ti-sysc: probe of 5600fe00.target-module failed with error -110
    [    3.246341] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    3.249834] gpio gpiochip3: (gpio-96-127): not an immutable chip, please consider fixing it!
    [    3.255204] l3-aon-clkctrl:0000:0: failed to disable
    [    3.260156] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 36, base_baud = 3000000) is a 8250
    [    4.266287] printk: console [ttyS0] enabled
    [    4.275999] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 37, base_baud = 3000000) is a 8250
    [    4.291740] ksz8863 spi0.0: chip id 0x8831
    [    4.326472] ksz8863: 0xC6(198) ->0x2
    [    4.330220] ksz8863: 0xC6(198) ->0xA
    [    4.340958] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
    [    4.350064] sdhci-omap 48060000.mmc: Got CD GPIO
    [    4.355556] sdhci-omap 48060000.mmc: supply pbias not found, using dummy regulator
    [    4.380015] sdhci-omap 48060000.mmc: supply vqmmc not found, using dummy regulator
    [    4.389480] sdhci-omap 481d8000.mmc: supply pbias not found, using dummy regulator
    [    4.398702] sdhci-omap 47810000.mmc: supply pbias not found, using dummy regulator
    [    4.408795] sdhci-omap 481d8000.mmc: supply vqmmc not found, using dummy regulator
    [    4.421160] sdhci-omap 47810000.mmc: supply vqmmc not found, using dummy regulator
    [    4.456066] mmc1: SDHCI controller on 481d8000.mmc [481d8000.mmc] using External DMA
    [    4.466070] mmc0: SDHCI controller on 48060000.mmc [48060000.mmc] using External DMA
    [    4.539903] mmc0: new high speed SDHC card at address aaaa
    [    4.548311] mmcblk0: mmc0:aaaa SA08G 7.40 GiB
    [    4.555151] mmc2: SDHCI controller on 47810000.mmc [47810000.mmc] using External DMA
    [    4.569875]  mmcblk0: p1 p2 p3
    [    4.576552] sdhci-omap 47810000.mmc: card claims to support voltages below defined range
    [    4.585007] VFS: PARTUUID= is invalid.
    [    4.585007] Expected PARTUUID=<valid-uuid-id>[/PARTNROFF=%d]
    [    4.594655] Disabling rootwait; root= is invalid.
    [    4.603522] /dev/root: Can't open blockdev
    [    4.607845] VFS: Cannot open root device "PARTUUID=" or unknown-block(0,0): error -6
    [    4.615789] Please append a correct "root=" boot option; here are the available partitions:
    [    4.624322] 0100           16384 ram0
    [    4.624356]  (driver?)
    [    4.630522] 0101           16384 ram1
    [    4.630547]  (driver?)
    [    4.636820] 0102           16384 ram2
    [    4.636847]  (driver?)
    [    4.643077] 0103           16384 ram3
    [    4.643103]  (driver?)
    [    4.649264] 0104           16384 ram4
    [    4.649289]  (driver?)
    [    4.655513] 0105           16384 ram5
    [    4.655540]  (driver?)
    [    4.661700] 0106           16384 ram6
    [    4.661723]  (driver?)
    [    4.667946] 0107           16384 ram7
    [    4.667972]  (driver?)
    [    4.674214] 0108           16384 ram8
    [    4.674242]  (driver?)
    [    4.680404] 0109           16384 ram9
    [    4.680428]  (driver?)
    [    4.686654] 010a           16384 ram10
    [    4.686680]  (driver?)
    [    4.692989] 010b           16384 ram11
    [    4.693015]  (driver?)
    [    4.699262] 010c           16384 ram12
    [    4.699286]  (driver?)
    [    4.705597] 010d           16384 ram13
    [    4.705624]  (driver?)
    [    4.711870] 010e           16384 ram14
    [    4.711893]  (driver?)
    [    4.718204] 010f           16384 ram15
    [    4.718230]  (driver?)
    [    4.724560] b300         7761920 mmcblk0
    [    4.724589]  driver: mmcblk
    [    4.731447]   b301           72292 mmcblk0p1 f25d50e8-01
    [    4.731475]
    [    4.738397]   b302         1572864 mmcblk0p2 f25d50e8-02
    [    4.738425]
    [    4.745342]   b303         6092620 mmcblk0p3 f25d50e8-03
    [    4.745371]
    [    4.752244] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
    [    4.760592] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
    Liu,

    i did via u-boot command "args_mmc "run finduuid;setenv bootargs console=${console} ${optargs} root=PARTUUID=${uuid} rw rootfstype=${mmcrootfstype} init=/bin/sh"

    also please let me know in which file do we need to edit this.. i tried to edit in "u-boot/include/environment/ti/mmc.env"  it did not showed in command line

    when i searched i got below lists,

    u-boot/include/configs/at91sam9n12ek.h:34: "bootargs_mmc=root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait\0"
    u-boot/include/configs/am335x_sem3t.h:204: "run args_mmc; " \
    u-boot/include/configs/tbs2910.h:35: "bootargs_mmc1=console=ttymxc0,115200 di0_primary console=tty1\0" \
    u-boot/include/configs/tbs2910.h:36: "bootargs_mmc2=video=mxcfb0:dev=hdmi,1920x1080M@60 " \
    u-boot/include/configs/tbs2910.h:38: "bootargs_mmc3=root=/dev/mmcblk0p1 rootwait consoleblank=0 quiet\0" \
    u-boot/include/configs/tbs2910.h:39: "bootargs_mmc=setenv bootargs ${bootargs_mmc1} ${bootargs_mmc2} " \
    u-boot/include/configs/tbs2910.h:40: "${bootargs_mmc3}\0" \
    u-boot/include/configs/tbs2910.h:43: "bootcmd_mmc=run bootargs_mmc; mmc dev 2; " \
    u-boot/include/configs/siemens-env-common.h:116:/** set_bootargs_mmc()
    u-boot/include/configs/siemens-env-common.h:124:#define ENV_EMMC_FCT_SET_EMMC_BOOTARGS "set_bootargs_mmc=" \
    u-boot/include/configs/siemens-env-common.h:162: "run set_bootargs_mmc;" \
    u-boot/include/configs/k2g_evm.h:43: "init_mmc=run args_all args_mmc\0" \
    u-boot/include/configs/ti_omap4_common.h:74: "run args_mmc; " \
    u-boot/include/environment/ti/mmc.h:15: "args_mmc=run finduuid;setenv bootargs console=${console} " \
    u-boot/include/environment/ti/mmc.h:44: "mmcloados= run args_mmc; " \
    u-boot/include/environment/ti/mmc.h:65: "run args_mmc; " \
    u-boot/include/environment/ti/mmc.env:4:args_mmc=run finduuid;setenv bootargs console=${console}
    u-boot/include/environment/ti/mmc.env:55: run args_mmc;
    u-boot/include/environment/ti/mmc.env:64:init_mmc=run args_all args_mmc

    i am geeting kernel panic.. i think we have to do other changes..  with the above changes i am getting kernel panic,

    Also here i am attached with configuration file of kernel please have a look

    CONFIG_WATCHDOG=y
    CONFIG_WATCHDOG_CORE=y

    and rtc related,

    CONFIG_RTC_DRV_PCF8563=y

    as i am not able to upload complete defconfig i have mentioned as above

  • > [    0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID= rw rootfstype=ext4 rootwait init=/bin/sh

    The kernel boot log shows the rootfs is not defined correctly, this would cause kernel panic as shown in the boot log.

    One way to add init=/bin/sh is to stop at U-Boot prompt, then run command:

    => edit args_mmc

    then add " init=/bin/sh" to the end of the edit line, press "enter" key,

    then run "boot" command to boot Linux.

  • Done, i have not observed  reboot.. what is the observation with this ?

  • "init=/bin/sh" directly runs the bash and bypasses systemd to initialize Linux, so this test result seems telling somewhere in systemd scripts is not happy and initiated reboot from Linux user space.

    I don't have a clear direction in how to debug the problem, since I never saw such issue before...

    The SDK provides multiple prebuilt root filesystems. Which one do you use on your board?

  • We have used "tisdk-base-image-am335x-evm-20240620173038.rootfs.tar" root file system.. 

    Also 1 more thing i observed that its not listing an modules ( i verified using command "lsmod" ) is there any other configurations or settings we have to do?

  • its not listing an modules ( i verified using command "lsmod" )

    This is typically due to the mismatch between the kerne image and modules. When you modified kernel source and recompile the kernel, ensure you have also recompiled the modules too, and update both kernel image and modules to the root filesystem.

  • Yes, 

    if run "bitbake linux-ti-staging " it automatically compile kernel driver modules rite? that we have done

  • I am not a Yocto expert, but yes I believe the rootfs image generated in Yocto has the kernel image and modules populated properly,

  • Okay, I think I just got lost in all the messages. I guess here is the situation:

    you use tisdk-base-image generated in Yocto, but Linux automatically reboot towards the end of the boot process on your board. If "init=/bin/sh" parameter is added, Linux won't automatically reboot, but 'lsmod' command shows no modules are loaded. Is my understanding correct? Am I missing any information?