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.

AM4376: Kernel boot fails on custom board

Part Number: AM4376
Other Parts Discussed in Thread: TPS62362, AM4372, AM4379, TPS62360

We have a target board with multiple AM4376 SOCs and I am trying to get zImage to boot on at least one of the SOCs using u-boot.  The following observations and debugging steps have been performed and the result is described below.

1) I am using an AM437x IDK EVM as the base for my target u0boot and zImage. 

u-boot is built, with modifications for the target, using board-support release version ===> u-boot-2018.01+gitAUTOINC+313dcd69c2-g313dcd69c2

zImage is built, using the default configuration for the AM437x, tisdk_am437x-evm_defconfig, using board-support release version =====> linux-4.14.79+gitAUTOINC+bde58ab01e-gbde58ab01e

The only modification to the zImage is to add debug print statements in main.c and setup.c (suggestions from other E2E and open source forums)

main.c/ start_kernel function looks like this:

asmlinkage __visible void __init start_kernel(void)
{
char *command_line;
char *after_dashes;

pr_info("start_kernel() 00\n");

set_task_stack_end_magic(&init_task);

pr_info("start_kernel() 01\n");

smp_setup_processor_id();

pr_info("start_kernel() 02\n");

debug_objects_early_init();

pr_info("start_kernel() 03\n");

cgroup_init_early();

pr_info("start_kernel() 04\n");

local_irq_disable();
early_boot_irqs_disabled = true;

/*
* Interrupts are still disabled. Do necessary setups, then
* enable them.
*/
boot_cpu_init();
page_address_init();
pr_notice("%s", linux_banner);
setup_arch(&command_line);

...

and setup.c / smp_setup_processor_id() looks like this:

void __init smp_setup_processor_id(void)
{
int i;
u32 mpidr = is_smp() ? read_cpuid_mpidr() & MPIDR_HWID_BITMASK : 0;
u32 cpu = MPIDR_AFFINITY_LEVEL(mpidr, 0);

pr_info("smp_setup_processor_id Start\n");

cpu_logical_map(0) = cpu;
for (i = 1; i < nr_cpu_ids; ++i)
cpu_logical_map(i) = i == cpu ? 0 : i;

/*sm
* clear __my_cpu_offset on boot CPU to avoid hang caused by
* using percpu variable early, for example, lockdep will
* access percpu variable inside lock_release
*/
set_my_cpu_offset(0);

pr_info("Booting Linux on physical CPU 0x%x\n", mpidr);

}

2) Booting zImage on the AM437x_IDK_EVM board boots as expected and outputs the debug messages as expected, here is the console output of the startups from u-boot.

U-Boot SPL 2018.01-00558-g8617e02-dirty (Jul 26 2019 - 15:03:35)
Trying to boot from eth device
Card did not respond to voltage select!
** Bad device mmc 0 **
Using default environment

<ethaddr> not set. Validating first E-fuse MAC
<ethaddr> set to CoreACE CPU A
CoreACE eth_env_set_enetaddr()
<ethaddr> set to CoreACE CPU A
CoreACE eth_env_set_enetaddr()
Could not get PHY for cpsw: addr 7
CoreACE eth_env_set_enetaddr()
cpsw, usb_ether
Error: usb_ether address not set.

Trying cpsw
FAIL
Trying usb_ether
using dwc3-gadget, OUT ep2out IN ep1in STATUS ep3in
MAC 00:00:00:0d:00:0a
HOST MAC de:ad:be:ef:00:00
RNDIS ready
The remote end did not respond in time.FAIL
Problem booting with BOOTP
SPL: RJP failed to boot from all boot devices
### ERROR ### Please RESET the board ###

U-Boot SPL 2018.01-00558-g8617e02-dirty (Jul 26 2019 - 14:56:16)
Trying to boot from eth device
Card did not respond to voltage select!
** Bad device mmc 0 **
Using default environment

<ethaddr> not set. Validating first E-fuse MAC
<ethaddr> set to CoreACE CPU A
CoreACE eth_env_set_enetaddr()
<ethaddr> set to CoreACE CPU A
CoreACE eth_env_set_enetaddr()
CoreACE eth_env_set_enetaddr()
cpsw, usb_ether
Error: usb_ether address not set.

Trying cpsw
cpsw Waiting for PHY auto negotiation to complete... done
link up on port 0, speed 100, full duplex
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
DHCP client bound to address 192.168.1.21 (1270 ms)
Using cpsw device
TFTP from server 192.168.1.9; our IP address is 192.168.1.21
Filename 'u-boot.img'.
Load address: 0x82000000
Loading: #################################################################
#######################################################
840.8 KiB/s
done
Bytes transferred = 611400 (95448 hex)


U-Boot 2018.01-00558-g8617e02-dirty (Jul 26 2019 - 14:56:16 -0400)

CPU : AM437X-GP rev 1.2
Model: TI AM437x CoreACE Rev 0.00
DRAM: 1 GiB
PMIC: TPS62362
NAND: 0 MiB
MMC: OMAP SD/MMC: 0
MMC: no card present
** Bad device mmc 0 **
Using default environment

Net: <ethaddr> not set. Validating first E-fuse MAC
<ethaddr> set to CoreACE CPU A
CoreACE eth_env_set_enetaddr()
<ethaddr> set to CoreACE CPU A
CoreACE eth_env_set_enetaddr()
<ethaddr> set to CoreACE CPU A
CoreACE eth_env_set_enetaddr()
CoreACE eth_env_set_enetaddr()
cpsw, usb_ether
Hit any key to stop autoboot: 0
MMC: no card present
MMC: no card present
MMC: no card present
MMC: no card present
Booting from network ...
Trying cpsw
link up on port 0, speed 100, full duplex
BOOTP broadcast 1
DHCP client bound to address 192.168.1.21 (5 ms)
Trying cpsw
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.9; our IP address is 192.168.1.21
Filename 'zImage'.
Load address: 0x82000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
############################################
854.5 KiB/s
done
Bytes transferred = 3883520 (3b4200 hex)
Trying cpsw
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.9; our IP address is 192.168.1.21
Filename 'am437x-idk-evm.dtb'. <============ Using am437x-idk-evm devicetree
Load address: 0x88000000
Loading: ##########
899.4 KiB/s
done
Bytes transferred = 46974 (b77e hex)
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 8fff1000, end 8ffff77d ... OK

Starting kernel ...

[ 0.000000] start_kernel() 00 <============ Debug pr_info() in start_kernel()
[ 0.000000] start_kernel() 01 <============ Debug pr_info() in start_kernel()
[ 0.000000] smp_setup_processor_id Start <============ Debug pr_info() in smp_setup_processor_id()
[ 0.000000] Booting Linux on physical CPU 0x0 <============ Standard pr_info() in smp_setup_processor_id()
[ 0.000000] start_kernel() 02 <============ Debug pr_info() in start_kernel()
[ 0.000000] start_kernel() 03 <============ Debug pr_info() in start_kernel()
[ 0.000000] start_kernel() 04 <============ Debug pr_info() in start_kernel()
[ 0.000000] Linux version 4.14.79-gbde58ab01e (root@dev-vbox) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #17 PREEMPT Fri Jul 26 15:53:41 EDT 2019
[ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: TI AM437x Industrial Development Kit
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.

3) Booting zImage on our Target SOC u-boot loads zImage to RAM but not debug messages are output, here is the console output of the startup from u-boot on the target:

U-Boot SPL 2018.01-00558-g8617e02-dirty (Jul 26 2019 - 15:03:35)
Trying to boot from eth device
** No partition table - mmc 0 **
Using default environment

<ethaddr> not set. Validating first E-fuse MAC
<ethaddr> set to CoreACE CPU A
CoreACE eth_env_set_enetaddr()
<ethaddr> set to CoreACE CPU A
CoreACE eth_env_set_enetaddr()
CoreACE eth_env_set_enetaddr()
cpsw, usb_ether
Error: usb_ether address not set.

Trying cpsw
cpsw Waiting for PHY auto negotiation to complete.... done
link up on port 0, speed 100, half duplex
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
DHCP client bound to address 192.168.1.21 (1058 ms)
Using cpsw device
TFTP from server 192.168.1.9; our IP address is 192.168.1.21
Filename 'u-boot.img'.
Load address: 0x82000000
Loading: #################################################################
#######################################################
727.5 KiB/s
done
Bytes transferred = 611400 (95448 hex)


U-Boot 2018.01-00558-g8617e02-dirty (Jul 26 2019 - 15:03:35 -0400)

CPU : AM437X-GP rev 1.2
Model: TI AM437x CoreACE Rev 0.00
DRAM: 1 GiB
Can't find PMIC:TPS62362
NAND: 0 MiB
MMC: OMAP SD/MMC: 0
MMC: no card present
** Bad device mmc 0 **
Using default environment

Net: <ethaddr> not set. Validating first E-fuse MAC
<ethaddr> set to CoreACE CPU A
CoreACE eth_env_set_enetaddr()
<ethaddr> set to CoreACE CPU A
CoreACE eth_env_set_enetaddr()
<ethaddr> set to CoreACE CPU A
CoreACE eth_env_set_enetaddr()
CoreACE eth_env_set_enetaddr()
cpsw, usb_ether
Hit any key to stop autoboot: 0
MMC: no card present
MMC: no card present
MMC: no card present
MMC: no card present
Booting from network ...
Trying cpsw
cpsw Waiting for PHY auto negotiation to complete. done
link up on port 0, speed 100, half duplex
BOOTP broadcast 1
DHCP client bound to address 192.168.1.21 (6 ms)
Trying cpsw
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.9; our IP address is 192.168.1.21
Filename 'zImage'.
Load address: 0x82000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
############################################
724.6 KiB/s
done
Bytes transferred = 3883520 (3b4200 hex)
Trying cpsw
link up on port 0, speed 100, half duplex
Using cpsw device
TFTP from server 192.168.1.9; our IP address is 192.168.1.21
Filename 'am437x-idk-evm.dtb'.
Load address: 0x88000000
Loading: ##########
705.1 KiB/s
done
Bytes transferred = 46974 (b77e hex)
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 8fff1000, end 8ffff77d ... OK

Starting kernel ... <============= Last message printed by U-boot
<============= Target board does not get to start_kernel()?????

I think our target is having issue at a much lower point in the boot process than main.c, perhaps in Init.S or at the _start vector?  I do have an XDS560 emulator connected to the target using CCS, when I am connected to the CortexA9 and pause debugging I stop in the address range 0xC01023C0, but I have not been able to load symbols for zImage to see what function/tag this is in the source?  Perhaps, help with loading symbols may reveal more details?

Also, it is not clear what could be different from the EVM to the our Target? The EVM uses an AM4379 while our target is AM4376. The devicetree for the am437x-idk-evem is referencing targets in the AM437x and AM4372 family so I am not sure is need to make an update there?  

Any direction you can give in debugging this boot issue is most welcome, I continue to look for samples on what to debug before Linux enters main.c and have not found anything yet.  

Thanks in advance,

Rob

  • Rob,

    When we see things fail at Starting Kernel it is usually related to DT. Can you try to disable some of your less critical interfaces in your DT and see if you can get different results? We usually recommend starting with kind of a bare DT and adding things in iteratively.

    Hopefully this is helpful to you.

  • I removed devices form the DT until it looked like this:

    /*
    * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
    *
    * This program is free software; you can redistribute it and/or modify
    * it under the terms of the GNU General Public License version 2 as
    * published by the Free Software Foundation.
    */

    /dts-v1/;

    #include "am4372.dtsi"
    #include <dt-bindings/pinctrl/am43xx.h>
    #include <dt-bindings/pwm/pwm.h>
    #include <dt-bindings/gpio/gpio.h>
    #include <dt-bindings/input/input.h>

    / {
    model = "TI AM437x Industrial Development Kit";
    compatible = "ti,am437x-idk-evm","ti,am4372","ti,am43";

    chosen {
    stdout-path = &uart0;
    };

    aliases {
    };
    };

    Our target still does not boot?

    Are there additional devices in the AM4372.dtsi that may be at issue?  Or have I removed too much from the am437x-idk-evm.dts file?

    Regards,
    Rob

  • In trying to debug this issue further I found this link: 

    http://processors.wiki.ti.com/index.php/Kernel_-_Common_Problems_Booting_Linux#Problem_.231_-_No_more_output_is_seen_on_the_console_after_.22Starting_Kernel....22

    I updated the .config to turn on "Kernel hacking" and now I get this message when I run on my target.

    It appears that the kernel is actually running on the target and uncompressing zImage successfully.  The link indicates that there are 2 possible sources of error at this point:

    1) Cause #2 B - Mis-match between device tree blob and the actual hardware

    I have spent quite a bit of time debugging the devicetree and have found the root cause.

     

    2) Cause #2 A - Mis-match between boot-loader and kernel machine numbers

    Is it possible that the AM4379 used on the am437x-idk-evm and the AM4376 have different machine IDs? Do I need to rebuild zImage for the correct ID?

     

    Thanks in advance,

    Rob

     

  • Rob,

    Is the above output using your full DTS or the abbreviated one? If abbreviated, I don't believe you have the necessary information to setup your console output.

    Also, I wanted to clarify:

    Rob Peipert said:
    I have spent quite a bit of time debugging the devicetree and have found the root cause.

    Is this correct, that you've resolved the issue?

    Thanks.

  • That is a TYPO, my mistake.  I have NOT found root cause or resolved this issue.  Thanks for clarifying.

    I have verified that using the abbreviated DTS does allow the console to work after Linux boots on the am437x-idk-evm, but not on our target board.   I understand, that the device definitions for the uart's are in am4372.dtsi, which I have not modified and is included in the DTS I am using, this may be how the console is working?

    Yesterday, I performed addition trace using the console of the zImage boot through head.S code in arch/arm/boot/compressed/  but without symbols it is difficult to determine what label is the entry point to the kernel at the label  __enter_kernel. It appears that r4 of processor  contains the entry point and it intialized by the "zreladdr"  MACRO in Makefile.boot? 

    Regards,

    Rob

  • Rob,

    Does your board have an RTC crystal?

    If the RTC crystal is not in the board design that is in the TI EVM design, in this function in arch/arm/mach-omap2/omap_hwmod_43xx_data.c please try commenting out the marked lines and see if the boot proceeds.

    int __init am43xx_hwmod_init(void)
    {
    int ret;

    omap_hwmod_am43xx_reg();
    omap_hwmod_init();
    ret = omap_hwmod_register_links(am43xx_hwmod_ocp_ifs);

    ->    if (!ret && of_machine_is_compatible("ti,am4372"))
    ->    ret = omap_hwmod_register_links(am43xx_rtc_hwmod_ocp_ifs);

    return ret;
    }

  • Yes our board has an RTC crystal and it is different than the one on the TI EVM board. 

    I edited the file as you suggested and it appears that out target board is booting. 

    Is it possible that these changes have any effect on other Linux functionality?

    At present, my target is getting an IP address from the bootp server but it cannot mount the rootfs on the nfs server?  (keep in mind the bootp and nfs server I am using is the same one that the am437x-idk-evm board connects without issue.).

    Here is printout of what I am seeing:

    U-Boot 2018.01-00558-g8617e02-dirty (Jul 30 2019 - 12:08:03 -0400)

    CPU : AM437X-GP rev 1.2
    Model: TI AM437x CoreACE Rev 0.00
    DRAM: 1 GiB
    Can't find PMIC:TPS62362
    NAND: 0 MiB
    MMC: OMAP SD/MMC: 0
    MMC: no card present
    ** Bad device mmc 0 **
    Using default environment

    Net: <ethaddr> not set. Validating first E-fuse MAC
    <ethaddr> set to CoreACE CPU A
    CoreACE eth_env_set_enetaddr()
    <ethaddr> set to CoreACE CPU A
    CoreACE eth_env_set_enetaddr()
    <ethaddr> set to CoreACE CPU A
    CoreACE eth_env_set_enetaddr()
    CoreACE eth_env_set_enetaddr()
    cpsw, usb_ether
    Hit any key to stop autoboot: 0
    MMC: no card present
    MMC: no card present
    MMC: no card present
    MMC: no card present
    Booting from network ...
    Trying cpsw
    cpsw Waiting for PHY auto negotiation to complete. done
    link up on port 0, speed 100, full duplex
    BOOTP broadcast 1
    DHCP client bound to address 192.168.1.21 (10 ms)
    Trying cpsw
    link up on port 0, speed 100, full duplex
    Using cpsw device
    TFTP from server 192.168.1.9; our IP address is 192.168.1.21
    Filename 'zImage'.
    Load address: 0x82000000
    Loading: #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    ############################################
    699.2 KiB/s
    done
    Bytes transferred = 3883520 (3b4200 hex)
    Trying cpsw
    link up on port 0, speed 100, full duplex
    Using cpsw device
    TFTP from server 192.168.1.9; our IP address is 192.168.1.21
    Filename 'CoreACE_C.dtb'.
    Load address: 0x88000000
    Loading: #########
    718.8 KiB/s
    done
    Bytes transferred = 45673 (b269 hex)
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Device Tree to 8fff1000, end 8ffff268 ... OK

    Starting kernel ...

    [ 0.000000] start_kernel() 00
    [ 0.000000] start_kernel() 01
    [ 0.000000] smp_setup_processor_id Start
    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] start_kernel() 02
    [ 0.000000] start_kernel() 03
    [ 0.000000] start_kernel() 04
    [ 0.000000] Linux version 4.14.79-gbde58ab01e (root@dev-vbox) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #25 PREEMPT Tue Jul 30 11:05:14 EDT 2019
    [ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [ 0.000000] OF: fdt: Machine model: TI AM437x Industrial Development Kit
    [ 0.000000] Memory policy: Data cache writeback
    [ 0.000000] efi: Getting EFI parameters from FDT:
    [ 0.000000] efi: UEFI not found.
    [ 0.000000] cma: Reserved 48 MiB at 0xbd000000
    [ 0.000000] CPU: All CPU(s) started in SVC mode.
    [ 0.000000] AM437x ES1.2 (neon)
    [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 260416
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 earlyprintk=${console},keep loglevel=7 log_buf_len=16000 initcall_debug time root=/dev/nfs nfsroot=192.168.1.9:/export/rootfs,nolock rw ip=dhcp
    [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [ 0.000000] Memory: 976264K/1048576K available (8192K kernel code, 329K rwdata, 2500K rodata, 1024K init, 268K bss, 23160K reserved, 49152K cma-reserved, 212992K highmem)
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
    [ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
    [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc0900000 (9184 kB)
    [ 0.000000] .init : 0xc0c00000 - 0xc0d00000 (1024 kB)
    [ 0.000000] .data : 0xc0d00000 - 0xc0d52448 ( 330 kB)
    [ 0.000000] .bss : 0xc0d52448 - 0xc0d9569c ( 269 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] Tasks RCU enabled.
    [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [ 0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [ 0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
    [ 0.000000] OMAP L2C310: ROM does not support power control setting
    [ 0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
    [ 0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
    [ 0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x4e430000
    [ 0.000000] OMAP clockevent source: timer2 at 25000000 Hz
    [ 0.000012] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
    [ 0.000029] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
    [ 0.000039] OMAP clocksource: timer1 at 25000000 Hz
    [ 0.000481] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [ 0.000492] OMAP clocksource: 32k_counter at 32768 Hz
    [ 0.000876] Console: colour dummy device 80x30
    [ 0.000907] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [ 0.000914] This ensures that you still see kernel messages. Please
    [ 0.000920] update your kernel commandline.
    [ 0.000946] Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816)
    [ 0.090209] pid_max: default: 32768 minimum: 301
    [ 0.090386] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.090409] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.091164] CPU: Testing write buffer coherency: ok
    [ 0.091225] CPU0: Spectre v2: using BPIALL workaround
    [ 0.092008] Setting up static identity map for 0x80100000 - 0x80100060
    [ 0.092255] Hierarchical SRCU implementation.
    [ 0.092705] EFI services will not be available.
    [ 0.093778] devtmpfs: initialized
    [ 0.102699] random: get_random_u32 called from bucket_table_alloc+0x8c/0x1ac with crng_init=0
    [ 0.103300] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [ 0.103783] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.103819] futex hash table entries: 256 (order: -1, 3072 bytes)
    [ 0.107593] pinctrl core: initialized pinctrl subsystem
    [ 0.108527] DMI not present or invalid.
    [ 0.109020] NET: Registered protocol family 16
    [ 0.110902] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.183921] cpuidle: using governor ladder
    [ 0.183980] cpuidle: using governor menu
    [ 0.186101] omap_l3_noc 44000000.ocp: L3 debug error: target 8 mod:0 (unclearable)
    [ 0.186187] omap_l3_noc 44000000.ocp: L3 application error: target 8 mod:0 (unclearable)
    [ 0.190335] platform 44e3e000.rtc: Cannot lookup hwmod 'rtc'
    [ 0.190975] omap_gpio 44e07000.gpio: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/gpio0_pins_default, deferring probe
    [ 0.191306] omap_gpio 4804c000.gpio: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/gpio1_pins_default, deferring probe
    [ 0.191649] omap_gpio 48322000.gpio: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/gpio5_pins_default, deferring probe
    [ 0.198141] No ATAGs?
    [ 0.198187] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
    [ 0.198196] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [ 0.213289] edma 49000000.edma: TI EDMA DMA engine driver
    [ 0.214396] V3_3D: supplied by V24_0D
    [ 0.214766] VDD_COREREG: supplied by V24_0D
    [ 0.215090] VDD_CORE: supplied by VDD_COREREG
    [ 0.215381] V1_8DREG: supplied by V24_0D
    [ 0.215680] V1_8D: supplied by V1_8DREG
    [ 0.215977] V1_5DREG: supplied by V24_0D
    [ 0.216299] V1_5D: supplied by V1_5DREG
    [ 0.219633] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/i2c0_pins_default, deferring probe
    [ 0.219697] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/i2c1_pins_default, deferring probe
    [ 0.219835] media: Linux media interface: v0.10
    [ 0.219892] Linux video capture interface: v2.00
    [ 0.220093] pps_core: LinuxPPS API ver. 1 registered
    [ 0.220102] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.220142] PTP clock support registered
    [ 0.220390] EDAC MC: Ver: 3.0.0
    [ 0.220887] dmi: Firmware registration failed.
    [ 0.221324] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [ 0.221845] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.223354] clocksource: Switched to clocksource timer1
    [ 0.232211] NET: Registered protocol family 2
    [ 0.232908] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.232988] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.233080] TCP: Hash tables configured (established 8192 bind 8192)
    [ 0.233250] UDP hash table entries: 512 (order: 1, 8192 bytes)
    [ 0.233278] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
    [ 0.233560] NET: Registered protocol family 1
    [ 0.234037] RPC: Registered named UNIX socket transport module.
    [ 0.234049] RPC: Registered udp transport module.
    [ 0.234055] RPC: Registered tcp transport module.
    [ 0.234062] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.236772] workingset: timestamp_bits=14 max_order=18 bucket_order=4
    [ 0.241123] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.242055] NFS: Registering the id_resolver key type
    [ 0.242092] Key type id_resolver registered
    [ 0.242100] Key type id_legacy registered
    [ 0.242227] ntfs: driver 2.1.32 [Flags: R/O].
    [ 0.244836] bounce: pool size: 64 pages
    [ 0.244956] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [ 0.244987] io scheduler noop registered
    [ 0.245012] io scheduler deadline registered
    [ 0.245247] io scheduler cfq registered (default)
    [ 0.245280] io scheduler mq-deadline registered
    [ 0.245303] io scheduler kyber registered
    [ 0.247173] pinctrl-single 44e10800.pinmux: 199 pins at pa f9e10800 size 796
    [ 0.298322] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [ 0.300795] omap8250 44e09000.serial: No clock speed specified: using default: 48000000
    [ 0.301535] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
    [ 1.100281] console [ttyS0] enabled
    [ 1.104215] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff9e8 (0x31c)
    [ 1.112266] pinctrl-single 44e10800.pinmux: could not add functions for uart1_pins_default 4294965736x
    [ 1.121749] omap8250 48022000.serial: No clock speed specified: using default: 48000000
    [ 1.130536] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a 8250
    [ 1.139686] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff9f8 (0x31c)
    [ 1.147798] pinctrl-single 44e10800.pinmux: could not add functions for uart2_pins_default 4294965752x
    [ 1.157278] omap8250 48024000.serial: No clock speed specified: using default: 48000000
    [ 1.165997] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 32, base_baud = 3000000) is a 8250
    [ 1.175129] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff91c (0x31c)
    [ 1.183176] pinctrl-single 44e10800.pinmux: could not add functions for uart4_pins_default 4294965532x
    [ 1.192670] omap8250 481a8000.serial: No clock speed specified: using default: 48000000
    [ 1.201403] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 33, base_baud = 3000000) is a 8250
    [ 1.212154] omap_rng 48310000.rng: Random Number Generator ver. 20
    [ 1.233115] brd: module loaded
    [ 1.245041] loop: module loaded
    [ 1.250318] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff9dc (0x31c)
    [ 1.258518] pinctrl-single 44e10800.pinmux: could not add functions for spi2_pins_default 4294965724x
    [ 1.268767] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffffa10 (0x31c)
    [ 1.276897] pinctrl-single 44e10800.pinmux: could not add functions for qspi_pins_default 4294965776x
    [ 1.287839] libphy: Fixed MDIO Bus: probed
    [ 1.293858] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff90c (0x31c)
    [ 1.301909] pinctrl-single 44e10800.pinmux: could not add functions for rmii1_pins_default 4294965516x
    [ 1.324852] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff94c (0x31c)
    [ 1.332908] pinctrl-single 44e10800.pinmux: could not add functions for mdio1_pins_default 4294965580x
    [ 1.393414] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [ 1.401113] davinci_mdio 4a101000.mdio: detected phy mask ffffff57
    [ 1.409945] libphy: 4a101000.mdio: probed
    [ 1.414086] davinci_mdio 4a101000.mdio: phy[3]: device 4a101000.mdio:03, driver TI DP83822 10/100 Mbps PHY
    [ 1.423830] davinci_mdio 4a101000.mdio: phy[5]: device 4a101000.mdio:05, driver TI DP83822 10/100 Mbps PHY
    [ 1.433634] davinci_mdio 4a101000.mdio: phy[7]: device 4a101000.mdio:07, driver TI DP83822 10/100 Mbps PHY
    [ 1.444279] cpsw 4a100000.ethernet: Detected MACID = 00:00:00:0d:00:0a
    [ 1.450937] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [ 1.457422] cpsw 4a100000.ethernet: ALE Table size 1024
    [ 1.462719] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [ 1.471431] i2c /dev entries driver
    [ 1.477144] IR NEC protocol handler initialized
    [ 1.481715] IR RC5(x/sz) protocol handler initialized
    [ 1.486846] IR RC6 protocol handler initialized
    [ 1.491411] IR JVC protocol handler initialized
    [ 1.495991] IR Sony protocol handler initialized
    [ 1.500642] IR SANYO protocol handler initialized
    [ 1.505394] IR Sharp protocol handler initialized
    [ 1.510133] IR MCE Keyboard/mouse protocol handler initialized
    [ 1.516156] IR XMP protocol handler initialized
    [ 1.522893] cpuidle: enable-method property 'ti,am4372' found operations
    [ 1.530240] sdhci: Secure Digital Host Controller Interface driver
    [ 1.536480] sdhci: Copyright(c) Pierre Ossman
    [ 1.541227] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff900 (0x31c)
    [ 1.549302] pinctrl-single 44e10800.pinmux: could not add functions for mmc1_pins_default 4294965504x
    [ 1.558986] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 1.565658] ledtrig-cpu: registered to indicate activity on CPUs
    [ 1.575133] NET: Registered protocol family 10
    [ 1.580716] Segment Routing with IPv6
    [ 1.584709] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [ 1.591339] NET: Registered protocol family 17
    [ 1.596274] Key type dns_resolver registered
    [ 1.600886] omap_voltage_late_init: Voltage driver support not added
    [ 1.614131] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff918 (0x31c)
    [ 1.622189] pinctrl-single 44e10800.pinmux: could not add functions for gpio0_pins_default 4294965528x
    [ 1.632377] OMAP GPIO hardware version 0.1
    [ 1.636735] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff800 (0x31c)
    [ 1.644812] pinctrl-single 44e10800.pinmux: could not add functions for gpio1_pins_default 4294965248x
    [ 1.654878] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffffa30 (0x31c)
    [ 1.662927] pinctrl-single 44e10800.pinmux: could not add functions for gpio5_pins_default 4294965808x
    [ 1.673057] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff98c (0x31c)
    [ 1.681147] pinctrl-single 44e10800.pinmux: could not add functions for i2c0_pins_default 4294965644x
    [ 1.713492] tps62360 0-0060: tps62360_init_dcdc(): register 4 write failed with err -121
    [ 1.721632] tps62360 0-0060: tps62360_probe(): Init failed with err = -121
    [ 1.728714] tps62360: probe of 0-0060 failed with error -121
    [ 1.734660] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 400 kHz
    [ 1.740520] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffffa60 (0x31c)
    [ 1.748649] pinctrl-single 44e10800.pinmux: could not add functions for i2c1_pins_default 4294965856x
    [ 1.759099] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 400 kHz
    [ 1.765610] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff900 (0x31c)
    [ 1.773713] pinctrl-single 44e10800.pinmux: could not add functions for mmc1_pins_default 4294965504x
    [ 1.783269] omap_hsmmc 48060000.mmc: Got CD GPIO
    [ 1.844802] hctosys: unable to open rtc device (rtc0)
    [ 1.864114] net eth0: initializing cpsw version 1.15 (0)
    [ 1.921050] mmc0: new high speed MMC card at address 0001
    [ 1.927002] mmcblk0: mmc0:0001 MMC04G 3.57 GiB
    [ 1.931753] mmcblk0boot0: mmc0:0001 MMC04G partition 1 8.00 MiB
    [ 1.937934] mmcblk0boot1: mmc0:0001 MMC04G partition 2 8.00 MiB
    [ 1.944117] mmcblk0rpmb: mmc0:0001 MMC04G partition 3 128 KiB
    [ 1.974061] TI DP83822 10/100 Mbps PHY 4a101000.mdio:07: attached PHY driver [TI DP83822 10/100 Mbps PHY] (mii_bus:phy_addr=4a101000.mdio:07, irq=POLL)
    [ 1.992526] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 4.084478] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 4.093417] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [ 4.123515] Sending DHCP requests .,. OK
    [ 6.687373] IP-Config: Got DHCP answer from 192.168.1.9, my address is 192.168.1.21
    [ 6.695107] IP-Config: Complete:
    [ 6.698354] device=eth0, hwaddr=00:00:00:0d:00:0a, ipaddr=192.168.1.21, mask=255.255.255.0, gw=255.255.255.255
    [ 6.708851] host=192.168.1.21, domain=, nis-domain=(none)
    [ 6.714722] bootserver=192.168.1.9, rootserver=192.168.1.9, rootpath= nameserver0=192.168.1.9
    [ 6.724616] ALSA device list:
    [ 6.727600] No soundcards found.
    [ 47.843368] random: fast init done
    [ 74.165063] VFS: Mounted root (nfs filesystem) on device 0:14.
    [ 89.443409] nfs: server 192.168.1.9 not responding, still trying
    [ 89.451378] nfs: server 192.168.1.9 OK
    [ 89.455273] devtmpfs: mounted
    [ 89.460072] Freeing unused kernel memory: 1024K
    [ 100.963389] nfs: server 192.168.1.9 not responding, still trying
    [ 102.085423] nfs: server 192.168.1.9 OK
    [ 115.523463] nfs: server 192.168.1.9 not responding, still trying
    [ 124.643490] nfs: server 192.168.1.9 not responding, still trying
    [ 125.765581] nfs: server 192.168.1.9 OK
    [ 152.165149] nfs: server 192.168.1.9 OK
    [ 174.563389] nfs: server 192.168.1.9 not responding, still trying
    [ 174.571102] nfs: server 192.168.1.9 OK
    [ 192.403519] nfs: server 192.168.1.9 not responding, still trying
    [ 196.883498] nfs: server 192.168.1.9 not responding, still trying
    [ 199.123494] nfs: server 192.168.1.9 not responding, still trying
    [ 204.725395] nfs: server 192.168.1.9 OK
    [ 224.805686] nfs: server 192.168.1.9 OK
    [ 261.073403] random: crng init done
    [ 289.763498] nfs: server 192.168.1.9 not responding, still trying
    [ 292.007513] nfs: server 192.168.1.9 OK
    [ 292.011623] nfs: server 192.168.1.9 OK
    [ 356.323400] nfs: server 192.168.1.9 not responding, still trying
    [ 356.329571] nfs: server 192.168.1.9 not responding, still trying
    [ 358.563457] nfs: server 192.168.1.9 not responding, still trying
    [ 364.165882] nfs: server 192.168.1.9 OK
    [ 384.167115] nfs: server 192.168.1.9 OK
    [ 419.683393] nfs: server 192.168.1.9 not responding, still trying
    [ 448.006264] nfs: server 192.168.1.9 OK
    [ 509.923408] nfs: server 192.168.1.9 not responding, still trying
    [ 509.929469] nfs: server 192.168.1.9 not responding, still trying
    [ 558.085413] nfs: server 192.168.1.9 OK
    [ 624.805844] nfs: server 192.168.1.9 OK
    [ 689.123405] nfs: server 192.168.1.9 not responding, still trying
    [ 712.645438] nfs: server 192.168.1.9 OK
    [ 776.163418] nfs: server 192.168.1.9 not responding, still trying

  • After speaking with our hardware design team I have an additional data point on this issue.

    My assumption was that our target had a crystal connected to the internal RTC of the AM4376, but that it was a different crystal than the one used on the am437x-idk-evm. This is not correct. In fact, our target uses an external RTC connected via I2C that has a crystal driving it and NO crystal connected to the AM4376 internal RTC. ( My assumption was that our target had 2 crystals, one for the internal and one for the I2C device.) 

    I suspect this may be causing the NFS timeout issue that the target board is experiencing?  Perhaps, a workaround to this issue is to configure Linux to no use the internal RTC on boot?

    Thanks in advance,

    Rob

  • Rob,

    I assume you've gone back to a full DTS or at least the one that has Ethernet our you wouldn't be able to get an IP address. I don't really see how RTC time could correlate to NFS not being able to connect, but I could be wrong. What else have you done to validate Ethernet on your custom board? You're able to boot from it, but NFS seems unstable and can't connect. Are you getting any messages on your host that might indicate what the problem might be?

    It might be good to use Wireshark on the host to inspect the traffic and see what is going on on the wire.

  • I agree that RTC is very unlikely the issue, however it is a delta form the EVM and I wanted to note that. 

    Attached is a Wireshark pcap of the NFS session with our host. It demonstrates Fragmented IP packets???  I am trying to understand what this means, but can defer to your experience and knowledge base. Any assessment is appreciated. 

    Here is the console output form the Target board as well.

    U-Boot 2018.01-00558-g8617e02-dirty (Jul 30 2019 - 12:08:03 -0400)

    CPU : AM437X-GP rev 1.2
    Model: TI AM437x CoreACE Rev 0.00
    DRAM: 1 GiB
    Can't find PMIC:TPS62362
    NAND: 0 MiB
    MMC: OMAP SD/MMC: 0
    MMC: no card present
    ** Bad device mmc 0 **
    Using default environment

    Net: <ethaddr> not set. Validating first E-fuse MAC
    <ethaddr> set to CoreACE CPU A
    CoreACE eth_env_set_enetaddr()
    <ethaddr> set to CoreACE CPU A
    CoreACE eth_env_set_enetaddr()
    <ethaddr> set to CoreACE CPU A
    CoreACE eth_env_set_enetaddr()
    CoreACE eth_env_set_enetaddr()
    cpsw, usb_ether
    Hit any key to stop autoboot: 0
    MMC: no card present
    MMC: no card present
    MMC: no card present
    MMC: no card present
    Booting from network ...
    Trying cpsw
    cpsw Waiting for PHY auto negotiation to complete. done
    link up on port 0, speed 100, full duplex
    BOOTP broadcast 1
    DHCP client bound to address 192.168.1.21 (6 ms)
    Trying cpsw
    link up on port 0, speed 100, full duplex
    Using cpsw device
    TFTP from server 192.168.1.9; our IP address is 192.168.1.21
    Filename 'zImage'.
    Load address: 0x82000000
    Loading: #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #########################
    722.7 KiB/s
    done
    Bytes transferred = 3453440 (34b200 hex)
    Trying cpsw
    link up on port 0, speed 100, full duplex
    Using cpsw device
    TFTP from server 192.168.1.9; our IP address is 192.168.1.21
    Filename 'CoreACE_C.dtb'.
    Load address: 0x88000000
    Loading: #########
    627 KiB/s
    done
    Bytes transferred = 43678 (aa9e hex)
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Device Tree to 8fff2000, end 8ffffa9d ... OK

    Starting kernel ...

    [ 0.000000] start_kernel() 00
    [ 0.000000] start_kernel() 01
    [ 0.000000] smp_setup_processor_id Start
    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] start_kernel() 02
    [ 0.000000] start_kernel() 03
    [ 0.000000] start_kernel() 04
    [ 0.000000] Linux version 4.14.79-gbde58ab01e (root@dev-vbox) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #28 PREEMPT Wed Jul 31 14:44:34 EDT 2019
    [ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [ 0.000000] OF: fdt: Machine model: TI AM437x Industrial Development Kit
    [ 0.000000] Memory policy: Data cache writeback
    [ 0.000000] efi: Getting EFI parameters from FDT:
    [ 0.000000] efi: UEFI not found.
    [ 0.000000] cma: Reserved 48 MiB at 0xbd000000
    [ 0.000000] CPU: All CPU(s) started in SVC mode.
    [ 0.000000] AM437x ES1.2 (neon)
    [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 260416
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 earlyprintk=${console},keep loglevel=7 log_buf_len=16000 initcall_debug time root=/dev/nfs nfsroot=192.168.1.9:/export/rootfs,nolock rw ip=dhcp
    [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [ 0.000000] Memory: 977324K/1048576K available (7168K kernel code, 316K rwdata, 2084K rodata, 1024K init, 253K bss, 22100K reserved, 49152K cma-reserved, 212992K highmem)
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
    [ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
    [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc0800000 (8160 kB)
    [ 0.000000] .init : 0xc0b00000 - 0xc0c00000 (1024 kB)
    [ 0.000000] .data : 0xc0c00000 - 0xc0c4f008 ( 317 kB)
    [ 0.000000] .bss : 0xc0c4f008 - 0xc0c8e73c ( 254 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] Tasks RCU enabled.
    [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [ 0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [ 0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
    [ 0.000000] OMAP L2C310: ROM does not support power control setting
    [ 0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
    [ 0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
    [ 0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x4e430000
    [ 0.000000] OMAP clockevent source: timer2 at 25000000 Hz
    [ 0.000012] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
    [ 0.000031] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
    [ 0.000040] OMAP clocksource: timer1 at 25000000 Hz
    [ 0.000482] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [ 0.000493] OMAP clocksource: 32k_counter at 32768 Hz
    [ 0.000862] Console: colour dummy device 80x30
    [ 0.000892] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [ 0.000899] This ensures that you still see kernel messages. Please
    [ 0.000904] update your kernel commandline.
    [ 0.000929] Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816)
    [ 0.090210] pid_max: default: 32768 minimum: 301
    [ 0.090386] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.090411] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.091164] CPU: Testing write buffer coherency: ok
    [ 0.091225] CPU0: Spectre v2: using BPIALL workaround
    [ 0.092012] Setting up static identity map for 0x80100000 - 0x80100060
    [ 0.092252] Hierarchical SRCU implementation.
    [ 0.092703] EFI services will not be available.
    [ 0.093761] devtmpfs: initialized
    [ 0.102769] random: get_random_u32 called from bucket_table_alloc+0x8c/0x1ac with crng_init=0
    [ 0.103336] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [ 0.103817] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.103854] futex hash table entries: 256 (order: -1, 3072 bytes)
    [ 0.107658] pinctrl core: initialized pinctrl subsystem
    [ 0.108597] DMI not present or invalid.
    [ 0.109077] NET: Registered protocol family 16
    [ 0.110943] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.183577] cpuidle: using governor ladder
    [ 0.183631] cpuidle: using governor menu
    [ 0.185719] omap_l3_noc 44000000.ocp: L3 debug error: target 8 mod:0 (unclearable)
    [ 0.185798] omap_l3_noc 44000000.ocp: L3 application error: target 8 mod:0 (unclearable)
    [ 0.190171] omap_gpio 44e07000.gpio: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/gpio0_pins_default, deferring probe
    [ 0.190637] omap_gpio 4804c000.gpio: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/gpio1_pins_default, deferring probe
    [ 0.191007] omap_gpio 48322000.gpio: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/gpio5_pins_default, deferring probe
    [ 0.196461] No ATAGs?
    [ 0.196507] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
    [ 0.196516] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [ 0.211121] edma 49000000.edma: TI EDMA DMA engine driver
    [ 0.214021] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/i2c0_pins_default, deferring probe
    [ 0.214088] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/i2c1_pins_default, deferring probe
    [ 0.214269] pps_core: LinuxPPS API ver. 1 registered
    [ 0.214277] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.214316] PTP clock support registered
    [ 0.214400] EDAC MC: Ver: 3.0.0
    [ 0.214889] dmi: Firmware registration failed.
    [ 0.215310] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [ 0.217162] clocksource: Switched to clocksource timer1
    [ 0.226048] NET: Registered protocol family 2
    [ 0.226735] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.226815] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.226907] TCP: Hash tables configured (established 8192 bind 8192)
    [ 0.227075] UDP hash table entries: 512 (order: 1, 8192 bytes)
    [ 0.227102] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
    [ 0.227383] NET: Registered protocol family 1
    [ 0.227836] RPC: Registered named UNIX socket transport module.
    [ 0.227850] RPC: Registered udp transport module.
    [ 0.227857] RPC: Registered tcp transport module.
    [ 0.227863] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.230465] workingset: timestamp_bits=14 max_order=18 bucket_order=4
    [ 0.234953] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.235892] NFS: Registering the id_resolver key type
    [ 0.235928] Key type id_resolver registered
    [ 0.235935] Key type id_legacy registered
    [ 0.236061] ntfs: driver 2.1.32 [Flags: R/O].
    [ 0.238684] bounce: pool size: 64 pages
    [ 0.238800] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [ 0.238831] io scheduler noop registered
    [ 0.238853] io scheduler deadline registered
    [ 0.239091] io scheduler cfq registered (default)
    [ 0.239119] io scheduler mq-deadline registered
    [ 0.239138] io scheduler kyber registered
    [ 0.240951] pinctrl-single 44e10800.pinmux: 199 pins at pa f9e10800 size 796
    [ 0.291731] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [ 0.294186] omap8250 44e09000.serial: No clock speed specified: using default: 48000000
    [ 0.294913] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
    [ 1.044802] console [ttyS0] enabled
    [ 1.048746] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff9e8 (0x31c)
    [ 1.056796] pinctrl-single 44e10800.pinmux: could not add functions for uart1_pins_default 4294965736x
    [ 1.066277] omap8250 48022000.serial: No clock speed specified: using default: 48000000
    [ 1.075074] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a 8250
    [ 1.084235] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff9f8 (0x31c)
    [ 1.092351] pinctrl-single 44e10800.pinmux: could not add functions for uart2_pins_default 4294965752x
    [ 1.101838] omap8250 48024000.serial: No clock speed specified: using default: 48000000
    [ 1.110574] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 32, base_baud = 3000000) is a 8250
    [ 1.119708] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff91c (0x31c)
    [ 1.127818] pinctrl-single 44e10800.pinmux: could not add functions for uart4_pins_default 4294965532x
    [ 1.137290] omap8250 481a8000.serial: No clock speed specified: using default: 48000000
    [ 1.145981] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 33, base_baud = 3000000) is a 8250
    [ 1.156619] omap_rng 48310000.rng: Random Number Generator ver. 20
    [ 1.174306] brd: module loaded
    [ 1.186215] loop: module loaded
    [ 1.191528] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff9dc (0x31c)
    [ 1.199707] pinctrl-single 44e10800.pinmux: could not add functions for spi2_pins_default 4294965724x
    [ 1.209920] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffffa10 (0x31c)
    [ 1.218042] pinctrl-single 44e10800.pinmux: could not add functions for qspi_pins_default 4294965776x
    [ 1.228940] libphy: Fixed MDIO Bus: probed
    [ 1.234783] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff90c (0x31c)
    [ 1.242926] pinctrl-single 44e10800.pinmux: could not add functions for rmii1_pins_default 4294965516x
    [ 1.265745] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff94c (0x31c)
    [ 1.273843] pinctrl-single 44e10800.pinmux: could not add functions for mdio1_pins_default 4294965580x
    [ 1.337217] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [ 1.344913] davinci_mdio 4a101000.mdio: detected phy mask ffffff57
    [ 1.353729] libphy: 4a101000.mdio: probed
    [ 1.357863] davinci_mdio 4a101000.mdio: phy[3]: device 4a101000.mdio:03, driver TI DP83822 10/100 Mbps PHY
    [ 1.367611] davinci_mdio 4a101000.mdio: phy[5]: device 4a101000.mdio:05, driver TI DP83822 10/100 Mbps PHY
    [ 1.377411] davinci_mdio 4a101000.mdio: phy[7]: device 4a101000.mdio:07, driver TI DP83822 10/100 Mbps PHY
    [ 1.387958] cpsw 4a100000.ethernet: Detected MACID = 00:00:00:0d:00:0a
    [ 1.394613] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [ 1.401094] cpsw 4a100000.ethernet: ALE Table size 1024
    [ 1.406390] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [ 1.415097] i2c /dev entries driver
    [ 1.420657] IR NEC protocol handler initialized
    [ 1.425227] IR RC5(x/sz) protocol handler initialized
    [ 1.430357] IR RC6 protocol handler initialized
    [ 1.434921] IR JVC protocol handler initialized
    [ 1.439501] IR Sony protocol handler initialized
    [ 1.444152] IR SANYO protocol handler initialized
    [ 1.448904] IR Sharp protocol handler initialized
    [ 1.453641] IR MCE Keyboard/mouse protocol handler initialized
    [ 1.459632] IR XMP protocol handler initialized
    [ 1.466590] cpuidle: enable-method property 'ti,am4372' found operations
    [ 1.473898] sdhci: Secure Digital Host Controller Interface driver
    [ 1.480191] sdhci: Copyright(c) Pierre Ossman
    [ 1.484941] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff900 (0x31c)
    [ 1.493023] pinctrl-single 44e10800.pinmux: could not add functions for mmc0_pins_default 4294965504x
    [ 1.502702] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 1.510902] NET: Registered protocol family 10
    [ 1.516517] Segment Routing with IPv6
    [ 1.520462] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [ 1.527099] NET: Registered protocol family 17
    [ 1.531988] Key type dns_resolver registered
    [ 1.536583] omap_voltage_late_init: Voltage driver support not added
    [ 1.549503] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff918 (0x31c)
    [ 1.557694] pinctrl-single 44e10800.pinmux: could not add functions for gpio0_pins_default 4294965528x
    [ 1.567878] OMAP GPIO hardware version 0.1
    [ 1.572149] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff800 (0x31c)
    [ 1.580246] pinctrl-single 44e10800.pinmux: could not add functions for gpio1_pins_default 4294965248x
    [ 1.590305] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffffa30 (0x31c)
    [ 1.598400] pinctrl-single 44e10800.pinmux: could not add functions for gpio5_pins_default 4294965808x
    [ 1.608522] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff98c (0x31c)
    [ 1.616571] pinctrl-single 44e10800.pinmux: could not add functions for i2c0_pins_default 4294965644x
    [ 1.665854] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 400 kHz
    [ 1.672014] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffffa60 (0x31c)
    [ 1.680136] pinctrl-single 44e10800.pinmux: could not add functions for i2c1_pins_default 4294965856x
    [ 1.691063] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 400 kHz
    [ 1.697292] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff900 (0x31c)
    [ 1.705348] pinctrl-single 44e10800.pinmux: could not add functions for mmc0_pins_default 4294965504x
    [ 1.714981] omap_hsmmc 48060000.mmc: Got CD GPIO
    [ 1.779019] hctosys: unable to open rtc device (rtc0)
    [ 1.801824] net eth0: initializing cpsw version 1.15 (0)
    [ 1.855089] mmc0: new high speed MMC card at address 0001
    [ 1.861422] mmcblk0: mmc0:0001 MMC04G 3.57 GiB
    [ 1.866342] mmcblk0boot0: mmc0:0001 MMC04G partition 1 8.00 MiB
    [ 1.872796] mmcblk0boot1: mmc0:0001 MMC04G partition 2 8.00 MiB
    [ 1.879061] mmcblk0rpmb: mmc0:0001 MMC04G partition 3 128 KiB
    [ 1.907872] TI DP83822 10/100 Mbps PHY 4a101000.mdio:07: attached PHY driver [TI DP83822 10/100 Mbps PHY] (mii_bus:phy_addr=4a101000.mdio:07, irq=POLL)
    [ 1.926744] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 5.048413] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 5.077271] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [ 5.107338] Sending DHCP requests ..
    [ 7.357259] random: fast init done
    [ 11.027252] ., OK
    [ 11.069276] IP-Config: Got DHCP answer from 192.168.1.9, my address is 192.168.1.21
    [ 11.076983] IP-Config: Complete:
    [ 11.080441] device=eth0, hwaddr=00:00:00:0d:00:0a, ipaddr=192.168.1.21, mask=255.255.255.0, gw=255.255.255.255
    [ 11.090952] host=192.168.1.21, domain=, nis-domain=(none)
    [ 11.096816] bootserver=192.168.1.9, rootserver=192.168.1.9, rootpath= nameserver0=192.168.1.9
    [ 47.207282] mount: server 192.168.1.9 not responding, timed out
    [ 70.887292] nfs: server 192.168.1.9 not responding, still trying
    [ 70.895041] nfs: server 192.168.1.9 OK
    [ 70.901032] VFS: Mounted root (nfs filesystem) on device 0:14.
    [ 70.908946] devtmpfs: mounted
    [ 70.914277] Freeing unused kernel memory: 1024K
    [ 85.847435] nfs: server 192.168.1.9 not responding, still trying
    [ 95.207405] nfs: server 192.168.1.9 not responding, still trying
    [ 96.330184] nfs: server 192.168.1.9 OK
    [ 141.129698] nfs: server 192.168.1.9 OK
    [ 202.727253] nfs: server 192.168.1.9 not responding, still trying
    [ 202.734537] nfs: server 192.168.1.9 OK
    [ 221.367274] random: crng init done
    [ 230.887462] nfs: server 192.168.1.9 not responding, still trying
    [ 245.607467] nfs: server 192.168.1.9 not responding, still trying
    [ 247.850124] nfs: server 192.168.1.9 OK
    [ 280.807450] nfs: server 192.168.1.9 not responding, still trying
    [ 283.047438] nfs: server 192.168.1.9 not responding, still trying
    [ 309.930107] nfs: server 192.168.1.9 OK
    [ 404.170086] nfs: server 192.168.1.9 OK
    [ 468.967243] nfs: server 192.168.1.9 not responding, still trying
    [ 473.450428] nfs: server 192.168.1.9 OK
    [ 535.527362] nfs: server 192.168.1.9 not responding, still trying
    [ 570.250087] nfs: server 192.168.1.9 OK
    [ 632.807293] nfs: server 192.168.1.9 not responding, still trying
    [ 639.529072] nfs: server 192.168.1.9 OK
    [ 639.533279] nfs: server 192.168.1.9 OK
    [ 704.487296] nfs: server 192.168.1.9 not responding, still trying
    [ 704.493584] nfs: server 192.168.1.9 not responding, still trying
    [ 728.009683] nfs: server 192.168.1.9 OK
    [ 728.014109] nfs: server 192.168.1.9 OK
    [ 791.527295] nfs: server 192.168.1.9 not responding, still trying
    [ 791.533378] nfs: server 192.168.1.9 not responding, still trying
    [ 791.539676] nfs: server 192.168.1.9 not responding, still trying
    [ 792.650076] nfs: server 192.168.1.9 OK
    [ 816.330137] nfs: server 192.168.1.9 OK
    [ 851.687251] nfs: server 192.168.1.9 not responding, still trying
    [ 894.570348] nfs: server 192.168.1.9 OK
    [ 930.407264] nfs: server 192.168.1.9 not responding, still trying
    [ 955.850389] nfs: server 192.168.1.9 OK
    [ 1016.807297] nfs: server 192.168.1.9 not responding, still trying
    [ 1034.729432] nfs: server 192.168.1.9 OK
    [ 1070.567297] nfs: server 192.168.1.9 not responding, still trying
    [ 1132.970004] nfs: server 192.168.1.9 OK
    [ 1196.007293] nfs: server 192.168.1.9 not responding, still trying
    [ 1211.690088] nfs: server 192.168.1.9 OK
    [ 1229.927295] nfs: server 192.168.1.9 not responding, still trying
    [ 1236.650085] nfs: server 192.168.1.9 OK
    [ 1245.927286] nfs: server 192.168.1.9 not responding, still trying
    [ 1293.450092] nfs: server 192.168.1.9 OK
    [ 1354.727303] nfs: server 192.168.1.9 not responding, still trying
    [ 1365.929993] nfs: server 192.168.1.9 OK
    [ 1426.407294] nfs: server 192.168.1.9 not responding, still trying
    [ 1448.811613] nfs: server 192.168.1.9 OK
    [ 1448.816048] nfs: server 192.168.1.9 OK
    [ 1513.447295] nfs: server 192.168.1.9 not responding, still trying
    [ 1513.453376] nfs: server 192.168.1.9 not responding, still trying
    [ 1513.459683] nfs: server 192.168.1.9 not responding, still trying
    [ 1513.466311] nfs: server 192.168.1.9 OK
    [ 1522.407494] nfs: server 192.168.1.9 not responding, still trying
    [ 1522.414171] nfs: server 192.168.1.9 OK
    [ 1542.490151] nfs: server 192.168.1.9 OK
    [ 1560.167246] nfs: server 192.168.1.9 not responding, still trying
    [ 1617.930080] nfs: server 192.168.1.9 OK
    [ 1635.687476] nfs: server 192.168.1.9 not responding, still trying
    [ 1637.929557] nfs: server 192.168.1.9 OK
    [ 1637.933907] nfs: server 192.168.1.9 OK
    [ 1702.887292] nfs: server 192.168.1.9 not responding, still trying
    [ 1702.893571] nfs: server 192.168.1.9 not responding, still trying
    [ 1702.900187] nfs: server 192.168.1.9 OK
    [ 1736.969917] nfs: server 192.168.1.9 OK
    [ 1800.167253] nfs: server 192.168.1.9 not responding, still trying
    [ 1800.173336] nfs: server 192.168.1.9 not responding, still trying
    [ 1800.179640] nfs: server 192.168.1.9 not responding, still trying
    [ 1802.410044] nfs: server 192.168.1.9 OK
    [ 1909.129496] nfs: server 192.168.1.9 OK
    [ 1974.247298] nfs: server 192.168.1.9 not responding, still trying
    [ 1976.490403] nfs: server 192.168.1.9 OK
    [ 1994.727443] nfs: server 192.168.1.9 not responding, still trying
    [ 1996.969588] nfs: server 192.168.1.9 OK
    [ 2061.287292] nfs: server 192.168.1.9 not responding, still trying
    [ 2062.410150] nfs: server 192.168.1.9 OK
    [ 2080.487241] nfs: server 192.168.1.9 not responding, still trying
    [ 2097.770565] nfs: server 192.168.1.9 OK
    [ 2104.489498] nfs: server 192.168.1.9 OK
    [ 2122.727292] nfs: server 192.168.1.9 not responding, still trying
    [ 2168.807511] nfs: server 192.168.1.9 not responding, still trying
    [ 2176.649467] nfs: server 192.168.1.9 OK
    [ 2212.327294] nfs: server 192.168.1.9 not responding, still trying
    [ 2240.649563] nfs: server 192.168.1.9 OK
    [ 2301.927308] nfs: server 192.168.1.9 not responding, still trying
    [ 2322.090091] nfs: server 192.168.1.9 OK
    [ 2383.847294] nfs: server 192.168.1.9 not responding, still trying
    [ 2384.970553] nfs: server 192.168.1.9 OK
    [ 2452.967455] nfs: server 192.168.1.9 not responding, still trying
    [ 2454.092219] nfs: server 192.168.1.9 OK
    [ 2464.249296] nfs: server 192.168.1.9 OK
    [ 2479.207296] nfs: server 192.168.1.9 not responding, still trying
    [ 2479.214566] nfs: server 192.168.1.9 OK
    [ 2489.287441] nfs: server 192.168.1.9 not responding, still trying
    [ 2493.767535] nfs: server 192.168.1.9 not responding, still trying
    [ 2531.849324] nfs: server 192.168.1.9 OK
    [ 2593.769657] nfs: server 192.168.1.9 OK
    [ 2655.207293] nfs: server 192.168.1.9 not responding, still trying
    [ 2655.213589] nfs: server 192.168.1.9 not responding, still trying
    [ 2657.450201] nfs: server 192.168.1.9 OK
    [ 2675.687384] nfs: server 192.168.1.9 not responding, still trying
    [ 2677.929533] nfs: server 192.168.1.9 OK
    [ 2696.167295] nfs: server 192.168.1.9 not responding, still trying
    [ 2719.050163] nfs: server 192.168.1.9 OK
    [ 2769.127409] nfs: server 192.168.1.9 not responding, still trying
    [ 2782.887813] nfs: server 192.168.1.9 not responding, still trying
    [ 2791.850043] nfs: server 192.168.1.9 OK
    [ 2791.854474] nfs: server 192.168.1.9 OKam4376Target_NFS_Timeout.pcap.gz

  • Further review of the Wireshark capture has revealed the following, see highlighted packets below:

    The NFS client, IP 192.168.1.21 (out target board) is sending and RPC READ command for the systemd file and requesting a size of 4096 bytes?  The response from the server is a Fragmented IP packet of 1514 bytes, not 4096.  As this interface is using UDP I suspect that there is an MTU mismatch somewhere in my network? 

    I would like to limit the requested size from 4096 to 1500 or less. I suspect that Linux is getting the MTU size form the MDIO on the PHY we are using, the DP8322. I followed some examples on modification of the PHY registers through the MDIO in the devictree. Specifically, modification the fifo-depth, but still get the same packet request. This is my DT source for the the MDIO:

    &davinci_mdio {

    pinctrl-names = "default";
    pinctrl-0 = <&mdio1_pins_default>;
    ti,fifo-depth = <1>;
    status = "okay";
    };

    Perhaps I did not do this correct or is there another method to limit the MTU on the DP8322 or anther method to change the request size in the RPC on Linux from 4096 to 1024?

    Thanks in advance,

    Rob

  • Rob,

    This fragmentation does not happen when using the TI EVM, correct?

    I found this article informative for tuning NFS:

    https://www.slashroot.in/how-do-linux-nfs-performance-tuning-and-optimization

    I agree is looks like some mismatch that must be root caused to the differences in h/w. I'm sorry, I don't know the PHY to answer the question of how to change the MTU size for it, so you might want to post a separate question to the PHY Forum to get their advice.

    I hope this is helpful to you.

  • Ron,


    Thanks for the response and your time in looking at this.

    The fragmentation does not appear when using the TI EVM. In fact, the TI EVM interface is using 4096 size UDP packets without issue, so I am certain my network setup can handle the larger packets.  

    I did find in the Linux source that the default rsize is defined in net/nfs/nfsroot.c at 

    /* Default NFSROOT mount options. */
    #define NFS_DEF_OPTIONS "vers=2,udp,rsize=4096,wsize=4096"

      and changing the size to 1024 did remove the fragmented packets, but the NFS server is still timing out when it is being mounted.

    Keep in mind that I am trying to boot our target using the am437x netboot boot option, so the NFS mount point is the rootfs. At this point our target has not booted and there is no command shell.  The examples at the site you presented all need to have a command line interface.  I am still trying to get Linux to complete the boot using bootp and NFS.

    The change that our target has from the TI EVM is that the Microchip RGMII PHY on the EVM has been replaced by a TI RMII PHY.  ( I have updated the device tree to use the correct pinmux and mdio settings for the TI PHY.)  As well, I can successfully ping our target board while the NFS mount is timing out as shown above.


    Any other insight on this issue are most welcome.  I am suspecting a configuration/device issue with the updated PHY.

    Thanks in advance,

    Rob

  • Rob,

    I agree with your assessment. If working with the PHY configuration doesn't yield any positive results, please feel free to come back here and we'll see what we can do to help further with NFS.

    Thanks.

  • Attached is the DTS file for the Target board.

    Regards,

    Rob

    CoreACE_C.dts.doc

  • Hi Rob,

    I would like to verify some things at the network HW level and to do that we need to see the HW statistics of the MAC.  We may need to do this in a couple of steps since NFS is having some trouble and this first step may still have the same issue. First step is to boot to a shell which will bypass the SystemD userspace, here are some links to booting to a shell. These were intended for SD card mounted root file systems.

    Link to article on build booting to a shell

    Link to video on booting to a shell

    If you are still having trouble with the NFS with this shell approach the next step is to build into the kernel a minimal root file system. TI provides a minimal root file system in the Linux SDK. Are you famaliar with building the file system into the kernel?

    I need to add a comment to the above discussion on MTU sizes, the CPSW cannot handle packets of 4096, the driver limits MTU to a max of 1522 bytes.

    Best Regards,

    Schuyler

  • Schuyler,

    It was good to talk with you and engage on this issue, thank you for your time.

    I created the shell script on my mount point as suggested.  As well, I updated the optargs in u-boot and found that the kernel on my target does attempt to get the boot_app.sh and execute it, but it appears to be have having an issue with /bin/sh?  I attached the wireshark capture from my host as I did not get a shell prompt from the console. See below:

    I am not familiar with building the file system into the kernel, I have not done it before.( I am guessing the zImage will bloat quite a bit.)  I will try to get some help on kernel.org or perhaps you can direct me to an E2E link?

    Thanks in advance,
    Rob

  • Schuyler,

    I have been unsuccessful at building an image with a rootfs embedded. Do you have any support pages or direction for building the image?

    Thanks,
    Rob

  • Rob,

    We will put together some more specific instructions and provide them tomorrow.

    Thanks.

  • Rob,

    Here are some more specific instructions to get an initramfs based image that you can boot by putting the filesystem in the zImage via initramfs. So, you can tftp the new zImage over and boot to a Linux prompt. This will give us some new debug tools (i.e. ethtool) under Linux that we haven't been able to use.

    Prepare the image for the initramfs. This is based on the "tiny" fs included with the SDK:

    1. extract the tiny FS included in the /filesystem directory to another directory.
    2. change to the new directory with the extracted tiny FS.
    3. Use "ln -s /sbin/init init" to add an init link. 
    4. Copy ethtool from your NFS directory in /usr/sbin to /usr/sbin of the tiny FS as ethtool is not included.

    Now we need to have the Kernel build this in via an initramfs.

    1. Build the defconfig:
      1. make ARCH=arm CROSS_COMPILE=/home/sitara/ti-processor-sdk-linux-am335x-evm-05.03.00.07/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf- tisdk_am335x-evm_defconfig    

    2. Open menuconfig:
    1. make ARCH=arm CROSS_COMPILE=/home/sitara/ti-processor-sdk-linux-am335x-evm-05.03.00.07/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf- menuconfig

    • You should see something like below. Select "General setup" as indicated below:

    • You should now be able to scroll down to 



    • You once again use enter to go into this and choose the folder where you extracted the files:


    • You can now save the changes and exit out of menuconfig.
    • Now rebuild the kernel
      1. make ARCH=arm CROSS_COMPILE=/home/sitara/ti-processor-sdk-linux-am335x-evm-05.03.00.07/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf- 

    • Copy the new zImage (that now includes the filesystem) to the directory that you TFTP from (I use /tftpboot).

    You should now be able to boot to a U-Boot prompt. You'll need to stop things at the prompt. Once there, you should be able to use "run findfdt" and "run netboot" to boot the kernel.

    I've attached the log of my boot so that you can see what I did and what to expect. Once booted, you should be able to run ethtool. 

    Note: I used a USB network as that is what I had set up. You can ignore the USB related stuff as you are using Ethernet. I also did this on a Beaglebone Black, so you'll need to adapt some of the commands as necessary.

    Here is my boot log:

    /cfs-file/__key/communityserver-discussions-components-files/791/initramfs_5F00_boot.log

    I hope this helps get you to a place where you can explore the problem with ethtool.

  • Ron,


    Thanks for the instructions. 

    I am wondering if I need to update my netboot string in u-boot?  Specifically is the bootargs: root=/dev/nfs?  or do I need to specify a different mountpoint for root? 

    Also, the link for init above points to /sbin/init on tinyfs /sbin/init is  also a link to init.sysvinit application. Is this correct of do I need different init script?

    I have built the new zImage. (It appears to have compiled in the rootfs as the size has grown by about 4 times.) I can download the image and start boot but it still is getting stuck?

    Rob

  • I have attempted several options for bootargs with same result, I get this boot listing.

    BTW: It does output the same WARNING messages as your console dump.

    U-Boot 2018.01-00558-g8617e02-dirty (Aug 16 2019 - 13:48:07 -0400)

    CPU : AM437X-GP rev 1.2
    Model: TI AM4376 Core ACE U-boot
    DRAM: 1 GiB
    Can't find PMIC:TPS62362
    NAND: 0 MiB
    MMC: OMAP SD/MMC: 0
    MMC: no card present
    ** Bad device mmc 0 **
    Using default environment

    get_cputype() : 0x00000001
    Net: phy_init() CONFIG_PHY_FIXED
    get_cputype() : 0x00000001
    <ethaddr> set to CoreACE CPU B
    <cpsw> RMII @ Fixed
    Found PHY fixed-link: addr 15
    cpsw
    Hit any key to stop autoboot: 0
    findcpuenv: CPU TYPE = B
    Setting CPU B environment
    MMC: no card present
    MMC: no card present
    MMC: no card present
    MMC: no card present
    Booting from network B...
    link up on port 0, speed 100, full duplex
    BOOTP broadcast 1
    DHCP client bound to address 192.168.1.31 (3 ms)
    link up on port 0, speed 100, full duplex
    Using cpsw device
    TFTP from server 192.168.1.9; our IP address is 192.168.1.31
    Filename 'zImage'.
    Load address: 0x82000000
    Loading: #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #########################################
    778.3 KiB/s
    done
    Bytes transferred = 10854912 (a5a200 hex)                 <======================  This is correct zImage size.
    link up on port 0, speed 100, full duplex
    Using cpsw device
    TFTP from server 192.168.1.9; our IP address is 192.168.1.31
    Filename 'CoreACE_A_B.dtb'.
    Load address: 0x88000000
    Loading: ##########
    618.2 KiB/s
    done
    Bytes transferred = 46230 (b496 hex)
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Device Tree to 8fff1000, end 8ffff495 ... OK

    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 4.14.79-gbde58ab01e (root@dev-vbox) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #3 PREEMPT Fri Aug 16 13:11:09 EDT 2019
    [ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [ 0.000000] OF: fdt: Machine model: CoreACE_A_B Processor DT
    [ 0.000000] Memory policy: Data cache writeback
    [ 0.000000] efi: Getting EFI parameters from FDT:
    [ 0.000000] efi: UEFI not found.
    [ 0.000000] cma: Reserved 48 MiB at 0xbd000000
    [ 0.000000] CPU: All CPU(s) started in SVC mode.
    [ 0.000000] AM437x ES1.2 (neon)
    [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 260416
    [ 0.000000] Kernel command line: console=ttyO3,115200 console=ttyO0,115200 root=/dev/nfs nfsroot=192.168.1.9:/export/rootfsB,nolock rw ip=dhcp
    [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [ 0.000000] Memory: 970116K/1048576K available (8192K kernel code, 329K rwdata, 2496K rodata, 7168K init, 268K bss, 29308K reserved, 49152K cma-reserved, 212992K highmem)
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
    [ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
    [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc0900000 (9184 kB)
    [ 0.000000] .init : 0xc0c00000 - 0xc1300000 (7168 kB)
    [ 0.000000] .data : 0xc1300000 - 0xc1352448 ( 330 kB)
    [ 0.000000] .bss : 0xc1352448 - 0xc139569c ( 269 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] Tasks RCU enabled.
    [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [ 0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [ 0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
    [ 0.000000] OMAP L2C310: ROM does not support power control setting
    [ 0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
    [ 0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
    [ 0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x4e430000
    [ 0.000000] OMAP clockevent source: timer2 at 25000000 Hz
    [ 0.000011] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
    [ 0.000031] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
    [ 0.000040] OMAP clocksource: timer1 at 25000000 Hz
    [ 0.000489] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [ 0.000500] OMAP clocksource: 32k_counter at 32768 Hz
    [ 0.000888] Console: colour dummy device 80x30
    [ 0.000918] WARNING: Your 'console=ttyO3' has been replaced by 'ttyS3'                            <============= Same warning as on Beaglebone
    [ 0.000925] This ensures that you still see kernel messages. Please
    [ 0.000931] update your kernel commandline.
    [ 0.000958] Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816)
    [ 0.090208] pid_max: default: 32768 minimum: 301
    [ 0.090387] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.090412] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.091168] CPU: Testing write buffer coherency: ok
    [ 0.091229] CPU0: Spectre v2: using BPIALL workaround
    [ 0.091956] Setting up static identity map for 0x80100000 - 0x80100060
    [ 0.092110] Hierarchical SRCU implementation.
    [ 0.092475] EFI services will not be available.
    [ 0.093507] devtmpfs: initialized
    [ 0.102446] random: get_random_u32 called from bucket_table_alloc+0x8c/0x1ac with crng_init=0
    [ 0.102866] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [ 0.103167] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.103188] futex hash table entries: 256 (order: -1, 3072 bytes)
    [ 0.106709] pinctrl core: initialized pinctrl subsystem
    [ 0.107414] DMI not present or invalid.
    [ 0.107804] NET: Registered protocol family 16
    [ 0.109551] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.181974] cpuidle: using governor ladder
    [ 0.182013] cpuidle: using governor menu
    [ 0.183908] omap_l3_noc 44000000.ocp: L3 debug error: target 8 mod:0 (unclearable)
    [ 0.183988] omap_l3_noc 44000000.ocp: L3 application error: target 8 mod:0 (unclearable)
    [ 0.187824] platform 44e3e000.rtc: Cannot lookup hwmod 'rtc'
    [ 0.188389] omap_gpio 44e07000.gpio: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/gpio0_pins_default, deferring probe
    [ 0.188740] omap_gpio 4804c000.gpio: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/mygpio1_pins_default, deferring probe
    [ 0.189060] omap_gpio 481ac000.gpio: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/mygpio2_pins_default, deferring probe
    [ 0.189379] omap_gpio 481ae000.gpio: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/gpio3_pins_default, deferring probe
    [ 0.189681] omap_gpio 48320000.gpio: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/gpio4_pins_default, deferring probe
    [ 0.189976] omap_gpio 48322000.gpio: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/gpio5_pins_default, deferring probe
    [ 0.196771] No ATAGs?
    [ 0.196797] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
    [ 0.196814] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [ 0.210862] edma 49000000.edma: TI EDMA DMA engine driver
    [ 0.211903] V3_3D: supplied by V24_0D
    [ 0.212257] VDD_COREREG: supplied by V24_0D
    [ 0.212598] VDD_CORE: supplied by VDD_COREREG
    [ 0.212875] V1_8DREG: supplied by V24_0D
    [ 0.213198] V1_8D: supplied by V1_8DREG
    [ 0.213508] V1_5DREG: supplied by V24_0D
    [ 0.213809] V1_5D: supplied by V1_5DREG
    [ 0.216681] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/i2c0_pins_default, deferring probe
    [ 0.216746] omap_i2c 4819c000.i2c: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/i2c2_pins_default, deferring probe
    [ 0.216863] media: Linux media interface: v0.10
    [ 0.216918] Linux video capture interface: v2.00
    [ 0.217040] pps_core: LinuxPPS API ver. 1 registered
    [ 0.217049] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.217071] PTP clock support registered
    [ 0.217104] EDAC MC: Ver: 3.0.0
    [ 0.217574] dmi: Firmware registration failed.
    [ 0.217963] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [ 0.218351] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.219451] clocksource: Switched to clocksource timer1
    [ 0.227697] NET: Registered protocol family 2
    [ 0.228378] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.228456] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.228548] TCP: Hash tables configured (established 8192 bind 8192)
    [ 0.228718] UDP hash table entries: 512 (order: 1, 8192 bytes)
    [ 0.228745] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
    [ 0.228909] NET: Registered protocol family 1
    [ 0.229347] RPC: Registered named UNIX socket transport module.
    [ 0.229360] RPC: Registered udp transport module.
    [ 0.229367] RPC: Registered tcp transport module.
    [ 0.229374] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.799045] workingset: timestamp_bits=14 max_order=18 bucket_order=4
    [ 0.803487] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.804285] NFS: Registering the id_resolver key type
    [ 0.804326] Key type id_resolver registered
    [ 0.804334] Key type id_legacy registered
    [ 0.804376] ntfs: driver 2.1.32 [Flags: R/O].
    [ 0.806489] bounce: pool size: 64 pages
    [ 0.806580] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [ 0.806593] io scheduler noop registered
    [ 0.806600] io scheduler deadline registered
    [ 0.806819] io scheduler cfq registered (default)
    [ 0.806831] io scheduler mq-deadline registered
    [ 0.806839] io scheduler kyber registered
    [ 0.808559] pinctrl-single 44e10800.pinmux: 199 pins at pa f9e10800 size 796
    [ 0.858913] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [ 0.861358] omap8250 44e09000.serial: No clock speed specified: using default: 48000000
    [ 0.862139] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
    [ 0.862524] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff9e8 (0x31c)
    [ 0.862541] pinctrl-single 44e10800.pinmux: could not add functions for uart1_pins_default 4294965736x
    [ 0.862657] omap8250 48022000.serial: No clock speed specified: using default: 48000000
    [ 0.863319] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a 8250
    [ 0.863652] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffffa28 (0x31c)
    [ 0.863667] pinctrl-single 44e10800.pinmux: could not add functions for uart_pins_default 4294965800x
    [ 0.863753] omap8250 481a6000.serial: No clock speed specified: using default: 48000000
    [ 0.864360] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 32, base_baud = 3000000) is a 8250
    [ 1.743298] console [ttyS3] enabled
    [ 1.748662] omap_rng 48310000.rng: Random Number Generator ver. 20
    [ 1.769121] brd: module loaded
    [ 1.780983] loop: module loaded
    [ 1.785782] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff9dc (0x31c)
    [ 1.793926] pinctrl-single 44e10800.pinmux: could not add functions for spi2_pins_default 4294965724x
    [ 1.803815] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffffa50 (0x31c)
    [ 1.811886] pinctrl-single 44e10800.pinmux: could not add functions for spi4_pins_default 4294965840x
    [ 1.821940] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffffa10 (0x31c)
    [ 1.830007] pinctrl-single 44e10800.pinmux: could not add functions for qspi_pins_default 4294965776x
    [ 1.840763] libphy: Fixed MDIO Bus: probed
    [ 1.846433] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff90c (0x31c)
    [ 1.854523] pinctrl-single 44e10800.pinmux: could not add functions for rmii1_pins_default 4294965516x
    [ 1.877429] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff94c (0x31c)
    [ 1.885480] pinctrl-single 44e10800.pinmux: could not add functions for mdio1_pins_default 4294965580x
    [ 1.949503] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [ 1.957152] davinci_mdio 4a101000.mdio: detected phy mask fffffffd
    [ 1.969065] libphy: 4a101000.mdio: probed
    [ 1.973215] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver TI DP83822 10/100 Mbps PHY
    [ 1.988169] cpsw 4a100000.ethernet: Detected MACID = 00:00:00:0d:00:0b
    [ 1.995072] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [ 2.001565] cpsw 4a100000.ethernet: ALE Table size 1024
    [ 2.006834] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [ 2.015360] i2c /dev entries driver
    [ 2.019348] IR NEC protocol handler initialized
    [ 2.023973] IR RC5(x/sz) protocol handler initialized
    [ 2.029019] IR RC6 protocol handler initialized
    [ 2.033557] IR JVC protocol handler initialized
    [ 2.038077] IR Sony protocol handler initialized
    [ 2.042693] IR SANYO protocol handler initialized
    [ 2.047384] IR Sharp protocol handler initialized
    [ 2.052086] IR MCE Keyboard/mouse protocol handler initialized
    [ 2.057903] IR XMP protocol handler initialized
    [ 2.064188] cpuidle: enable-method property 'ti,am4372' found operations
    [ 2.071550] sdhci: Secure Digital Host Controller Interface driver
    [ 2.077723] sdhci: Copyright(c) Pierre Ossman
    [ 2.082462] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff900 (0x31c)
    [ 2.090485] pinctrl-single 44e10800.pinmux: could not add functions for mmc1_pins_default 4294965504x
    [ 2.100088] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 2.106448] ledtrig-cpu: registered to indicate activity on CPUs
    [ 2.115181] NET: Registered protocol family 10
    [ 2.120872] Segment Routing with IPv6
    [ 2.124616] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [ 2.131280] NET: Registered protocol family 17
    [ 2.135997] Key type dns_resolver registered
    [ 2.140590] omap_voltage_late_init: Voltage driver support not added
    [ 2.153298] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff918 (0x31c)
    [ 2.161450] pinctrl-single 44e10800.pinmux: could not add functions for gpio0_pins_default 4294965528x
    [ 2.171549] OMAP GPIO hardware version 0.1
    [ 2.175782] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff800 (0x31c)
    [ 2.183831] pinctrl-single 44e10800.pinmux: could not add functions for mygpio1_pins_default 4294965248x
    [ 2.193997] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff888 (0x31c)
    [ 2.202035] pinctrl-single 44e10800.pinmux: could not add functions for mygpio2_pins_default 4294965384x
    [ 2.212142] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff908 (0x31c)
    [ 2.220179] pinctrl-single 44e10800.pinmux: could not add functions for gpio3_pins_default 4294965512x
    [ 2.230103] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff9b0 (0x31c)
    [ 2.238100] pinctrl-single 44e10800.pinmux: could not add functions for gpio4_pins_default 4294965680x
    [ 2.248049] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffffa34 (0x31c)
    [ 2.256086] pinctrl-single 44e10800.pinmux: could not add functions for gpio5_pins_default 4294965812x
    [ 2.266086] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff98c (0x31c)
    [ 2.274126] pinctrl-single 44e10800.pinmux: could not add functions for i2c0_pins_default 4294965644x
    [ 2.309583] tps62360 0-0060: tps62360_init_dcdc(): register 4 write failed with err -121
    [ 2.317673] tps62360 0-0060: tps62360_probe(): Init failed with err = -121
    [ 2.324712] tps62360: probe of 0-0060 failed with error -121
    [ 2.330620] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 400 kHz
    [ 2.336435] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff974 (0x31c)
    [ 2.344514] pinctrl-single 44e10800.pinmux: could not add functions for i2c2_pins_default 4294965620x
    [ 2.354646] omap_i2c 4819c000.i2c: bus 2 rev0.12 at 100 kHz
    [ 2.361078] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff900 (0x31c)
    [ 2.369082] pinctrl-single 44e10800.pinmux: could not add functions for mmc1_pins_default 4294965504x
    [ 2.378618] omap_hsmmc 48060000.mmc: Got CD GPIO
    [ 2.440769] hctosys: unable to open rtc device (rtc0)
    [ 2.460013] net eth0: initializing cpsw version 1.15 (0)
    [ 2.470349] Generic PHY fixed-0:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=fixed-0:00, irq=POLL)
    [ 2.488343] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 2.537198] mmc0: new high speed MMC card at address 0001
    [ 2.543131] mmcblk0: mmc0:0001 MMC04G 3.57 GiB
    [ 2.547850] mmcblk0boot0: mmc0:0001 MMC04G partition 1 8.00 MiB
    [ 2.554026] mmcblk0boot1: mmc0:0001 MMC04G partition 2 8.00 MiB
    [ 2.560135] mmcblk0rpmb: mmc0:0001 MMC04G partition 3 128 KiB
    [ 3.529530] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
    [ 3.539528] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [ 3.569595] Sending DHCP requests ..
    [ 8.449456] random: fast init done
    [ 11.029479] ., OK
    [ 11.071444] IP-Config: Got DHCP answer from 192.168.1.9, my address is 192.168.1.31
    [ 11.079087] IP-Config: Complete:
    [ 11.082351] device=eth0, hwaddr=00:00:00:0d:00:0b, ipaddr=192.168.1.31, mask=255.255.255.0, gw=255.255.255.255
    [ 11.092783] host=192.168.1.31, domain=, nis-domain=(none)
    [ 11.098604] bootserver=192.168.1.9, rootserver=192.168.1.9, rootpath= nameserver0=192.168.1.9
    [ 11.108297] ALSA device list:
    [ 11.111333] No soundcards found.
    [ 11.114789] Warning: unable to open an initial console.                                                                  <============= Same warning as on Beaglebone
    [ 11.132263] Freeing unused kernel memory: 7168K
    [ 12.741809] random: dd: uninitialized urandom read (512 bytes read)

    Any other ideas that may be stopping the initramfs from creating the shell?

    Regards,
    Rob

  • Rob,

    I'm not sure. In order to do the best I could, I repeated the process on the AM437x EVM using PLSDK 5.3, which I believe is the exact same base you are working from. I also used Ethernet boot (as opposed to USB Network). Again, trying to minimize any differences that I can. Here is my log, and as you can see the shell starts up just as expected.

    One thing I do notice is that we are getting quite different bandwidths. I realize you are using a 100Mbit PHY, but the numbers are still pretty far off.

    Two things would be great to try:

    1. Can you try this process on your AM437x EVM just to establish the same baseline?
    2. Can you take a wireshark trace of the boot process, particulalry the kernel/FS copy to see what is going on on the link?

    My log from the AM437x EVM:

    /cfs-file/__key/communityserver-discussions-components-files/791/am437x_5F00_initramfs.log

    Thanks.

  • Ron,

    I will attached the wireshark capture to another reply on this link.

    Here is the Terminal listing of the EVM booting on my system using netboot:  

    BTW: I ran the ethtool utility that was included in the rootfs with zImage.

    U-Boot SPL 2018.01-00558-g8617e02-dirty (Jul 26 2019 - 14:56:16)
    Trying to boot from eth device
    Card did not respond to voltage select!
    ** Bad device mmc 0 **
    Using default environment

    <ethaddr> not set. Validating first E-fuse MAC
    <ethaddr> set to CoreACE CPU A
    CoreACE eth_env_set_enetaddr()
    <ethaddr> set to CoreACE CPU A
    CoreACE eth_env_set_enetaddr()
    CoreACE eth_env_set_enetaddr()
    cpsw, usb_ether
    Error: usb_ether address not set.

    Trying cpsw
    cpsw Waiting for PHY auto negotiation to complete... done
    link up on port 0, speed 100, full duplex
    BOOTP broadcast 1
    BOOTP broadcast 2
    DHCP client bound to address 192.168.1.21 (266 ms)
    Using cpsw device
    TFTP from server 192.168.1.9; our IP address is 192.168.1.21
    Filename 'u-boot.img'.
    Load address: 0x82000000
    Loading: #################################################################
    #######################################################
    788.1 KiB/s
    done
    Bytes transferred = 611400 (95448 hex)


    U-Boot 2018.01-00558-g8617e02-dirty (Jul 26 2019 - 14:56:16 -0400)

    CPU : AM437X-GP rev 1.2
    Model: TI AM437x CoreACE Rev 0.00
    DRAM: 1 GiB
    PMIC: TPS62362
    NAND: 0 MiB
    MMC: OMAP SD/MMC: 0
    MMC: no card present
    ** Bad device mmc 0 **
    Using default environment

    Net: <ethaddr> not set. Validating first E-fuse MAC
    <ethaddr> set to CoreACE CPU A
    CoreACE eth_env_set_enetaddr()
    <ethaddr> set to CoreACE CPU A
    CoreACE eth_env_set_enetaddr()
    <ethaddr> set to CoreACE CPU A
    CoreACE eth_env_set_enetaddr()
    CoreACE eth_env_set_enetaddr()
    cpsw, usb_ether
    Hit any key to stop autoboot: 0
    MMC: no card present
    MMC: no card present
    MMC: no card present
    MMC: no card present
    Booting from network ...
    Trying cpsw
    link up on port 0, speed 100, full duplex
    BOOTP broadcast 1
    DHCP client bound to address 192.168.1.21 (4 ms)
    Trying cpsw
    link up on port 0, speed 100, full duplex
    Using cpsw device
    TFTP from server 192.168.1.9; our IP address is 192.168.1.21
    Filename 'zImage'.
    Load address: 0x82000000
    Loading: #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #########################################
    757.8 KiB/s
    done
    Bytes transferred = 10854912 (a5a200 hex)
    Trying cpsw
    link up on port 0, speed 100, full duplex
    Using cpsw device
    TFTP from server 192.168.1.9; our IP address is 192.168.1.21
    Filename 'am437x-idk-evm.dtb'.
    Load address: 0x88000000
    Loading: ##########
    804.7 KiB/s
    done
    Bytes transferred = 46974 (b77e hex)
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Device Tree to 8fff1000, end 8ffff77d ... OK

    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 4.14.79-gbde58ab01e (root@dev-vbox) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #3 PREEMPT Fri Aug 16 13:11:09 EDT 2019
    [ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [ 0.000000] OF: fdt: Machine model: TI AM437x Industrial Development Kit
    [ 0.000000] Memory policy: Data cache writeback
    [ 0.000000] efi: Getting EFI parameters from FDT:
    [ 0.000000] efi: UEFI not found.
    [ 0.000000] cma: Reserved 48 MiB at 0xbd000000
    [ 0.000000] CPU: All CPU(s) started in SVC mode.
    [ 0.000000] AM437x ES1.2 (sgx neon)
    [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 260416
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 earlyprintk=${console},keep loglevel=7 log_buf_len=16000 initcall_debug time root=/dev/nfs nfsroot=192.168.1.9:/export/rootfs,nolock rw ip=dhcp
    [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [ 0.000000] Memory: 970112K/1048576K available (8192K kernel code, 329K rwdata, 2496K rodata, 7168K init, 268K bss, 29312K reserved, 49152K cma-reserved, 212992K highmem)
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
    [ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
    [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc0900000 (9184 kB)
    [ 0.000000] .init : 0xc0c00000 - 0xc1300000 (7168 kB)
    [ 0.000000] .data : 0xc1300000 - 0xc1352448 ( 330 kB)
    [ 0.000000] .bss : 0xc1352448 - 0xc139569c ( 269 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] Tasks RCU enabled.
    [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [ 0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [ 0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
    [ 0.000000] OMAP L2C310: ROM does not support power control setting
    [ 0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
    [ 0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
    [ 0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x4e430000
    [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [ 0.000011] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [ 0.000028] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [ 0.000036] OMAP clocksource: timer1 at 24000000 Hz
    [ 0.000412] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [ 0.000422] OMAP clocksource: 32k_counter at 32768 Hz
    [ 0.000783] Console: colour dummy device 80x30
    [ 0.000811] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [ 0.000817] This ensures that you still see kernel messages. Please
    [ 0.000821] update your kernel commandline.
    [ 0.000844] Calibrating delay loop... 1993.93 BogoMIPS (lpj=9969664)
    [ 0.060148] pid_max: default: 32768 minimum: 301
    [ 0.060311] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.060336] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.061010] CPU: Testing write buffer coherency: ok
    [ 0.061069] CPU0: Spectre v2: using BPIALL workaround
    [ 0.061807] Setting up static identity map for 0x80100000 - 0x80100060
    [ 0.062018] Hierarchical SRCU implementation.
    [ 0.062416] EFI services will not be available.
    [ 0.063370] devtmpfs: initialized
    [ 0.071251] random: get_random_u32 called from bucket_table_alloc+0x8c/0x1ac with crng_init=0
    [ 0.071790] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [ 0.072225] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.072256] futex hash table entries: 256 (order: -1, 3072 bytes)
    [ 0.075753] pinctrl core: initialized pinctrl subsystem
    [ 0.076622] DMI not present or invalid.
    [ 0.077077] NET: Registered protocol family 16
    [ 0.078690] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.147992] cpuidle: using governor ladder
    [ 0.148040] cpuidle: using governor menu
    [ 0.149873] omap_l3_noc 44000000.ocp: L3 debug error: target 8 mod:0 (unclearable)
    [ 0.149945] omap_l3_noc 44000000.ocp: L3 application error: target 8 mod:0 (unclearable)
    [ 0.152903] platform 44e3e000.rtc: Cannot lookup hwmod 'rtc'
    [ 0.153860] OMAP GPIO hardware version 0.1
    [ 0.162689] No ATAGs?
    [ 0.162732] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
    [ 0.162740] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [ 0.175546] edma 49000000.edma: TI EDMA DMA engine driver
    [ 0.176506] V3_3D: supplied by V24_0D
    [ 0.176843] VDD_COREREG: supplied by V24_0D
    [ 0.177119] VDD_CORE: supplied by VDD_COREREG
    [ 0.177366] V1_8DREG: supplied by V24_0D
    [ 0.177642] V1_8D: supplied by V1_8DREG
    [ 0.177906] V1_5DREG: supplied by V24_0D
    [ 0.178162] V1_5D: supplied by V1_5DREG
    [ 0.181283] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/i2c0_pins_default, deferring probe
    [ 0.181338] omap_i2c 4819c000.i2c: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/i2c2_pins_default, deferring probe
    [ 0.181464] media: Linux media interface: v0.10
    [ 0.181512] Linux video capture interface: v2.00
    [ 0.181688] pps_core: LinuxPPS API ver. 1 registered
    [ 0.181695] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.181728] PTP clock support registered
    [ 0.181801] EDAC MC: Ver: 3.0.0
    [ 0.182266] dmi: Firmware registration failed.
    [ 0.182660] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [ 0.183141] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.184465] clocksource: Switched to clocksource timer1
    [ 0.192201] NET: Registered protocol family 2
    [ 0.192802] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.192866] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.192940] TCP: Hash tables configured (established 8192 bind 8192)
    [ 0.193103] UDP hash table entries: 512 (order: 1, 8192 bytes)
    [ 0.193125] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
    [ 0.193326] NET: Registered protocol family 1
    [ 0.193777] RPC: Registered named UNIX socket transport module.
    [ 0.193789] RPC: Registered udp transport module.
    [ 0.193794] RPC: Registered tcp transport module.
    [ 0.193800] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.676506] workingset: timestamp_bits=14 max_order=18 bucket_order=4
    [ 0.680169] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.680997] NFS: Registering the id_resolver key type
    [ 0.681037] Key type id_resolver registered
    [ 0.681044] Key type id_legacy registered
    [ 0.681150] ntfs: driver 2.1.32 [Flags: R/O].
    [ 0.683361] bounce: pool size: 64 pages
    [ 0.683457] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [ 0.683485] io scheduler noop registered
    [ 0.683506] io scheduler deadline registered
    [ 0.683708] io scheduler cfq registered (default)
    [ 0.683739] io scheduler mq-deadline registered
    [ 0.683758] io scheduler kyber registered
    [ 0.685896] pinctrl-single 44e10800.pinmux: 199 pins at pa f9e10800 size 796
    [ 0.730244] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [ 0.732445] omap8250 44e09000.serial: No clock speed specified: using default: 48000000
    [ 0.733068] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
    [ 1.474727] console [ttyS0] enabled
    [ 1.480061] omap_rng 48310000.rng: Random Number Generator ver. 20
    [ 1.499416] brd: module loaded
    [ 1.510659] loop: module loaded
    [ 1.516364] spi spi1.0: not using DMA for McSPI (-19)
    [ 1.523389] m25p80 spi0.0: mx66l51235l (65536 Kbytes)
    [ 1.528615] 7 ofpart partitions found on MTD device spi0.0
    [ 1.534127] Creating 7 MTD partitions on "spi0.0":
    [ 1.538967] 0x000000000000-0x000000080000 : "QSPI.U_BOOT"
    [ 1.545303] 0x000000080000-0x000000100000 : "QSPI.U_BOOT.backup"
    [ 1.552016] 0x000000100000-0x000000110000 : "QSPI.U-BOOT-SPL_OS"
    [ 1.558796] 0x000000110000-0x000000120000 : "QSPI.U_BOOT_ENV"
    [ 1.565278] 0x000000120000-0x000000130000 : "QSPI.U-BOOT-ENV.backup"
    [ 1.572301] 0x000000130000-0x000000930000 : "QSPI.KERNEL"
    [ 1.578471] 0x000000930000-0x000004000000 : "QSPI.FILESYSTEM"
    [ 1.585747] libphy: Fixed MDIO Bus: probed
    [ 1.664531] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [ 1.672231] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [ 1.683670] libphy: 4a101000.mdio: probed
    [ 1.687845] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Micrel KSZ9031 Gigabit PHY
    [ 1.698465] cpsw 4a100000.ethernet: Detected MACID = 00:00:00:0d:00:0a
    [ 1.705300] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [ 1.711687] cpsw 4a100000.ethernet: ALE Table size 1024
    [ 1.717032] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [ 1.725645] i2c /dev entries driver
    [ 1.730974] IR NEC protocol handler initialized
    [ 1.735644] IR RC5(x/sz) protocol handler initialized
    [ 1.740731] IR RC6 protocol handler initialized
    [ 1.745316] IR JVC protocol handler initialized
    [ 1.749879] IR Sony protocol handler initialized
    [ 1.754538] IR SANYO protocol handler initialized
    [ 1.759271] IR Sharp protocol handler initialized
    [ 1.764004] IR MCE Keyboard/mouse protocol handler initialized
    [ 1.769882] IR XMP protocol handler initialized
    [ 1.776392] cpuidle: enable-method property 'ti,am4372' found operations
    [ 1.783562] sdhci: Secure Digital Host Controller Interface driver
    [ 1.789939] sdhci: Copyright(c) Pierre Ossman
    [ 1.795047] omap_hsmmc 48060000.mmc: Got CD GPIO
    [ 1.855119] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 1.865023] ledtrig-cpu: registered to indicate activity on CPUs
    [ 1.874367] NET: Registered protocol family 10
    [ 1.881211] Segment Routing with IPv6
    [ 1.885154] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [ 1.891797] NET: Registered protocol family 17
    [ 1.896692] Key type dns_resolver registered
    [ 1.901252] omap_voltage_late_init: Voltage driver support not added
    [ 1.945202] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 400 kHz
    [ 1.952196] omap_i2c 4819c000.i2c: bus 2 rev0.12 at 100 kHz
    [ 1.958981] cpu cpu0: _opp_add_static_v2: opp-hz not found
    [ 1.964604] cpu cpu0: _of_add_opp_table_v2: Failed to add OPP, -22
    [ 1.972458] input: gpio_keys as /devices/platform/gpio_keys/input/input0
    [ 1.979702] hctosys: unable to open rtc device (rtc0)
    [ 1.998726] net eth0: initializing cpsw version 1.15 (0)
    [ 2.108743] Micrel KSZ9031 Gigabit PHY 4a101000.mdio:00: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
    [ 2.127079] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 4.166228] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 4.194519] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [ 4.224603] Sending DHCP requests ., OK
    [ 4.268391] IP-Config: Got DHCP answer from 192.168.1.9, my address is 192.168.1.21
    [ 4.276155] IP-Config: Complete:
    [ 4.279401] device=eth0, hwaddr=00:00:00:0d:00:0a, ipaddr=192.168.1.21, mask=255.255.255.0, gw=255.255.255.255
    [ 4.289897] host=192.168.1.21, domain=, nis-domain=(none)
    [ 4.295764] bootserver=192.168.1.9, rootserver=192.168.1.9, rootpath= nameserver0=192.168.1.9
    [ 4.305591] ALSA device list:
    [ 4.308575] No soundcards found.
    [ 4.312058] Warning: unable to open an initial console.
    [ 4.329381] Freeing unused kernel memory: 7168K
    [ 5.858409] random: dd: uninitialized urandom read (512 bytes read)

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

    Arago Project http://arago-project.org am437x-evm /dev/ttyS0

    Arago 2018.10 am437x-evm /dev/ttyS0

    am437x-evm login: root
    -sh: command: not found
    root@am437x-evm:~#
    root@am437x-evm:~#
    root@am437x-evm:~#
    root@am437x-evm:~# ethtool eth0
    Settings for eth0:
    Supported ports: [ TP MII ]
    Supported link modes: 10baseT/Half 10baseT/Full
    100baseT/Half 100baseT/Full
    1000baseT/Half 1000baseT/Full
    Supported pause frame use: Symmetric Receive-only
    Supports auto-negotiation: Yes
    Supported FEC modes: Not reported
    Advertised link modes: 10baseT/Half 10baseT/Full
    100baseT/Half 100baseT/Full
    1000baseT/Half 1000baseT/Full
    Advertised pause frame use: No
    Advertised auto-negotiation: Yes
    Advertised FEC modes: Not reported
    Link partner advertised link modes: 10baseT/Half 10baseT/Full
    100baseT/Half 100baseT/Full
    Link partner advertised pause frame use: Symmetric
    Link partner advertised auto-negotiation: Yes
    Link partner advertised FEC modes: Not reported
    Speed: 100Mb/s
    Duplex: Full
    Port: MII
    PHYAD: 0
    Transceiver: internal
    Auto-negotiation: on
    Supports Wake-on: d
    Wake-on: d
    Current message level: 0x00000000 (0)

    Link detected: yes
    root@am437x-evm:~# [ 94.644479] random: fast init done

  • Rob,

    Looking into this further, we noticed that your console on your board is different than what we use, ttyS0 on the EVM vs. ttyS3 on your custom board. To account for this, inittab needs to be edited so that your init shell will use the correct console port. 

    The file is /etc/inittab in the tiny FS. It needs to be changed from:

    S0:12345:respawn:/bin/start_getty 115200 ttyS0 vt102

    to:

    S0:12345:respawn:/bin/start_getty 115200 ttyS3 vt102

    Then you'll need to rebuild the kernel (and FS into the kernel). What was essentially happening as you were booting but you were seeing no output on your console.

    Can you please make this change and give it another try?

    Thanks.

  • Here is the wireshark capture.

    net_boot_evm.zip

  • Ron,

    I do have access to the Uart0 TX on the target and had been using that for debug output in U-boot and SPL, previously.

    On the first attempt to boot the tinyfs I suspected that Linux may be defaulting to Uart0.  I connected a terminal to both Uart0 and Uart3 and did not see a terminal on Uart0.

    Just to be sure, I  edited my inittab as shown below:

    # /etc/inittab: init(8) configuration.
    # $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $

    # The default runlevel.
    id:5:initdefault:

    # Boot-time system configuration/initialization script.
    # This is run first except when booting in emergency (-b) mode.
    si::sysinit:/etc/init.d/rcS

    # What to do in single-user mode.
    ~~:S:wait:/sbin/sulogin

    # /etc/init.d executes the S and K scripts upon change
    # of runlevel.
    #
    # Runlevel 0 is halt.
    # Runlevel 1 is single-user.
    # Runlevels 2-5 are multi-user.
    # Runlevel 6 is reboot.

    l0:0:wait:/etc/init.d/rc 0
    l1:1:wait:/etc/init.d/rc 1
    l2:2:wait:/etc/init.d/rc 2
    l3:3:wait:/etc/init.d/rc 3
    l4:4:wait:/etc/init.d/rc 4
    l5:5:wait:/etc/init.d/rc 5
    l6:6:wait:/etc/init.d/rc 6
    # Normally not reached, but fallthrough in case of emergency.
    z6:6:respawn:/sbin/sulogin
    S0:12345:respawn:/bin/start_getty 115200 ttyS3 vt102
    # /sbin/getty invocations for the runlevels.
    #
    # The "id" field MUST be the same as the last
    # characters of the device (after "tty").
    #
    # Format:
    # <id>:<runlevels>:<action>:<process>
    #

    1:12345:respawn:/sbin/getty 38400 tty1

    Now when I boot I am seeing a message from cpsw that the eth0 link is going up and down?? But no terminal of shell.

    The target boot and terminal listing is shown below, it appears to be switching from HALF to FULL duplex???

    ========================================= Terminal output ============================================


    U-Boot 2018.01-00558-g8617e02-dirty (Aug 16 2019 - 13:48:07 -0400)

    CPU : AM437X-GP rev 1.2
    Model: TI AM4376 Core ACE U-boot
    DRAM: 1 GiB
    Can't find PMIC:TPS62362
    NAND: 0 MiB
    MMC: OMAP SD/MMC: 0
    MMC: no card present
    ** Bad device mmc 0 **
    Using default environment

    get_cputype() : 0x00000000
    Net: phy_init() CONFIG_PHY_FIXED
    get_cputype() : 0x00000000
    <ethaddr> set to CoreACE CPU C
    <cpsw> RMII @ 7
    cpsw
    Hit any key to stop autoboot: 0
    findcpuenv: CPU TYPE = C
    Setting CPU C environment
    MMC: no card present
    MMC: no card present
    MMC: no card present
    MMC: no card present
    Booting from network C...
    cpsw Waiting for PHY auto negotiation to complete. done
    link up on port 0, speed 100, full duplex
    BOOTP broadcast 1
    DHCP client bound to address 192.168.1.33 (4 ms)
    link up on port 0, speed 100, full duplex
    Using cpsw device
    TFTP from server 192.168.1.9; our IP address is 192.168.1.33
    Filename 'zImage'.
    Load address: 0x82000000
    Loading: #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #########################################
    549.8 KiB/s
    done
    Bytes transferred = 10854912 (a5a200 hex)
    link up on port 0, speed 100, full duplex
    Using cpsw device
    TFTP from server 192.168.1.9; our IP address is 192.168.1.33
    Filename 'CoreACE_C.dtb'.
    Load address: 0x88000000
    Loading: #########
    603.5 KiB/s
    done
    Bytes transferred = 43322 (a93a hex)
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Device Tree to 8fff2000, end 8ffff939 ... OK

    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 4.14.79-gbde58ab01e (root@dev-vbox) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #4 PREEMPT Tue Aug 20 07:22:44 EDT 2019
    [ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [ 0.000000] OF: fdt: Machine model: TI AM437C Core ACE CPU C
    [ 0.000000] Memory policy: Data cache writeback
    [ 0.000000] efi: Getting EFI parameters from FDT:
    [ 0.000000] efi: UEFI not found.
    [ 0.000000] cma: Reserved 48 MiB at 0xbd000000
    [ 0.000000] CPU: All CPU(s) started in SVC mode.
    [ 0.000000] AM437x ES1.2 (neon)
    [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 260416
    [ 0.000000] Kernel command line: console=ttyO4,115200 console=ttyO0,115200 root=/dev/nfs nfsroot=192.168.1.9:/export/rootfsC,nolock rw ip=dhcp
    [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [ 0.000000] Memory: 970128K/1048576K available (8192K kernel code, 329K rwdata, 2496K rodata, 7168K init, 268K bss, 29296K reserved, 49152K cma-reserved, 212992K highmem)
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
    [ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
    [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc0900000 (9184 kB)
    [ 0.000000] .init : 0xc0c00000 - 0xc1300000 (7168 kB)
    [ 0.000000] .data : 0xc1300000 - 0xc1352448 ( 330 kB)
    [ 0.000000] .bss : 0xc1352448 - 0xc139569c ( 269 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] Tasks RCU enabled.
    [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [ 0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [ 0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
    [ 0.000000] OMAP L2C310: ROM does not support power control setting
    [ 0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
    [ 0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
    [ 0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x4e430000
    [ 0.000000] OMAP clockevent source: timer2 at 25000000 Hz
    [ 0.000012] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
    [ 0.000030] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
    [ 0.000040] OMAP clocksource: timer1 at 25000000 Hz
    [ 0.000486] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [ 0.000498] OMAP clocksource: 32k_counter at 32768 Hz
    [ 0.000868] Console: colour dummy device 80x30
    [ 0.000898] WARNING: Your 'console=ttyO4' has been replaced by 'ttyS4'
    [ 0.000905] This ensures that you still see kernel messages. Please
    [ 0.000911] update your kernel commandline.
    [ 0.000937] Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816)
    [ 0.090212] pid_max: default: 32768 minimum: 301
    [ 0.090390] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.090414] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.091158] CPU: Testing write buffer coherency: ok
    [ 0.091215] CPU0: Spectre v2: using BPIALL workaround
    [ 0.091933] Setting up static identity map for 0x80100000 - 0x80100060
    [ 0.092087] Hierarchical SRCU implementation.
    [ 0.092452] EFI services will not be available.
    [ 0.093488] devtmpfs: initialized
    [ 0.101958] random: get_random_u32 called from bucket_table_alloc+0x8c/0x1ac with crng_init=0
    [ 0.102399] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [ 0.102707] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.102730] futex hash table entries: 256 (order: -1, 3072 bytes)
    [ 0.106228] pinctrl core: initialized pinctrl subsystem
    [ 0.106927] DMI not present or invalid.
    [ 0.107324] NET: Registered protocol family 16
    [ 0.109081] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.181637] cpuidle: using governor ladder
    [ 0.181677] cpuidle: using governor menu
    [ 0.183562] omap_l3_noc 44000000.ocp: L3 debug error: target 8 mod:0 (unclearable)
    [ 0.183639] omap_l3_noc 44000000.ocp: L3 application error: target 8 mod:0 (unclearable)
    [ 0.187954] omap_gpio 44e07000.gpio: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/gpio0_pins_default, deferring probe
    [ 0.188307] omap_gpio 4804c000.gpio: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/gpio1_pins_default, deferring probe
    [ 0.188660] omap_gpio 48322000.gpio: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/gpio5_pins_default, deferring probe
    [ 0.194103] No ATAGs?
    [ 0.194128] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
    [ 0.194145] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [ 0.207637] edma 49000000.edma: TI EDMA DMA engine driver
    [ 0.210856] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/i2c0_pins_default, deferring probe
    [ 0.210927] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/i2c1_pins_default, deferring probe
    [ 0.211028] media: Linux media interface: v0.10
    [ 0.211071] Linux video capture interface: v2.00
    [ 0.211171] pps_core: LinuxPPS API ver. 1 registered
    [ 0.211180] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.211203] PTP clock support registered
    [ 0.211238] EDAC MC: Ver: 3.0.0
    [ 0.211678] dmi: Firmware registration failed.
    [ 0.212061] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [ 0.212394] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.213512] clocksource: Switched to clocksource timer1
    [ 0.221708] NET: Registered protocol family 2
    [ 0.222403] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.222481] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.222574] TCP: Hash tables configured (established 8192 bind 8192)
    [ 0.222744] UDP hash table entries: 512 (order: 1, 8192 bytes)
    [ 0.222770] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
    [ 0.222937] NET: Registered protocol family 1
    [ 0.223357] RPC: Registered named UNIX socket transport module.
    [ 0.223369] RPC: Registered udp transport module.
    [ 0.223376] RPC: Registered tcp transport module.
    [ 0.223382] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.792786] workingset: timestamp_bits=14 max_order=18 bucket_order=4
    [ 0.797083] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.797899] NFS: Registering the id_resolver key type
    [ 0.797936] Key type id_resolver registered
    [ 0.797945] Key type id_legacy registered
    [ 0.797988] ntfs: driver 2.1.32 [Flags: R/O].
    [ 0.800094] bounce: pool size: 64 pages
    [ 0.800178] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [ 0.800191] io scheduler noop registered
    [ 0.800198] io scheduler deadline registered
    [ 0.800410] io scheduler cfq registered (default)
    [ 0.800421] io scheduler mq-deadline registered
    [ 0.800428] io scheduler kyber registered
    [ 0.802007] pinctrl-single 44e10800.pinmux: 199 pins at pa f9e10800 size 796
    [ 0.851992] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [ 0.854450] omap8250 44e09000.serial: No clock speed specified: using default: 48000000
    [ 0.855214] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
    [ 0.855592] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff9e8 (0x31c)
    [ 0.855610] pinctrl-single 44e10800.pinmux: could not add functions for uart1_pins_default 4294965736x
    [ 0.855706] omap8250 48022000.serial: No clock speed specified: using default: 48000000
    [ 0.856375] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a 8250
    [ 0.856699] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff9f8 (0x31c)
    [ 0.856715] pinctrl-single 44e10800.pinmux: could not add functions for uart2_pins_default 4294965752x
    [ 0.856797] omap8250 48024000.serial: No clock speed specified: using default: 48000000
    [ 0.857449] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 32, base_baud = 3000000) is a 8250
    [ 0.857762] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff91c (0x31c)
    [ 0.857776] pinctrl-single 44e10800.pinmux: could not add functions for uart4_pins_default 4294965532x
    [ 0.857860] omap8250 481a8000.serial: No clock speed specified: using default: 48000000
    [ 0.858470] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 33, base_baud = 3000000) is a 8250
    [ 1.700856] console [ttyS4] enabled
    [ 1.706104] omap_rng 48310000.rng: Random Number Generator ver. 20
    [ 1.726111] brd: module loaded
    [ 1.737872] loop: module loaded
    [ 1.742501] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff9dc (0x31c)
    [ 1.750724] pinctrl-single 44e10800.pinmux: could not add functions for spi2_pins_default 4294965724x
    [ 1.760905] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffffa10 (0x31c)
    [ 1.769032] pinctrl-single 44e10800.pinmux: could not add functions for qspi_pins_default 4294965776x
    [ 1.779822] libphy: Fixed MDIO Bus: probed
    [ 1.785489] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff90c (0x31c)
    [ 1.793582] pinctrl-single 44e10800.pinmux: could not add functions for rmii1_pins_default 4294965516x
    [ 1.816513] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff94c (0x31c)
    [ 1.824613] pinctrl-single 44e10800.pinmux: could not add functions for mdio1_pins_default 4294965580x
    [ 1.893564] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [ 1.901263] davinci_mdio 4a101000.mdio: detected phy mask ffffff77
    [ 1.917908] libphy: 4a101000.mdio: probed
    [ 1.921963] davinci_mdio 4a101000.mdio: phy[3]: device 4a101000.mdio:03, driver TI DP83822 10/100 Mbps PHY
    [ 1.931788] davinci_mdio 4a101000.mdio: phy[7]: device 4a101000.mdio:07, driver TI DP83822 10/100 Mbps PHY
    [ 1.942632] cpsw 4a100000.ethernet: Detected MACID = 00:00:00:0d:00:0c
    [ 1.949402] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [ 1.955847] cpsw 4a100000.ethernet: ALE Table size 1024
    [ 1.961138] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [ 1.969653] i2c /dev entries driver
    [ 1.973652] IR NEC protocol handler initialized
    [ 1.978206] IR RC5(x/sz) protocol handler initialized
    [ 1.983275] IR RC6 protocol handler initialized
    [ 1.987841] IR JVC protocol handler initialized
    [ 1.992388] IR Sony protocol handler initialized
    [ 1.997033] IR SANYO protocol handler initialized
    [ 2.001753] IR Sharp protocol handler initialized
    [ 2.006487] IR MCE Keyboard/mouse protocol handler initialized
    [ 2.012342] IR XMP protocol handler initialized
    [ 2.018920] cpuidle: enable-method property 'ti,am4372' found operations
    [ 2.026132] sdhci: Secure Digital Host Controller Interface driver
    [ 2.032342] sdhci: Copyright(c) Pierre Ossman
    [ 2.037121] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff900 (0x31c)
    [ 2.045197] pinctrl-single 44e10800.pinmux: could not add functions for mmc0_pins_default 4294965504x
    [ 2.054832] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 2.061143] ledtrig-cpu: registered to indicate activity on CPUs
    [ 2.069807] NET: Registered protocol family 10
    [ 2.075529] Segment Routing with IPv6
    [ 2.079290] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [ 2.086030] NET: Registered protocol family 17
    [ 2.090757] Key type dns_resolver registered
    [ 2.095375] omap_voltage_late_init: Voltage driver support not added
    [ 2.108065] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff918 (0x31c)
    [ 2.116263] pinctrl-single 44e10800.pinmux: could not add functions for gpio0_pins_default 4294965528x
    [ 2.126405] OMAP GPIO hardware version 0.1
    [ 2.130664] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff800 (0x31c)
    [ 2.138807] pinctrl-single 44e10800.pinmux: could not add functions for gpio1_pins_default 4294965248x
    [ 2.148896] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffffa30 (0x31c)
    [ 2.156986] pinctrl-single 44e10800.pinmux: could not add functions for gpio5_pins_default 4294965808x
    [ 2.167081] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff98c (0x31c)
    [ 2.175174] pinctrl-single 44e10800.pinmux: could not add functions for i2c0_pins_default 4294965644x
    [ 2.222368] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 400 kHz
    [ 2.228494] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffffa60 (0x31c)
    [ 2.236617] pinctrl-single 44e10800.pinmux: could not add functions for i2c1_pins_default 4294965856x
    [ 2.247565] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 400 kHz
    [ 2.253871] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff900 (0x31c)
    [ 2.261927] pinctrl-single 44e10800.pinmux: could not add functions for mmc0_pins_default 4294965504x
    [ 2.271568] omap_hsmmc 48060000.mmc: Got CD GPIO
    [ 2.335175] hctosys: unable to open rtc device (rtc0)
    [ 2.357727] net eth0: initializing cpsw version 1.15 (0)
    [ 2.411027] mmc0: switch to bus width 4 failed
    [ 2.416105] mmc0: new high speed MMC card at address 0001
    [ 2.422357] mmcblk0: mmc0:0001 MMC04G 3.57 GiB
    [ 2.427499] mmcblk0boot0: mmc0:0001 MMC04G partition 1 8.00 MiB
    [ 2.433750] mmcblk0boot1: mmc0:0001 MMC04G partition 2 8.00 MiB
    [ 2.439930] mmcblk0rpmb: mmc0:0001 MMC04G partition 3 128 KiB
    [ 2.471311] mmcblk0: error -84 transferring data, sector 0, nr 8, cmd response 0x900, card status 0xb00
    [ 2.481251] TI DP83822 10/100 Mbps PHY 4a101000.mdio:07: attached PHY driver [TI DP83822 10/100 Mbps PHY] (mii_bus:phy_addr=4a101000.mdio:07, irq=POLL)
    [ 2.501319] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 2.588359] mmc0: switch to bus width 4 failed
    [ 2.593695] mmcblk0: error -84 transferring data, sector 0, nr 8, cmd response 0x900, card status 0xb00
    [ 2.603149] mmcblk0: retrying using single block read
    [ 2.608610] mmcblk0: error -84 transferring data, sector 0, nr 8, cmd response 0x900, card status 0x0
    [ 2.618043] print_req_error: I/O error, dev mmcblk0, sector 0
    [ 2.624069] mmcblk0: error -84 transferring data, sector 1, nr 7, cmd response 0x900, card status 0x0
    [ 2.633331] print_req_error: I/O error, dev mmcblk0, sector 1
    [ 2.639320] mmcblk0: error -84 transferring data, sector 2, nr 6, cmd response 0x900, card status 0x0
    [ 2.648615] print_req_error: I/O error, dev mmcblk0, sector 2
    [ 2.654625] mmcblk0: error -84 transferring data, sector 3, nr 5, cmd response 0x900, card status 0x0
    [ 2.663900] print_req_error: I/O error, dev mmcblk0, sector 3
    [ 2.669866] mmcblk0: error -84 transferring data, sector 4, nr 4, cmd response 0x900, card status 0x0
    [ 2.679157] print_req_error: I/O error, dev mmcblk0, sector 4
    [ 2.685154] mmcblk0: error -84 transferring data, sector 5, nr 3, cmd response 0x900, card status 0x0
    [ 2.694444] print_req_error: I/O error, dev mmcblk0, sector 5
    [ 2.700417] mmcblk0: error -84 transferring data, sector 6, nr 2, cmd response 0x900, card status 0x0
    [ 2.709691] print_req_error: I/O error, dev mmcblk0, sector 6
    [ 2.715703] mmcblk0: error -84 transferring data, sector 7, nr 1, cmd response 0x900, card status 0x0
    [ 2.724977] print_req_error: I/O error, dev mmcblk0, sector 7
    [ 2.730754] Buffer I/O error on dev mmcblk0, logical block 0, async page read
    [ 2.738353] mmcblk0: error -84 transferring data, sector 0, nr 8, cmd response 0x900, card status 0xb00
    [ 2.747855] mmcblk0: retrying using single block read
    [ 2.753138] mmcblk0: error -84 transferring data, sector 0, nr 8, cmd response 0x900, card status 0x0
    [ 2.762417] print_req_error: I/O error, dev mmcblk0, sector 0
    [ 2.768418] mmcblk0: error -84 transferring data, sector 1, nr 7, cmd response 0x900, card status 0x0
    [ 2.777707] print_req_error: I/O error, dev mmcblk0, sector 1
    [ 2.783678] mmcblk0: error -84 transferring data, sector 2, nr 6, cmd response 0x900, card status 0x0
    [ 2.793139] mmcblk0: error -84 transferring data, sector 3, nr 5, cmd response 0x900, card status 0x0
    [ 2.802610] mmcblk0: error -84 transferring data, sector 4, nr 4, cmd response 0x900, card status 0x0
    [ 2.812092] mmcblk0: error -84 transferring data, sector 5, nr 3, cmd response 0x900, card status 0x0
    [ 2.821583] mmcblk0: error -84 transferring data, sector 6, nr 2, cmd response 0x900, card status 0x0
    [ 2.831052] mmcblk0: error -84 transferring data, sector 7, nr 1, cmd response 0x900, card status 0x0
    [ 2.840341] Buffer I/O error on dev mmcblk0, logical block 0, async page read
    [ 2.847547] mmcblk0: unable to read partition table
    [ 5.033550] random: fast init done
    [ 5.604803] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Half - flow control off
    [ 5.623674] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [ 5.653661] Sending DHCP requests .,. OK
    [ 8.597619] IP-Config: Got DHCP answer from 192.168.1.9, my address is 192.168.1.33
    [ 8.605526] IP-Config: Complete:
    [ 8.608778] device=eth0, hwaddr=00:00:00:0d:00:0c, ipaddr=192.168.1.33, mask=255.255.255.0, gw=255.255.255.255
    [ 8.619287] host=192.168.1.33, domain=, nis-domain=(none)
    [ 8.625240] bootserver=192.168.1.9, rootserver=192.168.1.9, rootpath= nameserver0=192.168.1.9
    [ 8.634979] ALSA device list:
    [ 8.637967] No soundcards found.
    [ 8.641439] Warning: unable to open an initial console.
    [ 8.658976] Freeing unused kernel memory: 7168K
    [ 10.289762] random: dd: uninitialized urandom read (512 bytes read)
    [ 83.604538] cpsw 4a100000.ethernet eth0: Link is Down
    [ 85.684787] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Half - flow control off
    [ 146.004594] cpsw 4a100000.ethernet eth0: Link is Down
    [ 149.124775] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Half - flow control off
    [ 219.843621] random: crng init done
    [ 239.604593] cpsw 4a100000.ethernet eth0: Link is Down
    [ 240.644813] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Half - flow control off
    [ 253.124562] cpsw 4a100000.ethernet eth0: Link is Down
    [ 254.164794] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Half - flow control off
    [ 257.284592] cpsw 4a100000.ethernet eth0: Link is Down
    [ 258.324789] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Half - flow control off
    [ 269.764582] cpsw 4a100000.ethernet eth0: Link is Down
    [ 270.804790] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Half - flow control off
    [ 288.484637] cpsw 4a100000.ethernet eth0: Link is Down
    [ 289.524849] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Half - flow control off
    [ 328.004542] cpsw 4a100000.ethernet eth0: Link is Down
    [ 330.084879] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Half - flow control off
    [ 356.084548] cpsw 4a100000.ethernet eth0: Link is Down
    [ 357.124873] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Half - flow control off
    [ 399.764586] cpsw 4a100000.ethernet eth0: Link is Down
    [ 400.804790] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Half - flow control off
    [ 440.324612] cpsw 4a100000.ethernet eth0: Link is Down
    [ 442.404847] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Half - flow control off
    [ 511.044594] cpsw 4a100000.ethernet eth0: Link is Down
    [ 512.084808] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Half - flow control off
    [ 547.444592] cpsw 4a100000.ethernet eth0: Link is Down
    [ 548.484868] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Half - flow control off
    [ 570.324585] cpsw 4a100000.ethernet eth0: Link is Down
    [ 571.364861] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Half - flow control off
    [ 606.724591] cpsw 4a100000.ethernet eth0: Link is Down
    [ 608.804831] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Half - flow control off
    [ 634.804548] cpsw 4a100000.ethernet eth0: Link is Down
    [ 635.844871] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Half - flow control off
    [ 647.284587] cpsw 4a100000.ethernet eth0: Link is Down
    [ 648.324797] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Half - flow control off
    [ 672.244597] cpsw 4a100000.ethernet eth0: Link is Down
    [ 673.284788] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Half - flow control off
    [ 688.884548] cpsw 4a100000.ethernet eth0: Link is Down
    [ 689.924805] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Half - flow control off
    [ 706.564587] cpsw 4a100000.ethernet eth0: Link is Down
    [ 707.604874] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Half - flow control off
    [ 750.244538] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 756.484585] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Half - flow control off
    [ 771.044529] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 774.164535] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Half - flow control off
    [ 803.284659] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 805.364601] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Half - flow control off
    [ 829.284534] cpsw 4a100000.ethernet eth0: Link is Down

  • Ron,

    The Uart numbering got us. CPU_B which does in fact use ttyS3 booted to the tinyfs just fine. (Although the loading zImage had some tftp packets timeout.)

    See attached capture of the terminal output when the ethtool command is executed.

    I suspect C is booting fine, I just need to change console to ttyS4.

    CPUB_tinyfsboot.log

    Regards,
    Rob

  • Ron,

    After editing inittab for ttyS4 I can boot CPU C. However I cannot login as root?

    I have tried to edit /etc/shadow file in tinyfs and remake the zImage with no change in tinyfs? 

    As well I copied a /etc/shadow from one of the rootfs used on the SD card that boots a devkit and I still cannot login? 

    Any other suggestions?

    Regards,

    Rob

    This is what I get on the terminal

    [ 9.530703] random: dd: uninitialized urandom read (512 bytes read)

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

    Arago Project http://arago-project.org am437x-evm /dev/ttyS4

    Arago 2018.10 am437x-evm /dev/ttyS4

    am437x-evm login: root

    Login incorrect
    am437x-evm login:

  • Hi Rob,

    That is really good news on the boot. Thanks for posting the ethtool output. These are the error counts below that I wanted to see, the RX CRC errors are non-zero which ideally they should always be 0. Typically this a board layout issue between the MAC and what it is connected with. But I believe the board has been modified here and that may contribute to the CRC errors being seen.

    Rx CRC Errors: 2
    Rx Align/Code Errors: 0
    Oversize Rx Frames: 0
    Rx Jabbers: 0

    Best Regards,

    Schuyler

  • Schuyler,

    The CRC errors are most likely related to the modifications we had to do on CPU B to get it to boot, it is a gnarly hack job on the PCB.

    Most likely the wiring is ringing and susceptible to noise that is contributing to the CRC errors this is what the mod looks like.

  • Schuyler,

    I was able to get passed the login issue on CPU C. I needed to add ttyS4 to the list of Standard serial ports in /etc/securetty of tinyfs and then rebuild zImage

    I was able to boot and run ethtool on CPU C, the attached is the terminal output. It shows 1 Rx CRC errror???

    U-Boot 2018.01-00558-g8617e02-dirty (Aug 20 2019 - 17:01:29 -0400)
    
    CPU  : AM437X-GP rev 1.2
    Model: TI AM4376 Core ACE U-boot
    DRAM:  1 GiB
    Can't find PMIC:TPS62362
    NAND:  0 MiB
    MMC:   OMAP SD/MMC: 0
    MMC: no card present
    ** Bad device mmc 0 **
    Using default environment
    
    get_cputype() : 0x00000000
    Net:   phy_init() CONFIG_PHY_FIXED
    get_cputype() : 0x00000000
    <ethaddr> set to CoreACE CPU C
    <cpsw> RMII @ 7
    cpsw
    Hit any key to stop autoboot:  0
    findcpuenv: CPU TYPE = C
    Setting CPU C environment
    MMC: no card present
    MMC: no card present
    MMC: no card present
    MMC: no card present
    Booting from network C...
    cpsw Waiting for PHY auto negotiation to complete. done
    link up on port 0, speed 100, full duplex
    BOOTP broadcast 1
    DHCP client bound to address 192.168.1.33 (7 ms)
    link up on port 0, speed 100, full duplex
    Using cpsw device
    TFTP from server 192.168.1.9; our IP address is 192.168.1.33
    Filename 'zImage'.
    Load address: 0x82000000
    Loading: #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #########################################
             714.8 KiB/s
    done
    Bytes transferred = 10854912 (a5a200 hex)
    link up on port 0, speed 100, full duplex
    Using cpsw device
    TFTP from server 192.168.1.9; our IP address is 192.168.1.33
    Filename 'CoreACE_C.dtb'.
    Load address: 0x88000000
    Loading: #########
             681.6 KiB/s
    done
    Bytes transferred = 43322 (a93a hex)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8fff2000, end 8ffff939 ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.14.79-gbde58ab01e (root@dev-vbox) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #9 PREEMPT Wed Aug 21 08:08:33 EDT 2019
    [    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] OF: fdt: Machine model: TI AM437C Core ACE CPU C
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 48 MiB at 0xbd000000
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM437x ES1.2 (neon)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260416
    [    0.000000] Kernel command line: console=ttyO4,115200 console=ttyO0,115200 root=/dev/nfs nfsroot=192.168.1.9:/export/rootfsC,nolock rw ip=dhcp
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 970128K/1048576K available (8192K kernel code, 329K rwdata, 2496K rodata, 7168K init, 268K bss, 29296K reserved, 49152K cma-reserved, 212992K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0900000   (9184 kB)
    [    0.000000]       .init : 0xc0c00000 - 0xc1300000   (7168 kB)
    [    0.000000]       .data : 0xc1300000 - 0xc1352448   ( 330 kB)
    [    0.000000]        .bss : 0xc1352448 - 0xc139569c   ( 269 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  Tasks RCU enabled.
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [    0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [    0.000000] L2C-310 enabling early BRESP for Cortex-A9
    [    0.000000] OMAP L2C310: ROM does not support power control setting
    [    0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
    [    0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
    [    0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x4e430000
    [    0.000000] OMAP clockevent source: timer2 at 25000000 Hz
    [    0.000012] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
    [    0.000031] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
    [    0.000041] OMAP clocksource: timer1 at 25000000 Hz
    [    0.000486] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000498] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000870] Console: colour dummy device 80x30
    [    0.000901] WARNING: Your 'console=ttyO4' has been replaced by 'ttyS4'
    [    0.000908] This ensures that you still see kernel messages. Please
    [    0.000913] update your kernel commandline.
    [    0.000940] Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816)
    [    0.090214] pid_max: default: 32768 minimum: 301
    [    0.090389] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.090413] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.091159] CPU: Testing write buffer coherency: ok
    [    0.091220] CPU0: Spectre v2: using BPIALL workaround
    [    0.091945] Setting up static identity map for 0x80100000 - 0x80100060
    [    0.092101] Hierarchical SRCU implementation.
    [    0.092463] EFI services will not be available.
    [    0.093513] devtmpfs: initialized
    [    0.101954] random: get_random_u32 called from bucket_table_alloc+0x8c/0x1ac with crng_init=0
    [    0.102385] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [    0.102684] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.102705] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.106189] pinctrl core: initialized pinctrl subsystem
    [    0.106887] DMI not present or invalid.
    [    0.107281] NET: Registered protocol family 16
    [    0.109036] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.182085] cpuidle: using governor ladder
    [    0.182125] cpuidle: using governor menu
    [    0.184007] omap_l3_noc 44000000.ocp: L3 debug error: target 8 mod:0 (unclearable)
    [    0.184086] omap_l3_noc 44000000.ocp: L3 application error: target 8 mod:0 (unclearable)
    [    0.188395] omap_gpio 44e07000.gpio: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/gpio0_pins_default, deferring probe
    [    0.188746] omap_gpio 4804c000.gpio: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/gpio1_pins_default, deferring probe
    [    0.189103] omap_gpio 48322000.gpio: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/gpio5_pins_default, deferring probe
    [    0.194541] No ATAGs?
    [    0.194567] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
    [    0.194584] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [    0.208112] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.211332] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/i2c0_pins_default, deferring probe
    [    0.211403] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/i2c1_pins_default, deferring probe
    [    0.211500] media: Linux media interface: v0.10
    [    0.211543] Linux video capture interface: v2.00
    [    0.211646] pps_core: LinuxPPS API ver. 1 registered
    [    0.211655] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.211677] PTP clock support registered
    [    0.211711] EDAC MC: Ver: 3.0.0
    [    0.212148] dmi: Firmware registration failed.
    [    0.212526] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.212857] Advanced Linux Sound Architecture Driver Initialized.
    [    0.213979] clocksource: Switched to clocksource timer1
    [    0.222189] NET: Registered protocol family 2
    [    0.222878] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.222959] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.223050] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.223220] UDP hash table entries: 512 (order: 1, 8192 bytes)
    [    0.223247] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
    [    0.223412] NET: Registered protocol family 1
    [    0.223845] RPC: Registered named UNIX socket transport module.
    [    0.223857] RPC: Registered udp transport module.
    [    0.223864] RPC: Registered tcp transport module.
    [    0.223871] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.793567] workingset: timestamp_bits=14 max_order=18 bucket_order=4
    [    0.797846] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.798669] NFS: Registering the id_resolver key type
    [    0.798706] Key type id_resolver registered
    [    0.798714] Key type id_legacy registered
    [    0.798757] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.800860] bounce: pool size: 64 pages
    [    0.800955] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.800968] io scheduler noop registered
    [    0.800976] io scheduler deadline registered
    [    0.801189] io scheduler cfq registered (default)
    [    0.801200] io scheduler mq-deadline registered
    [    0.801207] io scheduler kyber registered
    [    0.802781] pinctrl-single 44e10800.pinmux: 199 pins at pa f9e10800 size 796
    [    0.852910] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.855380] omap8250 44e09000.serial: No clock speed specified: using default: 48000000
    [    0.856136] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
    [    0.856522] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff9e8 (0x31c)
    [    0.856538] pinctrl-single 44e10800.pinmux: could not add functions for uart1_pins_default 4294965736x
    [    0.856635] omap8250 48022000.serial: No clock speed specified: using default: 48000000
    [    0.857308] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a 8250
    [    0.857627] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff9f8 (0x31c)
    [    0.857642] pinctrl-single 44e10800.pinmux: could not add functions for uart2_pins_default 4294965752x
    [    0.857728] omap8250 48024000.serial: No clock speed specified: using default: 48000000
    [    0.858381] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 32, base_baud = 3000000) is a 8250
    [    0.858693] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff91c (0x31c)
    [    0.858708] pinctrl-single 44e10800.pinmux: could not add functions for uart4_pins_default 4294965532x
    [    0.858793] omap8250 481a8000.serial: No clock speed specified: using default: 48000000
    [    0.859394] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 33, base_baud = 3000000) is a 8250
    [    1.701797] console [ttyS4] enabled
    [    1.707044] omap_rng 48310000.rng: Random Number Generator ver. 20
    [    1.727009] brd: module loaded
    [    1.738789] loop: module loaded
    [    1.743432] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff9dc (0x31c)
    [    1.751657] pinctrl-single 44e10800.pinmux: could not add functions for spi2_pins_default 4294965724x
    [    1.761841] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffffa10 (0x31c)
    [    1.769967] pinctrl-single 44e10800.pinmux: could not add functions for qspi_pins_default 4294965776x
    [    1.780774] libphy: Fixed MDIO Bus: probed
    [    1.786448] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff90c (0x31c)
    [    1.794542] pinctrl-single 44e10800.pinmux: could not add functions for rmii1_pins_default 4294965516x
    [    1.817498] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff94c (0x31c)
    [    1.825599] pinctrl-single 44e10800.pinmux: could not add functions for mdio1_pins_default 4294965580x
    [    1.894030] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    1.901728] davinci_mdio 4a101000.mdio: detected phy mask ffffff77
    [    1.918466] libphy: 4a101000.mdio: probed
    [    1.922522] davinci_mdio 4a101000.mdio: phy[3]: device 4a101000.mdio:03, driver TI DP83822 10/100 Mbps PHY
    [    1.932350] davinci_mdio 4a101000.mdio: phy[7]: device 4a101000.mdio:07, driver TI DP83822 10/100 Mbps PHY
    [    1.943188] cpsw 4a100000.ethernet: Detected MACID = 00:00:00:0d:00:0c
    [    1.949955] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [    1.956400] cpsw 4a100000.ethernet: ALE Table size 1024
    [    1.961692] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.970212] i2c /dev entries driver
    [    1.974222] IR NEC protocol handler initialized
    [    1.978774] IR RC5(x/sz) protocol handler initialized
    [    1.983843] IR RC6 protocol handler initialized
    [    1.988415] IR JVC protocol handler initialized
    [    1.992962] IR Sony protocol handler initialized
    [    1.997609] IR SANYO protocol handler initialized
    [    2.002330] IR Sharp protocol handler initialized
    [    2.007063] IR MCE Keyboard/mouse protocol handler initialized
    [    2.012916] IR XMP protocol handler initialized
    [    2.019529] cpuidle: enable-method property 'ti,am4372' found operations
    [    2.026726] sdhci: Secure Digital Host Controller Interface driver
    [    2.032936] sdhci: Copyright(c) Pierre Ossman
    [    2.037716] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff900 (0x31c)
    [    2.045795] pinctrl-single 44e10800.pinmux: could not add functions for mmc0_pins_default 4294965504x
    [    2.055423] sdhci-pltfm: SDHCI platform and OF driver helper
    [    2.061739] ledtrig-cpu: registered to indicate activity on CPUs
    [    2.070410] NET: Registered protocol family 10
    [    2.076142] Segment Routing with IPv6
    [    2.079903] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    2.086640] NET: Registered protocol family 17
    [    2.091371] Key type dns_resolver registered
    [    2.095995] omap_voltage_late_init: Voltage driver support not added
    [    2.108676] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff918 (0x31c)
    [    2.116876] pinctrl-single 44e10800.pinmux: could not add functions for gpio0_pins_default 4294965528x
    [    2.127009] OMAP GPIO hardware version 0.1
    [    2.131266] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff800 (0x31c)
    [    2.139406] pinctrl-single 44e10800.pinmux: could not add functions for gpio1_pins_default 4294965248x
    [    2.149492] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffffa30 (0x31c)
    [    2.157587] pinctrl-single 44e10800.pinmux: could not add functions for gpio5_pins_default 4294965808x
    [    2.167677] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff98c (0x31c)
    [    2.175769] pinctrl-single 44e10800.pinmux: could not add functions for i2c0_pins_default 4294965644x
    [    2.223029] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 400 kHz
    [    2.229155] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffffa60 (0x31c)
    [    2.237280] pinctrl-single 44e10800.pinmux: could not add functions for i2c1_pins_default 4294965856x
    [    2.248249] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 400 kHz
    [    2.254559] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff900 (0x31c)
    [    2.262615] pinctrl-single 44e10800.pinmux: could not add functions for mmc0_pins_default 4294965504x
    [    2.272267] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    2.335626] hctosys: unable to open rtc device (rtc0)
    [    2.358173] net eth0: initializing cpsw version 1.15 (0)
    [    2.411508] mmc0: switch to bus width 4 failed
    [    2.416593] mmc0: new high speed MMC card at address 0001
    [    2.422840] mmcblk0: mmc0:0001 MMC04G 3.57 GiB
    [    2.427973] mmcblk0boot0: mmc0:0001 MMC04G partition 1 8.00 MiB
    [    2.434218] mmcblk0boot1: mmc0:0001 MMC04G partition 2 8.00 MiB
    [    2.440406] mmcblk0rpmb: mmc0:0001 MMC04G partition 3 128 KiB
    [    2.471766] mmcblk0: error -84 transferring data, sector 0, nr 8, cmd response 0x900, card status 0xb00
    [    2.481705] TI DP83822 10/100 Mbps PHY 4a101000.mdio:07: attached PHY driver [TI DP83822 10/100 Mbps PHY] (mii_bus:phy_addr=4a101000.mdio:07, irq=POLL)
    [    2.501773] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    2.616192] mmc0: switch to bus width 4 failed
    [    2.621329] mmcblk0: error -84 transferring data, sector 0, nr 8, cmd response 0x900, card status 0xb00
    [    2.630883] mmcblk0: retrying using single block read
    [    2.636188] mmcblk0: error -84 transferring data, sector 0, nr 8, cmd response 0x900, card status 0x0
    [    2.645498] print_req_error: I/O error, dev mmcblk0, sector 0
    [    2.651484] mmcblk0: error -84 transferring data, sector 1, nr 7, cmd response 0x900, card status 0x0
    [    2.660763] print_req_error: I/O error, dev mmcblk0, sector 1
    [    2.666766] mmcblk0: error -84 transferring data, sector 2, nr 6, cmd response 0x900, card status 0x0
    [    2.676058] print_req_error: I/O error, dev mmcblk0, sector 2
    [    2.682026] mmcblk0: error -84 transferring data, sector 3, nr 5, cmd response 0x900, card status 0x0
    [    2.691317] print_req_error: I/O error, dev mmcblk0, sector 3
    [    2.697297] mmcblk0: error -84 transferring data, sector 4, nr 4, cmd response 0x900, card status 0x0
    [    2.706584] print_req_error: I/O error, dev mmcblk0, sector 4
    [    2.712550] mmcblk0: error -84 transferring data, sector 5, nr 3, cmd response 0x900, card status 0x0
    [    2.721840] print_req_error: I/O error, dev mmcblk0, sector 5
    [    2.727820] mmcblk0: error -84 transferring data, sector 6, nr 2, cmd response 0x900, card status 0x0
    [    2.737117] print_req_error: I/O error, dev mmcblk0, sector 6
    [    2.743090] mmcblk0: error -84 transferring data, sector 7, nr 1, cmd response 0x900, card status 0x0
    [    2.752365] print_req_error: I/O error, dev mmcblk0, sector 7
    [    2.758171] Buffer I/O error on dev mmcblk0, logical block 0, async page read
    [    2.765793] mmcblk0: error -84 transferring data, sector 0, nr 8, cmd response 0x900, card status 0xb00
    [    2.775252] mmcblk0: retrying using single block read
    [    2.780524] mmcblk0: error -84 transferring data, sector 0, nr 8, cmd response 0x900, card status 0x0
    [    2.789826] print_req_error: I/O error, dev mmcblk0, sector 0
    [    2.795826] mmcblk0: error -84 transferring data, sector 1, nr 7, cmd response 0x900, card status 0x0
    [    2.805118] print_req_error: I/O error, dev mmcblk0, sector 1
    [    2.811091] mmcblk0: error -84 transferring data, sector 2, nr 6, cmd response 0x900, card status 0x0
    [    2.820562] mmcblk0: error -84 transferring data, sector 3, nr 5, cmd response 0x900, card status 0x0
    [    2.830064] mmcblk0: error -84 transferring data, sector 4, nr 4, cmd response 0x900, card status 0x0
    [    2.839540] mmcblk0: error -84 transferring data, sector 5, nr 3, cmd response 0x900, card status 0x0
    [    2.849009] mmcblk0: error -84 transferring data, sector 6, nr 2, cmd response 0x900, card status 0x0
    [    2.858512] mmcblk0: error -84 transferring data, sector 7, nr 1, cmd response 0x900, card status 0x0
    [    2.867791] Buffer I/O error on dev mmcblk0, logical block 0, async page read
    [    2.874983]  mmcblk0: unable to read partition table
    [    4.304017] random: fast init done
    [    5.605243] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Half - flow control off
    [    5.614107] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [    5.644175] Sending DHCP requests .,. OK
    [    8.448103] IP-Config: Got DHCP answer from 192.168.1.9, my address is 192.168.1.33
    [    8.456010] IP-Config: Complete:
    [    8.459262]      device=eth0, hwaddr=00:00:00:0d:00:0c, ipaddr=192.168.1.33, mask=255.255.255.0, gw=255.255.255.255
    [    8.469770]      host=192.168.1.33, domain=, nis-domain=(none)
    [    8.475721]      bootserver=192.168.1.9, rootserver=192.168.1.9, rootpath=     nameserver0=192.168.1.9
    [    8.485463] ALSA device list:
    [    8.488451]   No soundcards found.
    [    8.491924] Warning: unable to open an initial console.
    [    8.509455] Freeing unused kernel memory: 7168K
    [   10.140760] random: dd: uninitialized urandom read (512 bytes read)
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org am437x-evm /dev/ttyS4
    
    Arago 2018.10 am437x-evm /dev/ttyS4
    
    am437x-evm login: root
    -sh: command: not found
    root@am437x-evm:~#
    root@am437x-evm:~#
    root@am437x-evm:~#
    root@am437x-evm:~#
    root@am437x-evm:~#
    root@am437x-evm:~#
    root@am437x-evm:~#
    root@am437x-evm:~#
    root@am437x-evm:~#
    root@am437x-evm:~#
    root@am437x-evm:~#
    root@am437x-evm:~#
    root@am437x-evm:~#
    root@am437x-evm:~#
    root@am437x-evm:~#
    root@am437x-evm:~#
    root@am437x-evm:~#
    root@am437x-evm:~#
    root@am437x-evm:~#
    root@am437x-evm:~#
    root@am437x-evm:~#
    root@am437x-evm:~#
    root@am437x-evm:~#
    root@am437x-evm:~# ethtool -S eth0
    NIC statistics:
         Good Rx Frames: 4
         Broadcast Rx Frames: 0
         Multicast Rx Frames: 0
         Pause Rx Frames: 0
         Rx CRC Errors: 1
         Rx Align/Code Errors: 0
         Oversize Rx Frames: 0
         Rx Jabbers: 0
         Undersize (Short) Rx Frames: 0
         Rx Fragments: 0
         Rx Octets: 1384
         Good Tx Frames: 13
         Broadcast Tx Frames: 5
         Multicast Tx Frames: 8
         Pause Tx Frames: 0
         Deferred Tx Frames: 0
         Collisions: 0
         Single Collision Tx Frames: 0
         Multiple Collision Tx Frames: 0
         Excessive Collisions: 0
         Late Collisions: 0
         Tx Underrun: 0
         Carrier Sense Errors: 0
         Tx Octets: 3202
         Rx + Tx 64 Octet Frames: 0
         Rx + Tx 65-127 Octet Frames: 8
         Rx + Tx 128-255 Octet Frames: 0
         Rx + Tx 256-511 Octet Frames: 7
         Rx + Tx 512-1023 Octet Frames: 3
         Rx + Tx 1024-Up Octet Frames: 0
         Net Octets: 4932
         Rx Start of Frame Overruns: 0
         Rx Middle of Frame Overruns: 0
         Rx DMA Overruns: 0
         Rx DMA chan 0: head_enqueue: 1
         Rx DMA chan 0: tail_enqueue: 131
         Rx DMA chan 0: pad_enqueue: 0
         Rx DMA chan 0: misqueued: 0
         Rx DMA chan 0: desc_alloc_fail: 0
         Rx DMA chan 0: pad_alloc_fail: 0
         Rx DMA chan 0: runt_receive_buf: 0
         Rx DMA chan 0: runt_transmit_bu: 0
         Rx DMA chan 0: empty_dequeue: 0
         Rx DMA chan 0: busy_dequeue: 4
         Rx DMA chan 0: good_dequeue: 4
         Rx DMA chan 0: requeue: 0
         Rx DMA chan 0: teardown_dequeue: 0
         Tx DMA chan 0: head_enqueue: 13
         Tx DMA chan 0: tail_enqueue: 0
         Tx DMA chan 0: pad_enqueue: 0
         Tx DMA chan 0: misqueued: 0
         Tx DMA chan 0: desc_alloc_fail: 0
         Tx DMA chan 0: pad_alloc_fail: 0
         Tx DMA chan 0: runt_receive_buf: 0
         Tx DMA chan 0: runt_transmit_bu: 0
         Tx DMA chan 0: empty_dequeue: 13
         Tx DMA chan 0: busy_dequeue: 0
         Tx DMA chan 0: good_dequeue: 13
         Tx DMA chan 0: requeue: 0
         Tx DMA chan 0: teardown_dequeue: 0
    root@am437x-evm:~#
    

  • Rob,

    Eventually I think you want to look at what is causing the CRC error but for the moment is the link up/down happening?

    Best Regards,

    Schuyler

  • Yes, it still happens.

    I attached the log output for CPU C.

    Rob

    NIC statistics:
         Good Rx Frames: 651
         Broadcast Rx Frames: 66
         Multicast Rx Frames: 195
         Pause Rx Frames: 0
         Rx CRC Errors: 55
         Rx Align/Code Errors: 93
         Oversize Rx Frames: 0
         Rx Jabbers: 0
         Undersize (Short) Rx Frames: 0
         Rx Fragments: 6
         Rx Octets: 90195
         Good Tx Frames: 558
         Broadcast Tx Frames: 103
         Multicast Tx Frames: 8
         Pause Tx Frames: 0
         Deferred Tx Frames: 0
         Collisions: 0
         Single Collision Tx Frames: 0
         Multiple Collision Tx Frames: 0
         Excessive Collisions: 0
         Late Collisions: 0
         Tx Underrun: 0
         Carrier Sense Errors: 0
         Tx Octets: 88578
         Rx + Tx 64 Octet Frames: 146
         Rx + Tx 65-127 Octet Frames: 839
         Rx + Tx 128-255 Octet Frames: 124
         Rx + Tx 256-511 Octet Frames: 245
         Rx + Tx 512-1023 Octet Frames: 3
         Rx + Tx 1024-Up Octet Frames: 0
         Net Octets: 203184
         Rx Start of Frame Overruns: 0
         Rx Middle of Frame Overruns: 0
         Rx DMA Overruns: 0
         Rx DMA chan 0: head_enqueue: 1
         Rx DMA chan 0: tail_enqueue: 583
         Rx DMA chan 0: pad_enqueue: 0
         Rx DMA chan 0: misqueued: 0
         Rx DMA chan 0: desc_alloc_fail: 0
         Rx DMA chan 0: pad_alloc_fail: 0
         Rx DMA chan 0: runt_receive_buf: 0
         Rx DMA chan 0: runt_transmit_bu: 0
         Rx DMA chan 0: empty_dequeue: 0
         Rx DMA chan 0: busy_dequeue: 456
         Rx DMA chan 0: good_dequeue: 456
         Rx DMA chan 0: requeue: 0
         Rx DMA chan 0: teardown_dequeue: 0
         Tx DMA chan 0: head_enqueue: 555
         Tx DMA chan 0: tail_enqueue: 3
         Tx DMA chan 0: pad_enqueue: 0
         Tx DMA chan 0: misqueued: 3
         Tx DMA chan 0: desc_alloc_fail: 0
         Tx DMA chan 0: pad_alloc_fail: 0
         Tx DMA chan 0: runt_receive_buf: 0
         Tx DMA chan 0: runt_transmit_bu: 145
         Tx DMA chan 0: empty_dequeue: 555
         Tx DMA chan 0: busy_dequeue: 0
         Tx DMA chan 0: goo^C
    root@am437x-evm:~# [ 3691.365079] cpsw 4a100000.ethernet eth0: Link is Down
    [ 3692.405287] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Half - flow control off
    [ 3817.205082] cpsw 4a100000.ethernet eth0: Link is Down
    [ 3818.245285] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Half - flow control off
    [ 4044.965028] cpsw 4a100000.ethernet eth0: Link is Down
    [ 4047.045323] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Half - flow control off
    

  • Rob,

    Thanks for the log with the ethtool output included.

    Pause Rx Frames: 0
    Rx CRC Errors: 55
    Rx Align/Code Errors: 93
    Oversize Rx Frames: 0
    Rx Jabbers: 0

    The CRC and Align errors are increasing and probably impacting the traffic. As I mentioned earlier these are most likely related to a layout problem. The link up/down is something related to the analog side of the PHY.  Since this is a TI PHY being used I will contact the PHY team for assistance on some next steps.

    Best Regards,

    Schuyler

  • Schuyler,

    I was able to boot CPU A and run ethtool on that interface as well, the attached is the terminal output. This target continues to show the CRC errors.

    As a test I also attempted to mount my NFS after the boot to the tinyfs. This is how got it to work and what happened:

    1) Copy the mount.nfs from an extracted "full" filesystem:

    cp ~/targetnfs/am335x/plsdk5_3/sbin/mount.nfs ~/tinyfs_am437x/sbin/

    2) Copy the shared library:

    cp ~/targetnfs/am335x/plsdk5_3/usr/lib/libtirpc.so.3* ~/tinyfs_am437x/usr/lib/

    3) Make the needed link

    cd ~/tinyfs_am437x/usr/lib/

    ln -s libtirpc.so.3.0.0 libtirpc.so.3

    4) Rebuilt the kernel to pick up the changes to tinyFS.

    5) As a test I ran this command on the my IDK to validate that my NFS server (192.168.1.9) is functional:

    mount.nfs 192.168.1.9:/export/rootfs /media/nfs/

    This mounted with success and the mount point showed the file system on the server.

    6) I ran the command "mount.nfs 192.168.1.9:/export/rootfs /media/nfs/" on my target CPU A and found that mounted once out of about 10 attempts. The mount point was really slow, as I am sure there are timeouts and errors on the link.

    So far I have been able to boot the tinyfs on all the AM4376 targets.  Each target demonstrates the Rx CRC errors and Rx Align/Code Errors.  As a check I booted the IDK on my network and found that it has 0 Rx CRC errors.

    Perhaps the next step is to re-review the schematic and layout as you have suggested?

    Regards,
    Rob

    U-Boot 2018.01-00558-g8617e02-dirty (Aug 21 2019 - 12:08:52 -0400)
    
    CPU  : AM437X-GP rev 1.2
    Model: TI AM4376 Core ACE U-boot
    DRAM:  1 GiB
    Can't find PMIC:TPS62362
    NAND:  0 MiB
    MMC:   OMAP SD/MMC: 0
    ** No partition table - mmc 0 **
    Using default environment
    
    get_bank0val() : 0x9B860228
    Net:   phy_init() CONFIG_PHY_FIXED
    get_bank0val() : 0x9B860228
    <ethaddr> set to CoreACE CPU A
    <cpsw> RMII @ Fixed
    Found PHY fixed-link: addr 15
    cpsw
    Hit any key to stop autoboot:  0
    findcpuenv: CPU TYPE = A
    Setting CPU A environment
    switch to partitions #0, OK
    mmc0(part 0) is current device
    SD/MMC found on device 0
    Failed to mount ext2 filesystem...
    ** Unrecognized filesystem type **
    ** Unrecognized filesystem type **
    switch to partitions #0, OK
    mmc0(part 0) is current device
    SD/MMC found on device 0
    ** No partition table - mmc 0 **
    Booting from network A...
    link up on port 0, speed 100, full duplex
    BOOTP broadcast 1
    DHCP client bound to address 192.168.1.21 (4 ms)
    link up on port 0, speed 100, full duplex
    Using cpsw device
    TFTP from server 192.168.1.9; our IP address is 192.168.1.21
    Filename 'zImage'.
    Load address: 0x82000000
    Loading: ##############################################T ###################
             #################################################################
             ##############T ###################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             ########################################T #########################
             #################################################################
             #################T T T ################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #####################T ############################################
             ######T #################T ##########################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #######################################################T ##########
             #################################################################
             #########
             161.1 KiB/s
    done
    Bytes transferred = 11026944 (a84200 hex)
    link up on port 0, speed 100, full duplex
    Using cpsw device
    TFTP from server 192.168.1.9; our IP address is 192.168.1.21
    Filename 'CoreACE_A_B.dtb'.
    Load address: 0x88000000
    Loading: ##########
             563.5 KiB/s
    done
    Bytes transferred = 46230 (b496 hex)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8fff1000, end 8ffff495 ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.14.79-gbde58ab01e (root@dev-vbox) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #12 PREEMPT Wed Aug 21 12:26:43 EDT 2019
    [    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] OF: fdt: Machine model: CoreACE_A_B Processor DT
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 48 MiB at 0xbd000000
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM437x ES1.2 (neon)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260416
    [    0.000000] Kernel command line: console=ttyO3,115200 console=ttyO0,115200 root=/dev/nfs nfsroot=192.168.1.9:/export/rootfsA,nolock rw ip=dhcp
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 969092K/1048576K available (8192K kernel code, 329K rwdata, 2496K rodata, 8192K init, 268K bss, 30332K reserved, 49152K cma-reserved, 212992K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0900000   (9184 kB)
    [    0.000000]       .init : 0xc0c00000 - 0xc1400000   (8192 kB)
    [    0.000000]       .data : 0xc1400000 - 0xc1452448   ( 330 kB)
    [    0.000000]        .bss : 0xc1452448 - 0xc149569c   ( 269 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  Tasks RCU enabled.
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [    0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [    0.000000] L2C-310 enabling early BRESP for Cortex-A9
    [    0.000000] OMAP L2C310: ROM does not support power control setting
    [    0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
    [    0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
    [    0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x4e430000
    [    0.000000] OMAP clockevent source: timer2 at 25000000 Hz
    [    0.000012] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
    [    0.000029] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
    [    0.000040] OMAP clocksource: timer1 at 25000000 Hz
    [    0.000487] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000498] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000883] Console: colour dummy device 80x30
    [    0.000912] WARNING: Your 'console=ttyO3' has been replaced by 'ttyS3'
    [    0.000919] This ensures that you still see kernel messages. Please
    [    0.000924] update your kernel commandline.
    [    0.000950] Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816)
    [    0.090212] pid_max: default: 32768 minimum: 301
    [    0.090389] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.090413] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.091157] CPU: Testing write buffer coherency: ok
    [    0.091218] CPU0: Spectre v2: using BPIALL workaround
    [    0.091938] Setting up static identity map for 0x80100000 - 0x80100060
    [    0.092091] Hierarchical SRCU implementation.
    [    0.092450] EFI services will not be available.
    [    0.093496] devtmpfs: initialized
    [    0.102497] random: get_random_u32 called from bucket_table_alloc+0x8c/0x1ac with crng_init=0
    [    0.102920] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [    0.103222] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.103244] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.106738] pinctrl core: initialized pinctrl subsystem
    [    0.107451] DMI not present or invalid.
    [    0.107850] NET: Registered protocol family 16
    [    0.109599] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.182863] cpuidle: using governor ladder
    [    0.182903] cpuidle: using governor menu
    [    0.184799] omap_l3_noc 44000000.ocp: L3 debug error: target 8 mod:0 (unclearable)
    [    0.184877] omap_l3_noc 44000000.ocp: L3 application error: target 8 mod:0 (unclearable)
    [    0.188725] platform 44e3e000.rtc: Cannot lookup hwmod 'rtc'
    [    0.189288] omap_gpio 44e07000.gpio: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/gpio0_pins_default, deferring probe
    [    0.189644] omap_gpio 4804c000.gpio: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/mygpio1_pins_default, deferring probe
    [    0.189968] omap_gpio 481ac000.gpio: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/mygpio2_pins_default, deferring probe
    [    0.190357] omap_gpio 481ae000.gpio: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/gpio3_pins_default, deferring probe
    [    0.190680] omap_gpio 48320000.gpio: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/gpio4_pins_default, deferring probe
    [    0.190987] omap_gpio 48322000.gpio: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/gpio5_pins_default, deferring probe
    [    0.197681] No ATAGs?
    [    0.197707] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
    [    0.197723] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [    0.211768] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.212813] V3_3D: supplied by V24_0D
    [    0.213166] VDD_COREREG: supplied by V24_0D
    [    0.213498] VDD_CORE: supplied by VDD_COREREG
    [    0.213777] V1_8DREG: supplied by V24_0D
    [    0.214103] V1_8D: supplied by V1_8DREG
    [    0.214414] V1_5DREG: supplied by V24_0D
    [    0.214724] V1_5D: supplied by V1_5DREG
    [    0.217594] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/i2c0_pins_default, deferring probe
    [    0.217660] omap_i2c 4819c000.i2c: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/i2c2_pins_default, deferring probe
    [    0.217780] media: Linux media interface: v0.10
    [    0.217829] Linux video capture interface: v2.00
    [    0.217952] pps_core: LinuxPPS API ver. 1 registered
    [    0.217960] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.217983] PTP clock support registered
    [    0.218017] EDAC MC: Ver: 3.0.0
    [    0.218488] dmi: Firmware registration failed.
    [    0.218876] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.219270] Advanced Linux Sound Architecture Driver Initialized.
    [    0.220488] clocksource: Switched to clocksource timer1
    [    0.228576] NET: Registered protocol family 2
    [    0.229255] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.229334] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.229426] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.229597] UDP hash table entries: 512 (order: 1, 8192 bytes)
    [    0.229623] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
    [    0.229786] NET: Registered protocol family 1
    [    0.230379] RPC: Registered named UNIX socket transport module.
    [    0.230394] RPC: Registered udp transport module.
    [    0.230401] RPC: Registered tcp transport module.
    [    0.230407] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.812572] workingset: timestamp_bits=14 max_order=18 bucket_order=4
    [    0.816560] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.817355] NFS: Registering the id_resolver key type
    [    0.817394] Key type id_resolver registered
    [    0.817402] Key type id_legacy registered
    [    0.817446] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.819558] bounce: pool size: 64 pages
    [    0.819644] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.819657] io scheduler noop registered
    [    0.819664] io scheduler deadline registered
    [    0.819883] io scheduler cfq registered (default)
    [    0.819894] io scheduler mq-deadline registered
    [    0.819901] io scheduler kyber registered
    [    0.822149] pinctrl-single 44e10800.pinmux: 199 pins at pa f9e10800 size 796
    [    0.872148] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.874497] omap8250 44e09000.serial: No clock speed specified: using default: 48000000
    [    0.875246] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
    [    0.875627] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff9e8 (0x31c)
    [    0.875645] pinctrl-single 44e10800.pinmux: could not add functions for uart1_pins_default 4294965736x
    [    0.875760] omap8250 48022000.serial: No clock speed specified: using default: 48000000
    [    0.876430] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a 8250
    [    0.876756] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffffa28 (0x31c)
    [    0.876772] pinctrl-single 44e10800.pinmux: could not add functions for uart_pins_default 4294965800x
    [    0.876859] omap8250 481a6000.serial: No clock speed specified: using default: 48000000
    [    0.877477] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 32, base_baud = 3000000) is a 8250
    [    1.756496] console [ttyS3] enabled
    [    1.761910] omap_rng 48310000.rng: Random Number Generator ver. 20
    [    1.782543] brd: module loaded
    [    1.794276] loop: module loaded
    [    1.799045] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff9dc (0x31c)
    [    1.807219] pinctrl-single 44e10800.pinmux: could not add functions for spi2_pins_default 4294965724x
    [    1.817122] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffffa50 (0x31c)
    [    1.825192] pinctrl-single 44e10800.pinmux: could not add functions for spi4_pins_default 4294965840x
    [    1.835243] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffffa10 (0x31c)
    [    1.843311] pinctrl-single 44e10800.pinmux: could not add functions for qspi_pins_default 4294965776x
    [    1.854051] libphy: Fixed MDIO Bus: probed
    [    1.859707] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff90c (0x31c)
    [    1.867798] pinctrl-single 44e10800.pinmux: could not add functions for rmii1_pins_default 4294965516x
    [    1.890763] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff94c (0x31c)
    [    1.898768] pinctrl-single 44e10800.pinmux: could not add functions for mdio1_pins_default 4294965580x
    [    1.960541] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    1.968190] davinci_mdio 4a101000.mdio: detected phy mask fffffffd
    [    1.980086] libphy: 4a101000.mdio: probed
    [    1.984236] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver TI DP83822 10/100 Mbps PHY
    [    1.999080] cpsw 4a100000.ethernet: Detected MACID = 00:00:00:0d:00:0a
    [    2.005986] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [    2.012484] cpsw 4a100000.ethernet: ALE Table size 1024
    [    2.017757] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [    2.026296] i2c /dev entries driver
    [    2.030279] IR NEC protocol handler initialized
    [    2.034905] IR RC5(x/sz) protocol handler initialized
    [    2.039949] IR RC6 protocol handler initialized
    [    2.044487] IR JVC protocol handler initialized
    [    2.049007] IR Sony protocol handler initialized
    [    2.053624] IR SANYO protocol handler initialized
    [    2.058315] IR Sharp protocol handler initialized
    [    2.063017] IR MCE Keyboard/mouse protocol handler initialized
    [    2.068835] IR XMP protocol handler initialized
    [    2.075114] cpuidle: enable-method property 'ti,am4372' found operations
    [    2.082470] sdhci: Secure Digital Host Controller Interface driver
    [    2.088642] sdhci: Copyright(c) Pierre Ossman
    [    2.093380] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff900 (0x31c)
    [    2.101404] pinctrl-single 44e10800.pinmux: could not add functions for mmc1_pins_default 4294965504x
    [    2.110996] sdhci-pltfm: SDHCI platform and OF driver helper
    [    2.117355] ledtrig-cpu: registered to indicate activity on CPUs
    [    2.126097] NET: Registered protocol family 10
    [    2.131796] Segment Routing with IPv6
    [    2.135539] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    2.142210] NET: Registered protocol family 17
    [    2.146936] Key type dns_resolver registered
    [    2.151528] omap_voltage_late_init: Voltage driver support not added
    [    2.164331] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff918 (0x31c)
    [    2.172479] pinctrl-single 44e10800.pinmux: could not add functions for gpio0_pins_default 4294965528x
    [    2.182582] OMAP GPIO hardware version 0.1
    [    2.186815] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff800 (0x31c)
    [    2.194864] pinctrl-single 44e10800.pinmux: could not add functions for mygpio1_pins_default 4294965248x
    [    2.205030] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff888 (0x31c)
    [    2.213070] pinctrl-single 44e10800.pinmux: could not add functions for mygpio2_pins_default 4294965384x
    [    2.223185] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff908 (0x31c)
    [    2.231222] pinctrl-single 44e10800.pinmux: could not add functions for gpio3_pins_default 4294965512x
    [    2.241142] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff9b0 (0x31c)
    [    2.249139] pinctrl-single 44e10800.pinmux: could not add functions for gpio4_pins_default 4294965680x
    [    2.259090] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffffa34 (0x31c)
    [    2.267127] pinctrl-single 44e10800.pinmux: could not add functions for gpio5_pins_default 4294965812x
    [    2.277117] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff98c (0x31c)
    [    2.285159] pinctrl-single 44e10800.pinmux: could not add functions for i2c0_pins_default 4294965644x
    [    2.320622] tps62360 0-0060: tps62360_init_dcdc(): register 4 write failed with err -121
    [    2.328710] tps62360 0-0060: tps62360_probe(): Init failed with err = -121
    [    2.335749] tps62360: probe of 0-0060 failed with error -121
    [    2.341656] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 400 kHz
    [    2.347474] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff974 (0x31c)
    [    2.355549] pinctrl-single 44e10800.pinmux: could not add functions for i2c2_pins_default 4294965620x
    [    2.365703] omap_i2c 4819c000.i2c: bus 2 rev0.12 at 100 kHz
    [    2.372136] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff900 (0x31c)
    [    2.380138] pinctrl-single 44e10800.pinmux: could not add functions for mmc1_pins_default 4294965504x
    [    2.389679] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    2.451809] hctosys: unable to open rtc device (rtc0)
    [    2.471052] net eth0: initializing cpsw version 1.15 (0)
    [    2.481392] Generic PHY fixed-0:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=fixed-0:00, irq=POLL)
    [    2.499395] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    2.548227] mmc0: new high speed MMC card at address 0001
    [    2.554158] mmcblk0: mmc0:0001 MMC04G 3.57 GiB
    [    2.558876] mmcblk0boot0: mmc0:0001 MMC04G partition 1 8.00 MiB
    [    2.565057] mmcblk0boot1: mmc0:0001 MMC04G partition 2 8.00 MiB
    [    2.571173] mmcblk0rpmb: mmc0:0001 MMC04G partition 3 128 KiB
    [    3.520555] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
    [    3.550581] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [    3.580652] Sending DHCP requests ..,
    [    8.460495] random: fast init done
    [    9.420498] .. OK
    [   15.902489] IP-Config: Got DHCP answer from 192.168.1.9, my address is 192.168.1.21
    [   15.910132] IP-Config: Complete:
    [   15.913395]      device=eth0, hwaddr=00:00:00:0d:00:0a, ipaddr=192.168.1.21, mask=255.255.255.0, gw=255.255.255.255
    [   15.923826]      host=192.168.1.21, domain=, nis-domain=(none)
    [   15.929647]      bootserver=192.168.1.9, rootserver=192.168.1.9, rootpath=     nameserver0=192.168.1.9
    [   15.939338] ALSA device list:
    [   15.942376]   No soundcards found.
    [   15.945833] Warning: unable to open an initial console.
    [   15.965018] Freeing unused kernel memory: 8192K
    [   17.568555] random: dd: uninitialized urandom read (512 bytes read)
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org am437x-evm /dev/ttyS3
    
    Arago 2018.10 am437x-evm /dev/ttyS3
    
    am437x-evm login: root
    -sh: command: not found
    root@am437x-evm:~# ethtool -S eth0
    NIC statistics:
         Good Rx Frames: 6
         Broadcast Rx Frames: 2
         Multicast Rx Frames: 0
         Pause Rx Frames: 0
         Rx CRC Errors: 2
         Rx Align/Code Errors: 1
         Oversize Rx Frames: 0
         Rx Jabbers: 0
         Undersize (Short) Rx Frames: 0
         Rx Fragments: 0
         Rx Octets: 2076
         Good Tx Frames: 18
         Broadcast Tx Frames: 8
         Multicast Tx Frames: 10
         Pause Tx Frames: 0
         Deferred Tx Frames: 0
         Collisions: 0
         Single Collision Tx Frames: 0
         Multiple Collision Tx Frames: 0
         Excessive Collisions: 0
         Late Collisions: 0
         Tx Underrun: 0
         Carrier Sense Errors: 0
         Tx Octets: 4884
         Rx + Tx 64 Octet Frames: 0
         Rx + Tx 65-127 Octet Frames: 10
         Rx + Tx 128-255 Octet Frames: 0
         Rx + Tx 256-511 Octet Frames: 12
         Rx + Tx 512-1023 Octet Frames: 5
         Rx + Tx 1024-Up Octet Frames: 0
         Net Octets: 7954
         Rx Start of Frame Overruns: 0
         Rx Middle of Frame Overruns: 0
         Rx DMA Overruns: 0
         Rx DMA chan 0: head_enqueue: 1
         Rx DMA chan 0: tail_enqueue: 133
         Rx DMA chan 0: pad_enqueue: 0
         Rx DMA chan 0: misqueued: 0
         Rx DMA chan 0: desc_alloc_fail: 0
         Rx DMA chan 0: pad_alloc_fail: 0
         Rx DMA chan 0: runt_receive_buf: 0
         Rx DMA chan 0: runt_transmit_bu: 0
         Rx DMA chan 0: empty_dequeue: 0
         Rx DMA chan 0: busy_dequeue: 6
         Rx DMA chan 0: good_dequeue: 6
         Rx DMA chan 0: requeue: 0
         Rx DMA chan 0: teardown_dequeue: 0
         Tx DMA chan 0: head_enqueue: 17
         Tx DMA chan 0: tail_enqueue: 1
         Tx DMA chan 0: pad_enqueue: 0
         Tx DMA chan 0: misqueued: 1
         Tx DMA chan 0: desc_alloc_fail: 0
         Tx DMA chan 0: pad_alloc_fail: 0
         Tx DMA chan 0: runt_receive_buf: 0
         Tx DMA chan 0: runt_transmit_bu: 0
         Tx DMA chan 0: empty_dequeue: 17
         Tx DMA chan 0: busy_dequeue: 0
         Tx DMA chan 0: good_dequeue: 18
         Tx DMA chan 0: requeue: 0
         Tx DMA chan 0: teardown_dequeue: 0
    root@am437x-evm:~#
    


  • Schuyler,

    In searching the E2E forum for issues related to Rx CRC Errors and Rx Align/Code Errors we found this thread:

    https://e2e.ti.com/support/processors/f/791/t/802339?tisearch=e2e-sitesearch&keymatch=processor-sdk-am57x

    Then I searched the device tree sources in the Linux BSP and found that in arch/arm/boot/dts/am43x-epos-evm.dts  it sets:

    &phy_sel {
           rmii-clock-ext;
    };

    After the cpsw_emac0 device definition.

    I updated my device trees to include this component and found that all the Rx CRC Errors and Rx Align/Code Errors were zero on all the target am4376???

    Then I backed out the changes in zImage to remove the tinyrs root file system.

    I found that when the targets rebooted using netboot they connected to the NFS server, mounted the rootfs and continued to boot to a shell prompt without hanging.

    BTW: I still needed to update securetty in my /export/rootfs/etc to include ttyS4 to get a terminal on one of the targets.

    I appears that this device tree property has addressed this issue. Do you agree?

    Regards,

    Rob

  • Rob,

    Excellent, yes I agree that changing the PHY clock mode is correct path here, it eliminates the errors. That was a great idea to search the forums, good find on the rmii-clock-ext. I will to keep this in mind to check this on future RMII setups. 

    So you are not seeing the link up/down messages after the DTS modification?

    Best Regards,

    Schuyler

  • Schuyler,

    We have only tested on 2 of 3 targets but the link on all those 2 is not going up and down.  I have been using one all morning mounted to NFS and it has no RX CRC errors.

    Thanks in advance,
    Rob

  • Rob,

    Glad to see that the link up/down has gone away. I see the green box so does that mean you feel the issue is resolved? 

    I will click TI thinks to close the thread. If you respond again to the thread it will open up again if you need additional assistance.

    Again, great find on the PHY mode clocking.

    Best Regards,

    Schuyler