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.

J721EXSOMXEVM: Linux Kernel Hangs at "Starting Kernel ..."

Part Number: J721EXSOMXEVM

Hello,

We have a J721e based Custom board and we were able to boot the board from eMMC. Boot loaders (i.e. tiboot3.bin, sysfw.itb, tispl.bin & u-boot.img) works good however while making attempts to load Linux Kernel it hangs at "Starting kernel ...". 

I have made changes in UART where in EVM uart0 (serial2) is used for main debug log and on our board we have uart7 (serial9) for main debug log. Also I have enabled other UART0 , 1, 2, 3, 4, 6,7,& 8. These changes are made in u-boot and Kernel device tree.

Since Linux kernel hangs at 'Starting Kernel ..." I added some debug trace in u-boot i.e. <git>/arch/arm/lib/bootm.c to check where exactly it is failing (See attached file). and following is the place where it is stuck. Check Line 380 in attached "bootm.c" file.

After adding these logs here is my log from terminal. 

MMC:   sdhci@4f80000: 0, sdhci@4fb0000: 1
Loading Environment from MMC... OK
In:    serial@2870000
Out:   serial@2870000
Err:   serial@2870000
Reading on-board EEPROM at 0x50 failed 1
Net:   can't parse phy-handle port 1 (-2)
can't find cpsw-phy-sel
No ethernet found.

Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc0(part 0) is current device
SD/MMC found on device 0
** Unrecognized filesystem type **
16654344 bytes read in 51 ms (311.4 MiB/s)
88989 bytes read in 2 ms (42.4 MiB/s)
## Flattened Device Tree blob at 82000000
   Booting using the fdt blob at 0x82000000
   Loading Device Tree to 00000000fdda1000, end 00000000fdeb9fff ... OK
IVP HW DEBUG: boot_jump_linux: ## Transferring control to Linux (at address 80080000)...

Starting kernel ...

IVP HW DEBUG: announce_and_cleanup: fake val =0 
IVP HW DEBUG: announce_and_cleanup: 0 
IVP HW DEBUG: announce_and_cleanup: 1 
IVP HW DEBUG: boot_jump_linux: 0 
IVP HW DEBUG: boot_jump_linux: 2 
IVP HW DEBUG: boot_jump_linux: 3 
IVP HW DEBUG: boot_jump_linux: 4.3 images->ft_addr= 0xfdda1000 
IVP HW DEBUG: boot_jump_linux: 4.3 images->ep= 0x80080000 

I have used following command from u-boot to load the kernel -

setenv bootargs console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 vm.overcommit_ratio=5 vm.overcommit_memory=2 root=/dev/mmcblk0p1
setenv bootcmd "setenv autoload no;ext4load mmc 0:1 0x82000000 /boot/Image;ext4load mmc 0:1 0x81200000 /boot/k3-j721e-common-proc-board.dtb; booti 0x82000000 - 0x81200000"

Could you please let me know to debug & fix this issue?

Thank you,

Satish

bootm.c
// SPDX-License-Identifier: GPL-2.0+
/* Copyright (C) 2011
 * Corscience GmbH & Co. KG - Simon Schwarz <schwarz@corscience.de>
 *  - Added prep subcommand support
 *  - Reorganized source - modeled after powerpc version
 *
 * (C) Copyright 2002
 * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
 * Marius Groeger <mgroeger@sysgo.de>
 *
 * Copyright (C) 2001  Erik Mouw (J.A.K.Mouw@its.tudelft.nl)
 */

#include <common.h>
#include <command.h>
#include <cpu_func.h>
#include <dm.h>
#include <dm/root.h>
#include <env.h>
#include <image.h>
#include <u-boot/zlib.h>
#include <asm/byteorder.h>
#include <linux/libfdt.h>
#include <mapmem.h>
#include <fdt_support.h>
#include <asm/bootm.h>
#include <asm/secure.h>
#include <linux/compiler.h>
#include <bootm.h>
#include <vxworks.h>

#ifdef CONFIG_ARMV7_NONSEC
#include <asm/armv7.h>
#endif
#include <asm/setup.h>

DECLARE_GLOBAL_DATA_PTR;

static struct tag *params;

static ulong get_sp(void)
{
	ulong ret;

	asm("mov %0, sp" : "=r"(ret) : );
	return ret;
}

void arch_lmb_reserve(struct lmb *lmb)
{
	ulong sp, bank_end;
	int bank;

	/*
	 * Booting a (Linux) kernel image
	 *
	 * Allocate space for command line and board info - the
	 * address should be as high as possible within the reach of
	 * the kernel (see CONFIG_SYS_BOOTMAPSZ settings), but in unused
	 * memory, which means far enough below the current stack
	 * pointer.
	 */
	sp = get_sp();
	debug("## Current stack ends at 0x%08lx ", sp);

	/* adjust sp by 4K to be safe */
	sp -= 4096;
	for (bank = 0; bank < CONFIG_NR_DRAM_BANKS; bank++) {
		if (!gd->bd->bi_dram[bank].size ||
		    sp < gd->bd->bi_dram[bank].start)
			continue;
		/* Watch out for RAM at end of address space! */
		bank_end = gd->bd->bi_dram[bank].start +
			gd->bd->bi_dram[bank].size - 1;
		if (sp > bank_end)
			continue;
		lmb_reserve(lmb, sp, bank_end - sp + 1);
		break;
	}
}

__weak void board_quiesce_devices(void)
{
}

/**
 * announce_and_cleanup() - Print message and prepare for kernel boot
 *
 * @fake: non-zero to do everything except actually boot
 */
static void announce_and_cleanup(int fake)
{
	bootstage_mark_name(BOOTSTAGE_ID_BOOTM_HANDOFF, "start_kernel");
#ifdef CONFIG_BOOTSTAGE_FDT
	bootstage_fdt_add_report();
#endif
#ifdef CONFIG_BOOTSTAGE_REPORT
	bootstage_report();
#endif

#ifdef CONFIG_USB_DEVICE
	udc_disconnect();
#endif

	board_quiesce_devices();

	printf("\nStarting kernel ...%s\n\n", fake ?
		"(fake run for tracing)" : "");

	printf("IVP HW DEBUG: announce_and_cleanup: fake val =%d \n",fake);
	/*
	 * Call remove function of all devices with a removal flag set.
	 * This may be useful for last-stage operations, like cancelling
	 * of DMA operation or releasing device internal buffers.
	 */
	dm_remove_devices_flags(DM_REMOVE_ACTIVE_ALL);

	printf("IVP HW DEBUG: announce_and_cleanup: 0 \n");
	cleanup_before_linux();
	printf("IVP HW DEBUG: announce_and_cleanup: 1 \n");
}

static void setup_start_tag (bd_t *bd)
{
	params = (struct tag *)bd->bi_boot_params;

	params->hdr.tag = ATAG_CORE;
	params->hdr.size = tag_size (tag_core);

	params->u.core.flags = 0;
	params->u.core.pagesize = 0;
	params->u.core.rootdev = 0;

	params = tag_next (params);
}

static void setup_memory_tags(bd_t *bd)
{
	int i;

	for (i = 0; i < CONFIG_NR_DRAM_BANKS; i++) {
		params->hdr.tag = ATAG_MEM;
		params->hdr.size = tag_size (tag_mem32);

		params->u.mem.start = bd->bi_dram[i].start;
		params->u.mem.size = bd->bi_dram[i].size;

		params = tag_next (params);
	}
}

static void setup_commandline_tag(bd_t *bd, char *commandline)
{
	char *p;

	if (!commandline)
		return;

	/* eat leading white space */
	for (p = commandline; *p == ' '; p++);

	/* skip non-existent command lines so the kernel will still
	 * use its default command line.
	 */
	if (*p == '\0')
		return;

	params->hdr.tag = ATAG_CMDLINE;
	params->hdr.size =
		(sizeof (struct tag_header) + strlen (p) + 1 + 4) >> 2;

	strcpy (params->u.cmdline.cmdline, p);

	params = tag_next (params);
}

static void setup_initrd_tag(bd_t *bd, ulong initrd_start, ulong initrd_end)
{
	/* an ATAG_INITRD node tells the kernel where the compressed
	 * ramdisk can be found. ATAG_RDIMG is a better name, actually.
	 */
	params->hdr.tag = ATAG_INITRD2;
	params->hdr.size = tag_size (tag_initrd);

	params->u.initrd.start = initrd_start;
	params->u.initrd.size = initrd_end - initrd_start;

	params = tag_next (params);
}

static void setup_serial_tag(struct tag **tmp)
{
	struct tag *params = *tmp;
	struct tag_serialnr serialnr;

	get_board_serial(&serialnr);
	params->hdr.tag = ATAG_SERIAL;
	params->hdr.size = tag_size (tag_serialnr);
	params->u.serialnr.low = serialnr.low;
	params->u.serialnr.high= serialnr.high;
	params = tag_next (params);
	*tmp = params;
}

static void setup_revision_tag(struct tag **in_params)
{
	u32 rev = 0;

	rev = get_board_rev();
	params->hdr.tag = ATAG_REVISION;
	params->hdr.size = tag_size (tag_revision);
	params->u.revision.rev = rev;
	params = tag_next (params);
}

static void setup_end_tag(bd_t *bd)
{
	params->hdr.tag = ATAG_NONE;
	params->hdr.size = 0;
}

__weak void setup_board_tags(struct tag **in_params) {}

#ifdef CONFIG_ARM64
static void do_nonsec_virt_switch(void)
{
	smp_kick_all_cpus();
	dcache_disable();	/* flush cache before swtiching to EL2 */
}
#endif

__weak void board_prep_linux(bootm_headers_t *images) { }

/* Subcommand: PREP */
static void boot_prep_linux(bootm_headers_t *images)
{
	char *commandline = env_get("bootargs");

	if (IMAGE_ENABLE_OF_LIBFDT && images->ft_len) {
#ifdef CONFIG_OF_LIBFDT
		debug("using: FDT\n");
		if (image_setup_linux(images)) {
			printf("FDT creation failed! hanging...");
			hang();
		}
#endif
	} else if (BOOTM_ENABLE_TAGS) {
		debug("using: ATAGS\n");
		setup_start_tag(gd->bd);
		if (BOOTM_ENABLE_SERIAL_TAG)
			setup_serial_tag(&params);
		if (BOOTM_ENABLE_CMDLINE_TAG)
			setup_commandline_tag(gd->bd, commandline);
		if (BOOTM_ENABLE_REVISION_TAG)
			setup_revision_tag(&params);
		if (BOOTM_ENABLE_MEMORY_TAGS)
			setup_memory_tags(gd->bd);
		if (BOOTM_ENABLE_INITRD_TAG) {
			/*
			 * In boot_ramdisk_high(), it may relocate ramdisk to
			 * a specified location. And set images->initrd_start &
			 * images->initrd_end to relocated ramdisk's start/end
			 * addresses. So use them instead of images->rd_start &
			 * images->rd_end when possible.
			 */
			if (images->initrd_start && images->initrd_end) {
				setup_initrd_tag(gd->bd, images->initrd_start,
						 images->initrd_end);
			} else if (images->rd_start && images->rd_end) {
				setup_initrd_tag(gd->bd, images->rd_start,
						 images->rd_end);
			}
		}
		setup_board_tags(&params);
		setup_end_tag(gd->bd);
	} else {
		printf("FDT and ATAGS support not compiled in - hanging\n");
		hang();
	}

	board_prep_linux(images);
}

__weak bool armv7_boot_nonsec_default(void)
{
#ifdef CONFIG_ARMV7_BOOT_SEC_DEFAULT
	return false;
#else
	return true;
#endif
}

#ifdef CONFIG_ARMV7_NONSEC
bool armv7_boot_nonsec(void)
{
	char *s = env_get("bootm_boot_mode");
	bool nonsec = armv7_boot_nonsec_default();

	if (s && !strcmp(s, "sec"))
		nonsec = false;

	if (s && !strcmp(s, "nonsec"))
		nonsec = true;

	return nonsec;
}
#endif

#ifdef CONFIG_ARM64
__weak void update_os_arch_secondary_cores(uint8_t os_arch)
{
}

#ifdef CONFIG_ARMV8_SWITCH_TO_EL1
static void switch_to_el1(void)
{
	if ((IH_ARCH_DEFAULT == IH_ARCH_ARM64) &&
	    (images.os.arch == IH_ARCH_ARM))
		armv8_switch_to_el1(0, (u64)gd->bd->bi_arch_number,
				    (u64)images.ft_addr, 0,
				    (u64)images.ep,
				    ES_TO_AARCH32);
	else
		armv8_switch_to_el1((u64)images.ft_addr, 0, 0, 0,
				    images.ep,
				    ES_TO_AARCH64);
}
#endif
#endif

/* Subcommand: GO */
static void boot_jump_linux(bootm_headers_t *images, int flag)
{
#ifdef CONFIG_ARM64
	void (*kernel_entry)(void *fdt_addr, void *res0, void *res1,
			void *res2);
	int fake = (flag & BOOTM_STATE_OS_FAKE_GO);

	kernel_entry = (void (*)(void *fdt_addr, void *res0, void *res1,
				void *res2))images->ep;

	debug("## Transferring control to Linux (at address %lx)...\n",
		(ulong) kernel_entry);
	bootstage_mark(BOOTSTAGE_ID_RUN_OS);

	printf("IVP HW DEBUG: boot_jump_linux: ## Transferring control to Linux (at address %lx)...\n",(ulong) kernel_entry);
	announce_and_cleanup(fake);

	printf("IVP HW DEBUG: boot_jump_linux: 0 \n");

	if (!fake) {
#ifdef CONFIG_ARMV8_PSCI
		armv8_setup_psci();
		printf("IVP HW DEBUG: boot_jump_linux: 1 \n");
#endif
		do_nonsec_virt_switch();
		printf("IVP HW DEBUG: boot_jump_linux: 2 \n");
		update_os_arch_secondary_cores(images->os.arch);
		printf("IVP HW DEBUG: boot_jump_linux: 3 \n");

#ifdef CONFIG_ARMV8_SWITCH_TO_EL1
		printf("IVP HW DEBUG: boot_jump_linux: 3 images->ft_addr= %#08lx \n",images->ft_addr);
		armv8_switch_to_el2((u64)images->ft_addr, 0, 0, 0,
				    (u64)switch_to_el1, ES_TO_AARCH64);
		printf("IVP HW DEBUG: boot_jump_linux: 4 \n");
		printf("IVP HW DEBUG: boot_jump_linux: images->ft_addr= %#08lx \n",images->ft_addr);
#else
		if ((IH_ARCH_DEFAULT == IH_ARCH_ARM64) &&
		    (images->os.arch == IH_ARCH_ARM)){
			printf("IVP HW DEBUG: boot_jump_linux: 4.1 images->ft_addr= %#08lx \n",images->ft_addr);
			armv8_switch_to_el2(0, (u64)gd->bd->bi_arch_number,
					    (u64)images->ft_addr, 0,
					    (u64)images->ep,
					    ES_TO_AARCH32);
			printf("IVP HW DEBUG: boot_jump_linux: 4.2 images->ft_addr= %#08lx \n",images->ft_addr);
		}
		else{
			printf("IVP HW DEBUG: boot_jump_linux: 4.3 images->ft_addr= %#08lx \n",images->ft_addr);
			printf("IVP HW DEBUG: boot_jump_linux: 4.3 images->ep= %#08lx \n",images->ep);
			armv8_switch_to_el2((u64)images->ft_addr, 0, 0, 0,
					    (u64)images->ep,
					    ES_TO_AARCH64);
			printf("IVP HW DEBUG: boot_jump_linux: 4.4 images->ft_addr= %#08lx \n",images->ft_addr);
		}

	printf("IVP HW DEBUG: boot_jump_linux: 5 \n");
#endif
	}
#else
	unsigned long machid = gd->bd->bi_arch_number;
	char *s;
	void (*kernel_entry)(int zero, int arch, uint params);
	unsigned long r2;
	int fake = (flag & BOOTM_STATE_OS_FAKE_GO);
	kernel_entry = (void (*)(int, int, uint))images->ep;
	printf("IVP HW DEBUG: boot_jump_linux: 6 \n");
#ifdef CONFIG_CPU_V7M
	ulong addr = (ulong)kernel_entry | 1;
	kernel_entry = (void *)addr;
	printf("IVP HW DEBUG: boot_jump_linux: 7 \n");
#endif

	printf("IVP HW DEBUG: boot_jump_linux: 7.1 \n");
	s = env_get("machid");
	if (s) {
		if (strict_strtoul(s, 16, &machid) < 0) {
			debug("strict_strtoul failed!\n");
			return;
		}
		printf("Using machid 0x%lx from environment\n", machid);
	}

	printf("IVP HW DEBUG: boot_jump_linux: 8 \n");
	debug("## Transferring control to Linux (at address %08lx)" \
		"...\n", (ulong) kernel_entry);
	bootstage_mark(BOOTSTAGE_ID_RUN_OS);
	announce_and_cleanup(fake);
	printf("IVP HW DEBUG: boot_jump_linux: 9 \n");

	if (IMAGE_ENABLE_OF_LIBFDT && images->ft_len)
		r2 = (unsigned long)images->ft_addr;
	else
		r2 = gd->bd->bi_boot_params;

	printf("IVP HW DEBUG: boot_jump_linux: 10 \n");
	if (!fake) {
#ifdef CONFIG_ARMV7_NONSEC
		if (armv7_boot_nonsec()) {
			armv7_init_nonsec();
			secure_ram_addr(_do_nonsec_entry)(kernel_entry,
							  0, machid, r2);
		} else
#endif
			kernel_entry(0, machid, r2);
	}
#endif
}

/* Main Entry point for arm bootm implementation
 *
 * Modeled after the powerpc implementation
 * DIFFERENCE: Instead of calling prep and go at the end
 * they are called if subcommand is equal 0.
 */
int do_bootm_linux(int flag, int argc, char * const argv[],
		   bootm_headers_t *images)
{
	/* No need for those on ARM */
	if (flag & BOOTM_STATE_OS_BD_T || flag & BOOTM_STATE_OS_CMDLINE)
		return -1;

	if (flag & BOOTM_STATE_OS_PREP) {
		boot_prep_linux(images);
		return 0;
	}

	if (flag & (BOOTM_STATE_OS_GO | BOOTM_STATE_OS_FAKE_GO)) {
		boot_jump_linux(images, flag);
		return 0;
	}

	boot_prep_linux(images);
	boot_jump_linux(images, flag);
	return 0;
}

#if defined(CONFIG_BOOTM_VXWORKS)
void boot_prep_vxworks(bootm_headers_t *images)
{
#if defined(CONFIG_OF_LIBFDT)
	int off;

	if (images->ft_addr) {
		off = fdt_path_offset(images->ft_addr, "/memory");
		if (off > 0) {
			if (arch_fixup_fdt(images->ft_addr))
				puts("## WARNING: fixup memory failed!\n");
		}
	}
#endif
	cleanup_before_linux();
}
void boot_jump_vxworks(bootm_headers_t *images)
{
#if defined(CONFIG_ARM64) && defined(CONFIG_ARMV8_PSCI)
	armv8_setup_psci();
	smp_kick_all_cpus();
#endif

	/* ARM VxWorks requires device tree physical address to be passed */
	((void (*)(void *))images->ep)(images->ft_addr);
}
#endif

  • Hi Satish,

    Thanks for all the details. First i would start with the bootargs:

    console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000

    So first change the earlycon assignment to uart7 something like: earlycon=ns16550a,mmio32,0x02870000.

    Let me know if you get any prints & also then change console to:

    console=ttyS9,115200n8

    I believe they are sequential ttyS2-->main_uart0 & ttyS9-->main_uart7.

    Try the above & let me know if you proceed further with Linux booting.

    Best Regards,
    Keerthy

  • Hi Keerthy,

    Thank you for that command. Yes they did work and now I can see the bootlogs. However It is stuck at following log. Do you think it could be related to emmc operating in HS400 mode?

    [ 5.658077] mmc0: CQHCI version 5.10
    [ 5.696419] mmc0: SDHCI controller on 4f80000.sdhci [4f80000.sdhci] using ADMA 64-bit

    MMC:   sdhci@4f80000: 0, sdhci@4fb0000: 1
    Loading Environment from MMC... OK
    In:    serial@2870000
    Out:   serial@2870000
    Err:   serial@2870000
    Reading on-board EEPROM at 0x50 failed 1
    Net:   can't parse phy-handle port 1 (-2)
    can't find cpsw-phy-sel
    No ethernet found.
    
    Hit any key to stop autoboot:  0 
    => setenv bootargs console=ttyS9,115200n8 earlycon=ns16550a,mmio32,0x02870000 vm.overcommit_ratio=5 vm.overcommit_memory=2 root=/dev/mmcblk0p1
    => setenv bootcmd "setenv autoload no;ext4load mmc 0:1 0x82000000 /boot/Image;ext4load mmc 0:1 0x81200000 /boot/k3-j721e-common-proc-board.dtb; booti 0x82000000 - 0x81200000"
    => boot
    16654344 bytes read in 51 ms (311.4 MiB/s)
    88989 bytes read in 2 ms (42.4 MiB/s)
    ## Flattened Device Tree blob at 81200000
       Booting using the fdt blob at 0x81200000
       Loading Device Tree to 00000000fdea1000, end 00000000fdeb9b9c ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 5.4.40-g66cf445b76 (oe-user@oe-host) (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #1 SMP PREEMPT Sun Dec 20 10:16:48 UTC 2020
    [    0.000000] Machine model: Texas Instruments K3 J721E SoC
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002870000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 31 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a4000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a4100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a5000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a5100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c66-dma-memory@a6000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c66-memory@a6100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c66-dma-memory@a7000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c66-memory@a7100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@a8000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@a8100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000fb000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@fb000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000fb100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@fb100000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 512 MiB at 0x00000000c0000000
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.0
    [    0.000000] percpu: Embedded 2 pages/cpu s48408 r8192 d74472 u131072
    [    0.000000] Detected PIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: EL2 vector hardening
    [    0.000000] Built 1 zonelists, mobility grouping off.  Total pages: 47825
    [    0.000000] Kernel command line: console=ttyS9,115200n8 earlycon=ns16550a,mmio32,0x02870000 vm.overcommit_ratio=5 vm.overcommit_memory=2 root=/dev/mmcblk0p1
    [    0.000000] Dentry cache hash table entries: 524288 (order: 6, 4194304 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 5, 2097152 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: mapped [mem 0xbbff0000-0xbfff0000] (64MB)
    [    0.000000] Memory: 3354112K/3063808K available (9534K kernel code, 776K rwdata, 3840K rodata, 1728K init, 695K bss, 18446744073708737024K reserved, 524288K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
    [    0.000000]  Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 960 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] GICv3: Distributor has no Range Selector support
    [    0.000000] GICv3: 16 PPIs implemented
    [    0.000000] GICv3: no VLPI support, no direct LPI support
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: allocated 1048576 Devices @8c0800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x00000008c00c0000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000008c00d0000
    [    0.000000] random: get_random_bytes called from start_kernel+0x2b8/0x438 with crng_init=0
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000001] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008326] Console: colour dummy device 80x25
    [    0.012880] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023548] pid_max: default: 32768 minimum: 301
    [    0.028294] LSM: Security Framework initializing
    [    0.033034] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
    [    0.040600] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
    [    0.072645] ASID allocator initialised with 32768 entries
    [    0.086171] rcu: Hierarchical SRCU implementation.
    [    0.099111] Platform MSI: gic-its@1820000 domain created
    [    0.104630] PCI/MSI: /interconnect@100000/interrupt-controller@1800000/gic-its@1820000 domain created
    [    0.122065] smp: Bringing up secondary CPUs ...
    [    0.159015] Detected PIPT I-cache on CPU1
    [    0.159032] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.159041] GICv3: CPU1: using allocated LPI pending table @0x00000008c00e0000
    [    0.159059] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.159099] smp: Brought up 1 node, 2 CPUs
    [    0.188442] SMP: Total of 2 processors activated.
    [    0.193246] CPU features: detected: 32-bit EL0 Support
    [    0.198499] CPU features: detected: CRC32 instructions
    [    0.209751] CPU: All CPU(s) started at EL2
    [    0.213943] alternatives: patching kernel code
    [    0.218866] devtmpfs: initialized
    [    0.226187] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.236154] futex hash table entries: 512 (order: -1, 32768 bytes, linear)
    [    0.243569] pinctrl core: initialized pinctrl subsystem
    [    0.249248] NET: Registered protocol family 16
    [    0.256128] DMA: preallocated 256 KiB pool for atomic allocations
    [    0.262609] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.277866] HugeTLB registered 16.0 GiB page size, pre-allocated 0 pages
    [    0.284717] HugeTLB registered 512 MiB page size, pre-allocated 0 pages
    [    0.291477] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.300030] cryptd: max_cpu_qlen set to 1000
    [    0.307045] vsys_3v3: supplied by evm_12v0
    [    0.311326] vsys_5v0: supplied by evm_12v0
    [    0.315915] iommu: Default domain type: Translated 
    [    0.321034] SCSI subsystem initialized
    [    0.325111] mc: Linux media interface: v0.10
    [    0.329481] videodev: Linux video capture interface: v2.00
    [    0.335096] pps_core: LinuxPPS API ver. 1 registered
    [    0.340167] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.349504] PTP clock support registered
    [    0.353514] EDAC MC: Ver: 3.0.0
    [    0.357161] FPGA manager framework
    [    0.360664] Advanced Linux Sound Architecture Driver Initialized.
    [    0.367173] clocksource: Switched to clocksource arch_sys_counter
    [    0.373468] VFS: Disk quotas dquot_6.6.0
    [    0.377513] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
    [    0.386729] thermal_sys: Registered thermal governor 'step_wise'
    [    0.386731] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.393032] NET: Registered protocol family 2
    [    0.404360] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes, linear)
    [    0.413120] TCP established hash table entries: 32768 (order: 2, 262144 bytes, linear)
    [    0.421313] TCP bind hash table entries: 32768 (order: 3, 524288 bytes, linear)
    [    0.428992] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.435716] UDP hash table entries: 2048 (order: 0, 65536 bytes, linear)
    [    0.442604] UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes, linear)
    [    0.449983] NET: Registered protocol family 1
    [    0.454667] RPC: Registered named UNIX socket transport module.
    [    0.460719] RPC: Registered udp transport module.
    [    0.465522] RPC: Registered tcp transport module.
    [    0.470325] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.476907] PCI: CLS 0 bytes, default 64
    [    0.481137] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
    [    0.492496] Initialise system trusted keyrings
    [    0.497089] workingset: timestamp_bits=46 max_order=16 bucket_order=0
    [    0.505528] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.511744] NFS: Registering the id_resolver key type
    [    0.516914] Key type id_resolver registered
    [    0.521207] Key type id_legacy registered
    [    0.525303] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.532225] 9p: Installing v9fs 9p2000 file system support
    [    0.544743] Key type asymmetric registered
    [    0.548933] Asymmetric key parser 'x509' registered
    [    0.553937] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [    0.561498] io scheduler mq-deadline registered
    [    0.566125] io scheduler kyber registered
    [    0.571246] pinctrl-single 4301c000.pinmux: 94 pins, size 376
    [    0.577314] pinctrl-single 11c000.pinmux: 173 pins, size 692
    [    0.583452] pinctrl-single a40000.timesync_router: 512 pins, size 2048
    [    0.592313] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.598574] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.604899] ti-pat 31010000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.611310] debugfs: Directory '31010000.pat' with parent 'regmap' already present!
    [    0.619290] ti-pat 31011000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.625703] debugfs: Directory '31011000.pat' with parent 'regmap' already present!
    [    0.633622] ti-pat 31012000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.640032] debugfs: Directory '31012000.pat' with parent 'regmap' already present!
    [    0.647947] ti-pat 31013000.pat: Found PAT Rev 1.0 with 2048 pages
    [    0.654270] debugfs: Directory '31013000.pat' with parent 'regmap' already present!
    [    0.662210] ti-pat 31014000.pat: Found PAT Rev 1.0 with 2048 pages
    [    0.668532] debugfs: Directory '31014000.pat' with parent 'regmap' already present!
    [    0.677817] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.689312] brd: module loaded
    [    0.695120] loop: module loaded
    [    0.699650] libphy: Fixed MDIO Bus: probed
    [    0.703984] tun: Universal TUN/TAP device driver, 1.6
    [    0.709386] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
    [    0.717393] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.723456] sky2: driver version 1.30
    [    0.727659] VFIO - User Level meta-driver version: 0.3
    [    0.733226] i2c /dev entries driver
    [    0.737300] sdhci: Secure Digital Host Controller Interface driver
    [    0.743614] sdhci: Copyright(c) Pierre Ossman
    [    0.748228] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.754467] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.761193] optee: probing for conduit method from DT.
    [    0.766459] optee: revision 3.8 (199fca17)
    [    0.766733] optee: initialized driver
    [    0.775337] NET: Registered protocol family 17
    [    0.779934] 9pnet: Installing 9P2000 support
    [    0.784312] Key type dns_resolver registered
    [    0.788810] registered taskstats version 1
    [    0.792997] Loading compiled-in X.509 certificates
    [    0.801634] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.807949] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.815609] ti-sci 44083000.dmsc: ABI: 3.0 (firmware rev 0x0014 '20.04.1-v2020.04a (Terrific Lla')
    [    0.840275] random: fast init done
    [    0.871366] davinci-mcasp 2ba0000.mcasp: IRQ common not found
    [    0.878583] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz
    [    0.884557] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz
    [    0.890515] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz
    [    0.896566] pca953x 3-0020: 3-0020 supply vcc not found, using dummy regulator
    [    1.911182] omap_i2c 2000000.i2c: timeout waiting for bus ready
    [    1.917234] pca953x 3-0020: failed writing register
    [    1.922263] pca953x: probe of 3-0020 failed with error -16
    [    1.927960] pca953x 3-0022: 3-0022 supply vcc not found, using dummy regulator
    [    2.943179] omap_i2c 2000000.i2c: timeout waiting for bus ready
    [    2.949230] pca953x 3-0022: failed writing register
    [    2.954244] pca953x: probe of 3-0022 failed with error -16
    [    2.959882] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
    [    2.965861] omap_i2c 2010000.i2c: bus 4 rev0.12 at 400 kHz
    [    2.971732] omap_i2c 2020000.i2c: bus 5 rev0.12 at 100 kHz
    [    2.977661] pca953x 6-0020: 6-0020 supply vcc not found, using dummy regulator
    [    3.007216] pca953x 6-0020: failed writing register
    [    3.012234] pca953x: probe of 6-0020 failed with error -121
    [    3.018011] omap_i2c 2030000.i2c: bus 6 rev0.12 at 400 kHz
    [    3.023875] omap_i2c 2040000.i2c: bus 7 rev0.12 at 100 kHz
    [    3.029735] omap_i2c 2050000.i2c: bus 8 rev0.12 at 100 kHz
    [    3.035695] pca953x 9-0020: 9-0020 supply vcc not found, using dummy regulator
    [    3.063217] pca953x 9-0020: failed writing register
    [    3.068236] pca953x: probe of 9-0020 failed with error -121
    [    3.073963] omap_i2c 2060000.i2c: bus 9 rev0.12 at 400 kHz
    [    3.080167] ti-sci-intr interconnect@100000:interconnect@28380000:interrupt-controller2: Interrupt Router 137 domain created
    [    3.091736] ti-sci-intr interconnect@100000:interrupt-controller0: Interrupt Router 131 domain created
    [    3.101343] ti-sci-intr interconnect@100000:navss@30000000:interrupt-controller1: Interrupt Router 213 domain created
    [    3.112347] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain 209 created
    [    3.128906] cdns-torrent-phy 5050000.serdes: 4 lanes, max bit rate 5.400 Gbps
    [    3.137835] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
    [    3.147714] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    3.154473] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    3.163322] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211
    [    3.173460] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    3.180219] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    3.187871] omap8250 40a00000.serial: PM domain pd:149 will not be powered off
    [    3.195385] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 7, base_baud = 6000000) is a 8250
    [    3.204539] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 19, base_baud = 3000000) is a 8250
    [    3.213578] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 20, base_baud = 3000000) is a 8250
    [    3.222605] 2840000.serial: ttyS6 at MMIO 0x2840000 (irq = 21, base_baud = 3000000) is a 8250
    [    3.231622] 2870000.serial: ttyS9 at MMIO 0x2870000 (irq = 22, base_baud = 3000000) is a 8250
    [    3.240357] printk: console [ttyS9] enabled
    [    3.240357] printk: console [ttyS9] enabled
    [    3.248793] printk: bootconsole [ns16550a0] disabled
    [    3.248793] printk: bootconsole [ns16550a0] disabled
    [    3.259031] arm-smmu-v3 36600000.smmu: ias 48-bit, oas 48-bit (features 0x00001faf)
    [    3.268271] arm-smmu-v3 36600000.smmu: allocated 524288 entries for cmdq
    [    3.276861] arm-smmu-v3 36600000.smmu: allocated 524288 entries for evtq
    [    4.365187] arm-smmu-v3 36600000.smmu: CMD_SYNC timeout at 0x00000001 [hwprod 0x00000002, hwcons 0x00000001]
    [    5.456028] arm-smmu-v3 36600000.smmu: CMD_SYNC timeout at 0x00000004 [hwprod 0x00000005, hwcons 0x00000001]
    [    5.465883] arm-smmu-v3 36600000.smmu: msi_domain absent - falling back to wired irqs
    [    5.475582] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vdd-hba-supply regulator, assuming enabled
    [    5.486087] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vcc-supply regulator, assuming enabled
    [    5.496240] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq-supply regulator, assuming enabled
    [    5.506479] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq2-supply regulator, assuming enabled
    [    5.517244] scsi host0: ufshcd
    [    5.527116] cadence-qspi 47040000.spi: mt35xu02g (262144 Kbytes)
    [    5.567369] cadence-qspi 47040000.spi: Cadence QSPI NOR probe failed -517
    [    5.611181] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    5.618824] libphy: 46000f00.mdio: probed
    [    5.623278] davinci_mdio: probe of 46000f00.mdio failed with error -5
    [    5.629733] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2
    [    5.641161] am65-cpsw-nuss 46000000.ethernet: Failed to request tx dma channel -517
    [    5.649578] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0
    [    5.658077] mmc0: CQHCI version 5.10
    [    5.696419] mmc0: SDHCI controller on 4f80000.sdhci [4f80000.sdhci] using ADMA 64-bit
    

    Thanks,

    Satish

  • Hi Satish,

    In you file system i believe by default:

    cat /etc/securetty
    # /etc/securetty: list of terminals on which root is allowed to login.
    # See securetty(5) and login(1).
    console

    # Standard serial ports
    ttyS0
    ttyS1
    ttyS2
    ttyS3

    To the above can you also add the line ttyS9 & check if you get the later prints that come from filesystem?

    Best Regards,
    Keerthy

  • Hi Keerthy,

    I added ttyS9 in /etc/securetty and updated the rootfs in eMMC, I still don't see the logs. It is stuck at same place. Here is the full log.

    MMC:   sdhci@4f80000: 0, sdhci@4fb0000: 1
    Loading Environment from MMC... OK
    In:    serial@2870000
    Out:   serial@2870000
    Err:   serial@2870000
    Reading on-board EEPROM at 0x50 failed 1
    Net:   can't parse phy-handle port 1 (-2)
    can't find cpsw-phy-sel
    No ethernet found.
    
    Hit any key to stop autoboot:  0 
    => setenv bootargs console=ttyS9,115200n8 earlycon=ns16550a,mmio32,0x02870000 vm.overcommit_ratio=5 vm.overcommit_memory=2 root=/dev/mmcblk0p1
    => setenv bootcmd "setenv autoload no;ext4load mmc 0:1 0x82000000 /boot/Image;ext4load mmc 0:1 0x81200000 /boot/k3-j721e-common-proc-board.dtb; booti 0x82000000 - 0x81200000"
    => boot
    16654344 bytes read in 51 ms (311.4 MiB/s)
    92945 bytes read in 2 ms (44.3 MiB/s)
    ## Flattened Device Tree blob at 81200000
       Booting using the fdt blob at 0x81200000
       Loading Device Tree to 00000000fdea0000, end 00000000fdeb9b10 ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 5.4.40-g66cf445b76 (oe-user@oe-host) (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #1 SMP PREEMPT Mon Dec 21 23:22:44 UTC 2020
    [    0.000000] Machine model: Texas Instruments K3 J721E SoC
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002870000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 31 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a4000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a4100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a5000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a5100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c66-dma-memory@a6000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c66-memory@a6100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c66-dma-memory@a7000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c66-memory@a7100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@a8000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@a8100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000fb000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@fb000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000fb100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@fb100000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 512 MiB at 0x00000000c0000000
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.0
    [    0.000000] percpu: Embedded 2 pages/cpu s48408 r8192 d74472 u131072
    [    0.000000] Detected PIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: EL2 vector hardening
    [    0.000000] Built 1 zonelists, mobility grouping off.  Total pages: 47825
    [    0.000000] Kernel command line: console=ttyS9,115200n8 earlycon=ns16550a,mmio32,0x02870000 vm.overcommit_ratio=5 vm.overcommit_memory=2 root=/dev/mmcblk0p1
    [    0.000000] Dentry cache hash table entries: 524288 (order: 6, 4194304 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 5, 2097152 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: mapped [mem 0xbbff0000-0xbfff0000] (64MB)
    [    0.000000] Memory: 3354112K/3063808K available (9534K kernel code, 776K rwdata, 3840K rodata, 1728K init, 695K bss, 18446744073708737024K reserved, 524288K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
    [    0.000000]  Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 960 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] GICv3: Distributor has no Range Selector support
    [    0.000000] GICv3: 16 PPIs implemented
    [    0.000000] GICv3: no VLPI support, no direct LPI support
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: allocated 1048576 Devices @8c0800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x00000008c00c0000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000008c00d0000
    [    0.000000] random: get_random_bytes called from start_kernel+0x2b8/0x438 with crng_init=0
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000001] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008348] Console: colour dummy device 80x25
    [    0.012902] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023570] pid_max: default: 32768 minimum: 301
    [    0.028315] LSM: Security Framework initializing
    [    0.033057] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
    [    0.040624] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
    [    0.072666] ASID allocator initialised with 32768 entries
    [    0.086193] rcu: Hierarchical SRCU implementation.
    [    0.099135] Platform MSI: gic-its@1820000 domain created
    [    0.104662] PCI/MSI: /interconnect@100000/interrupt-controller@1800000/gic-its@1820000 domain created
    [    0.122095] smp: Bringing up secondary CPUs ...
    [    0.159047] Detected PIPT I-cache on CPU1
    [    0.159064] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.159073] GICv3: CPU1: using allocated LPI pending table @0x00000008c00e0000
    [    0.159094] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.159131] smp: Brought up 1 node, 2 CPUs
    [    0.188475] SMP: Total of 2 processors activated.
    [    0.193278] CPU features: detected: 32-bit EL0 Support
    [    0.198531] CPU features: detected: CRC32 instructions
    [    0.209757] CPU: All CPU(s) started at EL2
    [    0.213950] alternatives: patching kernel code
    [    0.218869] devtmpfs: initialized
    [    0.226332] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.236299] futex hash table entries: 512 (order: -1, 32768 bytes, linear)
    [    0.243755] pinctrl core: initialized pinctrl subsystem
    [    0.249436] NET: Registered protocol family 16
    [    0.256308] DMA: preallocated 256 KiB pool for atomic allocations
    [    0.262792] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.278600] HugeTLB registered 16.0 GiB page size, pre-allocated 0 pages
    [    0.285450] HugeTLB registered 512 MiB page size, pre-allocated 0 pages
    [    0.292209] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.300747] cryptd: max_cpu_qlen set to 1000
    [    0.307751] vsys_3v3: supplied by evm_12v0
    [    0.312032] vsys_5v0: supplied by evm_12v0
    [    0.316630] iommu: Default domain type: Translated 
    [    0.321750] SCSI subsystem initialized
    [    0.325815] mc: Linux media interface: v0.10
    [    0.330204] videodev: Linux video capture interface: v2.00
    [    0.335814] pps_core: LinuxPPS API ver. 1 registered
    [    0.340883] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.350219] PTP clock support registered
    [    0.354230] EDAC MC: Ver: 3.0.0
    [    0.357895] FPGA manager framework
    [    0.361399] Advanced Linux Sound Architecture Driver Initialized.
    [    0.367885] clocksource: Switched to clocksource arch_sys_counter
    [    0.374184] VFS: Disk quotas dquot_6.6.0
    [    0.378226] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
    [    0.387518] thermal_sys: Registered thermal governor 'step_wise'
    [    0.387520] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.393823] NET: Registered protocol family 2
    [    0.405157] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes, linear)
    [    0.413919] TCP established hash table entries: 32768 (order: 2, 262144 bytes, linear)
    [    0.422112] TCP bind hash table entries: 32768 (order: 3, 524288 bytes, linear)
    [    0.429791] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.436517] UDP hash table entries: 2048 (order: 0, 65536 bytes, linear)
    [    0.443405] UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes, linear)
    [    0.450784] NET: Registered protocol family 1
    [    0.455458] RPC: Registered named UNIX socket transport module.
    [    0.461513] RPC: Registered udp transport module.
    [    0.466316] RPC: Registered tcp transport module.
    [    0.471118] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.477701] PCI: CLS 0 bytes, default 64
    [    0.481937] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
    [    0.493180] Initialise system trusted keyrings
    [    0.497810] workingset: timestamp_bits=46 max_order=16 bucket_order=0
    [    0.506230] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.512462] NFS: Registering the id_resolver key type
    [    0.517632] Key type id_resolver registered
    [    0.521903] Key type id_legacy registered
    [    0.525999] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.532956] 9p: Installing v9fs 9p2000 file system support
    [    0.545744] Key type asymmetric registered
    [    0.549938] Asymmetric key parser 'x509' registered
    [    0.554941] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [    0.562502] io scheduler mq-deadline registered
    [    0.567129] io scheduler kyber registered
    [    0.572286] pinctrl-single 4301c000.pinmux: 94 pins, size 376
    [    0.578341] pinctrl-single 11c000.pinmux: 173 pins, size 692
    [    0.584485] pinctrl-single a40000.timesync_router: 512 pins, size 2048
    [    0.593412] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.599671] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.605993] ti-pat 31010000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.612401] debugfs: Directory '31010000.pat' with parent 'regmap' already present!
    [    0.620344] ti-pat 31011000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.626754] debugfs: Directory '31011000.pat' with parent 'regmap' already present!
    [    0.634672] ti-pat 31012000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.641081] debugfs: Directory '31012000.pat' with parent 'regmap' already present!
    [    0.649003] ti-pat 31013000.pat: Found PAT Rev 1.0 with 2048 pages
    [    0.655324] debugfs: Directory '31013000.pat' with parent 'regmap' already present!
    [    0.663247] ti-pat 31014000.pat: Found PAT Rev 1.0 with 2048 pages
    [    0.669569] debugfs: Directory '31014000.pat' with parent 'regmap' already present!
    [    0.678866] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.690692] brd: module loaded
    [    0.696608] loop: module loaded
    [    0.701137] libphy: Fixed MDIO Bus: probed
    [    0.705498] tun: Universal TUN/TAP device driver, 1.6
    [    0.710904] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
    [    0.718910] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.724972] sky2: driver version 1.30
    [    0.729187] VFIO - User Level meta-driver version: 0.3
    [    0.734765] i2c /dev entries driver
    [    0.738845] sdhci: Secure Digital Host Controller Interface driver
    [    0.745158] sdhci: Copyright(c) Pierre Ossman
    [    0.749781] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.756043] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.762784] optee: probing for conduit method from DT.
    [    0.768049] optee: revision 3.8 (199fca17)
    [    0.768314] optee: initialized driver
    [    0.776891] NET: Registered protocol family 17
    [    0.781495] 9pnet: Installing 9P2000 support
    [    0.785877] Key type dns_resolver registered
    [    0.790344] registered taskstats version 1
    [    0.794530] Loading compiled-in X.509 certificates
    [    0.803392] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.809715] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.817818] ti-sci 44083000.dmsc: ABI: 3.0 (firmware rev 0x0014 '20.04.1-v2020.04a (Terrific Lla')
    [    0.842464] random: fast init done
    [    0.874295] pinctrl-single 11c000.pinmux: pin PIN105 already requested by 44083000.dmsc:clocks; cannot claim for 600000.gpio
    [    0.885774] pinctrl-single 11c000.pinmux: pin-105 (600000.gpio) status -22
    [    0.892800] pinctrl-single 11c000.pinmux: could not request pin 105 (PIN105) from group debug_pins_default  on device pinctrl-single
    [    0.904979] davinci_gpio 600000.gpio: Error applying setting, reverse things back
    [    0.912631] davinci_gpio: probe of 600000.gpio failed with error -22
    [    0.919946] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz
    [    0.925911] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz
    [    0.931899] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz
    [    0.937920] pca953x 3-0020: 3-0020 supply vcc not found, using dummy regulator
    [    1.951888] omap_i2c 2000000.i2c: timeout waiting for bus ready
    [    1.957939] pca953x 3-0020: failed writing register
    [    1.962969] pca953x: probe of 3-0020 failed with error -16
    [    1.968670] pca953x 3-0022: 3-0022 supply vcc not found, using dummy regulator
    [    2.983887] omap_i2c 2000000.i2c: timeout waiting for bus ready
    [    2.989938] pca953x 3-0022: failed writing register
    [    2.994951] pca953x: probe of 3-0022 failed with error -16
    [    3.000589] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
    [    3.006565] omap_i2c 2010000.i2c: bus 4 rev0.12 at 400 kHz
    [    3.012451] omap_i2c 2020000.i2c: bus 5 rev0.12 at 400 kHz
    [    3.018376] pca953x 6-0020: 6-0020 supply vcc not found, using dummy regulator
    [    3.047927] pca953x 6-0020: failed writing register
    [    3.052945] pca953x: probe of 6-0020 failed with error -121
    [    3.058723] omap_i2c 2030000.i2c: bus 6 rev0.12 at 400 kHz
    [    3.064606] omap_i2c 2040000.i2c: bus 7 rev0.12 at 400 kHz
    [    3.070523] omap_i2c 2050000.i2c: bus 8 rev0.12 at 400 kHz
    [    3.076451] pca953x 9-0020: 9-0020 supply vcc not found, using dummy regulator
    [    3.103929] pca953x 9-0020: failed writing register
    [    3.108946] pca953x: probe of 9-0020 failed with error -121
    [    3.114674] omap_i2c 2060000.i2c: bus 9 rev0.12 at 400 kHz
    [    3.120879] ti-sci-intr interconnect@100000:interconnect@28380000:interrupt-controller2: Interrupt Router 137 domain created
    [    3.132453] ti-sci-intr interconnect@100000:interrupt-controller0: Interrupt Router 131 domain created
    [    3.142061] ti-sci-intr interconnect@100000:navss@30000000:interrupt-controller1: Interrupt Router 213 domain created
    [    3.153065] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain 209 created
    [    3.169718] cdns-torrent-phy 5050000.serdes: 4 lanes, max bit rate 5.400 Gbps
    [    3.178629] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
    [    3.188505] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    3.195263] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    3.204108] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211
    [    3.214249] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    3.221007] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    3.228666] omap8250 40a00000.serial: PM domain pd:149 will not be powered off
    [    3.236166] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 7, base_baud = 6000000) is a 8250
    [    3.245338] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 19, base_baud = 3000000) is a 8250
    [    3.254388] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 20, base_baud = 3000000) is a 8250
    [    3.263427] 2820000.serial: ttyS4 at MMIO 0x2820000 (irq = 21, base_baud = 3000000) is a 8250
    [    3.272490] 2830000.serial: ttyS5 at MMIO 0x2830000 (irq = 22, base_baud = 3000000) is a 8250
    [    3.281533] 2840000.serial: ttyS6 at MMIO 0x2840000 (irq = 23, base_baud = 3000000) is a 8250
    [    3.290578] 2860000.serial: ttyS8 at MMIO 0x2860000 (irq = 24, base_baud = 3000000) is a 8250
    [    3.299618] 2870000.serial: ttyS9 at MMIO 0x2870000 (irq = 25, base_baud = 3000000) is a 8250
    [    3.308353] printk: console [ttyS9] enabled
    [    3.308353] printk: console [ttyS9] enabled
    [    3.316789] printk: bootconsole [ns16550a0] disabled
    [    3.316789] printk: bootconsole [ns16550a0] disabled
    [    3.327129] 2880000.serial: ttyS0 at MMIO 0x2880000 (irq = 26, base_baud = 3000000) is a 8250
    [    3.335862] arm-smmu-v3 36600000.smmu: ias 48-bit, oas 48-bit (features 0x00001faf)
    [    3.345143] arm-smmu-v3 36600000.smmu: allocated 524288 entries for cmdq
    [    3.353716] arm-smmu-v3 36600000.smmu: allocated 524288 entries for evtq
    [    4.441964] arm-smmu-v3 36600000.smmu: CMD_SYNC timeout at 0x00000001 [hwprod 0x00000002, hwcons 0x00000001]
    [    5.532804] arm-smmu-v3 36600000.smmu: CMD_SYNC timeout at 0x00000004 [hwprod 0x00000005, hwcons 0x00000001]
    [    5.542660] arm-smmu-v3 36600000.smmu: msi_domain absent - falling back to wired irqs
    [    5.552347] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vdd-hba-supply regulator, assuming enabled
    [    5.562852] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vcc-supply regulator, assuming enabled
    [    5.573005] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq-supply regulator, assuming enabled
    [    5.583243] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq2-supply regulator, assuming enabled
    [    5.594009] scsi host0: ufshcd
    [    5.603909] cadence-qspi 47040000.spi: mt35xu02g (262144 Kbytes)
    [    5.640083] cadence-qspi 47040000.spi: Cadence QSPI NOR probe failed -517
    [    5.683887] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    5.691531] libphy: 46000f00.mdio: probed
    [    5.695997] davinci_mdio: probe of 46000f00.mdio failed with error -5
    [    5.702455] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2
    [    5.713882] am65-cpsw-nuss 46000000.ethernet: Failed to request tx dma channel -517
    [    5.722288] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0
    [    5.730789] mmc0: CQHCI version 5.10
    [    5.769131] mmc0: SDHCI controller on 4f80000.sdhci [4f80000.sdhci] using ADMA 64-bit

    Thanks,

    Satish

  • Hi Satish,

    I believe your custom board does not have the MMC-SD interface. I am going through the regular
    boot messaged on eMMC where it boots. Can you try to remove main_sdhci1 node from your dts if not
    already removed?

    I believe you are on SDK 7.0. Here is the diff:

    diff --git a/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts
    index 6788a3611..34d597b7f 100644
    --- a/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts
    +++ b/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts

    @@ -771,6 +776,7 @@
    pinctrl-names = "default";
    pinctrl-0 = <&main_mmc1_pins_default>;
    disable-wp;
    + status="disabled";
    };

    Let me know if that helps.

    Also if you are doubting the HS400 there is a thread that talks of disabling that: https://e2e.ti.com/support/processors/f/791/t/910959


    Best Regards,
    Keerthy

  • Hi Keerthy,

    In my Case I completely removed "main_sdhci1" from my dts file. However I added it back with just "status=disabled" which I think made the difference.

    It passed that point where it used to stuck. However I see a different place where it is stuck. Please see the log here. 

    MMC:   sdhci@4f80000: 0, sdhci@4fb0000: 1
    Loading Environment from MMC... OK
    In:    serial@2870000
    Out:   serial@2870000
    Err:   serial@2870000
    Reading on-board EEPROM at 0x50 failed 1
    Net:   can't parse phy-handle port 1 (-2)
    can't find cpsw-phy-sel
    No ethernet found.
    
    Hit any key to stop autoboot:  0 
    => 
    => setenv bootargs console=ttyS9,115200n8 earlycon=ns16550a,mmio32,0x02870000 vm.overcommit_ratio=5 vm.overcommit_memory=2 root=/dev/mmcblk0p1
    => setenv bootcmd "setenv autoload no;ext4load mmc 0:1 0x82000000 /boot/Image;ext4load mmc 0:1 0x81200000 /boot/k3-j721e-common-proc-board.dtb; booti 0x82000000 - 0x81200000"
    => boot
    16654344 bytes read in 50 ms (317.7 MiB/s)
    92969 bytes read in 2 ms (44.3 MiB/s)
    ## Flattened Device Tree blob at 81200000
       Booting using the fdt blob at 0x81200000
       Loading Device Tree to 00000000fdea0000, end 00000000fdeb9b28 ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 5.4.40-g66cf445b76 (oe-user@oe-host) (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #1 SMP PREEMPT Tue Dec 22 03:40:31 UTC 2020
    [    0.000000] Machine model: Texas Instruments K3 J721E SoC
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002870000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 31 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a4000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a4100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a5000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a5100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c66-dma-memory@a6000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c66-memory@a6100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c66-dma-memory@a7000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c66-memory@a7100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@a8000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@a8100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000fb000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@fb000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000fb100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@fb100000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 512 MiB at 0x00000000c0000000
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.0
    [    0.000000] percpu: Embedded 2 pages/cpu s48408 r8192 d74472 u131072
    [    0.000000] Detected PIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: EL2 vector hardening
    [    0.000000] Built 1 zonelists, mobility grouping off.  Total pages: 47825
    [    0.000000] Kernel command line: console=ttyS9,115200n8 earlycon=ns16550a,mmio32,0x02870000 vm.overcommit_ratio=5 vm.overcommit_memory=2 root=/dev/mmcblk0p1
    [    0.000000] Dentry cache hash table entries: 524288 (order: 6, 4194304 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 5, 2097152 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: mapped [mem 0xbbff0000-0xbfff0000] (64MB)
    [    0.000000] Memory: 3354112K/3063808K available (9534K kernel code, 776K rwdata, 3840K rodata, 1728K init, 695K bss, 18446744073708737024K reserved, 524288K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
    [    0.000000]  Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 960 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] GICv3: Distributor has no Range Selector support
    [    0.000000] GICv3: 16 PPIs implemented
    [    0.000000] GICv3: no VLPI support, no direct LPI support
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: allocated 1048576 Devices @8c0800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x00000008c00c0000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000008c00d0000
    [    0.000000] random: get_random_bytes called from start_kernel+0x2b8/0x438 with crng_init=0
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000001] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008348] Console: colour dummy device 80x25
    [    0.012902] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023571] pid_max: default: 32768 minimum: 301
    [    0.028318] LSM: Security Framework initializing
    [    0.033059] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
    [    0.040626] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
    [    0.072670] ASID allocator initialised with 32768 entries
    [    0.086196] rcu: Hierarchical SRCU implementation.
    [    0.099137] Platform MSI: gic-its@1820000 domain created
    [    0.104664] PCI/MSI: /interconnect@100000/interrupt-controller@1800000/gic-its@1820000 domain created
    [    0.122098] smp: Bringing up secondary CPUs ...
    [    0.159053] Detected PIPT I-cache on CPU1
    [    0.159070] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.159080] GICv3: CPU1: using allocated LPI pending table @0x00000008c00e0000
    [    0.159098] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.159136] smp: Brought up 1 node, 2 CPUs
    [    0.188479] SMP: Total of 2 processors activated.
    [    0.193284] CPU features: detected: 32-bit EL0 Support
    [    0.198537] CPU features: detected: CRC32 instructions
    [    0.209740] CPU: All CPU(s) started at EL2
    [    0.213932] alternatives: patching kernel code
    [    0.218858] devtmpfs: initialized
    [    0.226319] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.236286] futex hash table entries: 512 (order: -1, 32768 bytes, linear)
    [    0.243715] pinctrl core: initialized pinctrl subsystem
    [    0.249392] NET: Registered protocol family 16
    [    0.256349] DMA: preallocated 256 KiB pool for atomic allocations
    [    0.262830] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.278591] HugeTLB registered 16.0 GiB page size, pre-allocated 0 pages
    [    0.285440] HugeTLB registered 512 MiB page size, pre-allocated 0 pages
    [    0.292199] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.300742] cryptd: max_cpu_qlen set to 1000
    [    0.307757] vsys_3v3: supplied by evm_12v0
    [    0.312036] vsys_5v0: supplied by evm_12v0
    [    0.316635] iommu: Default domain type: Translated 
    [    0.321752] SCSI subsystem initialized
    [    0.325816] mc: Linux media interface: v0.10
    [    0.330212] videodev: Linux video capture interface: v2.00
    [    0.335822] pps_core: LinuxPPS API ver. 1 registered
    [    0.340891] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.350228] PTP clock support registered
    [    0.354238] EDAC MC: Ver: 3.0.0
    [    0.357895] FPGA manager framework
    [    0.361398] Advanced Linux Sound Architecture Driver Initialized.
    [    0.367882] clocksource: Switched to clocksource arch_sys_counter
    [    0.374182] VFS: Disk quotas dquot_6.6.0
    [    0.378224] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
    [    0.387515] thermal_sys: Registered thermal governor 'step_wise'
    [    0.387517] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.393820] NET: Registered protocol family 2
    [    0.405153] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes, linear)
    [    0.413916] TCP established hash table entries: 32768 (order: 2, 262144 bytes, linear)
    [    0.422109] TCP bind hash table entries: 32768 (order: 3, 524288 bytes, linear)
    [    0.429788] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.436514] UDP hash table entries: 2048 (order: 0, 65536 bytes, linear)
    [    0.443403] UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes, linear)
    [    0.450783] NET: Registered protocol family 1
    [    0.455461] RPC: Registered named UNIX socket transport module.
    [    0.461515] RPC: Registered udp transport module.
    [    0.466318] RPC: Registered tcp transport module.
    [    0.471120] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.477702] PCI: CLS 0 bytes, default 64
    [    0.481936] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
    [    0.493233] Initialise system trusted keyrings
    [    0.497830] workingset: timestamp_bits=46 max_order=16 bucket_order=0
    [    0.506290] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.512490] NFS: Registering the id_resolver key type
    [    0.517659] Key type id_resolver registered
    [    0.521950] Key type id_legacy registered
    [    0.526045] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.532965] 9p: Installing v9fs 9p2000 file system support
    [    0.545516] Key type asymmetric registered
    [    0.549707] Asymmetric key parser 'x509' registered
    [    0.554712] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [    0.562271] io scheduler mq-deadline registered
    [    0.566897] io scheduler kyber registered
    [    0.572035] pinctrl-single 4301c000.pinmux: 94 pins, size 376
    [    0.578086] pinctrl-single 11c000.pinmux: 173 pins, size 692
    [    0.584222] pinctrl-single a40000.timesync_router: 512 pins, size 2048
    [    0.593163] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.599419] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.605742] ti-pat 31010000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.612150] debugfs: Directory '31010000.pat' with parent 'regmap' already present!
    [    0.620096] ti-pat 31011000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.626507] debugfs: Directory '31011000.pat' with parent 'regmap' already present!
    [    0.634427] ti-pat 31012000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.640838] debugfs: Directory '31012000.pat' with parent 'regmap' already present!
    [    0.648765] ti-pat 31013000.pat: Found PAT Rev 1.0 with 2048 pages
    [    0.655089] debugfs: Directory '31013000.pat' with parent 'regmap' already present!
    [    0.663003] ti-pat 31014000.pat: Found PAT Rev 1.0 with 2048 pages
    [    0.669324] debugfs: Directory '31014000.pat' with parent 'regmap' already present!
    [    0.678625] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.690465] brd: module loaded
    [    0.696307] loop: module loaded
    [    0.700845] libphy: Fixed MDIO Bus: probed
    [    0.705186] tun: Universal TUN/TAP device driver, 1.6
    [    0.710593] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
    [    0.718598] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.724683] sky2: driver version 1.30
    [    0.728900] VFIO - User Level meta-driver version: 0.3
    [    0.734481] i2c /dev entries driver
    [    0.738549] sdhci: Secure Digital Host Controller Interface driver
    [    0.744863] sdhci: Copyright(c) Pierre Ossman
    [    0.749470] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.755717] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.762470] optee: probing for conduit method from DT.
    [    0.767737] optee: revision 3.8 (199fca17)
    [    0.768013] optee: initialized driver
    [    0.776562] NET: Registered protocol family 17
    [    0.781165] 9pnet: Installing 9P2000 support
    [    0.785547] Key type dns_resolver registered
    [    0.790017] registered taskstats version 1
    [    0.794202] Loading compiled-in X.509 certificates
    [    0.803056] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.809375] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.817409] ti-sci 44083000.dmsc: ABI: 3.0 (firmware rev 0x0014 '20.04.1-v2020.04a (Terrific Lla')
    [    0.842153] random: fast init done
    [    0.872927] pinctrl-single 11c000.pinmux: pin PIN105 already requested by 44083000.dmsc:clocks; cannot claim for 600000.gpio
    [    0.884405] pinctrl-single 11c000.pinmux: pin-105 (600000.gpio) status -22
    [    0.891431] pinctrl-single 11c000.pinmux: could not request pin 105 (PIN105) from group debug_pins_default  on device pinctrl-single
    [    0.903609] davinci_gpio 600000.gpio: Error applying setting, reverse things back
    [    0.911261] davinci_gpio: probe of 600000.gpio failed with error -22
    [    0.918567] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz
    [    0.924532] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz
    [    0.930512] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz
    [    0.936540] pca953x 3-0020: 3-0020 supply vcc not found, using dummy regulator
    [    1.951887] omap_i2c 2000000.i2c: timeout waiting for bus ready
    [    1.957939] pca953x 3-0020: failed writing register
    [    1.962968] pca953x: probe of 3-0020 failed with error -16
    [    1.968669] pca953x 3-0022: 3-0022 supply vcc not found, using dummy regulator
    [    2.983885] omap_i2c 2000000.i2c: timeout waiting for bus ready
    [    2.989935] pca953x 3-0022: failed writing register
    [    2.994949] pca953x: probe of 3-0022 failed with error -16
    [    3.000588] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
    [    3.006568] omap_i2c 2010000.i2c: bus 4 rev0.12 at 400 kHz
    [    3.012454] omap_i2c 2020000.i2c: bus 5 rev0.12 at 400 kHz
    [    3.018402] pca953x 6-0020: 6-0020 supply vcc not found, using dummy regulator
    [    3.047925] pca953x 6-0020: failed writing register
    [    3.052944] pca953x: probe of 6-0020 failed with error -121
    [    3.058725] omap_i2c 2030000.i2c: bus 6 rev0.12 at 400 kHz
    [    3.064647] omap_i2c 2040000.i2c: bus 7 rev0.12 at 400 kHz
    [    3.070530] omap_i2c 2050000.i2c: bus 8 rev0.12 at 400 kHz
    [    3.076454] pca953x 9-0020: 9-0020 supply vcc not found, using dummy regulator
    [    3.107926] pca953x 9-0020: failed writing register
    [    3.112945] pca953x: probe of 9-0020 failed with error -121
    [    3.118673] omap_i2c 2060000.i2c: bus 9 rev0.12 at 400 kHz
    [    3.124878] ti-sci-intr interconnect@100000:interconnect@28380000:interrupt-controller2: Interrupt Router 137 domain created
    [    3.136448] ti-sci-intr interconnect@100000:interrupt-controller0: Interrupt Router 131 domain created
    [    3.146056] ti-sci-intr interconnect@100000:navss@30000000:interrupt-controller1: Interrupt Router 213 domain created
    [    3.157059] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain 209 created
    [    3.173765] cdns-torrent-phy 5050000.serdes: 4 lanes, max bit rate 5.400 Gbps
    [    3.182676] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
    [    3.192553] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    3.199312] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    3.208159] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211
    [    3.218300] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    3.225059] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    3.232709] omap8250 40a00000.serial: PM domain pd:149 will not be powered off
    [    3.240220] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 7, base_baud = 6000000) is a 8250
    [    3.249396] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 19, base_baud = 3000000) is a 8250
    [    3.258443] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 20, base_baud = 3000000) is a 8250
    [    3.267482] 2820000.serial: ttyS4 at MMIO 0x2820000 (irq = 21, base_baud = 3000000) is a 8250
    [    3.276549] 2830000.serial: ttyS5 at MMIO 0x2830000 (irq = 22, base_baud = 3000000) is a 8250
    [    3.285593] 2840000.serial: ttyS6 at MMIO 0x2840000 (irq = 23, base_baud = 3000000) is a 8250
    [    3.294633] 2860000.serial: ttyS8 at MMIO 0x2860000 (irq = 24, base_baud = 3000000) is a 8250
    [    3.303658] 2870000.serial: ttyS9 at MMIO 0x2870000 (irq = 25, base_baud = 3000000) is a 8250
    [    3.312393] printk: console [ttyS9] enabled
    [    3.312393] printk: console [ttyS9] enabled
    [    3.320830] printk: bootconsole [ns16550a0] disabled
    [    3.320830] printk: bootconsole [ns16550a0] disabled
    [    3.331178] 2880000.serial: ttyS0 at MMIO 0x2880000 (irq = 26, base_baud = 3000000) is a 8250
    [    3.339920] arm-smmu-v3 36600000.smmu: ias 48-bit, oas 48-bit (features 0x00001faf)
    [    3.349205] arm-smmu-v3 36600000.smmu: allocated 524288 entries for cmdq
    [    3.357762] arm-smmu-v3 36600000.smmu: allocated 524288 entries for evtq
    [    4.446082] arm-smmu-v3 36600000.smmu: CMD_SYNC timeout at 0x00000001 [hwprod 0x00000002, hwcons 0x00000001]
    [    5.536924] arm-smmu-v3 36600000.smmu: CMD_SYNC timeout at 0x00000004 [hwprod 0x00000005, hwcons 0x00000001]
    [    5.546781] arm-smmu-v3 36600000.smmu: msi_domain absent - falling back to wired irqs
    [    5.556468] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vdd-hba-supply regulator, assuming enabled
    [    5.566977] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vcc-supply regulator, assuming enabled
    [    5.577130] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq-supply regulator, assuming enabled
    [    5.587369] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq2-supply regulator, assuming enabled
    [    5.598140] scsi host0: ufshcd
    [    5.608021] cadence-qspi 47040000.spi: mt35xu02g (262144 Kbytes)
    [    5.644080] cadence-qspi 47040000.spi: Cadence QSPI NOR probe failed -517
    [    5.687885] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    5.695529] libphy: 46000f00.mdio: probed
    [    5.699997] davinci_mdio: probe of 46000f00.mdio failed with error -5
    [    5.706456] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2
    [    5.717884] am65-cpsw-nuss 46000000.ethernet: Failed to request tx dma channel -517
    [    5.726291] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0
    [    5.734795] mmc0: CQHCI version 5.10
    [    5.773143] mmc0: SDHCI controller on 4f80000.sdhci [4f80000.sdhci] using ADMA 64-bit
    [    5.781530] davinci_gpio 42110000.gpio: IRQ index 4 not found
    [    5.787350] davinci_gpio 42110000.gpio: IRQ not populated, err = -6
    [    5.794955] pca953x 4-0020: 4-0020 supply vcc not found, using dummy regulator
    [    5.823927] pca953x 4-0020: failed writing register
    [    5.828838] pca953x: probe of 4-0020 failed with error -121
    [    5.834786] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100
    [    5.841613] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100
    [    5.848473] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fc7100
    [    5.855305] omap-mailbox 31f83000.mailbox: omap mailbox rev 0x66fc7100
    [    5.862103] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fc7100
    [    5.872680] ti-udma 285c0000.dma-controller: Channels: 24 (tchan: 12, rchan: 12, gp-rflow: 8)
    [    5.883036] ti-udma 31150000.dma-controller: Channels: 84 (tchan: 42, rchan: 42, gp-rflow: 16)
    [    5.898709] cadence-qspi 47040000.spi: mt35xu02g (262144 Kbytes)
    [    5.915285] mmc0: Command Queue Engine enabled
    [    5.919725] mmc0: new HS400 MMC card at address 0001
    [    5.928928] mmcblk0: mmc0:0001 G1J39E 119 GiB 
    [    5.933476] mmcblk0boot0: mmc0:0001 G1J39E partition 1 31.5 MiB
    [    5.939497] mmcblk0boot1: mmc0:0001 G1J39E partition 2 31.5 MiB
    [    5.945414] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    5.953084] libphy: 46000f00.mdio: probed
    [    5.957103] mmcblk0rpmb: mmc0:0001 G1J39E partition 3 4.00 MiB, chardev (240:0)
    [    5.964663] davinci_mdio: probe of 46000f00.mdio failed with error -5
    [    5.971266] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2
    [    5.983106]  mmcblk0: p1
    [    5.986687] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    5.993829] pps pps0: new PPS source ptp1
    [    5.997969] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:500000000, add_val:1 pps:1
    [    6.006915] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 57.4
    [    6.014213] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    6.024439] debugfs: Directory 'pd:242' with parent 'pm_genpd' already present!
    [    6.031795] debugfs: Directory 'pd:241' with parent 'pm_genpd' already present!
    [    6.032849] cdns-ufshcd 4e84000.ufs: link startup failed 1
    [    6.039100] debugfs: Directory 'pd:240' with parent 'pm_genpd' already present!
    [    6.044563] cdns-ufshcd 4e84000.ufs: UFS Host state=0
    [    6.051870] debugfs: Directory 'pd:239' with parent 'pm_genpd' already present!
    [    6.056898] cdns-ufshcd 4e84000.ufs: lrb in use=0x0, outstanding reqs=0x0 tasks=0x0
    [    6.071844] cdns-ufshcd 4e84000.ufs: saved_err=0x0, saved_uic_err=0x0
    [    6.072113] hctosys: unable to open rtc device (rtc0)
    [    6.078274] cdns-ufshcd 4e84000.ufs: Device power mode=1, UIC link state=0
    [    6.090165] cdns-ufshcd 4e84000.ufs: PM in progress=0, sys. suspended=0
    [    6.096763] cdns-ufshcd 4e84000.ufs: Auto BKOPS=0, Host self-block=0
    [    6.098437] ALSA device list:
    [    6.103100] cdns-ufshcd 4e84000.ufs: Clk gate=1
    [    6.103103] cdns-ufshcd 4e84000.ufs: error handling flags=0x0, req. abort count=0
    [    6.106057]   No soundcards found.
    [    6.110573] cdns-ufshcd 4e84000.ufs: Host capabilities=0x1587031f, caps=0x0
    [    6.128369] cdns-ufshcd 4e84000.ufs: quirks=0x0, dev. quirks=0x0
    [    6.128373] cdns-ufshcd 4e84000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[0, 0], lane[0, 0], pwr[INVALID MODE, INVALID MODE], rate = 0
    [    6.146520] host_regs: 00000000: 1587031f 00000000 00000210 00000000
    [    6.152860] host_regs: 00000010: 00000000 00000000 00000000 00000000
    [    6.159198] host_regs: 00000020: 00000000 00000470 00000000 00000000
    [    6.165537] host_regs: 00000030: 00000008 00000001 00000000 00000000
    [    6.171874] host_regs: 00000040: 00000000 00000000 00000000 00000000
    [    6.178211] host_regs: 00000050: 00000000 00000000 00000000 00000000
    [    6.184549] host_regs: 00000060: 00000000 00000000 00000000 00000000
    [    6.190887] host_regs: 00000070: 00000000 00000000 00000000 00000000
    [    6.197225] host_regs: 00000080: 00000000 00000000 00000000 00000000
    [    6.203563] host_regs: 00000090: 00000000 00000000 00000000 00000000
    [    6.209900] cdns-ufshcd 4e84000.ufs: hba->ufs_version = 0x210, hba->capabilities = 0x1587031f
    [    6.218405] cdns-ufshcd 4e84000.ufs: hba->outstanding_reqs = 0x0, hba->outstanding_tasks = 0x0
    [    6.226996] cdns-ufshcd 4e84000.ufs: last_hibern8_exit_tstamp at 0 us, hibern8_exit_cnt = 0
    [    6.235328] cdns-ufshcd 4e84000.ufs: No record of pa_err errors
    [    6.241232] cdns-ufshcd 4e84000.ufs: No record of dl_err errors
    [    6.247137] cdns-ufshcd 4e84000.ufs: No record of nl_err errors
    [    6.253040] cdns-ufshcd 4e84000.ufs: No record of tl_err errors
    [    6.258944] cdns-ufshcd 4e84000.ufs: No record of dme_err errors
    [    6.264935] cdns-ufshcd 4e84000.ufs: No record of auto_hibern8_err errors
    [    6.271706] cdns-ufshcd 4e84000.ufs: No record of fatal_err errors
    [    6.277871] cdns-ufshcd 4e84000.ufs: link_startup_fail[0] = 0x1 at 5944969 us
    [    6.284989] cdns-ufshcd 4e84000.ufs: No record of resume_fail errors
    [    6.291328] cdns-ufshcd 4e84000.ufs: No record of suspend_fail errors
    [    6.297753] cdns-ufshcd 4e84000.ufs: No record of dev_reset errors
    [    6.303917] cdns-ufshcd 4e84000.ufs: No record of host_reset errors
    [    6.310168] cdns-ufshcd 4e84000.ufs: No record of task_abort errors
    [    6.316420] cdns-ufshcd 4e84000.ufs: clk: core_clk, rate: 250000000
    [    6.322671] cdns-ufshcd 4e84000.ufs: clk: phy_clk, rate: 19200000
    [    6.328748] cdns-ufshcd 4e84000.ufs: clk: ref_clk, rate: 19200000
    [    6.336910] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
    [    6.345032] VFS: Mounted root (ext4 filesystem) readonly on device 179:1.
    [    6.352423] devtmpfs: mounted
    [    6.355849] Freeing unused kernel memory: 1728K
    [    6.375894] Run /sbin/init as init process
    INIT: version  booting
    [    6.473209] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
    hwclock: Cannot access the Hardware Clock via any known method.
    hwclock: Use the --verbose option to see the details of our search for an access method.
    Tue Dec 22 03:49:30 UTC 2020
    hwclock: Cannot access the Hardware Clock via any known method.
    hwclock: Use the --verbose option to see the details of our search for an access method.
    [    6.638156] random: dd: uninitialized urandom read (512 bytes read)
    Configuring packages on first boot....
     (This may take several minutes. Please do not power off the machine.)
    Running postinst /etc/ipk-postinsts/000-sysvinit-inittab...
    INIT: Entering runlevel: 5un-postinsts exists during rc.d purge 
    Configuring network interfaces... [    6.716151] am65-cpsw-nuss 46000000.ethernet: phy /interconnect@100000/interconnect@28380000/ethernet@46000000/mdio@f00/ethernet-phy@0 not found on slave 1
    ifconfig: SIOCSIFFLAGS: No such device
    done.
    Starting dockerd:       [    9.495895] random: crng init done
    
    
    hwclock: Cannot access the Hardware Clock via any known method.
    hwclock: Use the --verbose option to see the details of our search for an access method.
    Starting syslogd/klogd: done
    

    Thanks,

    Satish

  • Hi Satish,

    Cool! We are almost close. Are you getting to login prompt? I believe now it is problem getting the filesystem prints
    to console. Do you have the tyyS9 added to the /etc/securetty? Basically kernel side is pretty much done.

    Run /sbin/init

    Can you let me know if adding ttyS9 helps booting further?

    Best Regards,
    Keerthy

  • Hi Keerthy,

    Yeah I added the ttyS9 in /etc/securetty under "Standard serial console" before un mounting the tisdk-tiny-image.img. However it was hand edited. 

    I am not getting the login prompt yet. Is there a way I can verify the content of /etc/securetty from u-boot prompt? I can list the directory but I don't know the command to read a file from uboot.

    I will try to add this change from my yocto build and see if that makes the difference. 

    I agree we are close. Thank you for the help.

    Thanks,

    Satish

  • Hi Keerthy,

    This time I added "ttyS9" in "oe-core/meta/recipes-extended/shadow/files/securetty" and generated the rootfs by bitbaking it. I did confirm from taball that "ttyS9" was present in "/etc/securetty" file before flashing it. However no change yet. Still stuck at same point.

    Thanks,

    Satish

  • Satish,

    Thanks for all the information. Can you share the dts changes that you have made. I will go through them
    one by one.

    Also can you let me know if you are using the default file system or a tiny version of that?

    Best Regards,
    Keerthy

  • Hi Keerthy,

    File system I have used to create the image is "mkfs.ext4". 

    Please find attached my DTS file here. 

    Thank you,1565.DTS.zip

    Satish

  • Hi Satish,

    It will be really helpful if you can only share the diff instead of the entire files.
    So i can check the delta you have on top of SDK.

    Can you also try to boot using the default ti arago filesystem if it is possible. We can compare the
    logs apples to apples. Sample log from eMMC: https://e2e.ti.com/support/processors/f/791/p/886615/3331569#3331569

    We should first see:

    [    5.938066] Run /sbin/init as init process
    [    5.986624] systemd[1]: System time before build time, advancing clock.
    [    6.013443] NET: Registered protocol family 10
    [    6.018303] Segment Routing with IPv6
    [    6.032196] systemd[1]: systemd 239 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
    [    6.053623] systemd[1]: Detected architecture arm64.
    Welcome to Arago 2019.11!
    Then we know we are in the file system stage & loading different modules.

    So when i asked which filesystem i meant arago full fledged or tiny etc?


    Best Regards,
    Keerthy

  • Hi Keerthy,

    Understood little better now. I have been trying to boot the "tisdk-tiny-image" so far. All the logs I sent earlier, are from this tiny root file system.

    Here is the diff of dts file.

    k3-j721e-common-proc-board.dts


    diff --git a/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts
    index 6788a3611907..15c76b0d4559 100644
    --- a/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts
    +++ b/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts
    @@ -13,7 +13,7 @@
     
     / {
            chosen {
    -               stdout-path = "serial2:115200n8";
    +               stdout-path = "serial9:115200n8";
                    bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000";
            };
     
    @@ -189,98 +189,224 @@
                    >;
            };
     
    -       main_i2c1_pins_default: main-i2c1-pins-default {
    +       main_i2c6_pins_default: main-i2c6-pins-default {
                    pinctrl-single,pins = <
    -                       J721E_IOPAD(0x228, PIN_INPUT_PULLUP, 0) /* (Y6) I2C1_SCL */
    -                       J721E_IOPAD(0x22c, PIN_INPUT_PULLUP, 0) /* (AA6) I2C1_SDA */
    +                       J721E_IOPAD(0x1d0, PIN_INPUT_PULLUP, 2) /* (AA3) SPI0_D1.I2C6_SCL */
    +                       J721E_IOPAD(0x1e4, PIN_INPUT_PULLUP, 2) /* (Y2) SPI1_D1.I2C6_SDA */
                    >;
            };
     
    -       main_i2c3_pins_default: main-i2c3-pins-default {
    +       audi_ext_refclk2_pins_default: audi_ext_refclk2_pins_default {
                    pinctrl-single,pins = <
    -                       J721E_IOPAD(0x270, PIN_INPUT_PULLUP, 4) /* (T26) MMC2_CLK.I2C3_SCL */
    -                       J721E_IOPAD(0x274, PIN_INPUT_PULLUP, 4) /* (T25) MMC2_CMD.I2C3_SDA */
    +                       J721E_IOPAD(0x1a4, PIN_OUTPUT, 3) /* (W26) RGMII6_RXC.AUDIO_EXT_REFCLK2 */
                    >;
            };
     
    -       main_i2c6_pins_default: main-i2c6-pins-default {
    +       vdd_sd_dv_alt_pins_default: vdd_sd_dv_alt_pins_default {
                    pinctrl-single,pins = <
    -                       J721E_IOPAD(0x1d0, PIN_INPUT_PULLUP, 2) /* (AA3) SPI0_D1.I2C6_SCL */
    -                       J721E_IOPAD(0x1e4, PIN_INPUT_PULLUP, 2) /* (Y2) SPI1_D1.I2C6_SDA */
    +                       J721E_IOPAD(0x1d8, PIN_INPUT, 7) /* (W4) SPI1_CS1.GPIO0_117 */
                    >;
            };
     
    -       mcasp10_pins_default: mcasp10_pins_default {
    +       main_usbss0_pins_default: main_usbss0_pins_default {
                    pinctrl-single,pins = <
    -                       J721E_IOPAD(0x158, PIN_OUTPUT_PULLDOWN, 12) /* (U23) RGMII5_TX_CTL.MCASP10_ACLKX */
    -                       J721E_IOPAD(0x15c, PIN_OUTPUT_PULLDOWN, 12) /* (U26) RGMII5_RX_CTL.MCASP10_AFSX */
    -                       J721E_IOPAD(0x160, PIN_OUTPUT_PULLDOWN, 12) /* (V28) RGMII5_TD3.MCASP10_AXR0 */
    -                       J721E_IOPAD(0x164, PIN_OUTPUT_PULLDOWN, 12) /* (V29) RGMII5_TD2.MCASP10_AXR1 */
    -                       J721E_IOPAD(0x170, PIN_OUTPUT_PULLDOWN, 12) /* (U29) RGMII5_TXC.MCASP10_AXR2 */
    -                       J721E_IOPAD(0x174, PIN_OUTPUT_PULLDOWN, 12) /* (U25) RGMII5_RXC.MCASP10_AXR3 */
    -                       J721E_IOPAD(0x198, PIN_INPUT_PULLDOWN, 12) /* (V25) RGMII6_TD1.MCASP10_AXR4 */
    -                       J721E_IOPAD(0x19c, PIN_INPUT_PULLDOWN, 12) /* (W27) RGMII6_TD0.MCASP10_AXR5 */
    -                       J721E_IOPAD(0x1a0, PIN_INPUT_PULLDOWN, 12) /* (W29) RGMII6_TXC.MCASP10_AXR6 */
    +                       J721E_IOPAD(0x290, PIN_OUTPUT, 0) /* (U6) USB0_DRVVBUS */
    +                       J721E_IOPAD(0x210, PIN_INPUT, 7) /* (W3) MCAN1_RX.GPIO1_3 */
                    >;
            };
     
    -       audi_ext_refclk2_pins_default: audi_ext_refclk2_pins_default {
    +       main_usbss1_pins_default: main_usbss1_pins_default {
                    pinctrl-single,pins = <
    -                       J721E_IOPAD(0x1a4, PIN_OUTPUT, 3) /* (W26) RGMII6_RXC.AUDIO_EXT_REFCLK2 */
    +                       J721E_IOPAD(0x214, PIN_OUTPUT, 4) /* (V4) MCAN1_TX.USB1_DRVVBUS */
                    >;
            };
     
    -       main_mmc1_pins_default: main_mmc1_pins_default {
    +       /* Pointing to IVP HW */
    +       uart0_backplane_coex61_pins_default: uart0_backplane_coex61_pins_default {
                    pinctrl-single,pins = <
    -                       J721E_IOPAD(0x254, PIN_INPUT, 0) /* (R29) MMC1_CMD */
    -                       J721E_IOPAD(0x250, PIN_INPUT, 0) /* (P25) MMC1_CLK */
    -                       J721E_IOPAD(0x2ac, PIN_INPUT, 0) /* (P25) MMC1_CLKLB */
    -                       J721E_IOPAD(0x24c, PIN_INPUT, 0) /* (R24) MMC1_DAT0 */
    -                       J721E_IOPAD(0x248, PIN_INPUT, 0) /* (P24) MMC1_DAT1 */
    -                       J721E_IOPAD(0x244, PIN_INPUT, 0) /* (R25) MMC1_DAT2 */
    -                       J721E_IOPAD(0x240, PIN_INPUT, 0) /* (R26) MMC1_DAT3 */
    -                       J721E_IOPAD(0x258, PIN_INPUT, 0) /* (P23) MMC1_SDCD */
    -                       J721E_IOPAD(0x25c, PIN_INPUT, 0) /* (R28) MMC1_SDWP */
    +                       J721E_IOPAD(0x4, PIN_INPUT, 14) /* (AC23) PRG1_PRU0_GPO0.UART0_RXD */
    +                       J721E_IOPAD(0x8, PIN_OUTPUT, 14) /* (AG22) PRG1_PRU0_GPO1.UART0_TXD */
                    >;
            };
     
    -       vdd_sd_dv_alt_pins_default: vdd_sd_dv_alt_pins_default {
    +       /* Pointing to IVP HW */
    +       uart1_backplane_coex60_pins_default: uart1_backplane_coex60_pins_default {
                    pinctrl-single,pins = <
    -                       J721E_IOPAD(0x1d8, PIN_INPUT, 7) /* (W4) SPI1_CS1.GPIO0_117 */
    +                       J721E_IOPAD(0xc, PIN_INPUT, 14) /* (AF22) PRG1_PRU0_GPO2.UART1_RXD */
    +                       J721E_IOPAD(0x10, PIN_OUTPUT, 14) /* (AJ23) PRG1_PRU0_GPO3.UART1_TXD */
                    >;
            };
     
    -       main_usbss0_pins_default: main_usbss0_pins_default {
    +       /* Pointing to IVP HW */
    +       uart2_bckplane_coex70_pins_default: uart2_bckplane_coex70_pins_default {
                    pinctrl-single,pins = <
    -                       J721E_IOPAD(0x290, PIN_OUTPUT, 0) /* (U6) USB0_DRVVBUS */
    -                       J721E_IOPAD(0x210, PIN_INPUT, 7) /* (W3) MCAN1_RX.GPIO1_3 */
    +                       J721E_IOPAD(0x14, PIN_INPUT, 14) /* (AH23) PRG1_PRU0_GPO4.UART2_RXD */
    +                       J721E_IOPAD(0x1c, PIN_OUTPUT, 14) /* (AD22) PRG1_PRU0_GPO6.UART2_TXD */
                    >;
            };
     
    -       main_usbss1_pins_default: main_usbss1_pins_default {
    +
    +
    +       /* Pointing to IVP HW */
    +       uart3_backplane_rif0_pins_default: uart3_backplane_rif0_pins_default {
                    pinctrl-single,pins = <
    -                       J721E_IOPAD(0x214, PIN_OUTPUT, 4) /* (V4) MCAN1_TX.USB1_DRVVBUS */
    +                       J721E_IOPAD(0xb8, PIN_INPUT, 8) /* (AE27) PRG0_PRU0_GPO2.UART3_RXD */
    +                       J721E_IOPAD(0xbc, PIN_OUTPUT, 8) /* (AD26) PRG0_PRU0_GPO3.UART3_TXD */
                    >;
            };
    -};
     
    -&wkup_pmx0 {
    -       sw11_button_pins_default: sw11_button_pins_default {
    +       /* Pointing to IVP HW */
    +       uart4_backplane_rif1_pins_default: uart4_backplane_rif1_pins_default {
                    pinctrl-single,pins = <
    -                       J721E_WKUP_IOPAD(0xcc, PIN_INPUT, 7) /* (G28) WKUP_GPIO0_7 */
    +                       J721E_IOPAD(0xe8, PIN_INPUT, 8) /* (AG28) PRG0_PRU0_GPO14.UART4_RXD */
    +                       J721E_IOPAD(0xec, PIN_OUTPUT, 8) /* (AG27) PRG0_PRU0_GPO15.UART4_TXD */
    +               >;
    +       };
    +
    +       /* Pointing to IVP HW */
    +       uart6_switch_mgmt_pins_default: uart6_switch_mgmt_pins_default {
    +               pinctrl-single,pins = <
    +                       J721E_IOPAD(0x210, PIN_INPUT, 1) /* (W3) MCAN1_RX.UART6_CTSn */
    +                       J721E_IOPAD(0x214, PIN_OUTPUT, 1) /* (V4) MCAN1_TX.UART6_RTSn */
    +                       J721E_IOPAD(0x218, PIN_INPUT, 8) /* (W2) I3C0_SCL.UART6_RXD */
    +                       J721E_IOPAD(0x21c, PIN_OUTPUT, 8) /* (W1) I3C0_SDA.UART6_TXD */
                    >;
            };
     
    -       mcu_fss0_ospi1_pins_default: mcu-fss0-ospi1-pins-default {
    +       /* Pointing to IVP HW */
    +       uart7_ftdi_pins_default: uart7_ftdi_pins_default {
    +               pinctrl-single,pins = <
    +                       J721E_IOPAD(0x248, PIN_INPUT, 1) /* (P24) MMC1_DAT1.UART7_CTSn */
    +                       J721E_IOPAD(0x24c, PIN_OUTPUT, 1) /* (R24) MMC1_DAT0.UART7_RTSn */
    +                       J721E_IOPAD(0x240, PIN_INPUT, 1) /* (R26) MMC1_DAT3.UART7_RXD */
    +                       J721E_IOPAD(0x244, PIN_OUTPUT, 1) /* (R25) MMC1_DAT2.UART7_TXD */
    +               >;
    +       };
    +
    +       /* Pointing to IVP HW */
    +       uart8_backplane_coex71_pins_default: uart8_backplane_coex71_pins_default {
    +               pinctrl-single,pins = <
    +                       J721E_IOPAD(0x124, PIN_INPUT, 14) /* (Y24) PRG0_PRU1_GPO9.UART8_RXD */
    +                       J721E_IOPAD(0x128, PIN_OUTPUT, 14) /* (AA25) PRG0_PRU1_GPO10.UART8_TXD */
    +               >;
    +       };
    +
    +       /* Pointing to IVP HW */
    +       i2c1_msp_pins_default: i2c1_msp_pins_default {
    +               pinctrl-single,pins = <
    +                       J721E_IOPAD(0x228, PIN_INPUT_PULLUP, 0) /* (Y6) I2C1_SCL */
    +                       J721E_IOPAD(0x22c, PIN_INPUT_PULLUP, 0) /* (AA6) I2C1_SDA */
    +               >;
    +       };
    +
    +       /* Pointing to IVP HW */
    +       i2c3_des_pins_default: i2c3_des_pins_default {
    +               pinctrl-single,pins = <
    +                       J721E_IOPAD(0x270, PIN_INPUT_PULLUP, 4) /* (T26) MMC2_CLK.I2C3_SCL */
    +                       J721E_IOPAD(0x274, PIN_INPUT_PULLUP, 4) /* (T25) MMC2_CMD.I2C3_SDA */
    +               >;
    +       };
    +
    +       /* Pointing to IVP HW */
    +       i2c4_audio_adc_pins_default: i2c4_audio_adc_pins_default {
    +               pinctrl-single,pins = <
    +                       J721E_IOPAD(0x250, PIN_INPUT_PULLUP, 4) /* (P25) MMC1_CLK.I2C4_SCL */
    +                       J721E_IOPAD(0x254, PIN_INPUT_PULLUP, 4) /* (R29) MMC1_CMD.I2C4_SDA */
    +               >;
    +       };
    +
    +       /* Pointing to IVP HW */
    +       i2c2_slot7_5_pins_default: i2c2_slot7_5_pins_default {
    +               pinctrl-single,pins = <
    +                       J721E_IOPAD(0x1c8, PIN_INPUT_PULLUP, 2) /* (AA1) SPI0_CLK.I2C2_SCL */
    +                       J721E_IOPAD(0x1cc, PIN_INPUT_PULLUP, 2) /* (AB5) SPI0_D0.I2C2_SDA */
    +               >;
    +       };
    +
    +       /* Pointing to IVP HW */
    +       i2c5_avb_clk_pins_default: i2c5_avb_clk_pins_default {
    +               pinctrl-single,pins = <
    +                       J721E_IOPAD(0x260, PIN_INPUT_PULLUP, 4) /* (T28) MMC2_DAT3.I2C5_SCL */
    +                       J721E_IOPAD(0x264, PIN_INPUT_PULLUP, 4) /* (T29) MMC2_DAT2.I2C5_SDA */
    +               >;
    +       };
    +
    +       /* Pointing to IVP HW */
    +       debug_pins_default: debug_pins_default {
    +               pinctrl-single,pins = <
    +                       J721E_IOPAD(0x158, PIN_OUTPUT, 5) /* (U23) RGMII5_TX_CTL.TRC_CLK */
    +                       J721E_IOPAD(0x15c, PIN_OUTPUT, 5) /* (U26) RGMII5_RX_CTL.TRC_CTL */
    +                       J721E_IOPAD(0x28c, PIN_INPUT, 0) /* (V2) TMS */
    +                       J721E_IOPAD(0x284, PIN_INPUT, 0) /* (V1) TDI */
    +                       J721E_IOPAD(0x288, PIN_OUTPUT, 0) /* (V3) TDO */
    +                       J721E_IOPAD(0x160, PIN_OUTPUT, 5) /* (V28) RGMII5_TD3.TRC_DATA0 */
    +                       J721E_IOPAD(0x164, PIN_OUTPUT, 5) /* (V29) RGMII5_TD2.TRC_DATA1 */
    +                       J721E_IOPAD(0x168, PIN_OUTPUT, 5) /* (V27) RGMII5_TD1.TRC_DATA2 */
    +                       J721E_IOPAD(0x16c, PIN_OUTPUT, 5) /* (U28) RGMII5_TD0.TRC_DATA3 */
    +                       J721E_IOPAD(0x170, PIN_OUTPUT, 5) /* (U29) RGMII5_TXC.TRC_DATA4 */
    +                       J721E_IOPAD(0x174, PIN_OUTPUT, 5) /* (U25) RGMII5_RXC.TRC_DATA5 */
    +                       J721E_IOPAD(0x178, PIN_OUTPUT, 5) /* (U27) RGMII5_RD3.TRC_DATA6 */
    +                       J721E_IOPAD(0x17c, PIN_OUTPUT, 5) /* (U24) RGMII5_RD2.TRC_DATA7 */
    +                       J721E_IOPAD(0x180, PIN_OUTPUT, 5) /* (R23) RGMII5_RD1.TRC_DATA8 */
    +                       J721E_IOPAD(0x184, PIN_OUTPUT, 5) /* (T23) RGMII5_RD0.TRC_DATA9 */
    +                       J721E_IOPAD(0x188, PIN_OUTPUT, 5) /* (Y28) RGMII6_TX_CTL.TRC_DATA10 */
    +                       J721E_IOPAD(0x18c, PIN_OUTPUT, 5) /* (V23) RGMII6_RX_CTL.TRC_DATA11 */
    +                       J721E_IOPAD(0x190, PIN_OUTPUT, 5) /* (W23) RGMII6_TD3.TRC_DATA12 */
    +                       J721E_IOPAD(0x194, PIN_OUTPUT, 5) /* (W28) RGMII6_TD2.TRC_DATA13 */
    +                       J721E_IOPAD(0x198, PIN_OUTPUT, 5) /* (V25) RGMII6_TD1.TRC_DATA14 */
    +                       J721E_IOPAD(0x19c, PIN_OUTPUT, 5) /* (W27) RGMII6_TD0.TRC_DATA15 */
    +                       J721E_IOPAD(0x1a0, PIN_OUTPUT, 5) /* (W29) RGMII6_TXC.TRC_DATA16 */
    +                       J721E_IOPAD(0x1a4, PIN_OUTPUT, 5) /* (W26) RGMII6_RXC.TRC_DATA17 */
    +                       J721E_IOPAD(0x1a8, PIN_OUTPUT, 5) /* (Y29) RGMII6_RD3.TRC_DATA18 */
    +                       J721E_IOPAD(0x1ac, PIN_OUTPUT, 5) /* (Y27) RGMII6_RD2.TRC_DATA19 */
    +                       J721E_IOPAD(0x1b0, PIN_OUTPUT, 5) /* (W24) RGMII6_RD1.TRC_DATA20 */
    +               >;
    +       };
    +
    +       /* Pointing to IVP HW */
    +       gpio0_pins_default: gpio0_pins_default {
    +               pinctrl-single,pins = <
    +                       J721E_IOPAD(0x24, PIN_INPUT, 7) /* (AJ20) PRG1_PRU0_GPO8.GPIO0_9 */
    +                       J721E_IOPAD(0x30, PIN_INPUT, 7) /* (AF24) PRG1_PRU0_GPO11.GPIO0_12 */
    +                       J721E_IOPAD(0x34, PIN_INPUT, 7) /* (AJ24) PRG1_PRU0_GPO12.GPIO0_13 */
    +                       J721E_IOPAD(0x4c, PIN_INPUT, 7) /* (AJ21) PRG1_PRU0_GPO17.GPIO0_18 */
    +                       J721E_IOPAD(0x5c, PIN_INPUT, 7) /* (AG23) PRG1_PRU1_GPO1.GPIO0_22 */
    +                       J721E_IOPAD(0x7c, PIN_INPUT, 7) /* (AF21) PRG1_PRU1_GPO9.GPIO0_30 */
    +                       J721E_IOPAD(0xb0, PIN_INPUT, 7) /* (AF28) PRG0_PRU0_GPO0.GPIO0_43 */
    +                       J721E_IOPAD(0xb4, PIN_INPUT, 7) /* (AE28) PRG0_PRU0_GPO1.GPIO0_44 */
    +                       J721E_IOPAD(0xe4, PIN_INPUT, 7) /* (AH29) PRG0_PRU0_GPO13.GPIO0_56 */
    +                       J721E_IOPAD(0xf0, PIN_INPUT, 7) /* (AH28) PRG0_PRU0_GPO16.GPIO0_59 */
    +                       J721E_IOPAD(0x104, PIN_INPUT, 7) /* (AD28) PRG0_PRU1_GPO1.GPIO0_64 */
    +                       J721E_IOPAD(0x108, PIN_INPUT, 7) /* (AD27) PRG0_PRU1_GPO2.GPIO0_65 */
    +                       J721E_IOPAD(0x110, PIN_INPUT, 7) /* (AD29) PRG0_PRU1_GPO4.GPIO0_67 */
    +                       J721E_IOPAD(0x118, PIN_INPUT, 7) /* (AC26) PRG0_PRU1_GPO6.GPIO0_69 */
    +                       J721E_IOPAD(0x13c, PIN_INPUT, 7) /* (AF29) PRG0_PRU1_GPO15.GPIO0_78 */
    +                       J721E_IOPAD(0x140, PIN_INPUT, 7) /* (AG29) PRG0_PRU1_GPO16.GPIO0_79 */
    +                       J721E_IOPAD(0x154, PIN_INPUT, 7) /* (AA27) PRG0_MDIO0_MDC.GPIO0_84 */
    +                       J721E_IOPAD(0x1c0, PIN_INPUT, 7) /* (AA2) SPI0_CS0.GPIO0_111 */
    +                       J721E_IOPAD(0x1e8, PIN_INPUT, 7) /* (AB2) UART0_RXD.GPIO0_121 */
    +                       J721E_IOPAD(0x1f8, PIN_INPUT, 7) /* (AA4) UART1_RXD.GPIO0_125 */
    +                       J721E_IOPAD(0x1fc, PIN_INPUT, 7) /* (AB4) UART1_TXD.GPIO0_126 */
    +               >;
    +       };
    +
    +       /* Pointing to IVP HW */
    +       gpio1_pins_default: gpio1_pins_default {
    +               pinctrl-single,pins = <
    +                       J721E_IOPAD(0x25c, PIN_INPUT, 7) /* (R28) MMC1_SDWP.GPIO1_22 */
    +                       J721E_IOPAD(0x268, PIN_INPUT, 7) /* (T27) MMC2_DAT1.GPIO1_25 */
    +                       J721E_IOPAD(0x26c, PIN_INPUT, 7) /* (T24) MMC2_DAT0.GPIO1_26 */
    +                       J721E_IOPAD(0x290, PIN_INPUT, 7) /* (U6) USB0_DRVVBUS.GPIO1_29 */
    +                       J721E_IOPAD(0x294, PIN_INPUT, 7) /* (AD1) MLB0_MLBSP.GPIO1_30 */
    +                       J721E_IOPAD(0x298, PIN_INPUT, 7) /* (AC1) MLB0_MLBSN.GPIO1_31 */
    +               >;
    +       };
    +};
    +
    +&wkup_pmx0 {
    +       sw11_button_pins_default: sw11_button_pins_default {
                    pinctrl-single,pins = <
    -                       J721E_WKUP_IOPAD(0x34, PIN_OUTPUT, 0) /* (F22) MCU_OSPI1_CLK */
    -                       J721E_WKUP_IOPAD(0x50, PIN_OUTPUT, 0) /* (C22) MCU_OSPI1_CSn0 */
    -                       J721E_WKUP_IOPAD(0x40, PIN_INPUT, 0) /* (D22) MCU_OSPI1_D0 */
    -                       J721E_WKUP_IOPAD(0x44, PIN_INPUT, 0) /* (G22) MCU_OSPI1_D1 */
    -                       J721E_WKUP_IOPAD(0x48, PIN_INPUT, 0) /* (D23) MCU_OSPI1_D2 */
    -                       J721E_WKUP_IOPAD(0x4c, PIN_INPUT, 0) /* (C23) MCU_OSPI1_D3 */
    -                       J721E_WKUP_IOPAD(0x3c, PIN_INPUT, 0) /* (B23) MCU_OSPI1_DQS */
    -                       J721E_WKUP_IOPAD(0x38, PIN_INPUT, 0) /* (A23) MCU_OSPI1_LBCLKO */
    +                       J721E_WKUP_IOPAD(0xcc, PIN_INPUT, 7) /* (G28) WKUP_GPIO0_7 */
                    >;
            };
     };
    @@ -309,20 +435,83 @@
                            J721E_WKUP_IOPAD(0x0088, PIN_INPUT, 0) /* MCU_MDIO0_MDIO */
                    >;
            };
    +
    +       /* Pointing to IVP HW */
    +       mywkup_debug_pins_default: mywkup_debug_pins_default {
    +               pinctrl-single,pins = <
    +                       J721E_WKUP_IOPAD(0x128, PIN_INPUT, 0) /* (C26) EMU0 */
    +                       J721E_WKUP_IOPAD(0x12c, PIN_INPUT, 0) /* (B29) EMU1 */
    +                       J721E_WKUP_IOPAD(0x120, PIN_INPUT, 0) /* (E29) TCK */
    +                       J721E_WKUP_IOPAD(0x124, PIN_INPUT, 0) /* (F24) TRSTn */
    +               >;
    +       };
    +
    +       /* Pointing to IVP HW */
    +       wkup_gpio_pins_default: wkup_gpio_pins_default {
    +               pinctrl-single,pins = <
    +                       J721E_WKUP_IOPAD(0x4, PIN_INPUT, 7) /* (C21) MCU_OSPI0_LBCLKO.WKUP_GPIO0_17 */
    +               >;
    +       };
    +
    +       /* Pointing to IVP HW */
    +       wkup_system_pins_default: wkup_system_pins_default {
    +               pinctrl-single,pins = <
    +                       J721E_WKUP_IOPAD(0x11c, PIN_OUTPUT, 0) /* (B28) MCU_PORz_OUT */
    +                       J721E_WKUP_IOPAD(0x118, PIN_OUTPUT, 0) /* (C27) MCU_RESETSTATz */
    +                       J721E_WKUP_IOPAD(0x114, PIN_INPUT, 0) /* (D28) MCU_RESETz */
    +                       J721E_WKUP_IOPAD(0x110, PIN_INPUT, 0) /* (D27) MCU_SAFETY_ERRORn */
    +                       J721E_WKUP_IOPAD(0x10c, PIN_OUTPUT, 0) /* (G23) PMIC_POWER_EN1 */
    +                       J721E_WKUP_IOPAD(0x174, PIN_INPUT, 0) /* (J24) PORz */
    +                       J721E_WKUP_IOPAD(0x170, PIN_INPUT, 0) /* (C28) RESET_REQz */
    +               >;
    +       };
     };
     
    +
    +
     &wkup_uart0 {
            /* Wakeup UART is used by System firmware */
            status = "disabled";
     };
     
    +/* Pointing to IVP HW */
     &main_uart0 {
    +       pinctrl-names = "default";
    +       pinctrl-0 = <&uart0_backplane_coex61_pins_default>;
            power-domains = <&k3_pds 146 TI_SCI_PD_SHARED>;
    +       status = "okay";
     };
     
    +/* Pointing to IVP HW */
    +&main_uart1 {
    +       pinctrl-names = "default";
    +       pinctrl-0 = <&uart1_backplane_coex60_pins_default>;
    +       power-domains = <&k3_pds 278 TI_SCI_PD_SHARED>;
    +       status = "okay";
    +};
    +
    +/* Pointing to IVP HW */
    +&main_uart2 {
    +       pinctrl-names = "default";
    +       pinctrl-0 = <&uart2_bckplane_coex70_pins_default>;
    +       power-domains = <&k3_pds 279 TI_SCI_PD_SHARED>;
    +       status = "okay";
    +};
    +
    +/* Pointing to IVP HW */
     &main_uart3 {
    -       /* UART not brought out */
    -       status = "disabled";
    +       pinctrl-names = "default";
    +       pinctrl-0 = <&uart3_backplane_rif0_pins_default>;
    +       power-domains = <&k3_pds 280 TI_SCI_PD_SHARED>;
    +       status = "okay";
    +};
    +
    +/* Pointing to IVP HW */
    +&main_uart4 {
    +       pinctrl-names = "default";
    +       pinctrl-0 = <&uart4_backplane_rif1_pins_default>;
    +       power-domains = <&k3_pds 281 TI_SCI_PD_SHARED>;
    +       status = "okay";
     };
     
     &main_uart5 {
    @@ -331,18 +520,24 @@
     };
     
     &main_uart6 {
    -       /* UART not brought out */
    -       status = "disabled";
    +       pinctrl-names = "default";
    +       pinctrl-0 = <&uart6_switch_mgmt_pins_default>;
    +       power-domains = <&k3_pds 283 TI_SCI_PD_SHARED>;
    +       status = "okay";
     };
     
     &main_uart7 {
    -       /* UART not brought out */
    -       status = "disabled";
    +       pinctrl-names = "default";
    +       pinctrl-0 = <&uart7_ftdi_pins_default>;
    +       power-domains = <&k3_pds 284 TI_SCI_PD_SHARED>;
    +       status = "okay";
     };
     
     &main_uart8 {
    -       /* UART not brought out */
    -       status = "disabled";
    +       pinctrl-names = "default";
    +       pinctrl-0 = <&uart8_backplane_coex71_pins_default>;
    +       power-domains = <&k3_pds 285 TI_SCI_PD_SHARED>;
    +       status = "okay";
     };
     
     &main_uart9 {
    @@ -507,25 +702,6 @@
            mboxes = <&mailbox0_cluster4 &mbox_c71_0>;
     };
     
    -&ospi1 {
    -       pinctrl-names = "default";
    -       pinctrl-0 = <&mcu_fss0_ospi1_pins_default>;
    -
    -       flash@0{
    -               compatible = "jedec,spi-nor";
    -               reg = <0x0>;
    -               spi-tx-bus-width = <1>;
    -               spi-rx-bus-width = <4>;
    -               spi-max-frequency = <40000000>;
    -               cdns,tshsl-ns = <60>;
    -               cdns,tsd2d-ns = <60>;
    -               cdns,tchsh-ns = <60>;
    -               cdns,tslch-ns = <60>;
    -               cdns,read-delay = <2>;
    -               #address-cells = <1>;
    -               #size-cells = <1>;
    -       };
    -};
     
     &tscadc0 {
            adc {
    @@ -619,7 +795,7 @@
     
     &main_i2c1 {
            pinctrl-names = "default";
    -       pinctrl-0 = <&main_i2c1_pins_default>;
    +       pinctrl-0 = <&i2c1_msp_pins_default>;
            clock-frequency = <400000>;
     
            exp4: gpio@20 {
    @@ -701,48 +877,35 @@
            };
     };
     
    -&mcasp10 {
    -       #sound-dai-cells = <0>;
    -
    +&main_i2c2 {
            pinctrl-names = "default";
    -       pinctrl-0 = <&mcasp10_pins_default>;
    +       pinctrl-0 = <&i2c2_slot7_5_pins_default>;
    +       clock-frequency = <400000>;
     
    -       op-mode = <0>;          /* MCASP_IIS_MODE */
    -       tdm-slots = <2>;
    -       auxclk-fs-ratio = <256>;
    +};
     
    -       serial-dir = <  /* 0: INACTIVE, 1: TX, 2: RX */
    -               1 1 1 1
    -               2 2 2 0
    -       >;
    -       tx-num-evt = <0>;
    -       rx-num-evt = <0>;
    +&main_i2c3 {
    +       pinctrl-names = "default";
    +       pinctrl-0 = <&i2c3_des_pins_default>;
    +       clock-frequency = <400000>;
     
    -       status = "okay";
     };
     
    -&mcu_cpsw {
    +&main_i2c4 {
            pinctrl-names = "default";
    -       pinctrl-0 = <&mcu_cpsw_pins_default &mcu_mdio_pins_default>;
    +       pinctrl-0 = <&i2c4_audio_adc_pins_default>;
    +       clock-frequency = <400000>;
     
    -       cpts {
    -               ti,pps = <3 1>;
    -       };
     };
     
    -&davinci_mdio {
    -       phy0: ethernet-phy@0 {
    -               reg = <0>;
    -               ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
    -               ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
    -       };
    -};
    +&main_i2c5 {
    +       pinctrl-names = "default";
    +       pinctrl-0 = <&i2c5_avb_clk_pins_default>;
    +       clock-frequency = <400000>;
     
    -&cpsw_port1 {
    -       phy-mode = "rgmii-rxid";
    -       phy-handle = <&phy0>;
     };
     
    +
     #define TS_OFFSET(pa, val)     (0x4 + (pa) * 4) (0x10000 | val)
     
     &timesync_router {
    @@ -765,14 +928,11 @@
     };
     
     &main_sdhci1 {
    -       /* SD/MMC */
    -       vmmc-supply = <&vdd_mmc1>;
    -       vqmmc-supply = <&vdd_sd_dv_alt>;
    -       pinctrl-names = "default";
    -       pinctrl-0 = <&main_mmc1_pins_default>;
    -       disable-wp;
    +       /* Unused */
    +       status = "disabled";
     };
     
    +
     &main_sdhci2 {
            /* Unused */
            status = "disabled";
    @@ -909,7 +1069,29 @@
            maximum-speed = "high-speed";
     };
     
    -/* uart2 assigned to cpsw9g eth-switch fw running on remote CPU core */
    -&main_uart2 {
    -       status = "disabled";
    +
    +
    +/* Pointing to IVP HW */
    +&main_gpio0 {
    +       pinctrl-names = "default";
    +       pinctrl-0 = <&gpio0_pins_default &debug_pins_default>;
    +       power-domains = <&k3_pds 105 TI_SCI_PD_SHARED>;
    +       status = "okay";
    +};
    +
    +/* Pointing to IVP HW */
    +&main_gpio1 {
    +       pinctrl-names = "default";
    +       pinctrl-0 = <&gpio1_pins_default>;
    +       power-domains = <&k3_pds 106 TI_SCI_PD_SHARED>;
    +       status = "okay";
     };
    +
    +/* Pointing to IVP HW */
    +&wkup_gpio0 {
    +       pinctrl-names = "default";
    +       pinctrl-0 = <&wkup_gpio_pins_default &mywkup_debug_pins_default &wkup_system_pins_default>;
    +       power-domains = <&k3_pds 113 TI_SCI_PD_SHARED>;
    +       status = "okay";
    +};
    +
    

    k3-j721e-proc-board-tps65917.dts


    diff --git a/arch/arm64/boot/dts/ti/k3-j721e-proc-board-tps65917.dts b/arch/arm64/boot/dts/ti/k3-j721e-proc-board-tps65917.dts
    index 020b6e44e061..e0e9c8e8ce75 100644
    --- a/arch/arm64/boot/dts/ti/k3-j721e-proc-board-tps65917.dts
    +++ b/arch/arm64/boot/dts/ti/k3-j721e-proc-board-tps65917.dts
    @@ -9,7 +9,7 @@
     
     &wkup_i2c0 {
            pinctrl-names = "default";
    -       pinctrl-0 = <&wkup_i2c0_pins_default>;
    +       pinctrl-0 = <&wkup_i2c0_pmic_pins_default>;
            clock-frequency = <400000>;
     
            tps65917: tps65917@58 {
    @@ -44,23 +44,3 @@
            };
     };
     
    -&mcasp10_pins_default {
    -       pinctrl-single,pins = <
    -               J721E_IOPAD(0x158, PIN_OUTPUT_PULLDOWN, 12) /* (U23) RGMII5_TX_CTL.MCASP10_ACLKX */
    -               J721E_IOPAD(0x15c, PIN_OUTPUT_PULLDOWN, 12) /* (U26) RGMII5_RX_CTL.MCASP10_AFSX */
    -               J721E_IOPAD(0x160, PIN_INPUT_PULLDOWN, 12) /* (V28) RGMII5_TD3.MCASP10_AXR0 */
    -               J721E_IOPAD(0x164, PIN_INPUT_PULLDOWN, 12) /* (V29) RGMII5_TD2.MCASP10_AXR1 */
    -               J721E_IOPAD(0x170, PIN_INPUT_PULLDOWN, 12) /* (U29) RGMII5_TXC.MCASP10_AXR2 */
    -               J721E_IOPAD(0x174, PIN_OUTPUT_PULLDOWN, 12) /* (U25) RGMII5_RXC.MCASP10_AXR3 */
    -               J721E_IOPAD(0x198, PIN_OUTPUT_PULLDOWN, 12) /* (V25) RGMII6_TD1.MCASP10_AXR4 */
    -               J721E_IOPAD(0x19c, PIN_OUTPUT_PULLDOWN, 12) /* (W27) RGMII6_TD0.MCASP10_AXR5 */
    -               J721E_IOPAD(0x1a0, PIN_OUTPUT_PULLDOWN, 12) /* (W29) RGMII6_TXC.MCASP10_AXR6 */
    -       >;
    -};
    -
    -&mcasp10 {
    -       serial-dir = <  /* 0: INACTIVE, 1: TX, 2: RX */
    -               2 2 2 1
    -               1 1 1 0
    -       >;
    -};
    

    k3-j721e-som-p0.dtsi

    diff --git a/arch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi
    index 62fbac56bd20..cdaa6962e873 100644
    --- a/arch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi
    +++ b/arch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi
    @@ -38,29 +38,29 @@
                            no-map;
                    };
     
    -               mcu_r5fss0_core1_dma_memory_region: r5f-dma-memory@a1000000 {
    -                       compatible = "shared-dma-pool";
    -                       reg = <0x00 0xa1000000 0x00 0x100000>;
    -                       no-map;
    -               };
    -
    -               mcu_r5fss0_core1_memory_region: r5f-memory@a1100000 {
    -                       compatible = "shared-dma-pool";
    -                       reg = <0x00 0xa1100000 0x00 0xf00000>;
    -                       no-map;
    -               };
    -
    -               main_r5fss0_core0_dma_memory_region: r5f-dma-memory@a2000000 {
    -                       compatible = "shared-dma-pool";
    -                       reg = <0x00 0xa2000000 0x00 0x100000>;
    -                       no-map;
    -               };
    -
    -               main_r5fss0_core0_memory_region: r5f-memory@a2100000 {
    -                       compatible = "shared-dma-pool";
    -                       reg = <0x00 0xa2100000 0x00 0xf00000>;
    -                       no-map;
    -               };
    +        mcu_r5fss0_core1_dma_memory_region: r5f-dma-memory@fb000000 {
    +            compatible = "shared-dma-pool";
    +            reg = <0x00 0xfb000000 0x00 0x00100000>;
    +            no-map;
    +        };
    +       
    +        mcu_r5fss0_core1_memory_region: r5f-memory@fb100000 {
    +            compatible = "shared-dma-pool";
    +            reg = <0x00 0xfb100000 0x00 0x00f00000>;
    +            no-map;
    +        };
    +    
    +        main_r5fss0_core0_dma_memory_region: r5f-dma-memory@a1000000 {
    +            compatible = "shared-dma-pool";
    +            reg = <0x00 0xa1000000 0x00 0x00100000>;
    +            no-map;
    +        };
    +
    +        main_r5fss0_core0_memory_region: r5f-memory@a1100000 {
    +            compatible = "shared-dma-pool";
    +            reg = <0x00 0xa1100000 0x00 0x01f00000>;
    +            no-map;
    +        };
     
                    main_r5fss0_core1_dma_memory_region: r5f-dma-memory@a3000000 {
                            compatible = "shared-dma-pool";
    @@ -135,7 +135,7 @@
                    };
     
                    rtos_ipc_memory_region: ipc-memories@aa000000 {
    -                       reg = <0x00 0xaa000000 0x00 0x01c00000>;
    +                       reg = <0x00 0xaa000000 0x00 0x02000000>;
                            alignment = <0x1000>;
                            no-map;
                    };
    @@ -143,33 +143,45 @@
     };
     
     &wkup_pmx0 {
    -       wkup_i2c0_pins_default: wkup_i2c0_pins_default {
    +
    +       /* IVP HW */
    +       wkup_i2c0_pmic_pins_default: wkup_i2c0_pmic_pins_default {
                    pinctrl-single,pins = <
                            J721E_WKUP_IOPAD(0xf8, PIN_INPUT_PULLUP, 0) /* (J25) WKUP_I2C0_SCL */
                            J721E_WKUP_IOPAD(0xfc, PIN_INPUT_PULLUP, 0) /* (H24) WKUP_I2C0_SDA */
                    >;
            };
     
    -       mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-pins-default {
    +       /* IVP HW */
    +       mcu_ospi0_pins_default: mcu_ospi0_pins_default {
                    pinctrl-single,pins = <
    -                       J721E_WKUP_IOPAD(0x0000, PIN_OUTPUT, 0) /* MCU_OSPI0_CLK */
    -                       J721E_WKUP_IOPAD(0x0008, PIN_INPUT, 0)  /* MCU_OSPI0_DQS */
    -                       J721E_WKUP_IOPAD(0x000c, PIN_INPUT, 0)  /* MCU_OSPI0_D0 */
    -                       J721E_WKUP_IOPAD(0x0010, PIN_INPUT, 0)  /* MCU_OSPI0_D1 */
    -                       J721E_WKUP_IOPAD(0x0014, PIN_INPUT, 0)  /* MCU_OSPI0_D2 */
    -                       J721E_WKUP_IOPAD(0x0018, PIN_INPUT, 0)  /* MCU_OSPI0_D3 */
    -                       J721E_WKUP_IOPAD(0x001c, PIN_INPUT, 0)  /* MCU_OSPI0_D4 */
    -                       J721E_WKUP_IOPAD(0x0020, PIN_INPUT, 0)  /* MCU_OSPI0_D5 */
    -                       J721E_WKUP_IOPAD(0x0024, PIN_INPUT, 0)  /* MCU_OSPI0_D6 */
    -                       J721E_WKUP_IOPAD(0x0028, PIN_INPUT, 0)  /* MCU_OSPI0_D7 */
    -                       J721E_WKUP_IOPAD(0x002c, PIN_OUTPUT, 0) /* MCU_OSPI0_CSn0 */
    +                       J721E_WKUP_IOPAD(0x0, PIN_OUTPUT, 0) /* (E20) MCU_OSPI0_CLK */
    +                       J721E_WKUP_IOPAD(0x2c, PIN_OUTPUT, 0) /* (F19) MCU_OSPI0_CSn0 */
    +                       J721E_WKUP_IOPAD(0xc, PIN_INPUT, 0) /* (D20) MCU_OSPI0_D0 */
    +                       J721E_WKUP_IOPAD(0x10, PIN_INPUT, 0) /* (G19) MCU_OSPI0_D1 */
    +                       J721E_WKUP_IOPAD(0x14, PIN_INPUT, 0) /* (G20) MCU_OSPI0_D2 */
    +                       J721E_WKUP_IOPAD(0x18, PIN_INPUT, 0) /* (F20) MCU_OSPI0_D3 */
    +                       J721E_WKUP_IOPAD(0x1c, PIN_INPUT, 0) /* (F21) MCU_OSPI0_D4 */
    +                       J721E_WKUP_IOPAD(0x20, PIN_INPUT, 0) /* (E21) MCU_OSPI0_D5 */
    +                       J721E_WKUP_IOPAD(0x24, PIN_INPUT, 0) /* (B22) MCU_OSPI0_D6 */
    +                       J721E_WKUP_IOPAD(0x28, PIN_INPUT, 0) /* (G21) MCU_OSPI0_D7 */
    +                       J721E_WKUP_IOPAD(0x8, PIN_INPUT, 0) /* (D21) MCU_OSPI0_DQS */
                    >;
            };
     };
     
    +
    +&wkup_i2c0{
    +       pinctrl-names = "default";
    +       pinctrl-0 = <&wkup_i2c0_pmic_pins_default>;
    +       power-domains = <&k3_pds 197 TI_SCI_PD_SHARED>;
    +       status = "okay";
    +};
    +
    +
     &ospi0 {
            pinctrl-names = "default";
    -       pinctrl-0 = <&mcu_fss0_ospi0_pins_default>;
    +       pinctrl-0 = <&mcu_ospi0_pins_default>;
     
            flash@0{
                    compatible = "jedec,spi-nor";
    

    k3-j721e.dtsi

    diff --git a/arch/arm64/boot/dts/ti/k3-j721e.dtsi b/arch/arm64/boot/dts/ti/k3-j721e.dtsi
    index 0997d010e75e..97363b359fe8 100644
    --- a/arch/arm64/boot/dts/ti/k3-j721e.dtsi
    +++ b/arch/arm64/boot/dts/ti/k3-j721e.dtsi
    @@ -30,7 +30,6 @@
                    serial9 = &main_uart7;
                    serial10 = &main_uart8;
                    serial11 = &main_uart9;
    -               ethernet0 = &cpsw_port1;
                    rproc0 = &mcu_r5fss0_core0;
                    rproc1 = &mcu_r5fss0_core1;
                    rproc2 = &main_r5fss0_core0;
    

    Thanks,

    Satish

  • Satish,

    Can you try the steps below to directly jump to login prompt?

    • In the target filesystem /home/root directory, create a file called init.sh with the following contents:

      #!/bin/sh
      bash
    • chmod +x init.sh
    • cd /sbin/
    • rm init
    • ln -s /home/root/init.sh init

    Can you try and let me know if you get to prompt?

    - Keerthy

  • Hi Keerthy,

    Here is the log after following those steps. Looks like it is kernel panic.

    MMC:   sdhci@4f80000: 0, sdhci@4fb0000: 1
    Loading Environment from MMC... OK
    In:    serial@2870000
    Out:   serial@2870000
    Err:   serial@2870000
    Reading on-board EEPROM at 0x50 failed 1
    Net:   can't parse phy-handle port 1 (-2)
    can't find cpsw-phy-sel
    No ethernet found.
    
    Hit any key to stop autoboot:  0 
    => setenv bootargs console=ttyS9,115200n8 earlycon=ns16550a,mmio32,0x02870000 vm.overcommit_ratio=5 vm.overcommit_memory=2 root=/dev/mmcblk0p1 
    => setenv bootcmd "setenv autoload no;ext4load mmc 0:1 0x82000000 /boot/Image;ext4load mmc 0:1 0x81200000 /boot/k3-j721e-common-proc-board.dtb; booti 0x82000000 - 0x81200000"
    => boot
    16654344 bytes read in 51 ms (311.4 MiB/s)
    92525 bytes read in 2 ms (44.1 MiB/s)
    ## Flattened Device Tree blob at 81200000
       Booting using the fdt blob at 0x81200000
       Loading Device Tree to 00000000fdea0000, end 00000000fdeb996c ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 5.4.40-g66cf445b76 (oe-user@oe-host) (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #1 SMP PREEMPT Tue Dec 22 09:02:19 UTC 2020
    [    0.000000] Machine model: Texas Instruments K3 J721E SoC
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002870000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 31 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a4000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a4100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a5000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a5100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c66-dma-memory@a6000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c66-memory@a6100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c66-dma-memory@a7000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c66-memory@a7100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@a8000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@a8100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000fb000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@fb000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000fb100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@fb100000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 512 MiB at 0x00000000c0000000
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.0
    [    0.000000] percpu: Embedded 2 pages/cpu s48408 r8192 d74472 u131072
    [    0.000000] Detected PIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: EL2 vector hardening
    [    0.000000] Built 1 zonelists, mobility grouping off.  Total pages: 47825
    [    0.000000] Kernel command line: console=ttyS9,115200n8 earlycon=ns16550a,mmio32,0x02870000 vm.overcommit_ratio=5 vm.overcommit_memory=2 root=/dev/mmcblk0p1
    [    0.000000] Dentry cache hash table entries: 524288 (order: 6, 4194304 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 5, 2097152 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: mapped [mem 0xbbff0000-0xbfff0000] (64MB)
    [    0.000000] Memory: 3354112K/3063808K available (9534K kernel code, 776K rwdata, 3840K rodata, 1728K init, 695K bss, 18446744073708737024K reserved, 524288K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
    [    0.000000]  Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 960 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] GICv3: Distributor has no Range Selector support
    [    0.000000] GICv3: 16 PPIs implemented
    [    0.000000] GICv3: no VLPI support, no direct LPI support
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: allocated 1048576 Devices @8c0800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x00000008c00c0000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000008c00d0000
    [    0.000000] random: get_random_bytes called from start_kernel+0x2b8/0x438 with crng_init=0
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000001] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008325] Console: colour dummy device 80x25
    [    0.012879] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023548] pid_max: default: 32768 minimum: 301
    [    0.028294] LSM: Security Framework initializing
    [    0.033036] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
    [    0.040603] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
    [    0.072648] ASID allocator initialised with 32768 entries
    [    0.086175] rcu: Hierarchical SRCU implementation.
    [    0.099117] Platform MSI: gic-its@1820000 domain created
    [    0.104640] PCI/MSI: /interconnect@100000/interrupt-controller@1800000/gic-its@1820000 domain created
    [    0.122076] smp: Bringing up secondary CPUs ...
    [    0.159028] Detected PIPT I-cache on CPU1
    [    0.159045] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.159055] GICv3: CPU1: using allocated LPI pending table @0x00000008c00e0000
    [    0.159073] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.159110] smp: Brought up 1 node, 2 CPUs
    [    0.188453] SMP: Total of 2 processors activated.
    [    0.193257] CPU features: detected: 32-bit EL0 Support
    [    0.198510] CPU features: detected: CRC32 instructions
    [    0.209738] CPU: All CPU(s) started at EL2
    [    0.213931] alternatives: patching kernel code
    [    0.218865] devtmpfs: initialized
    [    0.226345] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.236312] futex hash table entries: 512 (order: -1, 32768 bytes, linear)
    [    0.243750] pinctrl core: initialized pinctrl subsystem
    [    0.249435] NET: Registered protocol family 16
    [    0.256364] DMA: preallocated 256 KiB pool for atomic allocations
    [    0.262845] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.278204] HugeTLB registered 16.0 GiB page size, pre-allocated 0 pages
    [    0.285056] HugeTLB registered 512 MiB page size, pre-allocated 0 pages
    [    0.291815] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.300351] cryptd: max_cpu_qlen set to 1000
    [    0.307362] vsys_3v3: supplied by evm_12v0
    [    0.311643] vsys_5v0: supplied by evm_12v0
    [    0.316243] iommu: Default domain type: Translated 
    [    0.321357] SCSI subsystem initialized
    [    0.325422] mc: Linux media interface: v0.10
    [    0.329813] videodev: Linux video capture interface: v2.00
    [    0.335424] pps_core: LinuxPPS API ver. 1 registered
    [    0.340493] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.349830] PTP clock support registered
    [    0.353840] EDAC MC: Ver: 3.0.0
    [    0.357498] FPGA manager framework
    [    0.361002] Advanced Linux Sound Architecture Driver Initialized.
    [    0.367491] clocksource: Switched to clocksource arch_sys_counter
    [    0.373793] VFS: Disk quotas dquot_6.6.0
    [    0.377834] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
    [    0.387120] thermal_sys: Registered thermal governor 'step_wise'
    [    0.387121] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.393433] NET: Registered protocol family 2
    [    0.404767] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes, linear)
    [    0.413530] TCP established hash table entries: 32768 (order: 2, 262144 bytes, linear)
    [    0.421723] TCP bind hash table entries: 32768 (order: 3, 524288 bytes, linear)
    [    0.429397] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.436121] UDP hash table entries: 2048 (order: 0, 65536 bytes, linear)
    [    0.443011] UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes, linear)
    [    0.450389] NET: Registered protocol family 1
    [    0.455074] RPC: Registered named UNIX socket transport module.
    [    0.461125] RPC: Registered udp transport module.
    [    0.465927] RPC: Registered tcp transport module.
    [    0.470731] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.477314] PCI: CLS 0 bytes, default 64
    [    0.481559] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
    [    0.492914] Initialise system trusted keyrings
    [    0.497510] workingset: timestamp_bits=46 max_order=16 bucket_order=0
    [    0.505999] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.512196] NFS: Registering the id_resolver key type
    [    0.517365] Key type id_resolver registered
    [    0.521658] Key type id_legacy registered
    [    0.525754] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.532675] 9p: Installing v9fs 9p2000 file system support
    [    0.545442] Key type asymmetric registered
    [    0.549632] Asymmetric key parser 'x509' registered
    [    0.554636] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [    0.562196] io scheduler mq-deadline registered
    [    0.566821] io scheduler kyber registered
    [    0.571961] pinctrl-single 4301c000.pinmux: 94 pins, size 376
    [    0.578024] pinctrl-single 11c000.pinmux: 173 pins, size 692
    [    0.584150] pinctrl-single a40000.timesync_router: 512 pins, size 2048
    [    0.593001] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.599263] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.605590] ti-pat 31010000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.612001] debugfs: Directory '31010000.pat' with parent 'regmap' already present!
    [    0.619980] ti-pat 31011000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.626391] debugfs: Directory '31011000.pat' with parent 'regmap' already present!
    [    0.634304] ti-pat 31012000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.640716] debugfs: Directory '31012000.pat' with parent 'regmap' already present!
    [    0.648632] ti-pat 31013000.pat: Found PAT Rev 1.0 with 2048 pages
    [    0.654959] debugfs: Directory '31013000.pat' with parent 'regmap' already present!
    [    0.662901] ti-pat 31014000.pat: Found PAT Rev 1.0 with 2048 pages
    [    0.669223] debugfs: Directory '31014000.pat' with parent 'regmap' already present!
    [    0.678519] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.690241] brd: module loaded
    [    0.696055] loop: module loaded
    [    0.700587] libphy: Fixed MDIO Bus: probed
    [    0.704935] tun: Universal TUN/TAP device driver, 1.6
    [    0.710345] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
    [    0.718352] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.724415] sky2: driver version 1.30
    [    0.728592] VFIO - User Level meta-driver version: 0.3
    [    0.734181] i2c /dev entries driver
    [    0.738262] sdhci: Secure Digital Host Controller Interface driver
    [    0.744576] sdhci: Copyright(c) Pierre Ossman
    [    0.749179] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.755427] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.762152] optee: probing for conduit method from DT.
    [    0.767420] optee: revision 3.8 (199fca17)
    [    0.767691] optee: initialized driver
    [    0.776240] NET: Registered protocol family 17
    [    0.780841] 9pnet: Installing 9P2000 support
    [    0.785220] Key type dns_resolver registered
    [    0.789718] registered taskstats version 1
    [    0.793905] Loading compiled-in X.509 certificates
    [    0.802699] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.809015] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.817005] ti-sci 44083000.dmsc: ABI: 3.0 (firmware rev 0x0014 '20.04.1-v2020.04a (Terrific Lla')
    [    0.841694] random: fast init done
    [    0.872429] pinctrl-single 11c000.pinmux: pin PIN105 already requested by 44083000.dmsc:clocks; cannot claim for 600000.gpio
    [    0.883909] pinctrl-single 11c000.pinmux: pin-105 (600000.gpio) status -22
    [    0.890935] pinctrl-single 11c000.pinmux: could not request pin 105 (PIN105) from group debug_pins_default  on device pinctrl-single
    [    0.903113] davinci_gpio 600000.gpio: Error applying setting, reverse things back
    [    0.910765] davinci_gpio: probe of 600000.gpio failed with error -22
    [    0.918071] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz
    [    0.924032] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz
    [    0.930037] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz
    [    0.936068] pca953x 3-0020: 3-0020 supply vcc not found, using dummy regulator
    [    1.951495] omap_i2c 2000000.i2c: timeout waiting for bus ready
    [    1.957546] pca953x 3-0020: failed writing register
    [    1.962576] pca953x: probe of 3-0020 failed with error -16
    [    1.968278] pca953x 3-0022: 3-0022 supply vcc not found, using dummy regulator
    [    2.983493] omap_i2c 2000000.i2c: timeout waiting for bus ready
    [    2.989544] pca953x 3-0022: failed writing register
    [    2.994558] pca953x: probe of 3-0022 failed with error -16
    [    3.000197] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
    [    3.006182] omap_i2c 2010000.i2c: bus 4 rev0.12 at 400 kHz
    [    3.012064] omap_i2c 2020000.i2c: bus 5 rev0.12 at 400 kHz
    [    3.017984] pca953x 6-0020: 6-0020 supply vcc not found, using dummy regulator
    [    3.047534] pca953x 6-0020: failed writing register
    [    3.052552] pca953x: probe of 6-0020 failed with error -121
    [    3.058329] omap_i2c 2030000.i2c: bus 6 rev0.12 at 400 kHz
    [    3.064215] omap_i2c 2040000.i2c: bus 7 rev0.12 at 400 kHz
    [    3.070090] omap_i2c 2050000.i2c: bus 8 rev0.12 at 400 kHz
    [    3.076049] pca953x 9-0020: 9-0020 supply vcc not found, using dummy regulator
    [    3.103535] pca953x 9-0020: failed writing register
    [    3.108553] pca953x: probe of 9-0020 failed with error -121
    [    3.114280] omap_i2c 2060000.i2c: bus 9 rev0.12 at 400 kHz
    [    3.120476] ti-sci-intr interconnect@100000:interconnect@28380000:interrupt-controller2: Interrupt Router 137 domain created
    [    3.132044] ti-sci-intr interconnect@100000:interrupt-controller0: Interrupt Router 131 domain created
    [    3.141653] ti-sci-intr interconnect@100000:navss@30000000:interrupt-controller1: Interrupt Router 213 domain created
    [    3.152655] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain 209 created
    [    3.169285] cdns-torrent-phy 5050000.serdes: 4 lanes, max bit rate 5.400 Gbps
    [    3.178178] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
    [    3.188055] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    3.194813] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    3.203652] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211
    [    3.213791] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    3.220550] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    3.228207] omap8250 40a00000.serial: PM domain pd:149 will not be powered off
    [    3.235719] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 7, base_baud = 6000000) is a 8250
    [    3.244891] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 19, base_baud = 3000000) is a 8250
    [    3.253939] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 20, base_baud = 3000000) is a 8250
    [    3.262976] 2820000.serial: ttyS4 at MMIO 0x2820000 (irq = 21, base_baud = 3000000) is a 8250
    [    3.272039] 2830000.serial: ttyS5 at MMIO 0x2830000 (irq = 22, base_baud = 3000000) is a 8250
    [    3.281081] 2840000.serial: ttyS6 at MMIO 0x2840000 (irq = 23, base_baud = 3000000) is a 8250
    [    3.290118] 2860000.serial: ttyS8 at MMIO 0x2860000 (irq = 24, base_baud = 3000000) is a 8250
    [    3.299154] 2870000.serial: ttyS9 at MMIO 0x2870000 (irq = 25, base_baud = 3000000) is a 8250
    [    3.307890] printk: console [ttyS9] enabled
    [    3.307890] printk: console [ttyS9] enabled
    [    3.316327] printk: bootconsole [ns16550a0] disabled
    [    3.316327] printk: bootconsole [ns16550a0] disabled
    [    3.326662] 2880000.serial: ttyS0 at MMIO 0x2880000 (irq = 26, base_baud = 3000000) is a 8250
    [    3.335392] arm-smmu-v3 36600000.smmu: ias 48-bit, oas 48-bit (features 0x00001faf)
    [    3.344656] arm-smmu-v3 36600000.smmu: allocated 524288 entries for cmdq
    [    3.353235] arm-smmu-v3 36600000.smmu: allocated 524288 entries for evtq
    [    4.441532] arm-smmu-v3 36600000.smmu: CMD_SYNC timeout at 0x00000001 [hwprod 0x00000002, hwcons 0x00000001]
    [    5.532374] arm-smmu-v3 36600000.smmu: CMD_SYNC timeout at 0x00000004 [hwprod 0x00000005, hwcons 0x00000001]
    [    5.542229] arm-smmu-v3 36600000.smmu: msi_domain absent - falling back to wired irqs
    [    5.551927] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vdd-hba-supply regulator, assuming enabled
    [    5.562432] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vcc-supply regulator, assuming enabled
    [    5.572584] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq-supply regulator, assuming enabled
    [    5.582822] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq2-supply regulator, assuming enabled
    [    5.593589] scsi host0: ufshcd
    [    5.603480] cadence-qspi 47040000.spi: mt35xu02g (262144 Kbytes)
    [    5.639693] cadence-qspi 47040000.spi: Cadence QSPI NOR probe failed -517
    [    5.683494] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    5.691137] davinci_mdio 46000f00.mdio: no live phy, scanning all
    [    5.795678] davinci_mdio 46000f00.mdio: timed out waiting for user access
    [    5.902481] davinci_mdio 46000f00.mdio: timed out waiting for idle
    [    5.908657] davinci_mdio: probe of 46000f00.mdio failed with error -5
    [    5.915108] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2
    [    5.926531] am65-cpsw-nuss 46000000.ethernet: Failed to request tx dma channel -517
    [    5.934944] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0
    [    5.943441] mmc0: CQHCI version 5.10
    [    5.977782] mmc0: SDHCI controller on 4f80000.sdhci [4f80000.sdhci] using ADMA 64-bit
    [    5.986163] davinci_gpio 42110000.gpio: IRQ index 4 not found
    [    5.991983] davinci_gpio 42110000.gpio: IRQ not populated, err = -6
    [    5.999593] pca953x 4-0020: 4-0020 supply vcc not found, using dummy regulator
    [    6.016742] cdns-ufshcd 4e84000.ufs: link startup failed 1
    [    6.022217] cdns-ufshcd 4e84000.ufs: UFS Host state=0
    [    6.027256] cdns-ufshcd 4e84000.ufs: lrb in use=0x0, outstanding reqs=0x0 tasks=0x0
    [    6.027537] pca953x 4-0020: failed writing register
    [    6.034903] cdns-ufshcd 4e84000.ufs: saved_err=0x0, saved_uic_err=0x0
    [    6.039807] pca953x: probe of 4-0020 failed with error -121
    [    6.046179] cdns-ufshcd 4e84000.ufs: Device power mode=1, UIC link state=0
    [    6.046181] cdns-ufshcd 4e84000.ufs: PM in progress=0, sys. suspended=0
    [    6.046183] cdns-ufshcd 4e84000.ufs: Auto BKOPS=0, Host self-block=0
    [    6.046185] cdns-ufshcd 4e84000.ufs: Clk gate=1
    [    6.052149] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100
    [    6.058603] cdns-ufshcd 4e84000.ufs: error handling flags=0x0, req. abort count=0
    [    6.058605] cdns-ufshcd 4e84000.ufs: Host capabilities=0x1587031f, caps=0x0
    [    6.058608] cdns-ufshcd 4e84000.ufs: quirks=0x0, dev. quirks=0x0
    [    6.065521] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100
    [    6.071540] cdns-ufshcd 4e84000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[0, 0], lane[0, 0], pwr[INVALID MODE, INVALID MODE], rate = 0
    [    6.071558] host_regs: 00000000: 1587031f 00000000 00000210 00000000
    [    6.076409] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fc7100
    [    6.082572] host_regs: 00000010: 00000000 00000000 00000000 00000000
    [    6.082575] host_regs: 00000020: 00000000 00000470 00000000 00000000
    [    6.090354] omap-mailbox 31f83000.mailbox: omap mailbox rev 0x66fc7100
    [    6.096980] host_regs: 00000030: 00000008 00000001 00000000 00000000
    [    6.096982] host_regs: 00000040: 00000000 00000000 00000000 00000000
    [    6.096984] host_regs: 00000050: 00000000 00000000 00000000 00000000
    [    6.096986] host_regs: 00000060: 00000000 00000000 00000000 00000000
    [    6.103293] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fc7100
    [    6.109486] host_regs: 00000070: 00000000 00000000 00000000 00000000
    [    6.109488] host_regs: 00000080: 00000000 00000000 00000000 00000000
    [    6.125625] ti-udma 285c0000.dma-controller: Channels: 24 (tchan: 12, rchan: 12, gp-rflow: 8)
    [    6.127969] host_regs: 00000090: 00000000 00000000 00000000 00000000
    [    6.127972] cdns-ufshcd 4e84000.ufs: hba->ufs_version = 0x210, hba->capabilities = 0x1587031f
    [    6.127975] cdns-ufshcd 4e84000.ufs: hba->outstanding_reqs = 0x0, hba->outstanding_tasks = 0x0
    [    6.136338] ti-udma 31150000.dma-controller: Channels: 84 (tchan: 42, rchan: 42, gp-rflow: 16)
    [    6.140822] cdns-ufshcd 4e84000.ufs: last_hibern8_exit_tstamp at 0 us, hibern8_exit_cnt = 0
    [    6.140825] cdns-ufshcd 4e84000.ufs: No record of pa_err errors
    [    6.140827] cdns-ufshcd 4e84000.ufs: No record of dl_err errors
    [    6.140830] cdns-ufshcd 4e84000.ufs: No record of nl_err errors
    [    6.155178] cadence-qspi 47040000.spi: mt35xu02g (262144 Kbytes)
    [    6.160013] cdns-ufshcd 4e84000.ufs: No record of tl_err errors
    [    6.160015] cdns-ufshcd 4e84000.ufs: No record of dme_err errors
    [    6.160017] cdns-ufshcd 4e84000.ufs: No record of auto_hibern8_err errors
    [    6.166483] mmc0: Command Queue Engine enabled
    [    6.172687] cdns-ufshcd 4e84000.ufs: No record of fatal_err errors
    [    6.172690] cdns-ufshcd 4e84000.ufs: link_startup_fail[0] = 0x1 at 5929254 us
    [    6.179041] mmc0: new HS400 MMC card at address 0001
    [    6.185559] cdns-ufshcd 4e84000.ufs: No record of resume_fail errors
    [    6.196185] mmcblk0: mmc0:0001 G1J39E 119 GiB 
    [    6.198216] cdns-ufshcd 4e84000.ufs: No record of suspend_fail errors
    [    6.206856] mmcblk0boot0: mmc0:0001 G1J39E partition 1 31.5 MiB
    [    6.213058] cdns-ufshcd 4e84000.ufs: No record of dev_reset errors
    [    6.221728] mmcblk0boot1: mmc0:0001 G1J39E partition 2 31.5 MiB
    [    6.230154] cdns-ufshcd 4e84000.ufs: No record of host_reset errors
    [    6.230156] cdns-ufshcd 4e84000.ufs: No record of task_abort errors
    [    6.230163] cdns-ufshcd 4e84000.ufs: clk: core_clk, rate: 250000000
    [    6.238815] mmcblk0rpmb: mmc0:0001 G1J39E partition 3 4.00 MiB, chardev (240:0)
    [    6.247079] cdns-ufshcd 4e84000.ufs: clk: phy_clk, rate: 19200000
    [    6.247081] cdns-ufshcd 4e84000.ufs: clk: ref_clk, rate: 19200000
    [    6.387008]  mmcblk0: p1
    [    6.423499] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    6.431143] davinci_mdio 46000f00.mdio: no live phy, scanning all
    [    6.535489] davinci_mdio 46000f00.mdio: timed out waiting for user access
    [    6.642295] davinci_mdio 46000f00.mdio: timed out waiting for idle
    [    6.648470] davinci_mdio: probe of 46000f00.mdio failed with error -5
    [    6.654930] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2
    [    6.667113] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    6.673946] am65-cpsw-nuss 46000000.ethernet: slave[1] no phy found
    [    6.684765] debugfs: Directory 'pd:242' with parent 'pm_genpd' already present!
    [    6.692126] debugfs: Directory 'pd:241' with parent 'pm_genpd' already present!
    [    6.699435] debugfs: Directory 'pd:240' with parent 'pm_genpd' already present!
    [    6.706752] debugfs: Directory 'pd:239' with parent 'pm_genpd' already present!
    [    6.714627] hctosys: unable to open rtc device (rtc0)
    [    6.735019] ALSA device list:
    [    6.737980]   No soundcards found.
    [    6.743273] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
    [    6.751371] VFS: Mounted root (ext4 filesystem) readonly on device 179:1.
    [    6.762474] devtmpfs: mounted
    [    6.765919] Freeing unused kernel memory: 1728K
    [    6.779505] Run /sbin/init as init process
    /sbin/init: [    6.797049] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
    [    6.805689] CPU: 0 PID: 1 Comm: init Not tainted 5.4.40-g66cf445b76 #1
    [    6.812195] Hardware name: Texas Instruments K3 J721E SoC (DT)
    [    6.818008] Call trace:
    [    6.820446]  dump_backtrace+0x0/0x140
    [    6.824093]  show_stack+0x14/0x20
    [    6.827397]  dump_stack+0xb4/0xf8
    [    6.830698]  panic+0x158/0x324
    [    6.833738]  do_exit+0x8ec/0x968
    [    6.836951]  do_group_exit+0x40/0xa0
    [    6.840511]  __arm64_sys_exit_group+0x14/0x18
    [    6.844853]  el0_svc_common.constprop.0+0x68/0x160
    [    6.849626]  el0_svc_handler+0x20/0x80
    [    6.853361]  el0_svc+0x8/0xc
    [    6.856230] SMP: stopping secondary CPUs
    [    6.860138] Kernel Offset: disabled
    [    6.863611] CPU features: 0x0002,20006008
    [    6.867604] Memory Limit: none
    [    6.870648] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00 ]---
    line 2: bash: not found
    

    Thanks,

    Satish

  • Hi Keerthy,

    While chasing this Kernel panic log I came across these two weblink -

    This guy had similar issue: https://unix.stackexchange.com/questions/614629/kernel-panic-not-syncing-attempted-to-kill-init-exitcode-0x00007f00-not-ab

    This is the command to statically build busybox: http://venkateshabbarapu.blogspot.com/2012/09/statically-compiling-busybox-for-arm.html 

    I followed these command and now it looks like it allows logs to go further and now I can see the login prompt( without your init.sh changes). Here is the log.
    Since this is resolve I would like to thank you very much for helping me here. 

    MMC:   sdhci@4f80000: 0, sdhci@4fb0000: 1
    Loading Environment from MMC... OK
    In:    serial@2870000
    Out:   serial@2870000
    Err:   serial@2870000
    Reading on-board EEPROM at 0x50 failed 1
    Net:   can't parse phy-handle port 1 (-2)
    can't find cpsw-phy-sel
    No ethernet found.
    
    Hit any key to stop autoboot:  0 
    => setenv bootargs console=ttyS9,115200n8 earlycon=ns16550a,mmio32,0x02870000 vm.overcommit_ratio=5 vm.overcommit_memory=2 root=/dev/mmcblk0p1 
    => setenv bootcmd "setenv autoload no;ext4load mmc 0:1 0x82000000 /boot/Image;ext4load mmc 0:1 0x81200000 /boot/k3-j721e-common-proc-board.dtb; booti 0x82000000 - 0x81200000"
    => boot
    16654344 bytes read in 68 ms (233.6 MiB/s)
    92525 bytes read in 2 ms (44.1 MiB/s)
    ## Flattened Device Tree blob at 81200000
       Booting using the fdt blob at 0x81200000
       Loading Device Tree to 00000000fdea0000, end 00000000fdeb996c ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 5.4.40-g66cf445b76 (oe-user@oe-host) (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #1 SMP PREEMPT Tue Dec 22 20:10:27 UTC 2020
    [    0.000000] Machine model: Texas Instruments K3 J721E SoC
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002870000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 31 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a4000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a4100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a5000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a5100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c66-dma-memory@a6000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c66-memory@a6100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c66-dma-memory@a7000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c66-memory@a7100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@a8000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@a8100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000fb000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@fb000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000fb100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@fb100000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 512 MiB at 0x00000000c0000000
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.0
    [    0.000000] percpu: Embedded 2 pages/cpu s48408 r8192 d74472 u131072
    [    0.000000] Detected PIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: EL2 vector hardening
    [    0.000000] Built 1 zonelists, mobility grouping off.  Total pages: 47825
    [    0.000000] Kernel command line: console=ttyS9,115200n8 earlycon=ns16550a,mmio32,0x02870000 vm.overcommit_ratio=5 vm.overcommit_memory=2 root=/dev/mmcblk0p1
    [    0.000000] Dentry cache hash table entries: 524288 (order: 6, 4194304 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 5, 2097152 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: mapped [mem 0xbbff0000-0xbfff0000] (64MB)
    [    0.000000] Memory: 3354112K/3063808K available (9534K kernel code, 776K rwdata, 3840K rodata, 1728K init, 695K bss, 18446744073708737024K reserved, 524288K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
    [    0.000000]  Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 960 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] GICv3: Distributor has no Range Selector support
    [    0.000000] GICv3: 16 PPIs implemented
    [    0.000000] GICv3: no VLPI support, no direct LPI support
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: allocated 1048576 Devices @8c0800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x00000008c00c0000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000008c00d0000
    [    0.000000] random: get_random_bytes called from start_kernel+0x2b8/0x438 with crng_init=0
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000001] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008347] Console: colour dummy device 80x25
    [    0.012900] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023569] pid_max: default: 32768 minimum: 301
    [    0.028315] LSM: Security Framework initializing
    [    0.033057] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
    [    0.040624] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
    [    0.072665] ASID allocator initialised with 32768 entries
    [    0.086191] rcu: Hierarchical SRCU implementation.
    [    0.099134] Platform MSI: gic-its@1820000 domain created
    [    0.104662] PCI/MSI: /interconnect@100000/interrupt-controller@1800000/gic-its@1820000 domain created
    [    0.122098] smp: Bringing up secondary CPUs ...
    [    0.159048] Detected PIPT I-cache on CPU1
    [    0.159065] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.159075] GICv3: CPU1: using allocated LPI pending table @0x00000008c00e0000
    [    0.159094] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.159132] smp: Brought up 1 node, 2 CPUs
    [    0.188476] SMP: Total of 2 processors activated.
    [    0.193280] CPU features: detected: 32-bit EL0 Support
    [    0.198533] CPU features: detected: CRC32 instructions
    [    0.209711] CPU: All CPU(s) started at EL2
    [    0.213904] alternatives: patching kernel code
    [    0.218827] devtmpfs: initialized
    [    0.226333] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.236300] futex hash table entries: 512 (order: -1, 32768 bytes, linear)
    [    0.243714] pinctrl core: initialized pinctrl subsystem
    [    0.249395] NET: Registered protocol family 16
    [    0.256267] DMA: preallocated 256 KiB pool for atomic allocations
    [    0.262749] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.278449] HugeTLB registered 16.0 GiB page size, pre-allocated 0 pages
    [    0.285300] HugeTLB registered 512 MiB page size, pre-allocated 0 pages
    [    0.292059] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.300598] cryptd: max_cpu_qlen set to 1000
    [    0.307703] vsys_3v3: supplied by evm_12v0
    [    0.311986] vsys_5v0: supplied by evm_12v0
    [    0.316581] iommu: Default domain type: Translated 
    [    0.321690] SCSI subsystem initialized
    [    0.325756] mc: Linux media interface: v0.10
    [    0.330127] videodev: Linux video capture interface: v2.00
    [    0.335744] pps_core: LinuxPPS API ver. 1 registered
    [    0.340813] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.350150] PTP clock support registered
    [    0.354160] EDAC MC: Ver: 3.0.0
    [    0.357832] FPGA manager framework
    [    0.361366] Advanced Linux Sound Architecture Driver Initialized.
    [    0.367856] clocksource: Switched to clocksource arch_sys_counter
    [    0.374162] VFS: Disk quotas dquot_6.6.0
    [    0.378201] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
    [    0.387433] thermal_sys: Registered thermal governor 'step_wise'
    [    0.387435] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.393734] NET: Registered protocol family 2
    [    0.405065] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes, linear)
    [    0.413824] TCP established hash table entries: 32768 (order: 2, 262144 bytes, linear)
    [    0.422016] TCP bind hash table entries: 32768 (order: 3, 524288 bytes, linear)
    [    0.429698] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.436421] UDP hash table entries: 2048 (order: 0, 65536 bytes, linear)
    [    0.443310] UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes, linear)
    [    0.450685] NET: Registered protocol family 1
    [    0.455353] RPC: Registered named UNIX socket transport module.
    [    0.461407] RPC: Registered udp transport module.
    [    0.466210] RPC: Registered tcp transport module.
    [    0.471012] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.477594] PCI: CLS 0 bytes, default 64
    [    0.481824] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
    [    0.493184] Initialise system trusted keyrings
    [    0.497780] workingset: timestamp_bits=46 max_order=16 bucket_order=0
    [    0.506183] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.512375] NFS: Registering the id_resolver key type
    [    0.517546] Key type id_resolver registered
    [    0.521838] Key type id_legacy registered
    [    0.525934] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.532855] 9p: Installing v9fs 9p2000 file system support
    [    0.545346] Key type asymmetric registered
    [    0.549536] Asymmetric key parser 'x509' registered
    [    0.554539] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [    0.562100] io scheduler mq-deadline registered
    [    0.566726] io scheduler kyber registered
    [    0.571880] pinctrl-single 4301c000.pinmux: 94 pins, size 376
    [    0.577931] pinctrl-single 11c000.pinmux: 173 pins, size 692
    [    0.584071] pinctrl-single a40000.timesync_router: 512 pins, size 2048
    [    0.593007] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.599263] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.605587] ti-pat 31010000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.611996] debugfs: Directory '31010000.pat' with parent 'regmap' already present!
    [    0.619944] ti-pat 31011000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.626360] debugfs: Directory '31011000.pat' with parent 'regmap' already present!
    [    0.634281] ti-pat 31012000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.640691] debugfs: Directory '31012000.pat' with parent 'regmap' already present!
    [    0.648614] ti-pat 31013000.pat: Found PAT Rev 1.0 with 2048 pages
    [    0.654938] debugfs: Directory '31013000.pat' with parent 'regmap' already present!
    [    0.662854] ti-pat 31014000.pat: Found PAT Rev 1.0 with 2048 pages
    [    0.669175] debugfs: Directory '31014000.pat' with parent 'regmap' already present!
    [    0.678476] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.690265] brd: module loaded
    [    0.696115] loop: module loaded
    [    0.700647] libphy: Fixed MDIO Bus: probed
    [    0.705012] tun: Universal TUN/TAP device driver, 1.6
    [    0.710422] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
    [    0.718428] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.724491] sky2: driver version 1.30
    [    0.728665] VFIO - User Level meta-driver version: 0.3
    [    0.734236] i2c /dev entries driver
    [    0.738314] sdhci: Secure Digital Host Controller Interface driver
    [    0.744629] sdhci: Copyright(c) Pierre Ossman
    [    0.749238] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.755487] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.762249] optee: probing for conduit method from DT.
    [    0.767518] optee: revision 3.8 (199fca17)
    [    0.767784] optee: initialized driver
    [    0.776350] NET: Registered protocol family 17
    [    0.780950] 9pnet: Installing 9P2000 support
    [    0.785328] Key type dns_resolver registered
    [    0.789797] registered taskstats version 1
    [    0.793984] Loading compiled-in X.509 certificates
    [    0.802849] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.809179] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.817190] ti-sci 44083000.dmsc: ABI: 3.0 (firmware rev 0x0014 '20.04.1-v2020.04a (Terrific Lla')
    [    0.841926] random: fast init done
    [    0.872579] pinctrl-single 11c000.pinmux: pin PIN105 already requested by 44083000.dmsc:clocks; cannot claim for 600000.gpio
    [    0.884057] pinctrl-single 11c000.pinmux: pin-105 (600000.gpio) status -22
    [    0.891084] pinctrl-single 11c000.pinmux: could not request pin 105 (PIN105) from group debug_pins_default  on device pinctrl-single
    [    0.903261] davinci_gpio 600000.gpio: Error applying setting, reverse things back
    [    0.910915] davinci_gpio: probe of 600000.gpio failed with error -22
    [    0.918235] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz
    [    0.924204] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz
    [    0.930184] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz
    [    0.936210] pca953x 3-0020: 3-0020 supply vcc not found, using dummy regulator
    [    1.947861] omap_i2c 2000000.i2c: timeout waiting for bus ready
    [    1.953917] pca953x 3-0020: failed writing register
    [    1.958947] pca953x: probe of 3-0020 failed with error -16
    [    1.964645] pca953x 3-0022: 3-0022 supply vcc not found, using dummy regulator
    [    2.979859] omap_i2c 2000000.i2c: timeout waiting for bus ready
    [    2.985910] pca953x 3-0022: failed writing register
    [    2.990923] pca953x: probe of 3-0022 failed with error -16
    [    2.996561] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
    [    3.002540] omap_i2c 2010000.i2c: bus 4 rev0.12 at 400 kHz
    [    3.008422] omap_i2c 2020000.i2c: bus 5 rev0.12 at 400 kHz
    [    3.014374] pca953x 6-0020: 6-0020 supply vcc not found, using dummy regulator
    [    3.043899] pca953x 6-0020: failed writing register
    [    3.048920] pca953x: probe of 6-0020 failed with error -121
    [    3.054697] omap_i2c 2030000.i2c: bus 6 rev0.12 at 400 kHz
    [    3.060614] omap_i2c 2040000.i2c: bus 7 rev0.12 at 400 kHz
    [    3.066499] omap_i2c 2050000.i2c: bus 8 rev0.12 at 400 kHz
    [    3.072424] pca953x 9-0020: 9-0020 supply vcc not found, using dummy regulator
    [    3.099900] pca953x 9-0020: failed writing register
    [    3.104919] pca953x: probe of 9-0020 failed with error -121
    [    3.110646] omap_i2c 2060000.i2c: bus 9 rev0.12 at 400 kHz
    [    3.116855] ti-sci-intr interconnect@100000:interconnect@28380000:interrupt-controller2: Interrupt Router 137 domain created
    [    3.128424] ti-sci-intr interconnect@100000:interrupt-controller0: Interrupt Router 131 domain created
    [    3.138032] ti-sci-intr interconnect@100000:navss@30000000:interrupt-controller1: Interrupt Router 213 domain created
    [    3.149034] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain 209 created
    [    3.165667] cdns-torrent-phy 5050000.serdes: 4 lanes, max bit rate 5.400 Gbps
    [    3.174579] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
    [    3.184456] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    3.191214] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    3.200029] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211
    [    3.210168] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    3.216927] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    3.224580] omap8250 40a00000.serial: PM domain pd:149 will not be powered off
    [    3.232108] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 7, base_baud = 6000000) is a 8250
    [    3.241281] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 19, base_baud = 3000000) is a 8250
    [    3.250328] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 20, base_baud = 3000000) is a 8250
    [    3.259366] 2820000.serial: ttyS4 at MMIO 0x2820000 (irq = 21, base_baud = 3000000) is a 8250
    [    3.268425] 2830000.serial: ttyS5 at MMIO 0x2830000 (irq = 22, base_baud = 3000000) is a 8250
    [    3.277462] 2840000.serial: ttyS6 at MMIO 0x2840000 (irq = 23, base_baud = 3000000) is a 8250
    [    3.286497] 2860000.serial: ttyS8 at MMIO 0x2860000 (irq = 24, base_baud = 3000000) is a 8250
    [    3.295519] 2870000.serial: ttyS9 at MMIO 0x2870000 (irq = 25, base_baud = 3000000) is a 8250
    [    3.304254] printk: console [ttyS9] enabled
    [    3.304254] printk: console [ttyS9] enabled
    [    3.312691] printk: bootconsole [ns16550a0] disabled
    [    3.312691] printk: bootconsole [ns16550a0] disabled
    [    3.323020] 2880000.serial: ttyS0 at MMIO 0x2880000 (irq = 26, base_baud = 3000000) is a 8250
    [    3.331758] arm-smmu-v3 36600000.smmu: ias 48-bit, oas 48-bit (features 0x00001faf)
    [    3.341032] arm-smmu-v3 36600000.smmu: allocated 524288 entries for cmdq
    [    3.349608] arm-smmu-v3 36600000.smmu: allocated 524288 entries for evtq
    [    4.437835] arm-smmu-v3 36600000.smmu: CMD_SYNC timeout at 0x00000001 [hwprod 0x00000002, hwcons 0x00000001]
    [    5.528678] arm-smmu-v3 36600000.smmu: CMD_SYNC timeout at 0x00000004 [hwprod 0x00000005, hwcons 0x00000001]
    [    5.538533] arm-smmu-v3 36600000.smmu: msi_domain absent - falling back to wired irqs
    [    5.548227] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vdd-hba-supply regulator, assuming enabled
    [    5.558732] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vcc-supply regulator, assuming enabled
    [    5.568885] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq-supply regulator, assuming enabled
    [    5.579123] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq2-supply regulator, assuming enabled
    [    5.589904] scsi host0: ufshcd
    [    5.599780] cadence-qspi 47040000.spi: mt35xu02g (262144 Kbytes)
    [    5.640058] cadence-qspi 47040000.spi: Cadence QSPI NOR probe failed -517
    [    5.683864] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    5.691506] davinci_mdio 46000f00.mdio: no live phy, scanning all
    [    5.796042] davinci_mdio 46000f00.mdio: timed out waiting for user access
    [    5.902844] davinci_mdio 46000f00.mdio: timed out waiting for idle
    [    5.909018] davinci_mdio: probe of 46000f00.mdio failed with error -5
    [    5.915469] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2
    [    5.926897] am65-cpsw-nuss 46000000.ethernet: Failed to request tx dma channel -517
    [    5.935304] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0
    [    5.943809] mmc0: CQHCI version 5.10
    [    5.978147] mmc0: SDHCI controller on 4f80000.sdhci [4f80000.sdhci] using ADMA 64-bit
    [    5.986528] davinci_gpio 42110000.gpio: IRQ index 4 not found
    [    5.992349] davinci_gpio 42110000.gpio: IRQ not populated, err = -6
    [    5.999954] pca953x 4-0020: 4-0020 supply vcc not found, using dummy regulator
    [    6.017100] cdns-ufshcd 4e84000.ufs: link startup failed 1
    [    6.022575] cdns-ufshcd 4e84000.ufs: UFS Host state=0
    [    6.027613] cdns-ufshcd 4e84000.ufs: lrb in use=0x0, outstanding reqs=0x0 tasks=0x0
    [    6.027902] pca953x 4-0020: failed writing register
    [    6.035259] cdns-ufshcd 4e84000.ufs: saved_err=0x0, saved_uic_err=0x0
    [    6.040165] pca953x: probe of 4-0020 failed with error -121
    [    6.046535] cdns-ufshcd 4e84000.ufs: Device power mode=1, UIC link state=0
    [    6.046538] cdns-ufshcd 4e84000.ufs: PM in progress=0, sys. suspended=0
    [    6.046540] cdns-ufshcd 4e84000.ufs: Auto BKOPS=0, Host self-block=0
    [    6.046541] cdns-ufshcd 4e84000.ufs: Clk gate=1
    [    6.052510] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100
    [    6.058959] cdns-ufshcd 4e84000.ufs: error handling flags=0x0, req. abort count=0
    [    6.058961] cdns-ufshcd 4e84000.ufs: Host capabilities=0x1587031f, caps=0x0
    [    6.058964] cdns-ufshcd 4e84000.ufs: quirks=0x0, dev. quirks=0x0
    [    6.065879] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100
    [    6.071897] cdns-ufshcd 4e84000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[0, 0], lane[0, 0], pwr[INVALID MODE, INVALID MODE], rate = 0
    [    6.071915] host_regs: 00000000: 1587031f 00000000 00000210 00000000
    [    6.076765] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fc7100
    [    6.082928] host_regs: 00000010: 00000000 00000000 00000000 00000000
    [    6.082931] host_regs: 00000020: 00000000 00000470 00000000 00000000
    [    6.090712] omap-mailbox 31f83000.mailbox: omap mailbox rev 0x66fc7100
    [    6.097336] host_regs: 00000030: 00000008 00000001 00000000 00000000
    [    6.097338] host_regs: 00000040: 00000000 00000000 00000000 00000000
    [    6.097340] host_regs: 00000050: 00000000 00000000 00000000 00000000
    [    6.103632] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fc7100
    [    6.109840] host_regs: 00000060: 00000000 00000000 00000000 00000000
    [    6.109842] host_regs: 00000070: 00000000 00000000 00000000 00000000
    [    6.126024] ti-udma 285c0000.dma-controller: Channels: 24 (tchan: 12, rchan: 12, gp-rflow: 8)
    [    6.128324] host_regs: 00000080: 00000000 00000000 00000000 00000000
    [    6.128326] host_regs: 00000090: 00000000 00000000 00000000 00000000
    [    6.128329] cdns-ufshcd 4e84000.ufs: hba->ufs_version = 0x210, hba->capabilities = 0x1587031f
    [    6.136694] ti-udma 31150000.dma-controller: Channels: 84 (tchan: 42, rchan: 42, gp-rflow: 16)
    [    6.141175] cdns-ufshcd 4e84000.ufs: hba->outstanding_reqs = 0x0, hba->outstanding_tasks = 0x0
    [    6.141177] cdns-ufshcd 4e84000.ufs: last_hibern8_exit_tstamp at 0 us, hibern8_exit_cnt = 0
    [    6.141180] cdns-ufshcd 4e84000.ufs: No record of pa_err errors
    [    6.141181] cdns-ufshcd 4e84000.ufs: No record of dl_err errors
    [    6.141183] cdns-ufshcd 4e84000.ufs: No record of nl_err errors
    [    6.141185] cdns-ufshcd 4e84000.ufs: No record of tl_err errors
    [    6.155511] cadence-qspi 47040000.spi: mt35xu02g (262144 Kbytes)
    [    6.160370] cdns-ufshcd 4e84000.ufs: No record of dme_err errors
    [    6.160373] cdns-ufshcd 4e84000.ufs: No record of auto_hibern8_err errors
    [    6.166842] mmc0: Command Queue Engine enabled
    [    6.173045] cdns-ufshcd 4e84000.ufs: No record of fatal_err errors
    [    6.173049] cdns-ufshcd 4e84000.ufs: link_startup_fail[0] = 0x1 at 5929247 us
    [    6.179574] mmc0: new HS400 MMC card at address 0001
    [    6.185921] cdns-ufshcd 4e84000.ufs: No record of resume_fail errors
    [    6.196547] mmcblk0: mmc0:0001 G1J39E 119 GiB 
    [    6.200743] cdns-ufshcd 4e84000.ufs: No record of suspend_fail errors
    [    6.207222] mmcblk0boot0: mmc0:0001 G1J39E partition 1 31.5 MiB
    [    6.213419] cdns-ufshcd 4e84000.ufs: No record of dev_reset errors
    [    6.213421] cdns-ufshcd 4e84000.ufs: No record of host_reset errors
    [    6.213423] cdns-ufshcd 4e84000.ufs: No record of task_abort errors
    [    6.213425] cdns-ufshcd 4e84000.ufs: clk: core_clk, rate: 250000000
    [    6.213427] cdns-ufshcd 4e84000.ufs: clk: phy_clk, rate: 19200000
    [    6.213430] cdns-ufshcd 4e84000.ufs: clk: ref_clk, rate: 19200000
    [    6.222100] mmcblk0boot1: mmc0:0001 G1J39E partition 2 31.5 MiB
    [    6.378577] mmcblk0rpmb: mmc0:0001 G1J39E partition 3 4.00 MiB, chardev (240:0)
    [    6.387594]  mmcblk0: p1
    [    6.423864] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    6.431508] davinci_mdio 46000f00.mdio: no live phy, scanning all
    [    6.536033] davinci_mdio 46000f00.mdio: timed out waiting for user access
    [    6.642841] davinci_mdio 46000f00.mdio: timed out waiting for idle
    [    6.649015] davinci_mdio: probe of 46000f00.mdio failed with error -5
    [    6.655475] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2
    [    6.667655] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    6.674487] am65-cpsw-nuss 46000000.ethernet: slave[1] no phy found
    [    6.685351] debugfs: Directory 'pd:242' with parent 'pm_genpd' already present!
    [    6.692709] debugfs: Directory 'pd:241' with parent 'pm_genpd' already present!
    [    6.700021] debugfs: Directory 'pd:240' with parent 'pm_genpd' already present!
    [    6.707337] debugfs: Directory 'pd:239' with parent 'pm_genpd' already present!
    [    6.715200] hctosys: unable to open rtc device (rtc0)
    [    6.735533] ALSA device list:
    [    6.738494]   No soundcards found.
    [    6.742734] EXT4-fs (mmcblk0p1): INFO: recovery required on readonly filesystem
    [    6.750049] EXT4-fs (mmcblk0p1): write access will be enabled during recovery
    [    6.817776] EXT4-fs (mmcblk0p1): recovery complete
    [    6.823845] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
    [    6.831945] VFS: Mounted root (ext4 filesystem) readonly on device 179:1.
    [    6.839049] devtmpfs: mounted
    [    6.842484] Freeing unused kernel memory: 1728K
    [    6.847028] Run /sbin/init as init process
    [    6.889150] systemd[1]: System time before build time, advancing clock.
    [    6.913914] NET: Registered protocol family 10
    [    6.918656] Segment Routing with IPv6
    [    6.930301] systemd[1]: systemd 244.3+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -)
    [    6.951995] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2020.05!
    
    [    7.000056] systemd[1]: Set hostname to <j7-evm>.
    [    7.103951] systemd[1]: /lib/systemd/system/docker.socket:6: ListenStream= references a path below legacy directory /var/run/, updating /var/run/docker.sock ��→ /run/docker.sock; please update the unit file .
    [    7.154449] random: systemd: uninitialized urandom read (16 bytes read)
    [    7.161128] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
    [    7.173459] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
    [    7.183168] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    [    7.203939] random: systemd: uninitialized urandom read (16 bytes read)
    [    7.211040] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [    7.231904] random: systemd: uninitialized urandom read (16 bytes read)
    [    7.238933] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    7.259987] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password ��…ts to Console Directory Watch.
    [    7.283954] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password R��…uests to Wall Directory Watch.
    [    7.307938] systemd[1]: Reached target Paths.
    [  OK  ] Reached target Paths.
    [    7.323908] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    7.343899] systemd[1]: Reached target Slices.
    [  OK  ] Reached target Slices.
    [    7.359903] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    7.376399] systemd[1]: Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [    7.399915] systemd[1]: Reached target RPC Port Mapper.
    [  OK  ] Reached target RPC Port Mapper.
    [    7.421470] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    7.443984] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [    7.470894] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
    [    7.479137] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    7.500089] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    7.516104] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    7.540031] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    7.555984] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    7.574242] systemd[1]: Mounting Huge Pages File System...
             Mounting Huge Pages File System...
    [    7.598388] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    7.622002] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [    7.646001] systemd[1]: Mounting Temporary Directory (/tmp)...
             Mounting Temporary Directory (/tmp)...
    [    7.669845] systemd[1]: Starting Create list of static device nodes for the current kernel...
             Starting Create list of st��…odes for the current kernel...
    [    7.698029] systemd[1]: Starting Start psplash boot splash screen...
             Starting Start psplash boot splash screen...
    [    7.722108] systemd[1]: Starting RPC Bind...
             Starting RPC Bind...
    [    7.737960] systemd[1]: Starting File System Check on Root Device...
             Starting File System Check on Root Device.[    7.747112] systemd[1]: Starting Journal Service...
    ..
             Starting Journal Service...
    [    7.758259] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [    7.772729] systemd[1]: Starting udev Coldplug all Devices...
             Starting udev Coldplug all Devices...[    7.781870] systemd[1]: Started RPC Bind.
    
    [    7.793662] cryptodev: loading out-of-tree module taints kernel.
    [  OK  ] Started RPC Bind.
    [    7.805283] cryptodev: driver 1.10 loaded.
    [    7.812202] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Mounted Huge Pages File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Started Create list of sta��… nodes for the current kernel.
    [FAILED] Failed to start Start psplash boot splash screen.
    See 'systemctl status psplash-start.service' for details.
    [DEPEND] Dependency failed for Star��…progress communication helper.
    [  OK  ] Started File System Check on Root Device.
    [  OK  ] Started Load Kernel Modules.
             Mounting Kernel Configuration File System...
             Starting Remount Root and Kernel File Systems...
             Starting Apply Kernel Variables...
    [  OK  ] Mounted Kernel Configuration File Sy[    8.023745] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
    stem.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Started Apply Kernel Variables.
             Starting Flush Journal to Persistent Storage...
    [    8.089532] systemd-journald[213]: Received client request to flush runtime journal.
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
             Starting udev Kernel Device Manager...
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Started udev Kernel Device Manager.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target System Time Set.
    [  OK  ] Reached target System Time Synchronized.
    [    8.444718] rti-wdt 2200000.rti: heartbeat 60 sec
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [    8.485512] rti-wdt 2210000.rti: heartbeat 60 sec
    [  OK  ] Listening on D-Bus System Message Bus Socket.
             Starting Docker Socket for the API.
    [  OK  ] Listening on Docker Socket for the API.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
    [  OK  ] Started D-Bus System Message Bus.
             Starting Print notice about GPLv3 packages...
             Starting IPv6 Packet Filtering Framework...
             Starting IPv4 Packet Filtering Framework...
             Starting rc.pvr.service...
    [    8.622973] k3-dsp-rproc 4d80800000.dsp: assigned reserved memory node c66-dma-memory@a7000000
             Starting Login Service...
    [  OK  ] Started TEE Supplicant.
    [  OK  ] Started IPv6 Packet Filtering Framework.
    [  OK  ] Started IPv4 Packet Filtering Framework.
    [  OK  ] Reached target Network (Pre).
             Starting Network Service...
    [    8.686884] pinctrl-single 11c000.pinmux: pin PIN164 already requested by 601000.gpio; cannot claim for 4104000.cdns_usb
    [  OK  ] Started Network Service.
             Starting Wait for Network to be Configured...
             Starting Network Name Resolution...
    [    8.770793] PVR_K:  326: Read BVNC 22.104.208.318 from HW device registers
    [    8.780918] PVR_K:  326: RGX Device initialised with BVNC 22.104.208.318
    [    8.796043] [drm] Initialized pvr 1.10.5371573 20170530 for 4e20000000.gpu on minor 0
    [  OK  ] Started Login Service.
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Network.
    [  OK  ] Reached target Host and Network Name Lookups.
             Starting Avahi mDNS/DNS-SD Stack...
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
             Starting Permit User Sessions...
    [    8.909884] k3-dsp-rproc 4d80800000.dsp: configured DSP for remoteproc mode
    
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Started Serial Getty on ttyS3.
    [    8.933505] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    ;32m  OK  ] Started Serial Getty on ttyS9.
    [    8.941477] [drm] No driver support for vblank timestamp query.
    0;32m  OK  ] Reached target Login Prompts.
    [    8.957969] [drm] Initialized tidss 1.0.0 20180215 for 4a00000.dss on minor 1
    
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.serv[    8.986678] pinctrl-single 11c000.pinmux: pin-164 (4104000.cdns_usb) status -22
    ice' for details.
    [    9.027899] k3-dsp-rproc 4d80800000.dsp: local reset is deasserted for device
    [    9.071895] pinctrl-single 11c000.pinmux: could not request pin 164 (PIN164) from group main_usbss0_pins_default  on device pinctrl-single
    [    9.199304] remoteproc remoteproc0: 4d80800000.dsp is available
    [    9.229154] cdns3-ti 4104000.cdns_usb: Error applying setting, reverse things back
    
    ***************************************************************[    9.236177] platform 41000000.r5f: configured R5F for remoteproc mode
    [    9.248286] remoteproc remoteproc0: Direct firmware load for j7-c66_0-fw failed with error -2
    
    NOTICE: This file system contains the following GPLv3 packages[    9.264101] remoteproc remoteproc0: powering up 4d80800000.dsp
    :
            bash-dev
            bash
            cifs-utils
            dosfstools
            gdb
            less
            lib[    9.275733] remoteproc remoteproc0: Direct firmware load for j7-c66_0-fw failed with error -2
    dw1
            libelf1
            libgdbm-compat4
            libgdbm-dev
            libgdbm6
            libre[    9.290119] remoteproc remoteproc0: request_firmware failed: -2
    adline-dev
            libreadline8
            m4-dev
            m4
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove c[    9.310129] k3-dsp-rproc 4d81800000.dsp: assigned reserved memory node c66-dma-memory@a6000000
    ommand.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Started Print notice about GPLv3 packages.
    [    9.376215] k3-dsp-rproc 4d81800000.dsp: configured DSP for remoteproc mode
    [    9.417619] cdns3-ti: probe of 4104000.cdns_usb failed with error -22
    [    9.452249] platform 41000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000
    [    9.555924] pinctrl-single 11c000.pinmux: pin PIN133 already requested by 2860000.serial; cannot claim for 4114000.cdns_usb
    [    9.574247] remoteproc remoteproc1: 41000000.r5f is available
    [    9.620563] k3-dsp-rproc 4d81800000.dsp: local reset is deasserted for device
    [    9.668594] remoteproc remoteproc1: Direct firmware load for j7-mcu-r5f0_0-fw failed with error -2
    [    9.679295] remoteproc remoteproc1: powering up 41000000.r5f
    [    9.688678] remoteproc remoteproc1: Direct firmware load for j7-mcu-r5f0_0-fw failed with error -2
    [    9.703716] remoteproc remoteproc1: request_firmware failed: -2
    [    9.711941] remoteproc remoteproc2: 4d81800000.dsp is available
    [    9.713079] platform 5c00000.r5f: configured R5F for remoteproc mode
    [    9.768212] pinctrl-single 11c000.pinmux: pin-133 (4114000.cdns_usb) status -22
    [    9.775463] platform 5c00000.r5f: assigned reserved memory node r5f-dma-memory@a1000000
    [    9.795176] remoteproc remoteproc2: Direct firmware load for j7-c66_1-fw failed with error -2
    [    9.804424] remoteproc remoteproc3: 5c00000.r5f is available
    [    9.810090] remoteproc remoteproc2: powering up 4d81800000.dsp
    [    9.815926] remoteproc remoteproc2: Direct firmware load for j7-c66_1-fw failed with error -2
    [    9.828008] remoteproc remoteproc2: request_firmware failed: -2
    [    9.836438] k3-dsp-rproc 64800000.dsp: assigned reserved memory node c71-dma-memory@a8000000
    [    9.846440] j721e-audio sound@0: ASoC: failed to init link CPB pcm3168a DAC: -517
    [    9.880589] remoteproc remoteproc3: Direct firmware load for j7-main-r5f0_0-fw failed with error -2
    [    9.891874] remoteproc remoteproc3: powering up 5c00000.r5f
    [    9.899996] remoteproc remoteproc3: Direct firmware load for j7-main-r5f0_0-fw failed with error -2
    [    9.913648] remoteproc remoteproc3: request_firmware failed: -2
    [    9.920230] pinctrl-single 11c000.pinmux: could not request pin 133 (PIN133) from group main_usbss1_pins_default  on device pinctrl-single
    [    9.921807] platform 5d00000.r5f: configured R5F for remoteproc mode
    [    9.938269] j721e-audio sound@0: devm_snd_soc_register_card() failed: -517
    [    9.947547] k3-dsp-rproc 64800000.dsp: configured DSP for remoteproc mode
    [    9.977673] remoteproc remoteproc4: 64800000.dsp is available
    [   10.015241] platform 5d00000.r5f: assigned reserved memory node r5f-dma-memory@a3000000
    [   10.028522] cdns3-ti 4114000.cdns_usb: Error applying setting, reverse things back
    [   10.054656] remoteproc remoteproc4: Direct firmware load for j7-c71_0-fw failed with error -2
    [   10.065458] remoteproc remoteproc4: powering up 64800000.dsp
    [   10.074117] remoteproc remoteproc4: Direct firmware load for j7-c71_0-fw failed with error -2
    [   10.086757] remoteproc remoteproc4: request_firmware failed: -2
    [   10.151466] remoteproc remoteproc5: 5d00000.r5f is available
    [   10.180825] cdns3-ti: probe of 4114000.cdns_usb failed with error -22
    [   10.250619] remoteproc remoteproc5: Direct firmware load for j7-main-r5f0_1-fw failed with error -2
    [   10.263266] remoteproc remoteproc5: powering up 5d00000.r5f
    [   10.271674] remoteproc remoteproc5: Direct firmware load for j7-main-r5f0_1-fw failed with error -2
    [   10.284483] platform 5e00000.r5f: configured R5F for remoteproc mode
    [   10.290857] remoteproc remoteproc5: request_firmware failed: -2
    [   10.400784] platform 5e00000.r5f: assigned reserved memory node r5f-dma-memory@a4000000
    [   10.451879] random: crng init done
    [   10.455275] random: 7 urandom warning(s) missed due to ratelimiting
    [   10.462948] remoteproc remoteproc6: 5e00000.r5f is available
    [  OK  ] Started Load/Save Random Seed.
    [   10.480289] remoteproc remoteproc6: Direct firmware load for j7-main-r5f1_0-fw failed with error -2
    [   10.496897] remoteproc remoteproc6: powering up 5e00000.r5f
    [   10.504766] platform 5f00000.r5f: configured R5F for remoteproc mode
    [   10.511272] remoteproc remoteproc6: Direct firmware load for j7-main-r5f1_0-fw failed with error -2
    [   10.520330] remoteproc remoteproc6: request_firmware failed: -2
    [   10.532979] platform 5f00000.r5f: assigned reserved memory node r5f-dma-memory@a5000000
    [   10.554305] remoteproc remoteproc7: 5f00000.r5f is available
    [   10.562700] remoteproc remoteproc7: Direct firmware load for j7-main-r5f1_1-fw failed with error -2
    [   10.573816] remoteproc remoteproc7: powering up 5f00000.r5f
    [   10.581962] remoteproc remoteproc7: Direct firmware load for j7-main-r5f1_1-fw failed with error -2
    [   10.595505] remoteproc remoteproc7: request_firmware failed: -2
    [  OK  ] Created slice system-weston.slice.
    [   10.682968] omap_rng 4e10000.trng: Random Number Generator ver. 241b34c
    [  OK  ] Started Weston Wayland Compositor.
    [   10.700471] remoteproc remoteproc8: b034000.pru is available
    [   10.717813] pru-rproc b034000.pru: PRU rproc node /interconnect@100000/icssg@b000000/pru@34000 probed successfully
    [  OK  ] Created slice User Slice of UID 0.
    [   10.748027] remoteproc remoteproc9: b004000.rtu is available
             Starting User Runtime Directory /run/user/0...
    [   10.770968] pru-rproc b004000.rtu: PRU rproc node /interconnect@100000/icssg@b000000/rtu@4000 probed successfully
    [  OK  ] Started User Runtime Directory /run/user/0.
             Starting User Manager for UID 0...
    [   10.816494] pru-rproc b00a000.txpru: IRQ vring not found
    [   10.822176] pru-rproc b00a000.txpru: IRQ kick not found
    [  OK  ] Started rc.pvr.service.
    [   10.829271] remoteproc remoteproc10: b00a000.txpru is available
             Starting weston.service...
    [  OK  ] Started weston.service.
             Starting DEMO...
             Starting telnetd.service...
    [  OK  ] Started DEMO.
    [  OK  ] Started telnetd.service.
    [   10.938978] pru-rproc b00a000.txpru: PRU rproc node /interconnect@100000/icssg@b000000/txpru@a000 probed successfully
    [   10.967013] remoteproc remoteproc11: b038000.pru is available
    [   10.973089] pru-rproc b038000.pru: PRU rproc node /interconnect@100000/icssg@b000000/pru@38000 probed successfully
    [   10.985010] remoteproc remoteproc12: b006000.rtu is available
    [   10.991063] pru-rproc b006000.rtu: PRU rproc node /interconnect@100000/icssg@b000000/rtu@6000 probed successfully
    [   11.001734] pru-rproc b00c000.txpru: IRQ vring not found
    [   11.007079] pru-rproc b00c000.txpru: IRQ kick not found
    [   11.012472] remoteproc remoteproc13: b00c000.txpru is available
    [   11.018436] pru-rproc b00c000.txpru: PRU rproc node /interconnect@100000/icssg@b000000/txpru@c000 probed successfully
    [   11.029378] remoteproc remoteproc14: b134000.pru is available
    [   11.035167] pru-rproc b134000.pru: PRU rproc node /interconnect@100000/icssg@b100000/pru@34000 probed successfully
    [   11.045829] remoteproc remoteproc15: b104000.rtu is available
    [   11.051634] pru-rproc b104000.rtu: PRU rproc node /interconnect@100000/icssg@b100000/rtu@4000 probed successfully
    [   11.062075] pru-rproc b10a000.txpru: IRQ vring not found
    [   11.067414] pru-rproc b10a000.txpru: IRQ kick not found
    [   11.072868] remoteproc remoteproc16: b10a000.txpru is available
    [   11.078888] pru-rproc b10a000.txpru: PRU rproc node /interconnect@100000/icssg@b100000/txpru@a000 probed successfully
    [  OK  ] [   11.089864] remoteproc remoteproc17: b138000.pru is available
    Started User Manager for UID 0.
    [   11.097138] pru-rproc b138000.pru: PRU rproc node /interconnect@100000/icssg@b100000/pru@38000 probed successfully
    [   11.111554] remoteproc remoteproc18: b106000.rtu is available
    [   11.117347] pru-rproc b106000.rtu: PRU rproc node /interconnect@100000/icssg@b100000/rtu@6000 probed successfully
    [   11.117446] pru-rproc b10c000.txpru: IRQ vring not found
    [   11.117448] pru-rproc b10c000.txpru: IRQ kick not found
    [   11.117484] remoteproc remoteproc19: b10c000.txpru is available
    [   11.117508] pru-rproc b10c000.txpru: PRU rproc node /interconnect@100000/icssg@b100000/txpru@c000 probed successfully
    [  OK  ] Started Session c1 of user root.
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org j7-evm ttyS9
    
    Arago 2020.05 j7-evm ttyS9
    
    j7-evm login:

    Thank you,

    Satish

  • Satish,

    That is super awesome! I am glad you are booting to Linux. Merry christmas & a very happy new year in advance.

    Best Regards & Cheers,
    Keerthy

  • Hi Keerthy,

    Happy new year to you as well.

    Thanks,

    Satish