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.

66AK2G12: starting kernel issue regarding memory allocation

Part Number: 66AK2G12

Hi,

I am porting the kernel and filesystem from k2g_evm board to my custom board with obviuosly the proper  modifications for periphericals. I am using Linux-rt SDK ver 06_01_00_08.

My DDR size is 256 MB and before u-boot relocation I have executed strees tests in order to ensure that DDR signals work well. The boot is executed via QSPI.

But kernel shows some problems at start-up; below the log:

U-Boot 2019.01-svn8 (Apr 30 2021 - 12:25:50 +0200)

CPU: 66AK2Gx-100 SR1.0
Model: Texas Instruments K2G SoC - Hitachi Propulsion Controller (HPC) board
Avvio u-boot entro 1 secondi

Clear entire DDR3 memory to enable ECC
256 MiB
MMC:
Loading Environment from FAT... In:    serial@02530c00
Out:   serial@02530c00
Err:   serial@02530c00
Net:   No ethernet found.
Hit any key to stop autoboot:  0
syntax error
No MMC device available
No MMC device available
SF: Detected n25q512ax3 with page size 256 Bytes, erase size 4 KiB, total 64 MiB
device 0 offset 0x240000, size 0x8040
SF: 32832 bytes @ 0x240000 Read: OK
K2_BM_15.07-53-ge1f885a SoC:k2g built:17:19:23, Oct 19 2019

## installed monitor @ 0xc0f7000, freq [24000000], status 202338304
device 0 offset 0x250000, size 0x8354
SF: 33620 bytes @ 0x250000 Read: OK
0 - Name:'pmmc@2900000' type:'internal memory mapped' supports: load start
Load Remote Processor 0 with data@addr=0x82000000 33620 bytes: Success!
device 0 offset 0x280000, size 0x800000
SF: 8388608 bytes @ 0x280000 Read: OK
device 0 offset 0x260000, size 0x8625
SF: 34341 bytes @ 0x260000 Read: OK
device 0 offset 0x200000, size 0x40000
SF: 262144 bytes @ 0x200000 Read: OK
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Ramdisk to 90000000, end 90000000 ... OK
   Loading Device Tree to 8df0d000, end 8df16e2f ... OK

start[0]: 0x80000000 - size[0]: 0x10000000
start[1]: 0x8ffc3dbc8df0d000 - size[1]: 0x7264646132687465
Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.19.59-rt24-g4203cb8c96 (root@ubuntu) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #3 SMP PREEMPT RT Tue May 26 15:26:26 CEST 2020
[    0.000000] CPU: ARMv7 Processor [412fc0f4] revision 4 (ARMv7), cr=30c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Texas Instruments K2G - Hitachi Propulsion Controller (HPC)
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Invalid address space for memory (800000000-ffffffffffffffff)
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created CMA memory pool at 0x000000080f800000, size 4 MiB
[    0.000000] OF: reserved mem: initialized node dsp-common-memory@80f800000, compatible id shared-dma-pool
[    0.000000] cma: Failed to reserve 48 MiB
[    0.000000] Kernel panic - not syncing: ERROR: Failed to allocate 0x0000000000002000 bytes below 0x0000000000000000.
[    0.000000]

 

It hangs after

[    0.000000] cma: Failed to reserve 48 MiB
[    0.000000] Kernel panic - not syncing: ERROR: Failed to allocate 0x0000000000002000 bytes below 0x0000000000000000.

that is last point before hanging but another problem is present some step before:

[    0.000000] Invalid address space for memory (800000000-ffffffffffffffff)

I am using the same zImage and filesystem used for k2g_evm because I have enabled all drivers needed for both boards but the .dtb is different according to my board pheripherals and DDR size. Below the first raw of my dts:

/ {
	compatible = "ti,k2g-ice", "ti,k2g", "ti,keystone";
	model = "Texas Instruments K2G - Hitachi Propulsion Controller (HPC)";

	memory@800000000 {
		device_type = "memory";
		reg = <0x00000008 0x00000000 0x00000000 0x10000000>;
	};

	reserved-memory {
		#address-cells = <2>;
		#size-cells = <2>;
		ranges;

		dsp_common_mpm_memory: dsp-common-mpm-memory@80d000000 {
			compatible = "ti,keystone-dsp-mem-pool";
			reg = <0x00000008 0x0d000000 0x00000000 0x800000>;
			no-map;
			status = "okay";
		};

		dsp_common_memory: dsp-common-memory@80f800000 {
			compatible = "shared-dma-pool";
			reg = <0x00000008 0x0f800000 0x00000000 0x400000>;
			reusable;
			status = "okay";
		};
	};

As you can see I have modified the value in reg paramer for dsp_common_mpm_memory and for dsp_common_memory because I suppose that default value are ok for k2g_evm/ice DDR size and not for my board. I have tried both configuration but the result is the same. Looking at other e2e question I have modified also k2g_evm_cmem.dtsi asl below 

/ {
	reserved-memory {

		cmem_block_mem_0: cmem_block_mem@808000000 {
			reg = <0x00000008 0x08000000 0x00000000 0x5000000>;
			no-map;
			status = "okay";
		};
	};

	cmem {
		compatible = "ti,cmem";
		#address-cells = <1>;
		#size-cells = <0>;

		#pool-size-cells = <2>;

		status = "okay";

		cmem_block_0: cmem_block@0 {
			reg = <0>;
			memory-region = <&cmem_block_mem_0>;
			cmem-buf-pools = <1 0x00000000 0x5000000>;
		};

		cmem_block_1: cmem_block@1 {
			reg = <1>;
			sram = <&sram_cmem>;
		};
	};
};

&msm_ram {
	sram_cmem: sram-cmem@a0000 {
		reg = <0xa0000 0x57000>;
	};
};

but no improvements.

I think that this problem is related how memory between ARM and DSP is manged but maybe I could be wrong or my dts setting is not correct. 

Please I wait for your feedback.

Regards

Graziano 

  • Hi,

    I will need to research your question. I think your analysis is correct in that there is a conflict with the kernel & DSP memory allocation. The EVM has 2GB of DDR on it and your board has 256MB. 

    Have you made changes to the u-boot in the mem size that is passed to the kernel during boot? 

    Best Regards,

    Schuyler

  • Hi,

    regarding your question, do you refer to u-boot/common/memsize.c? If yes, I have not done any modification to this source and it seems works well because it recognizes the actual DDR size. In u-boot shell I launch the command bdinfo where you can see the result below:

    => bdinfo
    arch_number = 0x00000000
    boot_params = 0x80000100
    DRAM bank   = 0x00000000
    -> start    = 0x80000000
    -> size     = 0x10000000
    baudrate    = 115200 bps
    TLB addr    = 0x8fff0000
    relocaddr   = 0x8ff5c000
    reloc off   = 0x83f5c000
    irq_sp      = 0x8df18880
    sp start    = 0x8df18870
    Early malloc usage: 134 / 400
    fdt_blob    = 0x8df18890
    

    where the size is  0x10000000 (256 MB) therefore I suppose that u-boot passes that rigth DDR size to kernel.

    But the first odd message in kernel log

    [    0.000000] Invalid address space for memory (800000000-ffffffffffffffff)
    

    is related to mem_end = memblock_end_of_DRAM(); in /linux/arch/arm/mac-keystone/keystone.c that effectively doe not recognize the top of available DDR.

    Compared to k2g_evm kernel log the right message shall be

    [    0.000000] Switching physical address space to 0x800000000

    Is bdinfo messages sufficient to ensure that DDR size is correct? If not, do you have any other method that you can tell me so I can try on my board and share the result to you?

    In any case, I am investigating memblock_end_of_DRAM() function in order to solve that first issue, maybe resolving this allow to solve the other kernel odd message and the relative hang:

    [    0.000000] cma: Failed to reserve 48 MiB
    [    0.000000] Kernel panic - not syncing: ERROR: Failed to allocate 0x0000000000002000 bytes below 0x0000000000000000.
    

    Hope this information also helps you in your troubleshooting.

    Regards

    Graziano

  • Hi,

    just to inform you that the above issues are resolved because I have restored some code in ft_board_setup() function in /u-boot/board/<myvendor>/<myboad>/board.c that I modified for trial during u-boot development.

    Now the kernel log hangs some steps later:

    U-Boot 2019.01-svn8 (May 04 2021 - 15:53:16 +0200)
    
    CPU: 66AK2Gx-100 SR1.0
    Model: Texas Instruments K2G SoC - Hitachi Propulsion Controller (HPC) board
    Avvio u-boot entro 1 secondi
    256 MiB
    MMC:
    Loading Environment from FAT... In:    serial@02530c00
    Out:   serial@02530c00
    Err:   serial@02530c00
    Net:   No ethernet found.
    Hit any key to stop autoboot:  0
    syntax error
    No MMC device available
    No MMC device available
    SF: Detected n25q512ax3 with page size 256 Bytes, erase size 4 KiB, total 64 MiB
    device 0 offset 0x240000, size 0x8040
    SF: 32832 bytes @ 0x240000 Read: OK
    K2_BM_15.07-53-ge1f885a SoC:k2g built:17:19:23, Oct 19 2019
    
    ## installed monitor @ 0xc0f7000, freq [24000000], status 202338304
    device 0 offset 0x250000, size 0x8354
    SF: 33620 bytes @ 0x250000 Read: OK
    0 - Name:'pmmc@2900000' type:'internal memory mapped' supports: load start
    Load Remote Processor 0 with data@addr=0x82000000 33620 bytes: Success!
    device 0 offset 0x280000, size 0x800000
    SF: 8388608 bytes @ 0x280000 Read: OK
    device 0 offset 0x260000, size 0x8625
    SF: 34341 bytes @ 0x260000 Read: OK
    device 0 offset 0x200000, size 0x40000
    SF: 262144 bytes @ 0x200000 Read: OK
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Ramdisk to 90000000, end 90000000 ... OK
       Loading Device Tree to 8df0e000, end 8df17e2f ... OK
    
    Starting kernel ...
    
    Uncompressing Linux... done, booting the kernel.
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.19.59-rt24-svn48 (root@ubuntu) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #9 SMP PREEMPT RT Tue May 4 15:56:55 CEST 2021
    [    0.000000] CPU: ARMv7 Processor [412fc0f4] revision 4 (ARMv7), cr=30c5387d
    [    0.000000] CPU: div instructions available: patching division code
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] OF: fdt: Machine model: Texas Instruments K2G - Hitachi Propulsion Controller (HPC)
    [    0.000000] bootconsole [earlycon0] enabled
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] idx: 0
    [    0.000000] memblock.memory.regions[idx].base 800000000
    [    0.000000] memblock.memory.regions[idx].size 10000000
    [    0.000000] mem_start 800000000
    [    0.000000] mem_end 810000000
    [    0.000000] Switching physical address space to 0x800000000
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000080f800000, size 8 MiB
    [    0.000000] OF: reserved mem: initialized node dsp-common-memory@80f800000, compatible id shared-dma-pool
    [    0.000000] cma: dma_contiguous_reserve(limit 7fffffff)
    [    0.000000] cma: dma_contiguous_reserve: reserving 48 MiB for global area
    [    0.000000] idx: 1
    [    0.000000] memblock.memory.regions[idx].base 80F800000
    [    0.000000] memblock.memory.regions[idx].size 00800000
    [    0.000000] cma: cma_declare_contiguous(size 0x0000000003000000, base 0x0000000000000000, limit 0x000000087fffffff alignment 0x0000000000000000)
    [    0.000000] cma: Reserved 48 MiB at 0x0000000805000000
    [    0.000000] idx: 1
    [    0.000000] memblock.memory.regions[idx].base 80F800000
    [    0.000000] memblock.memory.regions[idx].size 00800000
    [    0.000000] On node 0 totalpages: 34816
    [    0.000000]   DMA zone: 576 pages used for memmap
    [    0.000000]   DMA zone: 0 pages reserved
    [    0.000000]   DMA zone: 34816 pages, LIFO batch:7
    [    0.000000] Unable to handle kernel paging request at virtual address cdf0e000
    [    0.000000] pgd = (ptrval)
    [    0.000000] [cdf0e000] *pgd=80000800007003, *pmd=00000000
    [    0.000000] Internal error: Oops: 206 [#1] PREEMPT SMP ARM
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.19.59-rt24-svn48 #9
    [    0.000000] Hardware name: Keystone
    [    0.000000] PC is at fdt_check_header+0xc/0x80
    [    0.000000] LR is at __unflatten_device_tree+0x74/0x2a4
    [    0.000000] pc : [<c08b7e34>]    lr : [<c072dbcc>]    psr: 600000d3
    [    0.000000] sp : c1001ea8  ip : c1001eb8  fp : c1001eb4
    [    0.000000] r10: c1089b8c  r9 : 00000000  r8 : 00000000
    [    0.000000] r7 : c0e29570  r6 : cdf0e000  r5 : 00000000  r4 : c104b5b0
    [    0.000000] r3 : 00000000  r2 : c1089b8c  r1 : 00000000  r0 : cdf0e000
    [    0.000000] Flags: nZCv  IRQs off  FIQs off  Mode SVC_32  ISA ARM  Segment user
    [    0.000000] Control: 30c5387d  Table: 00003000  DAC: fffffffd
    [    0.000000] Process swapper (pid: 0, stack limit = 0x(ptrval))
    [    0.000000] Stack: (0xc1001ea8 to 0xc1002000)
    [    0.000000] 1ea0:                   c1001ee4 c1001eb8 c072dbcc c08b7e34 c0e29570 c0e29570
    [    0.000000] 1ec0: 00000000 00000008 c100b778 c107abd0 c104d040 c0e38a08 c1001f04 c1001ee8
    [    0.000000] 1ee0: c0e2a81c c072db64 00000000 c1001ef8 c0226680 c100a0c0 c1001f94 c1001f08
    [    0.000000] 1f00: c0e04c80 c0e2a7ec 00000000 00000000 00000000 00000000 ffffffff c0278f7c
    [    0.000000] 1f20: c0b5c724 c0e38a08 00000008 fffff000 c1015b38 0fffffff 8f800000 00000000
    [    0.000000] 1f40: 8fffffff 00000000 c1007488 00000000 30c0387d c1007480 c1001f84 c1001f68
    [    0.000000] 1f60: c02796dc 00000000 c1001f8c 00000000 00000000 30c0387d c1007480 00000000
    [    0.000000] 1f80: 412fc0f4 c1007488 c1001ff4 c1001f98 c0e00a40 c0e04284 00000000 00000000
    [    0.000000] 1fa0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 c0e40a38
    [    0.000000] 1fc0: 00000000 00000000 00000000 c0e00330 00000000 30c0387d 00000000 8df0e000
    [    0.000000] 1fe0: 412fc0f4 30c5387d 00000000 c1001ff8 00000000 c0e009d8 00000000 00000000
    [    0.000000] Backtrace:
    [    0.000000] [<c08b7e28>] (fdt_check_header) from [<c072dbcc>] (__unflatten_device_tree+0x74/0x2a4)
    [    0.000000] [<c072db58>] (__unflatten_device_tree) from [<c0e2a81c>] (unflatten_device_tree+0x3c/0x4c)
    [    0.000000]  r10:c0e38a08 r9:c104d040 r8:c107abd0 r7:c100b778 r6:00000008 r5:00000000
    [    0.000000]  r4:c0e29570 r3:c0e29570
    [    0.000000] [<c0e2a7e0>] (unflatten_device_tree) from [<c0e04c80>] (setup_arch+0xa08/0xca0)
    [    0.000000]  r4:c100a0c0
    [    0.000000] [<c0e04278>] (setup_arch) from [<c0e00a40>] (start_kernel+0x74/0x488)
    [    0.000000]  r10:c1007488 r9:412fc0f4 r8:00000000 r7:c1007480 r6:30c0387d r5:00000000
    [    0.000000]  r4:00000000
    [    0.000000] [<c0e009cc>] (start_kernel) from [<00000000>] (  (null))
    [    0.000000]  r10:30c5387d r9:412fc0f4 r8:8df0e000 r7:00000000 r6:30c0387d r5:00000000
    [    0.000000]  r4:c0e00330
    [    0.000000] Code: e89da800 e1a0c00d e92dd800 e24cb004 (e5903000)
    [    0.000000] ---[ end trace 0000000000000001 ]---
    [    0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
    
      

    Obviously I am starting to investigate this issue; if you have an idea about that let me know please.

    Regards

    Graziano

  • Hi,

    Could you try setting the Linux kernel size mem=208 in the opt_args in U-Boot? This still looks like a memory collision issue, since you want to reserve 48 for the CMEM space I would try suggesting subtracting 48 from the 256MB that is on the board.

    Best Regards,

    Schuyler

  • Hi,

    thank you for your suggestion but the result has not introduced any improvements. I have read again in https://software-dl.ti.com/processor-sdk-linux/esd/docs/06_01_00_08/linux/Foundational_Components_U-Boot.html#overview at "3.1.1.2.6. Available RAM for image download"

    and the top of the memory stack is defined at sp start (precisely sp start  - 1 MB) when launching bdinfo in u-boot shell. Therefore I have defined DSP and CMEM start address based on sp start  - 1 MB and growing downwards. In this way the issue is resolved at the moment. 

    For this problem the thread can be considered closed but I have another question so let me know if I have to open another thread. Just for information I report my question below.

    After mounting jffs2 filesystem, the kernel shows indefinetely log messages about random MAC address associated to eth port1 and port2 of PRU0.  See the log below:

    U-Boot 2019.01-svn8 (May 06 2021 - 12:01:22 +0200)
    
    CPU: 66AK2Gx-100 SR1.0
    Model: Texas Instruments K2G SoC - Hitachi Propulsion Controller (HPC) board
    Avvio u-boot entro 1 secondi
    256 MiB
    MMC:
    Loading Environment from FAT... In:    serial@02530c00
    Out:   serial@02530c00
    Err:   serial@02530c00
    Net:   No ethernet found.
    Hit any key to stop autoboot:  0
    syntax error
    No MMC device available
    No MMC device available
    SF: Detected n25q512ax3 with page size 256 Bytes, erase size 4 KiB, total 64 MiB
    device 0 offset 0x240000, size 0x8040
    SF: 32832 bytes @ 0x240000 Read: OK
    K2_BM_15.07-53-ge1f885a SoC:k2g built:17:19:23, Oct 19 2019
    
    ## installed monitor @ 0xc0f7000, freq [24000000], status 202338304
    device 0 offset 0x250000, size 0x8354
    SF: 33620 bytes @ 0x250000 Read: OK
    0 - Name:'pmmc@2900000' type:'internal memory mapped' supports: load start
    Load Remote Processor 0 with data@addr=0x82000000 33620 bytes: Success!
    device 0 offset 0x280000, size 0x800000
    SF: 8388608 bytes @ 0x280000 Read: OK
    device 0 offset 0x260000, size 0x8625
    SF: 34341 bytes @ 0x260000 Read: OK
    device 0 offset 0x200000, size 0x40000
    SF: 262144 bytes @ 0x200000 Read: OK
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Ramdisk to 90000000, end 90000000 ... OK
       Loading Device Tree to 8df0d000, end 8df17600 ... OK
    
    Starting kernel ...
    
    Uncompressing Linux... done, booting the kernel.
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.19.59-rt24-svn48 (root@ubuntu) (gcc version 8.3.0    (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #14 SM   P PREEMPT RT Thu May 6 15:02:52 CEST 2021
    [    0.000000] CPU: ARMv7 Processor [412fc0f4] revision 4 (ARMv7), cr=30c5387d
    [    0.000000] CPU: div instructions available: patching division code
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] OF: fdt: Machine model: Texas Instruments K2G - Hitachi Propulsion    Controller (HPC)
    [    0.000000] bootconsole [earlycon0] enabled
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] Switching physical address space to 0x800000000
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: incorrect alignment of CMA region
    [    0.000000] cma: Reserved 48 MiB at 0x0000000802c00000
    [    0.000000] random: get_random_bytes called from start_kernel+0xb0/0x488 with    crng_init=0
    [    0.000000] percpu: Embedded 16 pages/cpu s36064 r8192 d21280 u65536
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 34240
    [    0.000000] Kernel command line: console=ttyS0,115200n8 earlyprintk root=/dev/   mtdblock7 rw rootfstype=jffs2 rootwait
    [    0.000000] Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Memory: 67192K/139264K available (8192K kernel code, 261K rwdata,    1972K rodata, 2048K init, 267K bss, 22920K reserved, 49152K cma-reserved, 0K high   mem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (10208 kB)
    [    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (2048 kB)
    [    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 262 kB)
    [    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 268 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
    [    0.000000] rcu:     RCU priority boosting: priority 1 delay 500 ms.
    [    0.000000]  No expedited grace period (rcu_normal_after_boot).
    [    0.000000]  Tasks RCU enabled.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] GIC: Using split EOI/Deactivate mode
    [    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles:    0x588fe9dc0, max_idle_ns: 440795202592 ns
    [    0.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 439804   6511097ns
    [    0.000019] Switching to timer-based delay loop, resolution 41ns
    [    0.000209] keystone_timer_init: failed to get clock
    [    0.000228] Failed to initialize '/soc@0/timer@2210000': -517
    [    0.000609] Console: colour dummy device 80x30
    [    0.253707] Calibrating delay loop (skipped), value calculated using timer fre   quency.. 48.00 BogoMIPS (lpj=240000)
    [    0.253722] pid_max: default: 32768 minimum: 301
    [    0.253941] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.253952] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.255039] CPU: Testing write buffer coherency: ok
    [    0.255081] CPU0: Spectre v2: firmware did not set auxiliary control register    IBE bit, system vulnerable
    [    0.255468] /cpus/cpu@0 missing clock-frequency property
    [    0.304060] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.360464] Setting up static identity map for 0x80200000 - 0x80200138
    [    0.380411] rcu: Hierarchical SRCU implementation.
    [    0.441254] EFI services will not be available.
    [    0.460626] smp: Bringing up secondary CPUs ...
    [    0.465195] smp: Brought up 1 node, 1 CPU
    [    0.469236] SMP: Total of 1 processors activated (48.00 BogoMIPS).
    [    0.475460] CPU: All CPU(s) started in HYP mode.
    [    0.480109] CPU: Virtualization extensions available.
    [    0.486164] devtmpfs: initialized
    [    0.510956] VFP support v0.3: implementor 41 architecture 4 part 30 variant f    rev 0
    [    0.519328] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max   _idle_ns: 19112604462750000 ns
    [    0.529304] futex hash table entries: 256 (order: 2, 16384 bytes)
    [    0.537134] pinctrl core: initialized pinctrl subsystem
    [    0.543939] DMI not present or invalid.
    [    0.548598] NET: Registered protocol family 16
    [    0.557776] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.567928] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint r   egisters.
    [    0.576044] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.655963] v5_0_fixed: supplied by vmain_fixed
    [    0.661507] vdd_3v3_fixed: supplied by v5_0_fixed
    [    0.667110] vdd_1v8_fixed: supplied by v5_0_fixed
    [    0.672717] vdds_ddr_fixed: supplied by v5_0_fixed
    [    0.678400] vref_ddr_fixed: supplied by vdd_3v3_fixed
    [    0.684394] vtt_ddr_fixed: supplied by vdd_3v3_fixed
    [    0.690242] vdd_0v9_fixed: supplied by v5_0_fixed
    [    0.699697] SCSI subsystem initialized
    [    0.704548] pps_core: LinuxPPS API ver. 1 registered
    [    0.709551] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giomet   ti <giometti@linux.it>
    [    0.718806] PTP clock support registered
    [    0.722789] EDAC MC: Ver: 3.0.0
    [    0.743710] clocksource: Switched to clocksource arch_sys_counter
    [    0.771647] NET: Registered protocol family 2
    [    0.777493] tcp_listen_portaddr_hash hash table entries: 128 (order: 0, 4096 b   ytes)
    [    0.785354] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.792413] TCP bind hash table entries: 2048 (order: 3, 57344 bytes)
    [    0.799068] TCP: Hash tables configured (established 2048 bind 2048)
    [    0.805720] UDP hash table entries: 256 (order: 2, 16384 bytes)
    [    0.811731] UDP-Lite hash table entries: 256 (order: 2, 16384 bytes)
    [    0.818748] NET: Registered protocol family 1
    [    0.874070] RPC: Registered named UNIX socket transport module.
    [    0.880038] RPC: Registered udp transport module.
    [    0.884872] RPC: Registered tcp transport module.
    [    0.889611] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.897321] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counter   s available
    [    0.907238] platform alarmtimer: set dma_pfn_offset00780000
    [    0.914615] Initialise system trusted keyrings
    [    0.919482] workingset: timestamp_bits=14 max_order=15 bucket_order=1
    [    0.941425] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.964479] NFS: Registering the id_resolver key type
    [    0.969611] Key type id_resolver registered
    [    0.973887] Key type id_legacy registered
    [    0.978043] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.982910] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
    [    0.995883] Key type asymmetric registered
    [    1.000020] Asymmetric key parser 'x509' registered
    [    1.005285] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 24   7)
    [    1.012740] io scheduler noop registered
    [    1.016801] io scheduler deadline registered
    [    1.021616] io scheduler cfq registered (default)
    [    1.026453] io scheduler mq-deadline registered
    [    1.031022] io scheduler kyber registered
    [    1.036355] keystone_irq 26202a0.keystone_irq: irqchip registered, nr_irqs 28
    [    1.046211] pinctrl-single 2621000.pinmux: please update dts to use #pinctrl-c   ells = <1>
    [    1.055186] pinctrl-single 2621000.pinmux: 260 pins, size 1040
    [    1.205159] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    1.211752] platform serial8250: set dma_pfn_offset00780000
    [    1.250944] brd: module loaded
    [    1.276912] loop: module loaded
    [    1.287783] platform Fixed MDIO bus.0: set dma_pfn_offset00780000
    [    1.294498] libphy: Fixed MDIO Bus: probed
    [    1.303327] i2c /dev entries driver
    [    1.317065] NET: Registered protocol family 10
    [    1.334672] Segment Routing with IPv6
    [    1.338552] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    1.346040] NET: Registered protocol family 17
    [    1.350773] Key type dns_resolver registered
    [    1.355382] Registering SWP/SWPB emulation handler
    [    1.361616] Loading compiled-in X.509 certificates
    [    1.369462] davinci_gpio 2603000.gpio: Error -517 getting gpio clock
    [    1.378314] davinci_gpio 260a000.gpio: Error -517 getting gpio clock
    [    1.398246] ti-sci 2921c00.pmmc: ABI: 2.4 (firmware rev 0x0011 '0.1.1-50-g129e   f (Eagle)')
    [    1.433076] random: fast init done
    [    1.572688] ti-sci-clk 2921c00.pmmc:clocks: get-parent failed for dev=76, clk=   11, ret=-19
    [    1.581171] ti-sci-clk 2921c00.pmmc:clocks: get-parent failed for dev=76, clk=   11, ret=-19
    [    1.590100] ti-sci-clk 2921c00.pmmc:clocks: get-parent failed for dev=76, clk=   11, ret=-19
    [    1.616400] keystone timer clock @100000000 Hz
    [    1.654772] edma 2700000.edma: TI EDMA DMA engine driver
    [    1.661727] edma 2728000.edma: memcpy is disabled
    [    1.677327] edma 2728000.edma: TI EDMA DMA engine driver
    [    1.687371] lm90 1-004c: 1-004c supply vcc not found, using dummy regulator
    [    1.694637] lm90 1-004c: Linked as a consumer to regulator.0
    [    1.712772] rtc-ds3232 2-0068: rtc core: registered ds3232 as rtc0
    [    1.725719] console [ttyS0] disabled
    [    1.729379] 2530c00.serial: ttyS0 at MMIO 0x2530c00 (irq = 24, base_baud = 120   00000) is a TI DA8xx/66AK2x
    [    1.739118] console [ttyS0] enabled
    [    1.739118] console [ttyS0] enabled
    [    1.746174] bootconsole [earlycon0] disabled
    [    1.746174] bootconsole [earlycon0] disabled
    [    1.758374] cadence-qspi 2940000.qspi: n25q512ax3 (65536 Kbytes)
    [    1.764523] 8 fixed-partitions partitions found on MTD device 2940000.qspi.0
    [    1.771567] Creating 8 MTD partitions on "2940000.qspi.0":
    [    1.777058] 0x000000000000-0x000000100000 : "MLO"
    [    1.784249] 0x000000100000-0x000000200000 : "u-boot.img"
    [    1.791745] 0x000000200000-0x000000240000 : "fdt"
    [    1.798628] 0x000000240000-0x000000250000 : "skern-k2g.bin"
    [    1.806410] 0x000000250000-0x000000260000 : "ti-sci-firmware"
    [    1.814443] 0x000000260000-0x000000280000 : "k2-fw-initrd.cpio.gz"
    [    1.822783] 0x000000280000-0x000000a80000 : "kernel"
    [    1.829931] 0x000000a80000-0x000004000000 : "file-system"
    [    1.839562] spi_davinci 21805400.spi: DMA is not supported (-19)
    [    1.846800] spi_davinci 21805400.spi: Controller at 0x(ptrval)
    [    1.854568] spi_davinci 21805800.spi: DMA is not supported (-19)
    [    1.861791] spi_davinci 21805800.spi: Controller at 0x(ptrval)
    [    1.869369] spi_davinci 21805c00.spi: DMA is not supported (-19)
    [    1.876113] spi_davinci 21805c00.spi: Controller at 0x(ptrval)
    [    1.883666] spi_davinci 21806000.spi: DMA is not supported (-19)
    [    1.890414] spi_davinci 21806000.spi: Controller at 0x(ptrval)
    [    1.898501] rtc-ds3232 2-0068: setting system clock to 2021-05-07 09:01:59 UTC    (1620378119)
    [    1.937748] vddb_fixed: disabling
    [    5.289440] VFS: Mounted root (jffs2 filesystem) on device 31:7.
    [    5.296003] devtmpfs: mounted
    [    5.304887] Freeing unused kernel memory: 2048K
    [    5.309613] Run /sbin/init as init process
    [    5.837966] random: crng init done
    INIT: version 2.88 booting
    Framebuffer /dev/fb0 not detected
    Boot splashscreen disabled
    [    9.090165] Key type cifs.idmap registered
    [    9.978452] NET: Registered protocol family 38
    [   10.279463] usbcore: registered new interface driver usbfs
    [   10.285090] usbcore: registered new interface driver hub
    [   10.290601] usbcore: registered new device driver usb
    [   10.461369] registered dspmem misc device
    [   10.593756] davinci_mdio 20ab2400.mdio: davinci mdio revision 1.6, bus freq 25   00000
    [   10.601417] libphy: 20ab2400.mdio: probed
    [   10.661764] mdio_bus 20ab2400.mdio: MDIO device at address 1 is missing.
    [   10.668553] davinci_mdio 20ab2400.mdio: phy[0]: device 20ab2400.mdio:00, drive   r unknown
    [   10.779141]
    [   10.780645] =================================================
    [   10.786640] mtd_oobtest: Please specify a valid mtd-device via module paramete   r
    [   10.793992] mtd_oobtest: CAREFUL: This test wipes all data on the specified MT   D device!
    [   10.804081]
    [   10.805582] =================================================
    [   10.811323] mtd_oobtest: Please specify a valid mtd-device via module paramete   r
    [   10.819279] mtd_oobtest: CAREFUL: This test wipes all data on the specified MT   D device!
    [   10.859435]
    [   10.860940] =================================================
    [   10.867871] mtd_pagetest: Please specify a valid mtd-device via module paramet   er
    [   10.876303] mtd_pagetest: CAREFUL: This test wipes all data on the specified M   TD device!
    [   10.887172]
    [   10.888673] =================================================
    [   10.894583] mtd_pagetest: Please specify a valid mtd-device via module paramet   er
    [   10.902004] mtd_pagetest: CAREFUL: This test wipes all data on the specified M   TD device!
    [   10.937839]
    [   10.939346] =================================================
    [   10.945306] mtd_readtest: Please specify a valid mtd-device via module paramet   er
    [   10.954570]
    [   10.956071] =================================================
    [   10.961813] mtd_readtest: Please specify a valid mtd-device via module paramet   er
    [   10.999109]
    [   11.000613] =================================================
    [   11.006516] mtd_speedtest: Please specify a valid mtd-device via module parame   ter
    [   11.014129] mtd_speedtest: CAREFUL: This test wipes all data on the specified    MTD device!
    [   11.024949]
    [   11.026451] =================================================
    [   11.032192] mtd_speedtest: Please specify a valid mtd-device via module parame   ter
    [   11.039722] mtd_speedtest: CAREFUL: This test wipes all data on the specified    MTD device!
    [   11.075477]
    [   11.076984] =================================================
    [   11.082726] mtd_stresstest: Please specify a valid mtd-device via module param   eter
    [   11.090534] mtd_stresstest: CAREFUL: This test wipes all data on the specified    MTD device!
    [   11.101128]
    [   11.102630] =================================================
    [   11.108743] mtd_stresstest: Please specify a valid mtd-device via module param   eter
    [   11.116350] mtd_stresstest: CAREFUL: This test wipes all data on the specified    MTD device!
    [   11.153318]
    [   11.155060] =================================================
    [   11.160806] mtd_subpagetest: Please specify a valid mtd-device via module para   meter
    [   11.169227] mtd_subpagetest: CAREFUL: This test wipes all data on the specifie   d MTD device!
    [   11.180235]
    [   11.181735] =================================================
    [   11.188705] mtd_subpagetest: Please specify a valid mtd-device via module para   meter
    [   11.197219] mtd_subpagetest: CAREFUL: This test wipes all data on the specifie   d MTD device!
    [   11.238753]
    [   11.240258] =================================================
    [   11.247211] mtd_torturetest: Warning: this program is trying to wear out your    flash, stop it if this is not wanted.
    [   11.258613] mtd_torturetest: Please specify a valid mtd-device via module para   meter
    [   11.267148] mtd_torturetest: CAREFUL: This test wipes all data on the specifie   d MTD device!
    [   11.278328]
    [   11.279829] =================================================
    [   11.286560] mtd_torturetest: Warning: this program is trying to wear out your    flash, stop it if this is not wanted.
    [   11.297913] mtd_torturetest: Please specify a valid mtd-device via module para   meter
    [   11.306419] mtd_torturetest: CAREFUL: This test wipes all data on the specifie   d MTD device!
    [   11.345421] mtd_nandecctest: ok - no-bit-error-256
    [   11.350228] mtd_nandecctest: ok - single-bit-error-in-data-correct-256
    [   11.357076] mtd_nandecctest: ok - single-bit-error-in-ecc-correct-256
    [   11.363518] __nand_correct_data: uncorrectable ECC error
    [   11.369063] mtd_nandecctest: ok - double-bit-error-in-data-detect-256
    [   11.375650] __nand_correct_data: uncorrectable ECC error
    [   11.380964] mtd_nandecctest: ok - single-bit-error-in-data-and-ecc-detect-256
    [   11.388168] __nand_correct_data: uncorrectable ECC error
    [   11.393481] mtd_nandecctest: ok - double-bit-error-in-ecc-detect-256
    [   11.399932] mtd_nandecctest: ok - no-bit-error-512
    [   11.404864] mtd_nandecctest: ok - single-bit-error-in-data-correct-512
    [   11.411441] mtd_nandecctest: ok - single-bit-error-in-ecc-correct-512
    [   11.417965] __nand_correct_data: uncorrectable ECC error
    [   11.423275] mtd_nandecctest: ok - double-bit-error-in-data-detect-512
    [   11.429714] __nand_correct_data: uncorrectable ECC error
    [   11.435027] mtd_nandecctest: ok - single-bit-error-in-data-and-ecc-detect-512
    [   11.442158] __nand_correct_data: uncorrectable ECC error
    [   11.447467] mtd_nandecctest: ok - double-bit-error-in-ecc-detect-512
    [   11.482266]
    [   11.484037] ==================================================
    [   11.489873] mtd_nandbiterrs: MTD device: 0
    [   11.494139] mtd_nandbiterrs: this test requires NAND flash
    [   11.501322]
    [   11.502821] ==================================================
    [   11.508731] mtd_nandbiterrs: MTD device: 0
    [   11.512829] mtd_nandbiterrs: this test requires NAND flash
    [   11.663674] remoteproc remoteproc0: 20ab4000.pru is available
    [   11.670968] pru-rproc 20ab4000.pru: PRU rproc node pru@20ab4000 probed success   fully
    [   11.679817] remoteproc remoteproc1: 20ab8000.pru is available
    [   11.685867] pru-rproc 20ab8000.pru: PRU rproc node pru@20ab8000 probed success   fully
    [   11.694306] remoteproc remoteproc2: 20af4000.pru is available
    [   11.700276] pru-rproc 20af4000.pru: PRU rproc node pru@20af4000 probed success   fully
    [   11.708523] remoteproc remoteproc3: 20af8000.pru is available
    [   11.714516] pru-rproc 20af8000.pru: PRU rproc node pru@20af8000 probed success   fully
    [   11.758556] prueth pruss0_eth: port 1: using random MAC addr: 0a:45:5b:7f:50:5   8
    [   11.767289] prueth pruss0_eth: port 2: using random MAC addr: b2:2e:b1:a5:12:3   e
    [   11.774636] prueth pruss0_eth: freeing port 0
    [   11.781266] prueth pruss0_eth: port 1: using random MAC addr: b6:85:25:45:c3:7   4
    [   11.794643] prueth pruss0_eth: port 2: using random MAC addr: 56:3d:7f:1d:81:8   1
    [   11.801991] prueth pruss0_eth: freeing port 0
    [   11.831580] prueth pruss0_eth: port 1: using random MAC addr: 7e:f7:43:f0:75:3   d
    [   11.849609] prueth pruss0_eth: port 2: using random MAC addr: ea:55:2b:a0:83:3   1
    [   11.875429] prueth pruss0_eth: freeing port 0
    [   11.883390] prueth pruss0_eth: port 1: using random MAC addr: c2:77:8a:f4:2c:e   e
    [   11.907618] prueth pruss0_eth: port 2: using random MAC addr: 02:d0:bf:1a:7f:8   3
    [   11.925173] prueth pruss0_eth: freeing port 0
    [   11.933028] prueth pruss0_eth: port 1: using random MAC addr: de:a9:41:b5:2b:c   5
    [   11.951235] prueth pruss0_eth: port 2: using random MAC addr: b6:d4:71:9e:1f:e   7
    [   11.966211] prueth pruss0_eth: freeing port 0
    [   11.984092] prueth pruss0_eth: port 1: using random MAC addr: ee:b8:ec:b8:1d:b   9
    [   11.993436] prueth pruss0_eth: port 2: using random MAC addr: 5e:13:00:c6:70:3   f
    [   12.009398] prueth pruss0_eth: freeing port 0
    [   12.027759] prueth pruss0_eth: port 1: using random MAC addr: 2e:75:96:02:dc:2   7
    [   12.044897] prueth pruss0_eth: port 2: using random MAC addr: 56:5f:5a:d7:51:7   f
    [   12.052241] prueth pruss0_eth: freeing port 0
    [   12.067321] prueth pruss0_eth: port 1: using random MAC addr: ee:6a:ef:19:8d:1   c
    [   12.079694] prueth pruss0_eth: port 2: using random MAC addr: 7a:4c:7c:a0:c1:8   4
    [   12.094495] prueth pruss0_eth: freeing port 0
    [   12.107260] prueth pruss0_eth: port 1: using random MAC addr: 9e:57:77:08:05:3   3
    [   12.127415] prueth pruss0_eth: port 2: using random MAC addr: ba:38:05:e0:da:1   f
    [   12.141642] prueth pruss0_eth: freeing port 0
    [   12.155873] prueth pruss0_eth: port 1: using random MAC addr: b6:b1:bc:8a:0e:b   3
    [   12.165579] CAN device driver interface
    [   12.172186] prueth pruss0_eth: port 2: using random MAC addr: 6a:03:45:b5:14:a   8
    [   12.195598] prueth pruss0_eth: freeing port 0
    [   12.206148] prueth pruss0_eth: port 1: using random MAC addr: 82:8f:07:45:41:6   7
    [   12.224216] prueth pruss0_eth: port 2: using random MAC addr: 1e:35:66:89:84:7   9
    [   12.233079] prueth pruss0_eth: freeing port 0
    [   12.246663] prueth pruss0_eth: port 1: using random MAC addr: 36:3a:b9:fb:96:1   b
    [   12.286011] prueth pruss0_eth: port 2: using random MAC addr: e6:14:be:ac:5e:0   8
    [   12.293356] prueth pruss0_eth: freeing port 0
    [   12.320615] prueth pruss0_eth: port 1: using random MAC addr: a2:95:ba:e0:70:e   1
    [   12.345288] prueth pruss0_eth: port 2: using random MAC addr: b2:a2:38:90:ad:5   6
    [   12.352638] prueth pruss0_eth: freeing port 0
    [   12.368658] c_can_platform 260b200.can: c_can_platform device registered (regs   =d8544112, irq=25)
    [   12.370602] prueth pruss0_eth: port 1: using random MAC addr: 8e:25:1a:c9:4c:a   9
    [   12.374564] prueth pruss0_eth: port 2: using random MAC addr: c2:da:48:a8:5c:2   a
    [   12.374606] prueth pruss0_eth: freeing port 0
    [   12.376769] prueth pruss0_eth: port 1: using random MAC addr: 32:41:21:52:ec:b   b
    [   12.377844] prueth pruss0_eth: port 2: using random MAC addr: 06:bc:eb:60:20:3   8
    [   12.377881] prueth pruss0_eth: freeing port 0
    [   12.379995] prueth pruss0_eth: port 1: using random MAC addr: 82:bd:8f:be:74:1   0
    [   12.381050] prueth pruss0_eth: port 2: using random MAC addr: 7e:59:3f:07:43:3   2
    [   12.381087] prueth pruss0_eth: freeing port 0
    [   12.383173] prueth pruss0_eth: port 1: using random MAC addr: 6a:9c:a5:88:48:7   0
    [   12.394517] prueth pruss0_eth: port 2: using random MAC addr: 32:df:af:ce:23:3   7
    [   12.394555] prueth pruss0_eth: freeing port 0
    [   12.396670] prueth pruss0_eth: port 1: using random MAC addr: d2:1e:9a:4f:bd:a   c
    [   12.397727] prueth pruss0_eth: port 2: using random MAC addr: 56:54:e9:a0:a9:8   4
    [   12.397764] prueth pruss0_eth: freeing port 0
    [   12.399855] prueth pruss0_eth: port 1: using random MAC addr: fe:78:85:ba:28:b   2
    [   12.400906] prueth pruss0_eth: port 2: using random MAC addr: fe:2b:09:e9:11:2   d
    [   12.400941] prueth pruss0_eth: freeing port 0
    [   12.403025] prueth pruss0_eth: port 1: using random MAC addr: 86:2b:c0:8d:e0:2   b
    [   12.415334] prueth pruss0_eth: port 2: using random MAC addr: d2:89:60:c3:52:9   b
    [   12.415372] prueth pruss0_eth: freeing port 0
    [   12.417546] prueth pruss0_eth: port 1: using random MAC addr: 2e:69:e4:bb:57:d   7
    [   12.418701] prueth pruss0_eth: port 2: using random MAC addr: b6:d9:70:99:6e:7   6
    [   12.418741] prueth pruss0_eth: freeing port 0
    [   12.420849] prueth pruss0_eth: port 1: using random MAC addr: be:c9:02:e8:3f:0   2
    [   12.421910] prueth pruss0_eth: port 2: using random MAC addr: 16:d4:6c:67:c6:7   2
    [   12.421946] prueth pruss0_eth: freeing port 0
    [   12.434172] prueth pruss0_eth: port 1: using random MAC addr: 7e:56:29:7e:09:6   4
    [   12.435229] prueth pruss0_eth: port 2: using random MAC addr: 12:20:00:bd:7f:5   1
    [   12.435266] prueth pruss0_eth: freeing port 0
    [   12.437371] prueth pruss0_eth: port 1: using random MAC addr: 1e:57:da:8e:b4:f   d
    [   12.438430] prueth pruss0_eth: port 2: using random MAC addr: 2a:da:c7:08:60:7   2
    [   12.438466] prueth pruss0_eth: freeing port 0
    [   12.440570] prueth pruss0_eth: port 1: using random MAC addr: e2:9e:89:9c:fb:d   2
    [   12.441620] prueth pruss0_eth: port 2: using random MAC addr: 8a:12:6d:b5:f3:4   6
    [   12.441656] prueth pruss0_eth: freeing port 0
    [   12.453849] prueth pruss0_eth: port 1: using random MAC addr: 46:bf:d2:49:bb:f   8
    [   12.454902] prueth pruss0_eth: port 2: using random MAC addr: a6:6e:2f:53:3b:e   c
    [   12.454938] prueth pruss0_eth: freeing port 0
    [   12.457024] prueth pruss0_eth: port 1: using random MAC addr: 82:89:dc:e6:24:3   a
    [   12.458075] prueth pruss0_eth: port 2: using random MAC addr: e6:0d:6b:72:a3:7   2
    [   12.458111] prueth pruss0_eth: freeing port 0
    [   12.460187] prueth pruss0_eth: port 1: using random MAC addr: 2a:c5:86:2a:c6:c   3
    [   12.461235] prueth pruss0_eth: port 2: using random MAC addr: ee:58:76:39:b7:f   e
    [   12.461270] prueth pruss0_eth: freeing port 0
    [   12.463341] prueth pruss0_eth: port 1: using random MAC addr: 16:5b:ce:fa:91:3   9
    [   12.475227] prueth pruss0_eth: port 2: using random MAC addr: 7a:4c:54:91:65:3   d
    [   12.475265] prueth pruss0_eth: freeing port 0
    [   12.477457] prueth pruss0_eth: port 1: using random MAC addr: 12:8f:66:28:d8:4   d
    [   12.478544] prueth pruss0_eth: port 2: using random MAC addr: ba:c0:b4:b4:67:3   4
    [   12.478580] prueth pruss0_eth: freeing port 0
    [   12.480697] prueth pruss0_eth: port 1: using random MAC addr: de:21:29:21:cb:9   d
    [   12.481775] prueth pruss0_eth: port 2: using random MAC addr: 6a:77:8b:95:56:4   2
    [   12.481811] prueth pruss0_eth: freeing port 0
    [   12.494225] prueth pruss0_eth: port 1: using random MAC addr: 82:67:68:0f:87:e   6
    [   12.495350] prueth pruss0_eth: port 2: using random MAC addr: 52:17:09:d9:a7:d   c
    [   12.495388] prueth pruss0_eth: freeing port 0
    [   12.497512] prueth pruss0_eth: port 1: using random MAC addr: 96:95:9b:9d:f9:a   a
    [   12.498583] prueth pruss0_eth: port 2: using random MAC addr: de:93:6d:87:bd:f   0
    [   12.498621] prueth pruss0_eth: freeing port 0
    [   12.500731] prueth pruss0_eth: port 1: using random MAC addr: 36:f8:ec:87:bc:7   9
    [   12.501808] prueth pruss0_eth: port 2: using random MAC addr: 1a:d8:f2:ef:1d:7   5
    [   12.501846] prueth pruss0_eth: freeing port 0
    [   12.514260] prueth pruss0_eth: port 1: using random MAC addr: 3e:7d:1d:61:f1:7   2
    [   12.515456] prueth pruss0_eth: port 2: using random MAC addr: 66:7e:2a:df:5d:4   d
    [   12.515493] prueth pruss0_eth: freeing port 0
    [   12.517663] prueth pruss0_eth: port 1: using random MAC addr: e2:8c:3d:a6:13:8   3
    [   12.518810] prueth pruss0_eth: port 2: using random MAC addr: 1a:c8:4a:4f:82:c   a
    [   12.518847] prueth pruss0_eth: freeing port 0
    [   12.521006] prueth pruss0_eth: port 1: using random MAC addr: 9e:57:0a:de:54:e   3
    [   12.522145] prueth pruss0_eth: port 2: using random MAC addr: 82:46:e9:02:b3:1   2
    [   12.522183] prueth pruss0_eth: freeing port 0
    [   12.534449] prueth pruss0_eth: port 1: using random MAC addr: 82:05:42:54:1c:3   f
    [   12.535634] prueth pruss0_eth: port 2: using random MAC addr: 3e:3a:af:05:5a:d   8
    [   12.535673] prueth pruss0_eth: freeing port 0
    [   12.537919] prueth pruss0_eth: port 1: using random MAC addr: be:2c:ac:28:e5:2   3
    [   12.539051] prueth pruss0_eth: port 2: using random MAC addr: 96:2f:cd:2d:26:9   a
    [   12.539088] prueth pruss0_eth: freeing port 0
    [   12.541254] prueth pruss0_eth: port 1: using random MAC addr: 4a:0f:04:f8:63:5   c
    [   12.542482] prueth pruss0_eth: port 2: using random MAC addr: 16:f1:2a:ff:71:4   7
    [   12.542518] prueth pruss0_eth: freeing port 0
    [   12.554767] prueth pruss0_eth: port 1: using random MAC addr: ae:df:b2:1e:e6:b   4
    [   12.555871] prueth pruss0_eth: port 2: using random MAC addr: 8a:38:64:dd:39:7   e
    [   12.555909] prueth pruss0_eth: freeing port 0
    [   12.558045] prueth pruss0_eth: port 1: using random MAC addr: 7a:27:2d:90:26:7   6
    [   12.559102] prueth pruss0_eth: port 2: using random MAC addr: 2a:e6:a2:7a:33:4   e
    [   12.559138] prueth pruss0_eth: freeing port 0
    [   12.561231] prueth pruss0_eth: port 1: using random MAC addr: ea:c3:5e:13:12:c   1
    [   12.562283] prueth pruss0_eth: port 2: using random MAC addr: 12:7b:b6:1c:0e:5   d
    [   12.562319] prueth pruss0_eth: freeing port 0
    [   12.574517] prueth pruss0_eth: port 1: using random MAC addr: 1a:6a:95:d9:7a:c   1
    [   12.575568] prueth pruss0_eth: port 2: using random MAC addr: 72:75:df:2d:16:2   3
    [   12.575604] prueth pruss0_eth: freeing port 0
    [   12.577700] prueth pruss0_eth: port 1: using random MAC addr: b2:ae:e4:da:e9:3   d
    [   12.578749] prueth pruss0_eth: port 2: using random MAC addr: e2:67:b2:34:ba:7   4
    [   12.578785] prueth pruss0_eth: freeing port 0
    [   12.580860] prueth pruss0_eth: port 1: using random MAC addr: 82:b0:a7:d9:fe:7   7
    [   12.581908] prueth pruss0_eth: port 2: using random MAC addr: ca:75:2d:fb:fc:e   6
    [   12.581943] prueth pruss0_eth: freeing port 0
    [   12.594133] prueth pruss0_eth: port 1: using random MAC addr: 0a:14:53:f4:82:a   c
    [   12.595185] prueth pruss0_eth: port 2: using random MAC addr: 42:f3:1c:5c:27:2   c
    [   12.595220] prueth pruss0_eth: freeing port 0
    [   12.597306] prueth pruss0_eth: port 1: using random MAC addr: 0e:76:fa:b1:51:0   7
    [   12.598358] prueth pruss0_eth: port 2: using random MAC addr: 62:7f:e4:d4:93:f   f
    [   12.598393] prueth pruss0_eth: freeing port 0
    [   12.600478] prueth pruss0_eth: port 1: using random MAC addr: fe:38:5b:10:3c:6   6
    [   12.601527] prueth pruss0_eth: port 2: using random MAC addr: ea:68:92:14:29:9   9
    [   12.601562] prueth pruss0_eth: freeing port 0
    [   12.603627] prueth pruss0_eth: port 1: using random MAC addr: 2a:af:01:53:fd:0   5
    [   12.615273] prueth pruss0_eth: port 2: using random MAC addr: 6e:16:e1:3f:e3:0   c
    [   12.615310] prueth pruss0_eth: freeing port 0
    [   12.617409] prueth pruss0_eth: port 1: using random MAC addr: 46:14:d1:ad:55:9   1
    [   12.618462] prueth pruss0_eth: port 2: using random MAC addr: 4a:94:9e:9a:8a:3   9
    [   12.618499] prueth pruss0_eth: freeing port 0
    [   12.620581] prueth pruss0_eth: port 1: using random MAC addr: 86:6e:77:16:16:1   0
    [   12.621631] prueth pruss0_eth: port 2: using random MAC addr: 6a:78:85:f8:c9:3   9
    [   12.621667] prueth pruss0_eth: freeing port 0
    [   12.633857] prueth pruss0_eth: port 1: using random MAC addr: a6:94:ab:84:df:6   8
    [   12.634912] prueth pruss0_eth: port 2: using random MAC addr: 86:55:fd:99:66:6   4
    [   12.634948] prueth pruss0_eth: freeing port 0
    [   12.637033] prueth pruss0_eth: port 1: using random MAC addr: 22:7b:e2:88:35:8   1
    [   12.638089] prueth pruss0_eth: port 2: using random MAC addr: b6:f9:3a:64:a3:e   4
    [   12.638126] prueth pruss0_eth: freeing port 0
    [   12.640205] prueth pruss0_eth: port 1: using random MAC addr: be:25:b4:8b:8b:5   f
    [   12.641252] prueth pruss0_eth: port 2: using random MAC addr: 96:e8:d9:30:66:0   2
    [   12.641288] prueth pruss0_eth: freeing port 0
    [   12.643356] prueth pruss0_eth: port 1: using random MAC addr: 22:b9:ac:68:c4:9   1
    [   12.654490] prueth pruss0_eth: port 2: using random MAC addr: b6:a3:65:dc:1e:e   e
    [   12.654528] prueth pruss0_eth: freeing port 0
    [   12.656612] prueth pruss0_eth: port 1: using random MAC addr: 6e:9c:6e:2f:b5:1   1
    [   12.657667] prueth pruss0_eth: port 2: using random MAC addr: ea:34:85:b2:aa:e   7
    [   12.657703] prueth pruss0_eth: freeing port 0
    [   12.659773] prueth pruss0_eth: port 1: using random MAC addr: 12:72:7a:d4:00:5   e
    [   12.660821] prueth pruss0_eth: port 2: using random MAC addr: 7a:34:fd:81:dd:b   2
    [   12.660856] prueth pruss0_eth: freeing port 0
    [   12.662909] prueth pruss0_eth: port 1: using random MAC addr: 16:24:7a:3d:6b:c   6
    [   12.674973] prueth pruss0_eth: port 2: using random MAC addr: fe:9c:12:55:6f:3   d
    [   12.675010] prueth pruss0_eth: freeing port 0
    [   12.677122] prueth pruss0_eth: port 1: using random MAC addr: 36:9d:99:34:c2:b   8
    [   12.678173] prueth pruss0_eth: port 2: using random MAC addr: d2:80:ee:36:45:8   7
    [   12.678209] prueth pruss0_eth: freeing port 0
    [   12.680295] prueth pruss0_eth: port 1: using random MAC addr: aa:1b:34:bc:d4:3   d
    [   12.681344] prueth pruss0_eth: port 2: using random MAC addr: 6e:d8:ca:11:0d:f   f
    [   12.681380] prueth pruss0_eth: freeing port 0
    [   12.683448] prueth pruss0_eth: port 1: using random MAC addr: ea:9c:a8:d1:c1:6   e
    [   12.694491] prueth pruss0_eth: port 2: using random MAC addr: ae:9f:5f:9f:11:9   b
    [   12.694527] prueth pruss0_eth: freeing port 0
    [   12.696618] prueth pruss0_eth: port 1: using random MAC addr: ca:43:24:be:a0:6   1
    [   12.697674] prueth pruss0_eth: port 2: using random MAC addr: b6:e5:68:32:ca:b   c
    [   12.697709] prueth pruss0_eth: freeing port 0
    [   12.699786] prueth pruss0_eth: port 1: using random MAC addr: c6:76:6b:78:ff:8   a
    [   12.700831] prueth pruss0_eth: port 2: using random MAC addr: 26:c9:c0:8a:83:2   e
    [   12.700866] prueth pruss0_eth: freeing port 0
    [   12.702961] prueth pruss0_eth: port 1: using random MAC addr: 56:83:0e:88:a6:4   a
    [   12.714486] prueth pruss0_eth: port 2: using random MAC addr: a2:42:56:4a:83:6   a
    [   12.714523] prueth pruss0_eth: freeing port 0
    [   12.716609] prueth pruss0_eth: port 1: using random MAC addr: 0e:18:18:e2:53:2   9
    [   12.717661] prueth pruss0_eth: port 2: using random MAC addr: 02:11:c9:33:e7:a   3
    [   12.717697] prueth pruss0_eth: freeing port 0
    [   12.719769] prueth pruss0_eth: port 1: using random MAC addr: 22:11:7d:73:10:f   b
    [   12.720815] prueth pruss0_eth: port 2: using random MAC addr: a6:35:69:da:e4:7   1
    [   12.720850] prueth pruss0_eth: freeing port 0
    [   12.722916] prueth pruss0_eth: port 1: using random MAC addr: 26:d7:14:4b:ad:c   a
    [   12.731441] prueth pruss0_eth: port 2: using random MAC addr: 9a:dc:38:1d:0e:4   2
    [   12.731478] prueth pruss0_eth: freeing port 0
    [   12.733571] prueth pruss0_eth: port 1: using random MAC addr: a2:04:b5:1f:d3:0   9
    [   12.744571] prueth pruss0_eth: port 2: using random MAC addr: 6a:60:c0:ac:b1:6   8
    [   12.744609] prueth pruss0_eth: freeing port 0
    [   12.746726] prueth pruss0_eth: port 1: using random MAC addr: 8a:02:e6:e5:32:a   4
    [   12.747786] prueth pruss0_eth: port 2: using random MAC addr: 4a:83:20:86:51:f   6
    [   12.747823] prueth pruss0_eth: freeing port 0
    [   12.749908] prueth pruss0_eth: port 1: using random MAC addr: 7e:fa:a9:0c:19:4   2
    [   12.750960] prueth pruss0_eth: port 2: using random MAC addr: 0a:54:fe:ff:cb:8   0
    [   12.750996] prueth pruss0_eth: freeing port 0
    [   12.753071] prueth pruss0_eth: port 1: using random MAC addr: 86:0e:e8:3b:24:d   f
    [   12.764485] prueth pruss0_eth: port 2: using random MAC addr: d6:f5:bd:28:cf:a   b
    [   12.764522] prueth pruss0_eth: freeing port 0
    [   12.766613] prueth pruss0_eth: port 1: using random MAC addr: 72:8d:0a:66:40:2   f
    [   12.767672] prueth pruss0_eth: port 2: using random MAC addr: d6:11:8d:57:c4:1   8
    [   12.767707] prueth pruss0_eth: freeing port 0
    [   12.769783] prueth pruss0_eth: port 1: using random MAC addr: a2:4b:61:65:17:d   e
    [   12.770831] prueth pruss0_eth: port 2: using random MAC addr: 6e:3d:26:4d:96:f   2
    [   12.770867] prueth pruss0_eth: freeing port 0
    [   12.772926] prueth pruss0_eth: port 1: using random MAC addr: 42:34:c6:92:67:e   9
    [   12.784486] prueth pruss0_eth: port 2: using random MAC addr: 96:3f:17:a7:da:c   6
    [   12.784522] prueth pruss0_eth: freeing port 0
    [   12.786604] prueth pruss0_eth: port 1: using random MAC addr: 5a:86:ad:a4:b1:4   1
    [   12.787650] prueth pruss0_eth: port 2: using random MAC addr: fe:55:d2:e8:63:5   b
    [   12.787686] prueth pruss0_eth: freeing port 0
    [   12.789753] prueth pruss0_eth: port 1: using random MAC addr: 62:63:5d:8b:a0:3   f
    [   12.790807] prueth pruss0_eth: port 2: using random MAC addr: 16:2a:41:a9:d8:a   b
    [   12.790844] prueth pruss0_eth: freeing port 0
    [   12.792902] prueth pruss0_eth: port 1: using random MAC addr: 76:8c:e1:47:21:2   d
    [   12.804566] prueth pruss0_eth: port 2: using random MAC addr: aa:1a:21:ab:f4:e   a
    [   12.804604] prueth pruss0_eth: freeing port 0
    [   12.806765] prueth pruss0_eth: port 1: using random MAC addr: 5a:28:2d:6c:f5:8   e
    [   12.807851] prueth pruss0_eth: port 2: using random MAC addr: 06:e2:cc:2e:84:0   4
    [   12.807888] prueth pruss0_eth: freeing port 0
    [   12.810014] prueth pruss0_eth: port 1: using random MAC addr: f6:26:5a:52:f6:e   b
    [   12.814550] prueth pruss0_eth: port 2: using random MAC addr: de:06:56:87:dc:6   2
    [   12.814651] prueth pruss0_eth: freeing port 0
    [   12.816852] prueth pruss0_eth: port 1: using random MAC addr: be:21:aa:2b:21:2   c
    [   12.817925] prueth pruss0_eth: port 2: using random MAC addr: 1e:21:f7:c4:4e:2   9
    [   12.817963] prueth pruss0_eth: freeing port 0
    [   12.820062] prueth pruss0_eth: port 1: using random MAC addr: 76:71:60:98:70:e   1
    [   12.821118] prueth pruss0_eth: port 2: using random MAC addr: 76:4b:75:6e:58:e   a
    [   12.821154] prueth pruss0_eth: freeing port 0
    [   12.823239] prueth pruss0_eth: port 1: using random MAC addr: a6:b3:dd:61:4e:0   2
    [   12.834488] prueth pruss0_eth: port 2: using random MAC addr: 42:70:d4:a1:c0:9   f
    [   12.834525] prueth pruss0_eth: freeing port 0
    [   12.836628] prueth pruss0_eth: port 1: using random MAC addr: de:51:aa:15:d7:d   b
    [   12.837676] prueth pruss0_eth: port 2: using random MAC addr: 2a:4f:82:8f:1e:6   9
    [   12.837711] prueth pruss0_eth: freeing port 0
    [   12.839784] prueth pruss0_eth: port 1: using random MAC addr: fa:d8:c8:61:83:4   9
    [   12.840828] prueth pruss0_eth: port 2: using random MAC addr: 8a:9b:c0:9b:5b:e   6
    [   12.840863] prueth pruss0_eth: freeing port 0
    [   12.842939] prueth pruss0_eth: port 1: using random MAC addr: 52:f9:6f:07:3f:7   3
    [   12.854484] prueth pruss0_eth: port 2: using random MAC addr: 5a:8f:52:b6:25:f   9
    [   12.854521] prueth pruss0_eth: freeing port 0
    [   12.856613] prueth pruss0_eth: port 1: using random MAC addr: 46:2f:ec:e3:3e:2   e
    [   12.857666] prueth pruss0_eth: port 2: using random MAC addr: 36:1c:b6:65:b4:6   2
    [   12.857702] prueth pruss0_eth: freeing port 0
    [   12.859774] prueth pruss0_eth: port 1: using random MAC addr: 52:28:a3:6b:d3:5   a
    [   12.860820] prueth pruss0_eth: port 2: using random MAC addr: 4a:43:9e:03:cd:2   0
    [   12.860856] prueth pruss0_eth: freeing port 0
    [   12.862922] prueth pruss0_eth: port 1: using random MAC addr: aa:28:ac:b8:6d:5   2
    [   12.875164] prueth pruss0_eth: port 2: using random MAC addr: da:93:41:e4:d4:7   3
    [   12.875203] prueth pruss0_eth: freeing port 0
    [   12.877323] prueth pruss0_eth: port 1: using random MAC addr: c6:d5:e8:db:96:c   e
    [   12.878379] prueth pruss0_eth: port 2: using random MAC addr: fa:ca:85:16:14:5   d
    [   12.878415] prueth pruss0_eth: freeing port 0
    [   12.880500] prueth pruss0_eth: port 1: using random MAC addr: ba:50:f4:72:c0:8   3
    [   12.881549] prueth pruss0_eth: port 2: using random MAC addr: 5a:5b:56:5a:c9:d   a
    [   12.881584] prueth pruss0_eth: freeing port 0
    [   12.883679] prueth pruss0_eth: port 1: using random MAC addr: 3e:a1:11:94:19:6   1
    [   12.894848] prueth pruss0_eth: port 2: using random MAC addr: f2:c1:ae:e5:f5:1   

    The hardware architecture of my board defines 2 Ethernet ports related to PRU0; there are two I2C EEPROMs that store the MAC address, one EEPROM for each eth port.

    In u-boot I have momentarily commented the function board_ti_set_ethaddr(1) in /u-boot/board/<myvendor>/<myboard>/board_k2g.c that, according to my point of view, causes that behaviour of kernel log that does not start the filesystem.

    It seems that the function sets the ethaddr environment variable from i2c eeprom and pass the mac address to kernel.

    I am deciding to use this approach too or using a solution (if exists) with device tree source file in kernel.

    In any case, it seems strange that if no MAC address is associated to PRU eth port, the kernel does not finish its boot.

    Consider for example the case the EEPROM chip is soldered bad on PCB or its content is corrupted or there is some hardware issue on I2C, will not the kernel boot finish properly? Please let me know if my explanation is correct and let me know which apporach is better to use in order to associate MAC to PRU eth ports.

    Regards

    Graziano