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.

DRA821U: USB DFU mode failed to boot tiboot3.bin

Part Number: DRA821U
Other Parts Discussed in Thread: DRA821

Hi support:

I used the USB boot mode on our custom single board and could recognize the DFU mode normally.

ubuntu# dfu-util -l
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Found DFU: [0451:6164] ver=0200, devnum=18, cfg=1, intf=0, path="1-2", alt=1, name="SocId", serial="01.00.00.00"
Found DFU: [0451:6164] ver=0200, devnum=18, cfg=1, intf=0, path="1-2", alt=0, name="bootloader", serial="01.00.00.00"
ubuntu# 

write in tiboot3.bin successful.

ubuntu# dfu-util -R -a bootloader -D tiboot3.bin
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 0451:6164
Run-time device DFU version 0110
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 0110
Device returned transfer size 512
Copying data from PC to DFU device
Download	[=========================] 100%       524009 bytes
Download done.
state(6) = dfuMANIFEST-SYNC, status(0) = No error condition is present
state(2) = dfuIDLE, status(0) = No error condition is present
Done!
dfu-util: can't detach
Resetting USB to switch back to runtime mode

But if you look at the boot print through the serial port, you can see a DDR error.

U-Boot SPL 2020.01-dirty (Jul 19 2021 - 18:08:12 +0800)
SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
ti_power_domain_probe(dev=41c85db8)
Reading on-board EEPROM at 0x50 failed 1
i2c_write: error waiting for data ACK (status=0x116)
read error from device: 41c86438 register: x!
Timeout during frequency handshake
### ERROR ### Please RESET the board ###

The difference between us and the demo board.
demol board: 4GB MT53D1024M32D4DT-046
custom board: 2GB MT53D512M32D2DS-053

May I ask if there are some investigation directions provided, SDK version 7.3,Thanks.

  • Hi,

    Have you updated the DDR config file in u-boot? Can you post the config file to this thread?

    Thanks,
    Kevin

  • HI Kevin:

    This problem has been resolved by modifying the configuration parameters, which are shown below.

    k3-j721e-ddr-evm-lp4-2666.txt

    After use, the above problem no longer appears, but the following error appears under the kernel boot, I should need to redistribute the memory management.Do you have any good suggestions on this.

    U-Boot SPL 2020.01-dirty (Jul 20 2021 - 20:22:10 +0800)
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
    ti_power_domain_probe(dev=41c85db8)
    Reading on-board EEPROM at 0x50 failed 1
    i2c_write: error waiting for data ACK (status=0x116)
    read error from device: 41c86360 register: x!
    Trying to boot from MMC1
    Loading Environment from MMC... *** Warning - bad CRC, using default environment
    
    init_env from device 17 not supported!
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.4(release):07.03.00.005-dirty
    NOTICE:  BL31: Built : 14:27:49, Jul 20 2021
    
    U-Boot SPL 2020.01-dirty (Jul 20 2021 - 20:22:01 +0800)
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
    Reading on-board EEPROM at 0x50 failed 1
    Trying to boot from MMC1
    
    
    U-Boot 2020.01-dirty (Jul 20 2021 - 20:22:01 +0800)
    
    SoC:   J7200 SR1.0
    Model: Texas Instruments K3 J7200 SoC
    Reading on-board EEPROM at 0x50 failed 1
    Board: J721EX-PM1-SOM rev E2
    DRAM:  4 GiB
    not found for dev hbmc-mux
    Flash: 0 Bytes
    MMC:   sdhci@4f80000: 0
    Loading Environment from MMC... OK
    In:    serial@40a00000
    Out:   serial@40a00000
    Err:   serial@40a00000
    Reading on-board EEPROM at 0x50 failed 1
    Net:   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
    16799752 bytes read in 56 ms (286.1 MiB/s)
    44229 bytes read in 4 ms (10.5 MiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 000000008fef2000, end 000000008fffffff ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 5.4.106-g023faefa70 (haiqing.song@ubuntu-PowerEdge-R740) (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #1 SMP PREEMPT Mon Jun 21 16:36:38 CST 2021
    [    0.000000] Machine model: Texas Instruments K3 J7200 SoC
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000040a00000 (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 15 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 0x00000000a2000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, 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] cma: Reserved 512 MiB at 0x00000000e0000000
    [    0.000000] ------------[ cut here ]------------
    [    0.000000] kernel BUG at arch/arm64/mm/mmu.c:155!
    [    0.000000] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 5.4.106-g023faefa70 #1
    [    0.000000] Hardware name: Texas Instruments K3 J7200 SoC (DT)
    [    0.000000] pstate: 40000085 (nZcv daIf -PAN -UAO)
    [    0.000000] pc : __create_pgd_mapping+0x330/0x4a8
    [    0.000000] lr : __create_pgd_mapping+0x328/0x4a8
    [    0.000000] sp : ffff800010fcfd80
    [    0.000000] x29: ffff800010fcfd80 x28: ffffffdffe3c0100
    [    0.000000] x27: 0000000000000000 x26: 0068000000000f13
    [    0.000000] x25: ffff8000109effff x24: 0000000082080000
    [    0.000000] x23: 0040000000000793 x22: ffff800010080000
    [    0.000000] x21: ffff8000109f0000 x20: ffffffdffe3e0000
    [    0.000000] x19: ffff8000109f0000 x18: 0000000000000010
    [    0.000000] x17: 0000000000001400 x16: 0000000000001c00
    [    0.000000] x15: ffff800010ffbc28 x14: ffffffffffffffff
    [    0.000000] x13: ffff800090fcfb47 x12: 0000800072000000
    [    0.000000] x11: ffff8000109effff x10: 0000000082080000
    [    0.000000] x9 : ffff800010080000 x8 : 0040000000000793
    [    0.000000] x7 : ffff800010200000 x6 : 0000000000000041
    [    0.000000] x5 : ffff800010180000 x4 : ffffffdffe3f80c0
    [    0.000000] x3 : 0000000000000000 x2 : a90153f356390713
    [    0.000000] x1 : ffd7fffffffff77f x0 : 0000000000000000
    [    0.000000] Call trace:
    [    0.000000]  __create_pgd_mapping+0x330/0x4a8
    [    0.000000]  map_kernel_segment+0x70/0xa4
    [    0.000000]  paging_init+0x140/0x614
    [    0.000000]  setup_arch+0x2a0/0x5f8
    [    0.000000]  start_kernel+0x88/0x42c
    [    0.000000] Code: f9400081 97fffde9 72001c1f 54fffe01 (d4210000)
    [    0.000000] random: get_random_bytes called from print_oops_end_marker+0x28/0x50 with crng_init=0
    [    0.000000] ---[ end trace 0000000000000000 ]---
    [    0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
    [    0.000000] ---[ end Kernel panic - not syncing: Attempted to kill the idle task! ]---
    

  • Hi,

    Yes. Please refer the code changes done for reducing DDR to 1GB. Do similar changes for 2GB DDR:

    From 4eddcabeb3a71909f5f1d4cbe17b6b9a64c88e68 Mon Sep 17 00:00:00 2001
    From: Vishal Mahaveer <vishalm@ti.com>
    Date: Wed, 22 Jan 2020 17:37:55 -0600
    Subject: [PATCH 2/2] Changes for 1GB DDR
    
    Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
    ---
     arch/arm/dts/k3-j721e-som-p0.dtsi       |  5 ++---
     arch/arm/dts/k3-j721e-som-tps65917.dtsi |  3 +--
     arch/arm/mach-k3/arm64-mmu.c            |  8 +-------
     board/ti/j721e/evm.c                    | 20 +++++---------------
     configs/j721e_evm_a72_defconfig         |  2 +-
     include/configs/j721e_evm.h             |  3 ---
     6 files changed, 10 insertions(+), 31 deletions(-)
    
    diff --git a/arch/arm/dts/k3-j721e-som-p0.dtsi b/arch/arm/dts/k3-j721e-som-p0.dtsi
    index ff6b141a30..c11097700b 100644
    --- a/arch/arm/dts/k3-j721e-som-p0.dtsi
    +++ b/arch/arm/dts/k3-j721e-som-p0.dtsi
    @@ -10,9 +10,8 @@
     / {
     	memory@80000000 {
     		device_type = "memory";
    -		/* 4G RAM */
    -		reg = <0x00000000 0x80000000 0x00000000 0x80000000>,
    -		      <0x00000008 0x80000000 0x00000000 0x80000000>;
    +		/* 1G RAM */
    +		reg = <0x00000000 0x80000000 0x00000000 0x40000000>;
     	};
     
     	reserved_memory: reserved-memory {
    diff --git a/arch/arm/dts/k3-j721e-som-tps65917.dtsi b/arch/arm/dts/k3-j721e-som-tps65917.dtsi
    index f614525f38..2c05c1d707 100644
    --- a/arch/arm/dts/k3-j721e-som-tps65917.dtsi
    +++ b/arch/arm/dts/k3-j721e-som-tps65917.dtsi
    @@ -11,8 +11,7 @@
     	memory@80000000 {
     		device_type = "memory";
     		/* 4G RAM */
    -		reg = <0x00000000 0x80000000 0x00000000 0x80000000>,
    -		      <0x00000008 0x80000000 0x00000000 0x80000000>;
    +		reg = <0x00000000 0x80000000 0x00000000 0x40000000>;
     	};
     
     	reserved_memory: reserved-memory {
    diff --git a/arch/arm/mach-k3/arm64-mmu.c b/arch/arm/mach-k3/arm64-mmu.c
    index f0ae671b09..2bc522e50f 100644
    --- a/arch/arm/mach-k3/arm64-mmu.c
    +++ b/arch/arm/mach-k3/arm64-mmu.c
    @@ -93,13 +93,7 @@ struct mm_region j721e_mem_map[NR_MMU_REGIONS] = {
     	}, {
     		.virt = 0xbbc00000UL,
     		.phys = 0xbbc00000UL,
    -		.size = 0x44400000UL,
    -		.attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) |
    -			 PTE_BLOCK_INNER_SHARE
    -	}, {
    -		.virt = 0x880000000UL,
    -		.phys = 0x880000000UL,
    -		.size = 0x80000000UL,
    +		.size = 0x04400000UL,
     		.attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) |
     			 PTE_BLOCK_INNER_SHARE
     	}, {
    diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c
    index 3e92d0f87f..44e9409bf3 100644
    --- a/board/ti/j721e/evm.c
    +++ b/board/ti/j721e/evm.c
    @@ -38,15 +38,11 @@ int board_init(void)
     
     int dram_init(void)
     {
    -#ifdef CONFIG_PHYS_64BIT
    -	gd->ram_size = 0x100000000;
    -#else
    -	gd->ram_size = 0x80000000;
    -#endif
    -
    +	gd->ram_size = 0x40000000;
     	return 0;
     }
     
    +#if 0
     ulong board_get_usable_ram_top(ulong total_size)
     {
     #ifdef CONFIG_PHYS_64BIT
    @@ -57,20 +53,14 @@ ulong board_get_usable_ram_top(ulong total_size)
     
     	return gd->ram_top;
     }
    +#endif
     
     int dram_init_banksize(void)
     {
     	/* Bank 0 declares the memory available in the DDR low region */
     	gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE;
    -	gd->bd->bi_dram[0].size = 0x80000000;
    -	gd->ram_size = 0x80000000;
    -
    -#ifdef CONFIG_PHYS_64BIT
    -	/* Bank 1 declares the memory available in the DDR high region */
    -	gd->bd->bi_dram[1].start = CONFIG_SYS_SDRAM_BASE1;
    -	gd->bd->bi_dram[1].size = 0x80000000;
    -	gd->ram_size = 0x100000000;
    -#endif
    +	gd->bd->bi_dram[0].size = 0x40000000;
    +	gd->ram_size = 0x40000000;
     
     	return 0;
     }
    diff --git a/configs/j721e_evm_a72_defconfig b/configs/j721e_evm_a72_defconfig
    index e874be9dc6..ae1f5fe454 100644
    --- a/configs/j721e_evm_a72_defconfig
    +++ b/configs/j721e_evm_a72_defconfig
    @@ -15,7 +15,7 @@ CONFIG_SPL_LIBDISK_SUPPORT=y
     CONFIG_SPL_SPI_FLASH_SUPPORT=y
     CONFIG_SPL_SPI_SUPPORT=y
     CONFIG_DISTRO_DEFAULTS=y
    -CONFIG_NR_DRAM_BANKS=2
    +CONFIG_NR_DRAM_BANKS=1
     # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
     CONFIG_SPL_LOAD_FIT=y
     CONFIG_OF_BOARD_SETUP=y
    diff --git a/include/configs/j721e_evm.h b/include/configs/j721e_evm.h
    index e68920dc38..b8b53d990a 100644
    --- a/include/configs/j721e_evm.h
    +++ b/include/configs/j721e_evm.h
    @@ -18,9 +18,6 @@
     
     #define CONFIG_ENV_SIZE			(128 << 10)
     
    -/* DDR Configuration */
    -#define CONFIG_SYS_SDRAM_BASE1		0x880000000
    -
     /* SPL Loader Configuration */
     #if defined(CONFIG_TARGET_J721E_A72_EVM)
     #define CONFIG_SPL_TEXT_BASE		0x80080000
    -- 
    2.17.1
    
    

    Note: The patch is on older code base but should be sufficient to refer and adapt on new SDK as well.
    Also this is on J721e but similar changes to be done for J7200(DRA821).

    Best Regards,
    Keerthy

  • Hi Keerthy:

    We have passed the memory management using the following changes, but there are new problems in the next run. I don't know if they are related.Could you please help to analyze it.

    uboot:

    Index: arch/arm/dts/k3-j7200-som-p0.dtsi
    ===================================================================
    --- arch/arm/dts/k3-j7200-som-p0.dtsi	(revision 2586)
    +++ arch/arm/dts/k3-j7200-som-p0.dtsi	(working copy)
    @@ -10,9 +10,8 @@
     / {
     	memory@80000000 {
     		device_type = "memory";
    -		/* 4G RAM */
    -		reg = <0x00000000 0x80000000 0x00000000 0x80000000>,
    -		      <0x00000008 0x80000000 0x00000000 0x80000000>;
    +		/* 2G RAM */
    +		reg = <0x00000000 0x80000000 0x00000000 0x80000000>;
     	};
     
     	reserved_memory: reserved-memory {
    Index: arch/arm/mach-k3/arm64-mmu.c
    ===================================================================
    --- arch/arm/mach-k3/arm64-mmu.c	(revision 2586)
    +++ arch/arm/mach-k3/arm64-mmu.c	(working copy)
    @@ -158,12 +158,6 @@
     		.attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) |
     			 PTE_BLOCK_INNER_SHARE
     	}, {
    -		.virt = 0x880000000UL,
    -		.phys = 0x880000000UL,
    -		.size = 0x80000000UL,
    -		.attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) |
    -			 PTE_BLOCK_INNER_SHARE
    -	}, {
     		.virt = 0x500000000UL,
     		.phys = 0x500000000UL,
     		.size = 0x400000000UL,
    Index: board/ti/j721e/evm.c
    ===================================================================
    --- board/ti/j721e/evm.c	(revision 2586)
    +++ board/ti/j721e/evm.c	(working copy)
    @@ -43,16 +43,11 @@
     }
     
     int dram_init(void)
    -{
    -#ifdef CONFIG_PHYS_64BIT
    -	gd->ram_size = 0x100000000;
    -#else
    +{	
     	gd->ram_size = 0x80000000;
    -#endif
    -
     	return 0;
     }
    -
    +#if 0
     ulong board_get_usable_ram_top(ulong total_size)
     {
     #ifdef CONFIG_PHYS_64BIT
    @@ -63,21 +58,16 @@
     
     	return gd->ram_top;
     }
    +#endif
     
     int dram_init_banksize(void)
     {
     	/* Bank 0 declares the memory available in the DDR low region */
     	gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE;
    +
     	gd->bd->bi_dram[0].size = 0x80000000;
     	gd->ram_size = 0x80000000;
     
    -#ifdef CONFIG_PHYS_64BIT
    -	/* Bank 1 declares the memory available in the DDR high region */
    -	gd->bd->bi_dram[1].start = CONFIG_SYS_SDRAM_BASE1;
    -	gd->bd->bi_dram[1].size = 0x80000000;
    -	gd->ram_size = 0x100000000;
    -#endif
    -
     	return 0;
     }
     
    @@ -507,6 +497,7 @@
     	int ret;
     
     	ret = detect_SW3_1_state();
    +	ret = 0;//jww
     	if (ret == 1) {
     		ret = uclass_get_device_by_driver(UCLASS_MTD,
     						  DM_GET_DRIVER(hbmc_am654),
    Index: configs/j7200_evm_a72_defconfig
    ===================================================================
    --- configs/j7200_evm_a72_defconfig	(revision 2586)
    +++ configs/j7200_evm_a72_defconfig	(working copy)
    @@ -12,7 +12,7 @@
     CONFIG_ENV_SIZE=0x20000
     CONFIG_ENV_OFFSET=0x680000
     CONFIG_SPL_STACK_R_ADDR=0x82000000
    -CONFIG_NR_DRAM_BANKS=2
    +CONFIG_NR_DRAM_BANKS=1
     CONFIG_SPL_FS_FAT=y
     CONFIG_SPL_LIBDISK_SUPPORT=y
     CONFIG_SPL_SPI_FLASH_SUPPORT=y
    Index: include/configs/j721e_evm.h
    ===================================================================
    --- include/configs/j721e_evm.h	(revision 2586)
    +++ include/configs/j721e_evm.h	(working copy)
    @@ -16,8 +16,6 @@
     #include <environment/ti/ufs.h>
     #include <environment/ti/k3_dfu.h>
     
    -/* DDR Configuration */
    -#define CONFIG_SYS_SDRAM_BASE1		0x880000000
     
     /* SPL Loader Configuration */
     #if defined(CONFIG_TARGET_J721E_A72_EVM) || defined(CONFIG_TARGET_J7200_A72_EVM)
    

    Linux k3-j7200-som-p0.dtsi:

    Use the above modifications after our startup log.

    U-Boot SPL 2020.01-dirty (Jul 21 2021 - 10:20:23 +0800)
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
    ti_power_domain_probe(dev=41c85db8)
    Reading on-board EEPROM at 0x50 failed 1
    i2c_write: error waiting for data ACK (status=0x116)
    read error from device: 41c86438 register: x!
    Trying to boot from MMC1
    Loading Environment from MMC... *** Warning - bad CRC, using default environment
    
    init_env from device 17 not supported!
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.4(release):07.03.00.005-dirty
    NOTICE:  BL31: Built : 14:27:49, Jul 20 2021
    
    U-Boot SPL 2020.01-dirty (Jul 21 2021 - 10:20:09 +0800)
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
    Reading on-board EEPROM at 0x50 failed 1
    Trying to boot from MMC1
    
    
    U-Boot 2020.01-dirty (Jul 21 2021 - 10:20:09 +0800)
    
    SoC:   J7200 SR1.0
    Model: Texas Instruments K3 J7200 SoC
    Reading on-board EEPROM at 0x50 failed 1
    Board: J721EX-PM1-SOM rev E2
    DRAM:  2 GiB
    not found for dev hbmc-mux
    Flash: 0 Bytes
    MMC:   sdhci@4f80000: 0, sdhci@4fb0000: 1
    Loading Environment from MMC... OK
    In:    serial@40a00000
    Out:   serial@40a00000
    Err:   serial@40a00000
    Reading on-board EEPROM at 0x50 failed 1
    Net:   Could not get PHY for ethernet@46000000: addr 0
    phy_connect() failed
    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
    16799752 bytes read in 59 ms (271.6 MiB/s)
    44233 bytes read in 5 ms (8.4 MiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 000000008fef2000, end 000000008fffffff ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 5.4.106-g023faefa70 (weiwei.jin@ubuntu-PowerEdge-R740) (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #1 SMP PREEMPT Mon Jul 19 18:41:22 CST 2021
    [    0.000000] Machine model: Texas Instruments K3 J7200 SoC
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000040a00000 (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 15 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 0x00000000a2000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, 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] cma: Reserved 512 MiB at 0x00000000e0000000
    [    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 s48472 r8192 d74408 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: 17135
    [    0.000000] Kernel command line: console=ttyS1,115200n8 earlycon=ns16550a,mmio32,0x40a00000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup),57088k@8m(ospi.rootfs),256k(ospi.phypattern);47034000.hyperbus:512k(hbmc.tiboot3),2m(hbmc.tispl),4m(hbmc.u-boot),256k(hbmc.env),-@8m(hbmc.rootfs) root=PARTUUID=ed6196a4-c34f-4d76-bdf1-63bde0646461 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 262144 (order: 5, 2097152 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 131072 (order: 4, 1048576 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: 1385408K/1097728K available (9662K kernel code, 854K rwdata, 3840K rodata, 1664K init, 681K bss, 18446744073708739648K 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 @df000000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x00000000df810000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000000df820000
    [    0.000000] random: get_random_bytes called from start_kernel+0x2b8/0x42c 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.008280] Console: colour dummy device 80x25
    [    0.012834] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023492] pid_max: default: 32768 minimum: 301
    [    0.028238] LSM: Security Framework initializing
    [    0.032982] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
    [    0.040548] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
    [    0.050002] ASID allocator initialised with 32768 entries
    [    0.055641] rcu: Hierarchical SRCU implementation.
    [    0.060766] Platform MSI: msi-controller@1820000 domain created
    [    0.066921] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.076393] smp: Bringing up secondary CPUs ...
    [    0.081719] Detected PIPT I-cache on CPU1
    [    0.081743] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.081757] GICv3: CPU1: using allocated LPI pending table @0x00000000df830000
    [    0.081786] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.081854] smp: Brought up 1 node, 2 CPUs
    [    0.111184] SMP: Total of 2 processors activated.
    [    0.115985] CPU features: detected: 32-bit EL0 Support
    [    0.121235] CPU features: detected: CRC32 instructions
    [    0.132611] CPU: All CPU(s) started at EL2
    [    0.136811] alternatives: patching kernel code
    [    0.142038] devtmpfs: initialized
    [    0.148149] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.158111] futex hash table entries: 512 (order: -1, 32768 bytes, linear)
    [    0.166111] pinctrl core: initialized pinctrl subsystem
    [    0.171997] NET: Registered protocol family 16
    [    0.179911] DMA: preallocated 256 KiB pool for atomic allocations
    [    0.186556] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.200354] HugeTLB registered 16.0 GiB page size, pre-allocated 0 pages
    [    0.207214] HugeTLB registered 512 MiB page size, pre-allocated 0 pages
    [    0.213968] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.222012] cryptd: max_cpu_qlen set to 1000
    [    0.228706] iommu: Default domain type: Translated 
    [    0.233884] SCSI subsystem initialized
    [    0.238079] mc: Linux media interface: v0.10
    [    0.242464] videodev: Linux video capture interface: v2.00
    [    0.248071] pps_core: LinuxPPS API ver. 1 registered
    [    0.253136] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.262463] PTP clock support registered
    [    0.266473] EDAC MC: Ver: 3.0.0
    [    0.270279] FPGA manager framework
    [    0.273807] Advanced Linux Sound Architecture Driver Initialized.
    [    0.280497] clocksource: Switched to clocksource arch_sys_counter
    [    0.286905] VFS: Disk quotas dquot_6.6.0
    [    0.290970] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
    [    0.300716] thermal_sys: Registered thermal governor 'step_wise'
    [    0.300718] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.307041] NET: Registered protocol family 2
    [    0.318507] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes, linear)
    [    0.327278] TCP established hash table entries: 16384 (order: 1, 131072 bytes, linear)
    [    0.335438] TCP bind hash table entries: 16384 (order: 2, 262144 bytes, linear)
    [    0.343056] TCP: Hash tables configured (established 16384 bind 16384)
    [    0.349818] UDP hash table entries: 2048 (order: 0, 65536 bytes, linear)
    [    0.356713] UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes, linear)
    [    0.364144] NET: Registered protocol family 1
    [    0.369025] RPC: Registered named UNIX socket transport module.
    [    0.375083] RPC: Registered udp transport module.
    [    0.379884] RPC: Registered tcp transport module.
    [    0.384686] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.391269] PCI: CLS 0 bytes, default 64
    [    0.395603] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
    [    0.406085] Initialise system trusted keyrings
    [    0.410754] workingset: timestamp_bits=46 max_order=15 bucket_order=0
    [    0.419570] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.425897] NFS: Registering the id_resolver key type
    [    0.431083] Key type id_resolver registered
    [    0.435356] Key type id_legacy registered
    [    0.439452] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.446394] 9p: Installing v9fs 9p2000 file system support
    [    0.459166] Key type asymmetric registered
    [    0.463355] Asymmetric key parser 'x509' registered
    [    0.468360] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [    0.475912] io scheduler mq-deadline registered
    [    0.480532] io scheduler kyber registered
    [    0.485624] pinctrl-single 4301c000.pinmux: 94 pins, size 376
    [    0.491732] pinctrl-single 11c000.pinmux: 173 pins, size 692
    [    0.497909] pinctrl-single a40000.timesync_router: 512 pins, size 2048
    [    0.506811] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.513107] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.520960] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.534331] brd: module loaded
    [    0.541795] loop: module loaded
    [    0.546571] libphy: Fixed MDIO Bus: probed
    [    0.550940] tun: Universal TUN/TAP device driver, 1.6
    [    0.556363] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
    [    0.564370] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.570444] sky2: driver version 1.30
    [    0.574734] VFIO - User Level meta-driver version: 0.3
    [    0.580427] i2c /dev entries driver
    [    0.584439] sdhci: Secure Digital Host Controller Interface driver
    [    0.590751] sdhci: Copyright(c) Pierre Ossman
    [    0.595413] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.601590] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.608442] optee: probing for conduit method from DT.
    [    0.613706] optee: revision 3.11 (c4def2a8)
    [    0.614163] optee: initialized driver
    [    0.623312] NET: Registered protocol family 17
    [    0.627954] 9pnet: Installing 9P2000 support
    [    0.632353] Key type dns_resolver registered
    [    0.636903] registered taskstats version 1
    [    0.641096] Loading compiled-in X.509 certificates
    [    0.650244] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.656624] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.664147] ti-sci 44083000.dmsc: ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
    [    0.684211] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz
    [    0.690377] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz
    [    0.696534] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz
    [    0.702783] pca953x 3-0020: 3-0020 supply vcc not found, using dummy regulator
    [    0.710210] pca953x 3-0020: using no AI
    [    1.720498] omap_i2c 2000000.i2c: timeout waiting for bus ready
    [    1.726548] pca953x 3-0020: failed writing register
    [    1.731593] pca953x: probe of 3-0020 failed with error -16
    [    1.737341] pca953x 3-0022: 3-0022 supply vcc not found, using dummy regulator
    [    1.744760] pca953x 3-0022: using AI
    [    2.752495] omap_i2c 2000000.i2c: timeout waiting for bus ready
    [    2.758546] pca953x 3-0022: failed writing register
    [    2.763564] pca953x: probe of 3-0022 failed with error -16
    [    2.769222] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
    [    2.775351] pca953x 4-0020: 4-0020 supply vcc not found, using dummy regulator
    [    2.782783] pca953x 4-0020: using no AI
    [    2.808542] pca953x 4-0020: failed writing register
    [    2.813589] pca953x: probe of 4-0020 failed with error -121
    [    2.819341] omap_i2c 2010000.i2c: bus 4 rev0.12 at 400 kHz
    [    2.825360] omap_i2c 2020000.i2c: bus 5 rev0.12 at 100 kHz
    [    2.831372] omap_i2c 2030000.i2c: bus 6 rev0.12 at 100 kHz
    [    2.837431] omap_i2c 2040000.i2c: bus 7 rev0.12 at 100 kHz
    [    2.843451] omap_i2c 2050000.i2c: bus 8 rev0.12 at 100 kHz
    [    2.849457] omap_i2c 2060000.i2c: bus 9 rev0.12 at 100 kHz
    [    2.855528] ti-sci-intr bus@100000:bus@28380000:interrupt-controller2: Interrupt Router 137 domain created
    [    2.865499] ti-sci-intr bus@100000:interrupt-controller0: Interrupt Router 131 domain created
    [    2.874308] ti-sci-intr bus@100000:navss@30000000:interrupt-controller1: Interrupt Router 213 domain created
    [    2.884471] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain -1 created
    [    2.896421] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,32] sci-dev-id:235
    [    2.906308] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    2.913070] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    2.922575] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[120,200] sci-dev-id:211
    [    2.932737] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    2.939493] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    2.947381] printk: console [ttyS1] disabled
    [    2.951776] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 7, base_baud = 6000000) is a 8250
    [    2.960593] printk: console [ttyS1] enabled
    [    2.960593] printk: console [ttyS1] enabled
    [    2.969027] printk: bootconsole [ns16550a0] disabled
    [    2.969027] printk: bootconsole [ns16550a0] disabled
    [    2.979550] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 13, base_baud = 3000000) is a 8250
    [    2.988563] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 14, base_baud = 3000000) is a 8250
    [    3.164503] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 20000
    [    3.171980] libphy: 46000f00.mdio: probed
    [    3.187829] mdio_bus 46000f00.mdio: MDIO device at address 0 is missing.
    [    3.194546] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    3.207323] am65-cpsw-nuss 46000000.ethernet: Failed to request tx dma channel -517
    [    3.217157] random: fast init done
    [    3.220981] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0
    [    3.229604] mmc0: CQHCI version 5.10
    [    3.274139] mmc0: SDHCI controller on 4f80000.sdhci [4f80000.sdhci] using ADMA 64-bit
    [    3.286371] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc8900
    [    3.293254] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc8900
    [    3.300733] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    3.310713] ti-udma 31150000.dma-controller: Channels: 50 (tchan: 25, rchan: 25, gp-rflow: 8)
    ERROR:   Unhandled External Abort received on 0x80000001 from S-EL1
    ERROR:   exception reason=0 syndrome=0xbf000002
    Unhandled Exception from EL1
    x0             = 0xffff800018000022
    x1             = 0x0000000000000022
    x2             = 0xffff800010691e78
    x3             = 0xffff00005e530000
    x4             = 0x0000000000000002
    x5             = 0x0000000000000000
    x6             = 0x0000000000000002
    x7             = 0x0000000000000002
    x8             = 0x0000000000000008
    x9             = 0x0000000000000008
    x10            = 0x0101010101010101
    x11            = 0x0000000000000020
    x12            = 0x0000000000000001
    x13            = 0x02fe1af4686bee72
    x14            = 0xffffffffffffffff
    x15            = 0xffff00005e530528
    x16            = 0xffff800011c50000
    x17            = 0xffff00005e439a00
    x18            = 0x0000000000000001
    x19            = 0xffff00005c643098
    x20            = 0x0000000000000020
    x21            = 0x0000000000000002
    x22            = 0x0000000000000022
    x23            = 0xffff00005e530000
    x24            = 0x0000000000000025
    x25            = 0x0000000000000000
    x26            = 0xffff8000114cfce8
    x27            = 0x0000000000000000
    x28            = 0xffff800010ff1000
    x29            = 0xffff80001180f9c0
    x30            = 0xffff80001068c1a4
    scr_el3        = 0x000000000000073d
    sctlr_el3      = 0x0000000030cd183f
    cptr_el3       = 0x0000000000000000
    tcr_el3        = 0x0000000080803520
    daif           = 0x00000000000002c0
    mair_el3       = 0x00000000004404ff
    spsr_el3       = 0x0000000060000005
    elr_el3        = 0xffff800010691eec
    ttbr0_el3      = 0x0000000070010b00
    esr_el3        = 0x00000000bf000002
    far_el3        = 0x0000000000000000
    spsr_el1       = 0x0000000040000005
    elr_el1        = 0xffff800010086ca8
    spsr_abt       = 0x0000000000000000
    spsr_und       = 0x0000000000000000
    spsr_irq       = 0x0000000000000000
    spsr_fiq       = 0x0000000000000000
    sctlr_el1      = 0x0000000034d4d91d
    actlr_el1      = 0x0000000000000000
    cpacr_el1      = 0x0000000000300000
    csselr_el1     = 0x0000000000000000
    sp_el1         = 0xffff80001180f9c0
    esr_el1        = 0x0000000096000005
    ttbr0_el1      = 0x00000000830b0000
    ttbr1_el1      = 0x0000000082e00000
    mair_el1       = 0x0000bbff440c0400
    amair_el1      = 0x0000000000000000
    tcr_el1        = 0x00000034f5d07590
    tpidr_el1      = 0xffff80004ee80000
    tpidr_el0      = 0x0000000000000000
    tpidrro_el0    = 0x0000000000000000
    par_el1        = 0x0000000000000000
    mpidr_el1      = 0x0000000080000001
    afsr0_el1      = 0x0000000000000000
    afsr1_el1      = 0x0000000000000000
    contextidr_el1 = 0x0000000000000000
    vbar_el1       = 0xffff800010081800
    cntp_ctl_el0   = 0x0000000000000005
    cntp_cval_el0  = 0x000000005b0e257e
    cntv_ctl_el0   = 0x0000000000000000
    cntv_cval_el0  = 0x0000000000000000
    cntkctl_el1    = 0x00000000000000d6
    sp_el0         = 0x000000007000abd0
    isr_el1        = 0x0000000000000040
    dacr32_el2     = 0x0000000000000000
    ifsr32_el2     = 0x0000000000000000
    cpuectlr_el1   = 0x0000001b00000040
    cpumerrsr_el1  = 0x0000000000000000
    l2merrsr_el1   = 0x0000000000000000