Linux/PROCESSOR-SDK-AM335X: Programming the eMMC on Beaglebone Black for production

Part Number: PROCESSOR-SDK-AM335X

Tool/software: Linux

Goodmorning,

I'm using a Beaglebone Black with PSDK version ti-processor-sdk-linux-am335x-evm-05.01.00.11. For bootloading the board from eth or usb, and flash the onboard eMMC, I'm following the following link:

processors.wiki.ti.com/.../Sitara_Linux_Program_the_eMMC_on_Beaglebone_Black

Besides some files could be retrieved from this link, too.

I've the following questions:

  1. Reading this link

    it seems that Beaglebone Black can boot from UART and eMMC only, while the guide that I'm following explains how to load images from usb or eth. Isn't it a contradiction?
  2. Regarding the patch 0001-Change-finduuid-to-use-mmcdev.patch.gz, I couldn't apply it successfully since it warns error. It's supposed to modify the file at the following path (u-boot folder path inside tisdk installation)/include/configs/ti_armv7_common.h, but it cannot since the file content doesn't match the modifications introduced by the patch. I suppose it's because the patch was thought for older versions. Since standard u-boot configuration (am335x_evm_defconfig) can be used for booting from eMMC, may I skip to apply the patch?
  3. I couldn't find u-boot configuration am335x_evm_usbspl_defconfig in config folder, can you provide it?
  4. The link for the script flasher.sh.tar.gz, doesn't work. Can you provide an alternative path?

Thank you for your help.

Best Regards,

Davide BRunelli

16 Replies

  • Genius 12220 points

    In reply to Davide Brunelli:

    Davide,

    OK, you've moved beyond one problem with the naming change for USB0.

    As I'm sure you can tell, it looks like your TFTP server is not starting. I'm sorry I won't be much help with this as I didn't run into it, but you will need a properly functioning TFTP server to boot the board. You don't necessarily have to use XINETD, but you do need a way to start/stop the service.

    I hope that helps you proceed.
  • In reply to Davide Brunelli:

    Hello Ron,

    thank you for your support. Regarding the tftp-server issue, I'll search on internet for a solution. However I've still got a doubt about the kernel menuconfig issue following the procedure 

    As you can see in the picture below, the settings shown in the procedure (on the left of the picture) are totally different compare to the current kernel version arm 4.14.67 Kernel Configuration (on the right of the picture). Can you confirm me that it's correct to remove all the options as I did in the picture? Besides, if in the next future, I want to enable CDC, can I enable the CDC options without introducing issues for the tftp server?

    Thank you.

  • In reply to Davide Brunelli:

    Hello Ron,

    I've done some more steps forward. What I did, was comment out the file /etc/default/tftp-hpa. I'm not still sure but if xinetd launches /etc/xinetd.d/tftp, it conflicts with /etc/default/tftp-hpa.

    Now I've got the following on beaglebone UART:

    U-Boot 2018.01-00444-g96cdbef (Jan 08 2019 - 15:38:26 +0100)                    

    CPU  : AM335X-GP rev 2.1                                                        

    Model: TI AM335x BeagleBone Black                                              

    DRAM:  512 MiB                                                                  

    NAND:  0 MiB                                                                    

    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1                                          

    ** Bad device mmc 0 **                                                          

    Using default environment                                                      

    <ethaddr> not set. Validating first E-fuse MAC                                  

    Net:   cpsw, usb_ether                                                          

    Hit any key to stop autoboot:  0                                                

    switch to partitions #0, OK                                                    

    mmc1(part 0) is current device                                                  

    Failed to mount ext2 filesystem...                                              

    ** Unrecognized filesystem type **                                              

    switch to partitions #0, OK                                                    

    mmc1(part 0) is current device                                                  

    SD/MMC found on device 1                                                        

    Failed to mount ext2 filesystem...                                              

    ** Unrecognized filesystem type **                                              

    ## Error: "bootcmd_nand0" not defined                                          

    starting USB...                                                                

    USB0:   Port not available.                                                    

    cpsw Waiting for PHY auto negotiation to complete......... TIMEOUT !            

    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in                              

    MAC e8:eb:11:27:b9:2b                                                          

    HOST MAC de:ad:be:ef:00:00                                                      

    RNDIS ready                                                                    

    musb-hdrc: peripheral reset irq lost!                                          

    high speed config #2: 2 mA, Ethernet Gadget, using RNDIS                        

    USB RNDIS network up!                                                          

    BOOTP broadcast 1                                                              

    BOOTP broadcast 2                                                              

    BOOTP broadcast 3                                                              

    DHCP client bound to address 192.168.2.94 (764 ms)                              

    Using usb_ether device                                                          

    TFTP from server 192.168.2.1; our IP address is 192.168.2.94                    

    Filename 'zImage'.                                                              

    Load address: 0x82000000                                                        

    Loading: #################################################################      

            #################################################################      

            #################################################################      

            #################################################################      

            ###                                                                    

            4.2 MiB/s                                                              

    done                                                                            

    Bytes transferred = 3854848 (3ad200 hex)                                        

    missing environment variable: pxeuuid                                          

    Retrieving file: pxelinux.cfg/01-e8-eb-11-27-b9-2d                              

    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in                              

    MAC e8:eb:11:27:b9:2b                                                          

    HOST MAC de:ad:be:ef:00:00                                                      

    RNDIS ready                                                                    

    high speed config #2: 2 mA, Ethernet Gadget, using RNDIS                        

    USB RNDIS network up!                                                          

    Using usb_ether device                                                          

    TFTP from server 192.168.2.1; our IP address is 192.168.2.94                    

    Filename 'pxelinux.cfg/01-e8-eb-11-27-b9-2d'.                                  

    Load address: 0x80100000                                                        

    Loading: *                                                                      

    TFTP error: 'File not found' (1)                                                

    Not retrying...                                                                

    Retrieving file: pxelinux.cfg/C0A8025E                                          

    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in                              

    MAC e8:eb:11:27:b9:2b                                                          

    HOST MAC de:ad:be:ef:00:00                                                      

    RNDIS ready                                                                    

    high speed config #2: 2 mA, Ethernet Gadget, using RNDIS                        

    USB RNDIS network up!                                                          

    Using usb_ether device                                                          

    TFTP from server 192.168.2.1; our IP address is 192.168.2.94                    

    Filename 'pxelinux.cfg/C0A8025E'.                                              

    Load address: 0x80100000                                                        

    Loading: *                                                                      

    Not retrying...                                                                

    Retrieving file: pxelinux.cfg/C0                                                

    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in                              

    MAC e8:eb:11:27:b9:2b                                                          

    HOST MAC de:ad:be:ef:00:00                                                      

    RNDIS ready                                                                    

    high speed config #2: 2 mA, Ethernet Gadget, using RNDIS                        

    USB RNDIS network up!                                                          

    Using usb_ether device                                                          

    TFTP from server 192.168.2.1; our IP address is 192.168.2.94                    

    Filename 'pxelinux.cfg/C0'.                                                    

    Load address: 0x80100000                                                        

    Loading: *                                                                      

    TFTP error: 'File not found' (1)                                                                      

    Not retrying...                                                                

    Retrieving file: pxelinux.cfg/default                                          

    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in                              

    MAC e8:eb:11:27:b9:2b                                                          

    HOST MAC de:ad:be:ef:00:00                                                      

    RNDIS ready                                                                    

    high speed config #2: 2 mA, Ethernet Gadget, using RNDIS                        

    USB RNDIS network up!                                                          

    Using usb_ether device                                                          

    TFTP from server 192.168.2.1; our IP address is 192.168.2.94                    

    Filename 'pxelinux.cfg/default'.                                                

    Load address: 0x80100000                                                        

    Loading: *                                                                      

    ARP Retry count exceeded; starting again                                        

    Config file not found                                                          

    starting USB...                                                                

    USB0:   Port not available.                                                    

    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in                              

    MAC e8:eb:11:27:b9:2b                                                          

    HOST MAC de:ad:be:ef:00:00                                                      

    RNDIS ready                                                                    

    high speed config #2: 2 mA, Ethernet Gadget, using RNDIS                        

    USB RNDIS network up!                                                          

    BOOTP broadcast 1                                                              

    ## Warning: gatewayip needed but not set                                        

    ## Warning: gatewayip needed but not set                                        

    ## Warning: gatewayip needed but not set                                        

    ## Warning: gatewayip needed but not set                                        

    ## Warning: gatewayip needed but not set                                        

    ## Warning: gatewayip needed but not set                                        

    ## Warning: gatewayip needed but not set                                        

    ## Warning: gatewayip needed but not set                                        

    ## Warning: gatewayip needed but not set                                        

    Hello Ron, I've got some questions:

    1. As you can see there are some complaints about the pxelinux.cfg/01-e8-eb-11-27-b9-2d', which is missing? Do you know something about that?
    2. Then concerning the gatewayip warning, is it resolvable somehow?
    3. I still have got doubts about menuconfig settings (see previous post)..

    Thank you.

    Best Regards,

    Davide Brunelli

  • Genius 12220 points

    In reply to Davide Brunelli:

    David,

    #1 above is happening as part of U-Boot default BOOTCMD.

    Can you try to stop U-Boot at a prompt and try:

    run findfdt
    run netboot

    to see what happens? This will bypass the pxe boot stuff.

    #2 is new to me and I hope it goes away when we run the correct boot command straightaway.

    #3 is something I'm looking into but getting you to the kernel and booting would help answer some of my questions.

    Please let me know how it goes.
  • In reply to RonB:

    Hello Ron, thank you fro your help.

    I've done furter researches, and this is what I found out:

    1.  reading the flasher script, I've done the following changes:

      ## Rename rootfs as needed depending on use of tar or img

      ## Before it was "tisdk-rootfs-image-am335x-evm.tar.gz"
      ROOTFS_PARTITION="tisdk-rootfs-image-am335x-evm.tar.xz"

      ## Declare eMMC device name here

      ## Before it was /dev/mmcblk0, but I'm sure that mmcblk1 is the eMMC while mmcblk0 is the SDcard on Beaglebone Black
      DRIVE="/dev/mmcblk1"

    2. At the begininng, when the board try to connect with BOOTP broadcast 1 BOOTP broadcast 2 BOOTP broadcast 3 ..., I need to restart the isc-dhcp-server. so that it can connect. Otherwise it cannot connect.
    3. Following exactly the procedure as it is explained in the document Ubuntu_12.04_Set_Up_to_Network_Boot_an_AM335x_Based_Platform, it get stuck at Starting kernel...
      U-Boot 2018.01-00446-g49883e1 (Jan 16 2019 - 15:23:55 +0100)                    
                                                                                      
      CPU  : AM335X-GP rev 2.1                                                        
      Model: TI AM335x BeagleBone Black                                               
      DRAM:  512 MiB                                                                  
      NAND:  0 MiB                                                                    
      MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1                                           
      ** Bad device mmc 0 **                                                          
      Using default environment                                                       
                                                                                      
      <ethaddr> not set. Validating first E-fuse MAC                                  
      Net:   cpsw, usb_ether                                                          
      Hit any key to stop autoboot:  0                                                
      => setenv ethact usb_ether                                                      
      => dhcp                                                                         
      using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in                               
      MAC e8:eb:11:27:b9:2b                                                           
      HOST MAC de:ad:be:ef:00:00                                                      
      RNDIS ready                                                                     
      musb-hdrc: peripheral reset irq lost!                                           
      high speed config #2: 2 mA, Ethernet Gadget, using RNDIS                        
      USB RNDIS network up!                                                           
      BOOTP broadcast 1                                                               
      BOOTP broadcast 2                                                               
      BOOTP broadcast 3                                                               
      BOOTP broadcast 4                                                               
      DHCP client bound to address 192.168.2.94 (1772 ms)                             
      Using usb_ether device                                                          
      TFTP from server 192.168.2.1; our IP address is 192.168.2.94                    
      Filename 'zImage'.                                                              
      Load address: 0x82000000                                                        
      Loading: #################################################################      
               #################################################################      
               #################################################################      
               #################################################################      
               ###                                                                    
               4.4 MiB/s                                                              
      done                                                                            
      Bytes transferred = 3854848 (3ad200 hex)                                        
      => rund findfdt                                                                 
      Unknown command 'rund' - try 'help'                                             
      => run findfdt                                                                  
      => tftp ${fdtaddr} ${fdtfile}                                                   
      using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in                               
      MAC e8:eb:11:27:b9:2b                                                           
      HOST MAC de:ad:be:ef:00:00                                                      
      RNDIS ready                                                                     
      high speed config #2: 2 mA, Ethernet Gadget, using RNDIS                        
      USB RNDIS network up!                                                           
      Using usb_ether device                                                          
      TFTP from server 192.168.2.1; our IP address is 192.168.2.94                    
      Filename 'am335x-boneblack.dtb'.                                                
      Load address: 0x88000000                                                        
      Loading: ###                                                                    
               4.4 MiB/s                                                              
      done                                                                            
      Bytes transferred = 36793 (8fb9 hex)                                            
      => bootz ${loadaddr} - ${fdtaddr}                                               
      ## Flattened Device Tree blob at 88000000                                       
         Booting using the fdt blob at 0x88000000                                     
         Loading Device Tree to 8fff4000, end 8fffffb8 ... OK                         
                                                                                      
      Starting kernel ... 
    4. Instead, if I follow the procedure, with run netboot command, I get the following (I use the run netboot right after run findfdt, so I cannot use tftp ${fdtaddr} ${fdtfile} and bootz ${loadaddr} - ${fdtaddr}):
      U-Boot 2018.01-00446-g49883e1 (Jan 16 2019 - 15:23:55 +0100)                    
                                                                                      
      CPU  : AM335X-GP rev 2.1                                                        
      Model: TI AM335x BeagleBone Black                                               
      DRAM:  512 MiB                                                                  
      NAND:  0 MiB                                                                    
      MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1                                           
      ** Bad device mmc 0 **                                                          
      Using default environment                                                       
                                                                                      
      <ethaddr> not set. Validating first E-fuse MAC                                  
      Net:   cpsw, usb_ether                                                          
      Hit any key to stop autoboot:  0                                                
      => setenv ethact usb_ether                                                      
      => dhcp                                                                         
      using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in                               
      MAC e8:eb:11:27:b9:2b                                                           
      HOST MAC de:ad:be:ef:00:00                                                      
      RNDIS ready                                                                     
      musb-hdrc: peripheral reset irq lost!                                           
      high speed config #2: 2 mA, Ethernet Gadget, using RNDIS                        
      USB RNDIS network up!                                                           
      BOOTP broadcast 1                                                               
      BOOTP broadcast 2                                                               
      BOOTP broadcast 3                                                               
      DHCP client bound to address 192.168.2.94 (1270 ms)                             
      Using usb_ether device                                                          
      TFTP from server 192.168.2.1; our IP address is 192.168.2.94                    
      Filename 'zImage'.                                                              
      Load address: 0x82000000                                                        
      Loading: #################################################################      
               #################################################################      
               #################################################################      
               #################################################################      
               ###                                                                    
               4.3 MiB/s                                                              
      done                                                                            
      Bytes transferred = 3854848 (3ad200 hex)                                        
      => run findfdt                                                                  
      => run netboot                                                                  
      Booting from network ...                                                        
      using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in                               
      MAC e8:eb:11:27:b9:2b                                                           
      HOST MAC de:ad:be:ef:00:00                                                      
      RNDIS ready                                                                     
      high speed config #2: 2 mA, Ethernet Gadget, using RNDIS                        
      USB RNDIS network up!                                                           
      BOOTP broadcast 1                                                               
      BOOTP broadcast 2                                                               
      BOOTP broadcast 3                                                               
      DHCP client bound to address 192.168.2.94 (764 ms)                              
      using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in                               
      MAC e8:eb:11:27:b9:2b                                                           
      HOST MAC de:ad:be:ef:00:00                                                      
      RNDIS ready                                                                     
      high speed config #2: 2 mA, Ethernet Gadget, using RNDIS                        
      USB RNDIS network up!                                                           
      Using usb_ether device                                                          
      TFTP from server 192.168.2.1; our IP address is 192.168.2.94                    
      Filename 'zImage'.                                                              
      Load address: 0x82000000                                                        
      Loading: #################################################################      
               #################################################################      
               #################################################################      
               #################################################################      
               ###                                                                    
               4.5 MiB/s                                                              
      done                                                                            
      Bytes transferred = 3854848 (3ad200 hex)                                        
      using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in                               
      MAC e8:eb:11:27:b9:2b                                                           
      HOST MAC de:ad:be:ef:00:00                                                      
      RNDIS ready                                                                     
      high speed config #2: 2 mA, Ethernet Gadget, using RNDIS                        
      USB RNDIS network up!                                                           
      Using usb_ether device                                                          
      TFTP from server 192.168.2.1; our IP address is 192.168.2.94                    
      Filename 'am335x-boneblack.dtb'.                                                
      Load address: 0x88000000                                                        
      Loading: ###                                                                    
               3.9 MiB/s                                                              
      done                                                                            
      Bytes transferred = 36793 (8fb9 hex)                                            
      ## Flattened Device Tree blob at 88000000                                       
         Booting using the fdt blob at 0x88000000                                     
         Loading Device Tree to 8fff4000, end 8fffffb8 ... OK                         
                                                                                      
      Starting kernel ...                                                             
                                                                                      
      [    0.000000] Booting Linux on physical CPU 0x0                                
      [    0.000000] Linux version 4.14.67-gd315a9bb00 (root@davide-HP-ProBook-450-G59
      [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d  
      [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructie
      [    0.000000] OF: fdt: Machine model: TI AM335x BeagleBone Black               
      [    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 0x9d000000                               
      [    0.000000] CPU: All CPU(s) started in SVC mode.                             
      [    0.000000] AM335X ES2.1 (sgx neon)                                          
      [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920    
      [    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/nfs nfsroop
      [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)              
      [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)  
      [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)   
      [    0.000000] Memory: 456920K/524288K available (8192K kernel code, 318K rwdat)
      [    0.000000] Virtual kernel memory layout:                                    
      [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)                
      [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)                
      [    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)                
      [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 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 - 0xc0d4fb08   ( 319 kB)                
      [    0.000000]        .bss : 0xc0d4fb08 - 0xc0d948a4   ( 276 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] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrus
      [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz                    
      [    0.000013] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 8947s
      [    0.000031] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, mas
      [    0.000041] OMAP clocksource: timer1 at 24000000 Hz                          
      [    0.000195] timer_probe: no matching timers found                            
      [    0.000385] Console: colour dummy device 80x30                               
      [    0.000410] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'       
      [    0.000417] This ensures that you still see kernel messages. Please          
      [    0.000421] update your kernel commandline.                                  
      [    0.000447] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)          
      [    0.089206] pid_max: default: 32768 minimum: 301                             
      [    0.089372] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)      
      [    0.089386] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) 
      [    0.090084] CPU: Testing write buffer coherency: ok                          
      [    0.090751] Setting up static identity map for 0x80100000 - 0x80100060       
      [    0.090886] Hierarchical SRCU implementation.                                
      [    0.091188] EFI services will not be available.                              
      [    0.092362] devtmpfs: initialized                                            
      [    0.098925] random: get_random_u32 called from bucket_table_alloc+0x8c/0x1ac0
      [    0.099458] VFP support v0.3: implementor 41 architecture 3 part 30 variant 3
      [    0.099741] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ms
      [    0.099760] futex hash table entries: 256 (order: -1, 3072 bytes)            
      [    0.103055] pinctrl core: initialized pinctrl subsystem                      
      [    0.103709] DMI not present or invalid.                                      
      [    0.104075] NET: Registered protocol family 16                               
      [    0.106051] DMA: preallocated 256 KiB pool for atomic coherent allocations   
      [    0.118507] omap_hwmod: debugss: _wait_target_disable failed                 
      [    0.170716] cpuidle: using governor ladder                                   
      [    0.170748] cpuidle: using governor menu                                     
      [    0.174546] OMAP GPIO hardware version 0.1                                   
      [    0.183496] No ATAGs?                                                        
      [    0.183514] hw-breakpoint: debug architecture 0x4 unsupported.               
      [    0.194687] edma 49000000.edma: TI EDMA DMA engine driver                    
      [    0.197433] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_we
      [    0.197492] omap_i2c 4819c000.i2c: could not find pctldev for node /ocp/l4_we
      [    0.197597] media: Linux media interface: v0.10                              
      [    0.197634] Linux video capture interface: v2.00                             
      [    0.197729] pps_core: LinuxPPS API ver. 1 registered                         
      [    0.197737] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giom>
      [    0.197756] PTP clock support registered                                     
      [    0.197786] EDAC MC: Ver: 3.0.0                                              
      [    0.198242] dmi: Firmware registration failed.                               
      [    0.198624] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400            
      [    0.198926] Advanced Linux Sound Architecture Driver Initialized.            
      [    0.200137] clocksource: Switched to clocksource timer1                      
      [    0.207043] NET: Registered protocol family 2                                
      [    0.207693] TCP established hash table entries: 4096 (order: 2, 16384 bytes) 
      [    0.207739] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)        
      [    0.207777] TCP: Hash tables configured (established 4096 bind 4096)         
      [    0.207865] UDP hash table entries: 256 (order: 0, 4096 bytes)               
      [    0.207882] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)          
      [    0.208018] NET: Registered protocol family 1                                
      [    0.208419] RPC: Registered named UNIX socket transport module.              
      [    0.208432] RPC: Registered udp transport module.                            
      [    0.208438] RPC: Registered tcp transport module.                            
      [    0.208443] RPC: Registered tcp NFSv4.1 backchannel transport module.        
      [    0.209055] hw perfevents: no interrupt-affinity property for /pmu, guessing.
      [    0.209367] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 countee
      [    0.210716] workingset: timestamp_bits=14 max_order=17 bucket_order=3        
      [    0.214384] squashfs: version 4.0 (2009/01/31) Phillip Lougher               
      [    0.215078] NFS: Registering the id_resolver key type                        
      [    0.215120] Key type id_resolver registered                                  
      [    0.215127] Key type id_legacy registered                                    
      [    0.215172] ntfs: driver 2.1.32 [Flags: R/O].                                
      [    0.216956] Block layer SCSI generic (bsg) driver version 0.4 loaded (major )
      [    0.216977] io scheduler noop registered                                     
      [    0.216984] io scheduler deadline registered                                 
      [    0.217167] io scheduler cfq registered (default)                            
      [    0.217176] io scheduler mq-deadline registered                              
      [    0.217183] io scheduler kyber registered                                    
      [    0.218390] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568 
      [    0.262151] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled        
      [    0.264867] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud =0
      [    0.896209] console [ttyS0] enabled                                          
      [    0.901424] omap_rng 48310000.rng: Random Number Generator ver. 20           
      [    0.918166] brd: module loaded                                               
      [    0.927052] loop: module loaded                                              
      [    0.932119] libphy: Fixed MDIO Bus: probed                                   
      [    1.010219] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 0
      [    1.017921] davinci_mdio 4a101000.mdio: detected phy mask fffffffe           
      [    1.025285] libphy: 4a101000.mdio: probed                                    
      [    1.029327] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, dri0
      [    1.039426] cpsw 4a100000.ethernet: Detected MACID = e8:eb:11:27:b9:2b       
      [    1.046189] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4         
      [    1.052663] cpsw 4a100000.ethernet: ALE Table size 1024                      
      [    1.057947] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
      [    1.066374] i2c /dev entries driver                                          
      [    1.070406] IR NEC protocol handler initialized                              
      [    1.074959] IR RC5(x/sz) protocol handler initialized                        
      [    1.080028] IR RC6 protocol handler initialized                              
      [    1.084601] IR JVC protocol handler initialized                              
      [    1.089149] IR Sony protocol handler initialized                             
      [    1.093794] IR SANYO protocol handler initialized                            
      [    1.098514] IR Sharp protocol handler initialized                            
      [    1.103245] IR MCE Keyboard/mouse protocol handler initialized               
      [    1.109099] IR XMP protocol handler initialized                              
      [    1.115009] cpuidle: enable-method property 'ti,am3352' found operations     
      [    1.122133] sdhci: Secure Digital Host Controller Interface driver           
      [    1.128340] sdhci: Copyright(c) Pierre Ossman                                
      [    1.133427] omap_hsmmc 48060000.mmc: Got CD GPIO                             
      [    1.250357] sdhci-pltfm: SDHCI platform and OF driver helper                 
      [    1.257420] ledtrig-cpu: registered to indicate activity on CPUs             
      [    1.271036] NET: Registered protocol family 10                               
      [    1.276787] Segment Routing with IPv6                                        
      [    1.280698] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver              
      [    1.288427] NET: Registered protocol family 17                               
      [    1.295229] Key type dns_resolver registered                                 
      [    1.299749] omap_voltage_late_init: Voltage driver support not added         
      [    1.346464] random: fast init done                                           
      [    1.353278] tps65217 0-0024: TPS65217 ID 0xe version 1.2                     
      [    1.398210] mmc1: new high speed MMC card at address 0001                    
      [    1.404159] mmcblk1: mmc1:0001 M62704 3.56 GiB                               
      [    1.408870] mmcblk1boot0: mmc1:0001 M62704 partition 1 2.00 MiB              
      [    1.415014] mmcblk1boot1: mmc1:0001 M62704 partition 2 2.00 MiB              
      [    1.421121] mmcblk1rpmb: mmc1:0001 M62704 partition 3 512 KiB                
      [    1.428147]  mmcblk1: p1 p2                                                  
      [    1.502510] tda998x 0-0070: found TDA19988                                   
      [    1.507784] tilcdc 4830e000.lcdc: bound 0-0070 (ops tda998x_ops)             
      [    1.513878] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).      
      [    1.520533] [drm] No driver support for vblank timestamp query.              
      [    1.526887] [drm] Cannot find any crtc or sizes                              
      [    1.531963] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on min0
      [    1.539500] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz                  
      [    1.546918] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz                  
      [    1.554660] hctosys: unable to open rtc device (rtc0)                        
      [    1.573448] net eth0: initializing cpsw version 1.12 (0)                     
      [    1.681249] SMSC LAN8710/LAN8720 4a101000.mdio:00: attached PHY driver [SMSC)
      [    1.701881] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready               
      [    2.560734] [drm] Cannot find any crtc or sizes                              
      Waiting up to 110 more seconds for network.                      
      [   21.740213] Waiting up to 100 more seconds for network.                      
      [   31.760213] Waiting up to 90 more seconds for network.                       
      [   41.780193] Waiting up to 80 more seconds for network.                       
      [   51.800195] Waiting up to 70 more seconds for network.                       
      [   61.820199] Waiting up to 60 more seconds for network.                       
      [   71.840200] Waiting up to 50 more seconds for network.                       
      [   81.860196] Waiting up to 40 more seconds for network.                       
      [   91.880191] Waiting up to 30 more seconds for network.                       
      [  101.900210] Waiting up to 20 more seconds for network.                       
      [  111.920211] Waiting up to 10 more seconds for network.                       
      [  121.730205] Sending DHCP requests ...                                        
      [  130.360264] random: crng init done                                           
      [  134.930185] ... timed out!                                                   
      [  198.319311] IP-Config: Retrying forever (NFS root)...                        
      [  198.325103] net eth0: initializing cpsw version 1.12 (0)                     
      [  198.431403] SMSC LAN8710/LAN8720 4a101000.mdio:00: attached PHY driver [SMSC)
      [  198.451054] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready               
      [  208.470200] Waiting up to 110 more seconds for network.                      
      [  218.490196] Waiting up to 100 more seconds for network.
      ......

      From now on, it keeps trying to connect to the server unsuccesfully.. To me, it's look that it is trying to connect with eth0, not usb0.
    5. Even though I reach this point, it's important to say that the board, once connected, doesn't stay connected but it keeps to unconnect and reconnect. No solution found for that...
    6. Reading around I found the following link

      Do you think it could be helpful?

    Thank you very much for you support.

    Best Regards,

    Davide Brunelli

  • Genius 12220 points

    In reply to Davide Brunelli:

    Davide,

    Looking at your Kernel command line:

    [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/nfs nfsroop

    You are telling it to boot to use NFS to mount your root filesystem. Is that what you intend to do? If so, you will need to connect Ethernet.

    This may be a side effect of netboot that I ignored when I recommended it. However, it did get us to the kernel, which is progress.

    Where is your root FS? Initramfs per the guide? SD Card?

    We'll need to tweak the command line to better reflect what you want.

    You can see the different setting with printenv within U-Boot.