Part Number: PROCESSOR-SDK-AM335X
Other Parts Discussed in Thread: WL1835, AM3352, CSD, TPS65217
Hi TI Team,
We are working on am335x based custom board. Trying to migrating the kernel 4.9 to 5.10, we are modified few nodes in dts file as given below.
/*****************************************
&mmc3 {
dmas = <&edma_xbar 12 0 1
&edma_xbar 13 0 2>;
dma-names = "tx", "rx";
status = "okay";
vmmc-supply = <&wlan_en_reg>;
bus-width = <4>;
non-removable;
cap-power-off-card;
keep-power-in-suspend;
pinctrl-names = "default", "sleep";
pinctrl-0 = <&mmc3_pins &wlan_pins>;
pinctrl-1 = <&mmc3_pins_sleep &wlan_pins_sleep>;
#address-cells = <1>;
#size-cells = <0>;
wlcore: wlcore@2 {
compatible = "ti,wl1835";
reg = <2>;
interrupt-parent = <&gpio0>;
interrupts = <27 IRQ_TYPE_EDGE_RISING>;
};
};
&uart3 {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&uart3_pins_default &bt_pins>;
pinctrl-1 = <&uart3_pins_sleep &bt_pins>;
status = "okay";
};
**************************************************/
With created DTB and zImage kernel hangs on the board as show below logs,
*****************************************************************************
U-Boot SPL 2016.03-gf92eba1-dirty (Sep 04 2019 - 09:21:28)
setting PLL to 300Mhz
DDR is configured at 400Mhz
- USB Input current limit set to 1.3V
- MPU_VDD (DCDC2) set to 1.1V
Trying to boot from MMC
U-Boot 2016.03-gf92eba1-dirty (Sep 04 2019 - 09:21:28 -0400)
Watchdog enabled
I2C: ready
DRAM: 256 MiB
NAND: 0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Using default environment
AC pwr loss pin state is high
Battery key state is high
-- Partition A selected. Count: 1
Card did not respond to voltage select!
Unknown command 'is' - try 'help'
Card did not respond to voltage select!
Fail. Switching to emmc at ====$(mmcdev)====
Card did not respond to voltage select!
** Bad device mmc 0 **
reading uEnv.txt
Card did not respond to voltage select!
** Bad device mmc 0 **
2922 bytes read in 20 ms (142.6 KiB/s)
uEnv.txt read fom eMMC main partition
Loaded environment from uEnv.txt
Importing environment from mmc ...
Running uenvcmd ...
switch to partitions #0, OK
mmc1(part 0) is current device
debug [uSD]
=---debug: About to boot from --- 1p1 -----====
4640472 bytes read in 478 ms (9.3 MiB/s)
65175 bytes read in 22 ms (2.8 MiB/s)
debug: [DTB loaded from 1:1]
Kernel image @ 0x82000000 [ 0x000000 - 0x46ced8 ]
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Ramdisk to 90000000, end 90000000 ... OK
Loading Device Tree to 8ef37000, end 8ef49e96 ... OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.10.153-gc384a4b071 (arm-poky-linux-gnueabi-gcc (GCC) 9.5.0, GNU ld (GNU Binutils) 2.34.0.20200910) #1 PREEMPT Thu May 18 05:32:02 UTC 2023
[ 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 BeagleBone Green Wireless
[ 0.000000] printk: bootconsole [earlycon0] enabled
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] cma: Reserved 48 MiB at 0x8b800000
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000080000000-0x000000008fefffff]
[ 0.000000] HighMem empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080000000-0x000000008fefffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000008fefffff]
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] AM335X ES2.1 (neon)
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 64706
[ 0.000000] Kernel command line: console=ttyS0,115200n8 earlyprintk console=tty0 root=/dev/mmcblk1p1 rootfstype=ext4 rootwait coherent_pool=1M cape_universal=enable panic=1
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 193764K/261120K available (9216K kernel code, 677K rwdata, 3196K rodata, 1024K init, 278K bss, 18204K reserved, 49152K cma-reserved, 0K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 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] TI gptimer clocksource: always-on /ocp/interconnect@44c00000/segment@200000/target-module@31000
[ 0.000024] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.008117] clocksource: dmtimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.018493] TI gptimer clockevent: 24000000 Hz at /ocp/interconnect@48000000/segment@0/target-module@40000
[ 0.031174] Console: colour dummy device 80x30
[ 0.035785] printk: console [tty0] enabled
[ 0.040139] printk: bootconsole [earlycon0] disabled
*****************************************************************************
Please Let me know any thoughts and solutions.