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.

CCS/PROCESSOR-SDK-AM335X: eMMC boot

Part Number: PROCESSOR-SDK-AM335X

Tool/software: Code Composer Studio

hello,

As the title explains, I'm trying to boot form EMMC memory.

for that, I have created bootable SD card.

then created two partition in EMMC

and format disk

umount /dev/mmcblk1p1; mkfs.vfat -F 16 /dev/mmcblk1p1

umount /dev/mmcblk1p2; mkfs.ext4 /dev/mmcblk1p2

which files are required in mmcblk1p1 and mmcblk1p2.

Also, guide me which procedure, I have to followed.

  • Harshad,

    can you execute and examine the bin/create-sdcard.sh script part of our SDKs please. It will show you how the SD media is getting populated, and same steps would apply to an eMMC to (if using it in a way like an SD card, also referred to as booting from the UDA = User Data Area). Essentially what you will see is that the first partition (FAT) partition is used for booting purposes and contains MLO, U-Boot, and the U-Boot environment, and the second partition is containing the Linux root file system (including the Kernel and the DTBs under /boot).

    Also see here for additional information on the SD card creation process and related topics: http://software-dl.ti.com/processor-sdk-linux/esd/docs/06_01_00_08/linux/Overview_Getting_Started_Guide.html#linux-sd-card-creation-guide

    Regards, Andreas

  • hi andreas,

    Thank you for your reply.

    I am getting some issue,  did not found create-sdcard.sh in bin folder of bootable micro sd card.

    For that script, i have copy manually form PC to bootable micro sd card (/bin). than run script. but error shown

    No EMMC found

  • Hi Harshad,

    No that script will need to be executed on the host PC only.

    If you want to program an eMMC that has already been assembled to your board you need to find a different method. One way you could do is to use U-Boot to copy the image from SD card to eMMC piece by piece (loading a 1GB-sized chunk from SD card or via NFS/tftp into DDR, and then writing it out to eMMC). Or, you create an initram disk that you boot from, and then use the linux 'dd' command to copy the SD card image over to eMMC (you want to copy it while it is not mounted). You could also look at the beagle bone project, they have a way to program the eMMC from an SD card image as a starting point (google is your friend).

    Regards, Andreas

  • Andreas,

    I am having trouble finding clear instructions on how to program eMMC on a production board.  You mention, 'find a different method', does TI have instructions on how to do this?

    I'm having the same issue finding clear, recent instructions to program the eMMC on the beaglebone black.

    Regards,
    Marc

  • Hi andreas,

    copy whole boot directory from sd card to emmc(mmcblk1p1)

    cp MLO u-boot.img uEnv.txt /run/media/mmcblk1p1

     

    Same as above, copy whole rootfs directory form sd card to emmc(mmcblk1p2)

    cp -avr bin/ boot/ dev/ etc/ home/ include/ lib/ media/ mnt/ opt/ sbin/ srv/ tmp/ usr/ var/ www/ run/media/mmcblk1p2

    then after removed sd card and try to boot from emmc

     

    Booting from emmc is starting but after some time it will stop

    debug log:


     

  • Marc,

    pathfinder said:
    You mention, 'find a different method', does TI have instructions on how to do this?

    At the moment I can only offer the high-level flow as described in the earlier post https://e2e.ti.com/support/processors/f/791/p/879016/3253056#3253056

    However to add some more specifics for the SD-to-eMMC copy method using U-Boot, there is a post https://e2e.ti.com/support/processors/f/791/p/855749/3179138#3179138 that shows how to transfer and SD card image over to U-Boot piece by piece (Note that the sizes for the mmc read/write commands are in units of blocks == 512B). You could remote-control and automate programming from a host PC using "expect" / "autoexpect" serially interfacing with the U-Boot console. You could also transfer chucks of the eMMC image via nfs or tftp to DDR, and the writing them out to eMMC (I've done that in the past implementing a custom programming solution).

    Then, as for the BeagleBone Black eMMC flashing method I mentioned, you can find the associated script here: https://github.com/RobertCNelson/boot-scripts/blob/master/tools/beaglebone-black-eMMC-flasher.sh   This should allow you to serve as a good starting point for a custom solution.

    Regards, Andreas

  • Harshad Hapani1 said:
    Booting from emmc is starting but after some time it will stop

    Sounds like something with your U-Boot environment is not quite right. First I'd try the following to restore the ENV to the defaults...

    => env default -f -a
    => env save
    => env reset

    Then, you should check your 'bootpart' ENV variable to make sure it points to the right MMC device. For example in my case it points to the first MMC device (0) and the second partition (2) therein.

    => env print bootpart
    bootpart=0:2

    If this all doesn't help please provide the contents of your entire(!) environment via "env print" as well as the output of the "mmc info" command. Also if you do so please copy and paste as text (no screenshot), as this is much easier to work with.

    Regards, Andreas

  • Terminal Log:

                                                                                                                                                                                                              
    => env print bootpart                                                                                                                                                                                      
    bootpart=0:2                                                                                                                                                                                               
    => env print                                                                                                                                                                                               
    arch=arm                                                                                                                                                                                                   
    args_mmc=run finduuid;setenv bootargs console=${console} ${optargs} root=PARTUUID=${uuid} rw rootfstype=${mmcrootfstype}                                                                                   
    baudrate=115200                                                                                                                                                                                            
    board=am335x                                                                                                                                                                                               
    board_name=am335x                                                                                                                                                                                          
    boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}                                                                                          
    boot_efi_binary=if fdt addr ${fdt_addr_r}; then bootefi bootmgr ${fdt_addr_r};else bootefi bootmgr ${fdtcontroladdr};fi;load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_r} efi/boot/bootarm.efii
    boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}${boot_syslinux_conf}                                                                                             
    boot_fdt=try                                                                                                                                                                                               
    boot_fit=0                                                                                                                                                                                                 
    boot_net_usb_start=usb start                                                                                                                                                                               
    boot_prefixes=/ /boot/                                                                                                                                                                                     
    boot_script_dhcp=boot.scr.uimg                                                                                                                                                                             
    boot_scripts=boot.scr.uimg boot.scr                                                                                                                                                                        
    boot_syslinux_conf=extlinux/extlinux.conf                                                                                                                                                                  
    boot_targets=mmc0 legacy_mmc0 mmc1 legacy_mmc1 nand0 pxe dhcp                                                                                                                                              
    bootcmd=if test ${boot_fit} -eq 1; then run update_to_fit; fi; run findfdt; run init_console; run envboot; run distro_bootcmd                                                                              
    bootcmd_dhcp=run boot_net_usb_start; if dhcp ${scriptaddr} ${boot_script_dhcp}; then source ${scriptaddr}; fi;setenv efi_fdtfile ${fdtfile}; if test -z "${fdtfile}" -a -n "${soc}"; then setenv efi_fdtfi;
    bootcmd_legacy_mmc0=setenv mmcdev 0; setenv bootpart 0:2 ; run mmcboot                                                                                                                                     
    bootcmd_legacy_mmc1=setenv mmcdev 1; setenv bootpart 1:2 ; run mmcboot                                                                                                                                     
    bootcmd_mmc0=setenv devnum 0; run mmc_boot                                                                                                                                                                 
    bootcmd_mmc1=setenv devnum 1; run mmc_boot                                                                                                                                                                 
    bootcmd_nand=run nandboot                                                                                                                                                                                  
    bootcmd_pxe=run boot_net_usb_start; dhcp; if pxe get; then pxe boot; fi                                                                                                                                    
    bootdelay=2                                                                                                                                                                                                
    bootdir=/boot                                                                                                                                                                                              
    bootenvfile=uEnv.txt                                                                                                                                                                                       
    bootfile=zImage                                                                                                                                                                                            
    bootm_size=0x10000000                                                                                                                                                                                      
    bootpart=0:2                                                                                                                                                                                               
    bootscript=echo Running bootscript from mmc${mmcdev} ...; source ${loadaddr}                                                                                                                               
    console=ttyO0,115200n8                                                                                                                                                                                     
    cpu=armv7                                                                                                                                                                                                  
    dfu_alt_info_emmc=rawemmc raw 0 3751936;boot part 1 1;rootfs part 1 2;MLO fat 1 1;MLO.raw raw 0x100 0x200;u-boot.img.raw raw 0x300 0x1000;u-env.raw raw 0x1300 0x200;spl-os-args.raw raw 0x1500 0x200;spl-1
    dfu_alt_info_mmc=boot part 0 1;rootfs part 0 2;MLO fat 0 1;MLO.raw raw 0x100 0x200;u-boot.img.raw raw 0x300 0x1000;u-env.raw raw 0x1300 0x200;spl-os-args.raw raw 0x1500 0x200;spl-os-image.raw raw 0x17001
    dfu_alt_info_nand=SPL part 0 1;SPL.backup1 part 0 2;SPL.backup2 part 0 3;SPL.backup3 part 0 4;u-boot part 0 5;u-boot-spl-os part 0 6;kernel part 0 8;rootfs part 0 9                                       
    dfu_alt_info_ram=kernel ram 0x80200000 0x4000000;fdt ram 0x80f80000 0x80000;ramdisk ram 0x81000000 0x4000000                                                                                               
    distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done                                                                                                                               
    efi_dtb_prefixes=/ /dtb/ /dtb/current/                                                                                                                                                                     
    envboot=mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadbootscript; then run bootscript;else if run loadbootenv; then echo Loaded env from ${bootenvfile};run impo;
    fdt_addr_r=0x88000000                                                                                                                                                                                      
    fdtaddr=0x88000000                                                                                                                                                                                         
    fdtfile=undefined                                                                                                                                                                                          
    findfdt=if test $board_name = A335BONE; then setenv fdtfile am335x-bone.dtb; fi; if test $board_name = A335BNLT; then setenv fdtfile am335x-boneblack.dtb; fi; if test $board_name = A335PBGL; then setenv
    finduuid=part uuid mmc ${bootpart} uuid                                                                                                                                                                    
    fit_bootfile=fitImage                                                                                                                                                                                      
    fit_loadaddr=0x90000000                                                                                                                                                                                    
    get_overlaystring=for overlay in $overlay_files;do;setenv overlaystring ${overlaystring}'#'${overlay};done;                                                                                                
    importbootenv=echo Importing environment from mmc${mmcdev} ...; env import -t ${loadaddr} ${filesize}                                                                                                      
    init_console=if test $board_name = A335_ICE; then setenv console ttyO3,115200n8;else setenv console ttyO0,115200n8;fi;                                                                                     
    kernel_addr_r=0x82000000                                                                                                                                                                                   
    load_efi_dtb=load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${prefix}${efi_fdtfile}                                                                                                            
    loadaddr=0x82000000                                                                                                                                                                                        
    loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenvfile}                                                                                                                                               
    loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr                                                                                                                                                     
    loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}                                                                                                                                       
    loadfit=run args_mmc; run run_fit;                                                                                                                                                                         
    loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfile}                                                                                                                                   
    loadramdisk=load mmc ${mmcdev} ${rdaddr} ramdisk.gz                                                                                                                                                        
    mmc_boot=if mmc dev ${devnum}; then setenv devtype mmc; run scan_dev_for_boot_part; fi                                                                                                                     
    mmcboot=mmc dev ${mmcdev}; setenv devnum ${mmcdev}; setenv devtype mmc; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadimage; then if test ${boot_fit} -eq 1; then run loadfit; else;
    mmcdev=0                                                                                                                                                                                                   
    mmcloados=run args_mmc; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootz ${loadaddr} - ${fdtaddr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot ;
    mmcrootfstype=ext4 rootwait                                                                                                                                                                                
    mtdids=nand0=nand.0                                                                                                                                                                                        
    mtdparts=mtdparts=nand.0:128k(NAND.SPL),128k(NAND.SPL.backup1),128k(NAND.SPL.backup2),128k(NAND.SPL.backup3),256k(NAND.u-boot-spl-os),1m(NAND.u-boot),128k(NAND.u-boot-env),128k(NAND.u-boot-env.backup1),)
    nandargs=setenv bootargs console=${console} ${optargs} root=${nandroot} rootfstype=${nandrootfstype}                                                                                                       
    nandboot=echo Booting from nand ...; run nandargs; nand read ${fdtaddr} NAND.u-boot-spl-os; nand read ${loadaddr} NAND.kernel; bootz ${loadaddr} - ${fdtaddr}                                              
    nandroot=ubi0:rootfs rw ubi.mtd=NAND.file-system,2048                                                                                                                                                      
    nandrootfstype=ubifs rootwait=1                                                                                                                                                                            
    netargs=setenv bootargs console=${console} ${optargs} root=/dev/nfs nfsroot=${serverip}:${rootpath},${nfsopts} rw ip=dhcp                                                                                  
    netboot=echo Booting from network ...; setenv autoload no; dhcp; run netloadimage; run netloadfdt; run netargs; bootz ${loadaddr} - ${fdtaddr}                                                             
    netloadfdt=tftp ${fdtaddr} ${fdtfile}                                                                                                                                                                      
    netloadimage=tftp ${loadaddr} ${bootfile}                                                                                                                                                                  
    nfsopts=nolock                                                                                                                                                                                             
    partitions=uuid_disk=${uuid_gpt_disk};name=bootloader,start=384K,size=1792K,uuid=${uuid_gpt_bootloader};name=rootfs,start=2688K,size=-,uuid=${uuid_gpt_rootfs}                                             
    pxefile_addr_r=0x80100000                                                                                                                                                                                  
    ramargs=setenv bootargs console=${console} ${optargs} root=${ramroot} rootfstype=${ramrootfstype}                                                                                                          
    ramboot=echo Booting from ramdisk ...; run ramargs; bootz ${loadaddr} ${rdaddr} ${fdtaddr}                                                                                                                 
    ramdisk_addr_r=0x88080000                                                                                                                                                                                  
    ramroot=/dev/ram0 rw                                                                                                                                                                                       
    ramrootfstype=ext2                                                                                                                                                                                         
    rdaddr=0x88080000                                                                                                                                                                                          
    rootpath=/export/rootfs                                                                                                                                                                                    
    run_fit=bootm ${fit_loadaddr}#${fdtfile}${overlaystring}                                                                                                                                                   
    scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;run scan_dev_for_efi;             
    scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpare
    scan_dev_for_efi=setenv efi_fdtfile ${fdtfile}; if test -z "${fdtfile}" -a -n "${soc}"; then setenv efi_fdtfile ${soc}-${board}${boardver}.dtb; fi; for prefix in ${efi_dtb_prefixes}; do if test -e ${deve
    scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${boot_syslinux_conf}; then echo Found ${prefix}${boot_syslinux_conf}; run boot_extlinux; echo SCRIPT FAILED: continuingi
    scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCe
    scriptaddr=0x80000000                                                                                                                                                                                      
    soc=am33xx                                                                                                                                                                                                 
    spiargs=setenv bootargs console=${console} ${optargs} root=${spiroot} rootfstype=${spirootfstype}                                                                                                          
    spiboot=echo Booting from spi ...; run spiargs; sf probe ${spibusno}:0; sf read ${loadaddr} ${spisrcaddr} ${spiimgsize}; bootz ${loadaddr}                                                                 
    spibusno=0                                                                                                                                                                                                 
    spiimgsize=0x362000                                                                                                                                                                                        
    spiroot=/dev/mtdblock4 rw                                                                                                                                                                                  
    spirootfstype=jffs2                                                                                                                                                                                        
    spisrcaddr=0xe0000                                                                                                                                                                                         
    static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off                                                                                                                                   
    update_to_fit=setenv loadaddr ${fit_loadaddr}; setenv bootfile ${fit_bootfile}                                                                                                                             
    usb_boot=usb start; if usb dev ${devnum}; then setenv devtype usb; run scan_dev_for_boot_part; fi                                                                                                          
    vendor=ti                                                                                                                                                                                                  
                                                                                                                                                                                                               
    Environment size: 9771/131068 bytes

    And

    => mmc info                                                                                                                                                                                                
    Device: OMAP SD/MMC                                                                                                                                                                                        
    Manufacturer ID: 1b                                                                                                                                                                                        
    OEM: 534d                                                                                                                                                                                                  
    Name: 00000                                                                                                                                                                                                
    Bus Speed: 48000000                                                                                                                                                                                        
    Mode : SD High Speed (50MHz)                                                                                                                                                                               
    Rd Block Len: 512                                                                                                                                                                                          
    SD version 3.0                                                                                                                                                                                             
    High Capacity: Yes                                                                                                                                                                                         
    Capacity: 7.5 GiB                                                                                                                                                                                          
    Bus Width: 4-bit                                                                                                                                                                                           
    Erase Group Size: 512 Bytes                                                                                                                                                                                
    => mmc list                                                                                                                                                                                                
    OMAP SD/MMC: 0 (SD)                                                                                                                                                                                        
    =>

    Still, i get same error...Booting from emmc start but kernel not start..

  • Harshad,

    In your initial post you wrote your eMMC has a size of 3.7GiB. However in U-Boot you show only have one MMC device accessible, with a size of 7.5GiB, which means that is NOT your eMMC. Looks like to make some progress you need to first get U-Boot to recognize your eMMC device in addition to your SD card. For this I would recommend to double-check your &mmc* device tree setup against arch/arm/dts/am335x-boneblack.dts (and it's hiarchy, namely am335x-bone-common.dtsi). The BeagleBone Black has an SD card slot on 'mmc1 and an eMMC connected to 'mmc2' which I suppose is similar what you have on your custom(?) board? Or are you actually using the BeagleBone Black?

    Regards, Andreas

  • i am using am335x-evmsk.dtb for my coustom board. please check configuration of &mmc2 for emmc.

    /*
     * Copyright (C) 2012 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.
     */
    
    /*
     * AM335x Starter Kit
     * www.ti.com/.../tmdssk3358
     */
    
    /dts-v1/;
    
    #include "am33xx.dtsi"
    #include <dt-bindings/pwm/pwm.h>
    #include <dt-bindings/interrupt-controller/irq.h>
    
    / {
    	model = "TI AM335x EVM-SK";
    	compatible = "ti,am335x-evmsk", "ti,am33xx";
    
    	cpus {
    		cpu@0 {
    			cpu0-supply = <&vdd1_reg>;
    		};
    	};
    
    	memory@80000000 {
    		device_type = "memory";
    		reg = <0x80000000 0x40000000>; /* 1 GB */
    	};
    
    	chosen {
    		stdout-path = &uart0;
    	};
    
    	vbat: fixedregulator0 {
    		compatible = "regulator-fixed";
    		regulator-name = "vbat";
    		regulator-min-microvolt = <5000000>;
    		regulator-max-microvolt = <5000000>;
    		regulator-boot-on;
    	};
    
    	lis3_reg: fixedregulator1 {
    		compatible = "regulator-fixed";
    		regulator-name = "lis3_reg";
    		regulator-boot-on;
    	};
    
    	// 	-------------------- eMMC : Step 5  ------------------------ //
    	//wl12xx_vmmc: fixedregulator2 {
    	//	pinctrl-names = "default";
    	//	pinctrl-0 = <&wl12xx_gpio>;
    	//	compatible = "regulator-fixed";
    	//	regulator-name = "vwl1271";
    	//	regulator-min-microvolt = <1800000>;
    	//	regulator-max-microvolt = <1800000>;
    	//	gpio = <&gpio1 29 0>;
    	//	startup-delay-us = <70000>;
    	//	enable-active-high;
    	//};
    	// 	-------------------- ------------- -------------------- //
    
    	vtt_fixed: fixedregulator3 {
    		compatible = "regulator-fixed";
    		regulator-name = "vtt";
    		regulator-min-microvolt = <1500000>;
    		regulator-max-microvolt = <1500000>;
    		gpio = <&gpio0 7 GPIO_ACTIVE_HIGH>;
    		regulator-always-on;
    		regulator-boot-on;
    		enable-active-high;
    	};
    
    	/* TPS79518 */
    	v1_8d_reg: fixedregulator-v1_8d {
    		compatible = "regulator-fixed";
    		regulator-name = "v1_8d";
    		vin-supply = <&vbat>;
    		regulator-min-microvolt = <1800000>;
    		regulator-max-microvolt = <1800000>;
    	};
    
    	/* TPS78633 */
    	v3_3d_reg: fixedregulator-v3_3d {
    		compatible = "regulator-fixed";
    		regulator-name = "v3_3d";
    		vin-supply = <&vbat>;
    		regulator-min-microvolt = <3300000>;
    		regulator-max-microvolt = <3300000>;
    	};
    
    	leds {
    		pinctrl-names = "default";
    		pinctrl-0 = <&user_leds_s0>;
    
    		compatible = "gpio-leds";
    
    		led1 {
    			label = "evmsk:green:usr0";
    			gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
    			default-state = "off";
    		};
    
    		led2 {
    			label = "evmsk:green:usr1";
    			gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
    			default-state = "off";
    		};
    
    		led3 {
    			label = "evmsk:green:mmc0";
    			gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
    			linux,default-trigger = "mmc0";
    			default-state = "off";
    		};
    
    		led4 {
    			label = "evmsk:green:heartbeat";
    			gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
    			linux,default-trigger = "heartbeat";
    			default-state = "off";
    
    			/* /sys/devices/platform/leds/leds/ */
    		};
    	};
    
    	gpio_buttons: gpio_buttons0 {
    		compatible = "gpio-keys";
    		#address-cells = <1>;
    		#size-cells = <0>;
    
    		switch1 {
    			label = "button0";
    			linux,code = <0x100>;
    			gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
    		};
    
    		switch2 {
    			label = "button1";
    			linux,code = <0x101>;
    			gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
    		};
    
    		switch3 {
    			label = "button2";
    			linux,code = <0x102>;
    			gpios = <&gpio0 30 GPIO_ACTIVE_HIGH>;
    			wakeup-source;
    		};
    
    		switch4 {
    			label = "button3";
    			linux,code = <0x103>;
    			gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
    		};
    	};
    
    	lcd_bl: backlight {
    		compatible = "pwm-backlight";
    		pwms = <&ecap2 0 50000 PWM_POLARITY_INVERTED>;
    		brightness-levels = <0 58 61 66 75 90 125 170 255>;
    		default-brightness-level = <8>;
    	};
    
    	sound {
    		compatible = "simple-audio-card";
    		simple-audio-card,name = "AM335x-EVMSK";
    		simple-audio-card,widgets =
    			"Headphone", "Headphone Jack";
    		simple-audio-card,routing =
    			"Headphone Jack",	"HPLOUT",
    			"Headphone Jack",	"HPROUT";
    		simple-audio-card,format = "dsp_b";
    		simple-audio-card,bitclock-master = <&sound_master>;
    		simple-audio-card,frame-master = <&sound_master>;
    		simple-audio-card,bitclock-inversion;
    
    		simple-audio-card,cpu {
    			sound-dai = <&mcasp1>;
    		};
    
    		sound_master: simple-audio-card,codec {
    			sound-dai = <&tlv320aic3106>;
    			system-clock-frequency = <24000000>;
    		};
    	};
    
    	// ------------ RGB LCD Module : Step 2------------ //
    	panel {
    		compatible = "ti,tilcdc,panel";
    		pinctrl-names = "default", "sleep";
    		pinctrl-0 = <&lcd_pins_default>;
    		pinctrl-1 = <&lcd_pins_sleep>;
    		backlight = <&lcd_bl>;
    		status = "okay";
    		panel-info {
    			ac-bias		= <255>;
    			ac-bias-intrpt	= <0>;
    			dma-burst-sz	= <16>;
    			bpp		= <32>;
    			fdd		= <0x80>;
    			sync-edge	= <0>;
    			sync-ctrl	= <1>;
    			raster-order	= <0>;
    			fifo-th		= <0>;
    		};
    		display-timings {
    			800x480 {						 // LCD Resolution
    				hactive		= <800>;
    				vactive		= <480>;
    				hback-porch	= <43>;
    				hfront-porch	= <8>;
    				hsync-len	= <4>;
    				vback-porch	= <12>;
    				vfront-porch	= <4>;
    				vsync-len	= <10>;
    				clock-frequency = <26400000>;		// 26400000
    				hsync-active	= <0>;
    				vsync-active	= <0>;
    			};
    		};
    	};
    };
    
    &am33xx_pinmux {
    	pinctrl-names = "default";
    	pinctrl-0 = <&gpio_keys_s0 &clkout2_pin &ddr3_vtt_toggle>;
    
    	ddr3_vtt_toggle: ddr3_vtt_toggle {
    		pinctrl-single,pins = <
    			0x164 (PIN_OUTPUT | MUX_MODE7)	/* ecap0_in_pwm0_out.gpio0_7 */
    		>;
    	};
    
    	lcd_pins_default: lcd_pins_default {
    		pinctrl-single,pins = <
    			AM33XX_IOPAD(0x820, PIN_OUTPUT | MUX_MODE1)	/* gpmc_ad8.lcd_data23 */
    			AM33XX_IOPAD(0x824, PIN_OUTPUT | MUX_MODE1)	/* gpmc_ad9.lcd_data22 */
    			AM33XX_IOPAD(0x828, PIN_OUTPUT | MUX_MODE1)	/* gpmc_ad10.lcd_data21 */
    			AM33XX_IOPAD(0x82c, PIN_OUTPUT | MUX_MODE1)	/* gpmc_ad11.lcd_data20 */
    			AM33XX_IOPAD(0x830, PIN_OUTPUT | MUX_MODE1)	/* gpmc_ad12.lcd_data19 */
    			AM33XX_IOPAD(0x834, PIN_OUTPUT | MUX_MODE1)	/* gpmc_ad13.lcd_data18 */
    			AM33XX_IOPAD(0x838, PIN_OUTPUT | MUX_MODE1)	/* gpmc_ad14.lcd_data17 */
    			AM33XX_IOPAD(0x83c, PIN_OUTPUT | MUX_MODE1)	/* gpmc_ad15.lcd_data16 */
    			AM33XX_IOPAD(0x8a0, PIN_OUTPUT | MUX_MODE0)	/* lcd_data0.lcd_data0 */
    			AM33XX_IOPAD(0x8a4, PIN_OUTPUT | MUX_MODE0)	/* lcd_data1.lcd_data1 */
    			AM33XX_IOPAD(0x8a8, PIN_OUTPUT | MUX_MODE0)	/* lcd_data2.lcd_data2 */
    			AM33XX_IOPAD(0x8ac, PIN_OUTPUT | MUX_MODE0)	/* lcd_data3.lcd_data3 */
    			AM33XX_IOPAD(0x8b0, PIN_OUTPUT | MUX_MODE0)	/* lcd_data4.lcd_data4 */
    			AM33XX_IOPAD(0x8b4, PIN_OUTPUT | MUX_MODE0)	/* lcd_data5.lcd_data5 */
    			AM33XX_IOPAD(0x8b8, PIN_OUTPUT | MUX_MODE0)	/* lcd_data6.lcd_data6 */
    			AM33XX_IOPAD(0x8bc, PIN_OUTPUT | MUX_MODE0)	/* lcd_data7.lcd_data7 */
    			AM33XX_IOPAD(0x8c0, PIN_OUTPUT | MUX_MODE0)	/* lcd_data8.lcd_data8 */
    			AM33XX_IOPAD(0x8c4, PIN_OUTPUT | MUX_MODE0)	/* lcd_data9.lcd_data9 */
    			AM33XX_IOPAD(0x8c8, PIN_OUTPUT | MUX_MODE0)	/* lcd_data10.lcd_data10 */
    			AM33XX_IOPAD(0x8cc, PIN_OUTPUT | MUX_MODE0)	/* lcd_data11.lcd_data11 */
    			AM33XX_IOPAD(0x8d0, PIN_OUTPUT | MUX_MODE0)	/* lcd_data12.lcd_data12 */
    			AM33XX_IOPAD(0x8d4, PIN_OUTPUT | MUX_MODE0)	/* lcd_data13.lcd_data13 */
    			AM33XX_IOPAD(0x8d8, PIN_OUTPUT | MUX_MODE0)	/* lcd_data14.lcd_data14 */
    			AM33XX_IOPAD(0x8dc, PIN_OUTPUT | MUX_MODE0)	/* lcd_data15.lcd_data15 */
    			AM33XX_IOPAD(0x8e0, PIN_OUTPUT | MUX_MODE0)	/* lcd_vsync.lcd_vsync */
    			AM33XX_IOPAD(0x8e4, PIN_OUTPUT | MUX_MODE0)	/* lcd_hsync.lcd_hsync */
    			AM33XX_IOPAD(0x8e8, PIN_OUTPUT | MUX_MODE0)	/* lcd_pclk.lcd_pclk */
    			AM33XX_IOPAD(0x8ec, PIN_OUTPUT | MUX_MODE0)	/* lcd_ac_bias_en.lcd_ac_bias_en */
    		>;
    	};
    
    	lcd_pins_sleep: lcd_pins_sleep {
    		pinctrl-single,pins = <
    			AM33XX_IOPAD(0x820, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_ad8.lcd_data23 */
    			AM33XX_IOPAD(0x824, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_ad9.lcd_data22 */
    			AM33XX_IOPAD(0x828, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_ad10.lcd_data21 */
    			AM33XX_IOPAD(0x82c, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_ad11.lcd_data20 */
    			AM33XX_IOPAD(0x830, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_ad12.lcd_data19 */
    			AM33XX_IOPAD(0x834, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_ad13.lcd_data18 */
    			AM33XX_IOPAD(0x838, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_ad14.lcd_data17 */
    			AM33XX_IOPAD(0x83c, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_ad15.lcd_data16 */
    			AM33XX_IOPAD(0x8a0, PULL_DISABLE | MUX_MODE7)	/* lcd_data0.lcd_data0 */
    			AM33XX_IOPAD(0x8a4, PULL_DISABLE | MUX_MODE7)	/* lcd_data1.lcd_data1 */
    			AM33XX_IOPAD(0x8a8, PULL_DISABLE | MUX_MODE7)	/* lcd_data2.lcd_data2 */
    			AM33XX_IOPAD(0x8ac, PULL_DISABLE | MUX_MODE7)	/* lcd_data3.lcd_data3 */
    			AM33XX_IOPAD(0x8b0, PULL_DISABLE | MUX_MODE7)	/* lcd_data4.lcd_data4 */
    			AM33XX_IOPAD(0x8b4, PULL_DISABLE | MUX_MODE7)	/* lcd_data5.lcd_data5 */
    			AM33XX_IOPAD(0x8b8, PULL_DISABLE | MUX_MODE7)	/* lcd_data6.lcd_data6 */
    			AM33XX_IOPAD(0x8bc, PULL_DISABLE | MUX_MODE7)	/* lcd_data7.lcd_data7 */
    			AM33XX_IOPAD(0x8c0, PULL_DISABLE | MUX_MODE7)	/* lcd_data8.lcd_data8 */
    			AM33XX_IOPAD(0x8c4, PULL_DISABLE | MUX_MODE7)	/* lcd_data9.lcd_data9 */
    			AM33XX_IOPAD(0x8c8, PULL_DISABLE | MUX_MODE7)	/* lcd_data10.lcd_data10 */
    			AM33XX_IOPAD(0x8cc, PULL_DISABLE | MUX_MODE7)	/* lcd_data11.lcd_data11 */
    			AM33XX_IOPAD(0x8d0, PULL_DISABLE | MUX_MODE7)	/* lcd_data12.lcd_data12 */
    			AM33XX_IOPAD(0x8d4, PULL_DISABLE | MUX_MODE7)	/* lcd_data13.lcd_data13 */
    			AM33XX_IOPAD(0x8d8, PULL_DISABLE | MUX_MODE7)	/* lcd_data14.lcd_data14 */
    			AM33XX_IOPAD(0x8dc, PULL_DISABLE | MUX_MODE7)	/* lcd_data15.lcd_data15 */
    			AM33XX_IOPAD(0x8e0, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* lcd_vsync.lcd_vsync */
    			AM33XX_IOPAD(0x8e4, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* lcd_hsync.lcd_hsync */
    			AM33XX_IOPAD(0x8e8, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* lcd_pclk.lcd_pclk */
    			AM33XX_IOPAD(0x8ec, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* lcd_ac_bias_en.lcd_ac_bias_en */
    		>;
    	};
    
    	// 	-------------------- eMMC : Step 7  ------------------------ //
    	user_leds_s0: user_leds_s0 {
    		pinctrl-single,pins = <
    	//		AM33XX_IOPAD(0x810, PIN_OUTPUT_PULLDOWN | MUX_MODE7)	/* gpmc_ad4.gpio1_4 */
    	//		AM33XX_IOPAD(0x814, PIN_OUTPUT_PULLDOWN | MUX_MODE7)	/* gpmc_ad5.gpio1_5 */
    	//		AM33XX_IOPAD(0x818, PIN_OUTPUT_PULLDOWN | MUX_MODE7)	/* gpmc_ad6.gpio1_6 */
    	//		AM33XX_IOPAD(0x81c, PIN_OUTPUT_PULLDOWN | MUX_MODE7)	/* gpmc_ad7.gpio1_7 */
    		>;
    	};
    
    	gpio_keys_s0: gpio_keys_s0 {
    		pinctrl-single,pins = <
    			AM33XX_IOPAD(0x894, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_oen_ren.gpio2_3 */
    			AM33XX_IOPAD(0x890, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_advn_ale.gpio2_2 */
    			AM33XX_IOPAD(0x870, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_wait0.gpio0_30 */
    			AM33XX_IOPAD(0x89c, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_ben0_cle.gpio2_5 */
    		>;
    	};
    
    	i2c0_pins: pinmux_i2c0_pins {
    		pinctrl-single,pins = <
    			AM33XX_IOPAD(0x988, PIN_INPUT_PULLUP | MUX_MODE0)	/* i2c0_sda.i2c0_sda */
    			AM33XX_IOPAD(0x98c, PIN_INPUT_PULLUP | MUX_MODE0)	/* i2c0_scl.i2c0_scl */
    		>;
    	};
    
    	uart0_pins: pinmux_uart0_pins {
    		pinctrl-single,pins = <
    			AM33XX_IOPAD(0x970, PIN_INPUT_PULLUP | MUX_MODE0)	/* uart0_rxd.uart0_rxd */
    			AM33XX_IOPAD(0x974, PIN_OUTPUT_PULLDOWN | MUX_MODE0)	/* uart0_txd.uart0_txd */
    		>;
    	};
    
    	clkout2_pin: pinmux_clkout2_pin {
    		pinctrl-single,pins = <
    			AM33XX_IOPAD(0x9b4, PIN_OUTPUT_PULLDOWN | MUX_MODE3)	/* xdma_event_intr1.clkout2 */
    		>;
    	};
    
    	ecap2_pins: backlight_pins {
    		pinctrl-single,pins = <
    			AM33XX_IOPAD(0x99c, MUX_MODE4)	/* mcasp0_ahclkr.ecap2_in_pwm2_out */
    		>;
    	};
    
    	cpsw_default: cpsw_default {
    		pinctrl-single,pins = <
    			/* Slave 1 */
    			AM33XX_IOPAD(0x914, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txen.rgmii1_tctl */
    			AM33XX_IOPAD(0x918, PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxdv.rgmii1_rctl */
    			AM33XX_IOPAD(0x91c, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd3.rgmii1_td3 */
    			AM33XX_IOPAD(0x920, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd2.rgmii1_td2 */
    			AM33XX_IOPAD(0x924, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd1.rgmii1_td1 */
    			AM33XX_IOPAD(0x928, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd0.rgmii1_td0 */
    			AM33XX_IOPAD(0x92c, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txclk.rgmii1_tclk */
    			AM33XX_IOPAD(0x930, PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxclk.rgmii1_rclk */
    			AM33XX_IOPAD(0x934, PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd3.rgmii1_rd3 */
    			AM33XX_IOPAD(0x938, PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd2.rgmii1_rd2 */
    			AM33XX_IOPAD(0x93c, PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd1.rgmii1_rd1 */
    			AM33XX_IOPAD(0x940, PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd0.rgmii1_rd0 */
    
    			/* Slave 2 */
    			AM33XX_IOPAD(0x840, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* gpmc_a0.rgmii2_tctl */
    			AM33XX_IOPAD(0x844, PIN_INPUT_PULLDOWN | MUX_MODE2)	/* gpmc_a1.rgmii2_rctl */
    			AM33XX_IOPAD(0x848, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* gpmc_a2.rgmii2_td3 */
    			AM33XX_IOPAD(0x84c, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* gpmc_a3.rgmii2_td2 */
    			AM33XX_IOPAD(0x850, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* gpmc_a4.rgmii2_td1 */
    			AM33XX_IOPAD(0x854, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* gpmc_a5.rgmii2_td0 */
    			AM33XX_IOPAD(0x858, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* gpmc_a6.rgmii2_tclk */
    			AM33XX_IOPAD(0x85c, PIN_INPUT_PULLDOWN | MUX_MODE2)	/* gpmc_a7.rgmii2_rclk */
    			AM33XX_IOPAD(0x860, PIN_INPUT_PULLDOWN | MUX_MODE2)	/* gpmc_a8.rgmii2_rd3 */
    			AM33XX_IOPAD(0x864, PIN_INPUT_PULLDOWN | MUX_MODE2)	/* gpmc_a9.rgmii2_rd2 */
    			AM33XX_IOPAD(0x868, PIN_INPUT_PULLDOWN | MUX_MODE2)	/* gpmc_a10.rgmii2_rd1 */
    			AM33XX_IOPAD(0x86c, PIN_INPUT_PULLDOWN | MUX_MODE2)	/* gpmc_a11.rgmii2_rd0 */
    		>;
    	};
    
    	cpsw_sleep: cpsw_sleep {
    		pinctrl-single,pins = <
    			/* Slave 1 reset value */
    			AM33XX_IOPAD(0x914, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x918, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x91c, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x920, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x924, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x928, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x92c, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x930, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x934, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x938, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x93c, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x940, PIN_INPUT_PULLDOWN | MUX_MODE7)
    
    			/* Slave 2 reset value*/
    			AM33XX_IOPAD(0x840, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x844, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x848, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x84c, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x850, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x854, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x858, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x85c, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x860, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x864, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x868, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x86c, PIN_INPUT_PULLDOWN | MUX_MODE7)
    		>;
    	};
    
    	davinci_mdio_default: davinci_mdio_default {
    		pinctrl-single,pins = <
    			/* MDIO */
    			AM33XX_IOPAD(0x948, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0)	/* mdio_data.mdio_data */
    			AM33XX_IOPAD(0x94c, PIN_OUTPUT_PULLUP | MUX_MODE0)			/* mdio_clk.mdio_clk */
    		>;
    	};
    
    	davinci_mdio_sleep: davinci_mdio_sleep {
    		pinctrl-single,pins = <
    			/* MDIO reset value */
    			AM33XX_IOPAD(0x948, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x94c, PIN_INPUT_PULLDOWN | MUX_MODE7)
    		>;
    	};
    
    	mmc1_pins: pinmux_mmc1_pins {
    		pinctrl-single,pins = <
    			AM33XX_IOPAD(0x960, PIN_INPUT | MUX_MODE7) 		/* spi0_cs1.gpio0_6 */
    			AM33XX_IOPAD(0x8fc, PIN_INPUT_PULLUP | MUX_MODE0)	/* mmc0_dat0.mmc0_dat0 */
    			AM33XX_IOPAD(0x8f8, PIN_INPUT_PULLUP | MUX_MODE0)	/* mmc0_dat1.mmc0_dat1 */
    			AM33XX_IOPAD(0x8f4, PIN_INPUT_PULLUP | MUX_MODE0)	/* mmc0_dat2.mmc0_dat2 */
    			AM33XX_IOPAD(0x8f0, PIN_INPUT_PULLUP | MUX_MODE0)	/* mmc0_dat3.mmc0_dat3 */
    			AM33XX_IOPAD(0x904, PIN_INPUT_PULLUP | MUX_MODE0)	/* mmc0_cmd.mmc0_cmd */
    			AM33XX_IOPAD(0x900, PIN_INPUT_PULLUP | MUX_MODE0)	/* mmc0_clk.mmc0_clk */
    			AM33XX_IOPAD(0x9a0, PIN_INPUT | MUX_MODE4)		/* mcasp0_aclkr.mmc0_sdwp */
    		>;
    	};
    
    	mcasp1_pins: mcasp1_pins {
    		pinctrl-single,pins = <
    			AM33XX_IOPAD(0x90c, PIN_INPUT_PULLDOWN | MUX_MODE4) /* mii1_crs.mcasp1_aclkx */
    			AM33XX_IOPAD(0x910, PIN_INPUT_PULLDOWN | MUX_MODE4) /* mii1_rxerr.mcasp1_fsx */
    			AM33XX_IOPAD(0x908, PIN_OUTPUT_PULLDOWN | MUX_MODE4) /* mii1_col.mcasp1_axr2 */
    			AM33XX_IOPAD(0x944, PIN_INPUT_PULLDOWN | MUX_MODE4) /* rmii1_ref_clk.mcasp1_axr3 */
    		>;
    	};
    
    	mcasp1_pins_sleep: mcasp1_pins_sleep {
    		pinctrl-single,pins = <
    			AM33XX_IOPAD(0x90c, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x910, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x908, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x944, PIN_INPUT_PULLDOWN | MUX_MODE7)
    		>;
    	};
    
    	// 	-------------------- eMMC : Step 3  ------------------------ //
    	emmc_pins: pinmux_emmc_pins {
    		pinctrl-single,pins = <
    			AM33XX_IOPAD(0x880, PIN_INPUT | MUX_MODE2) /* (U9) gpmc_csn1.mmc1_clk */
    			AM33XX_IOPAD(0x884, PIN_INPUT | MUX_MODE2) /* (V9) gpmc_csn2.mmc1_cmd */
    			AM33XX_IOPAD(0x800, PIN_INPUT | MUX_MODE1) /* (U7) gpmc_ad0.mmc1_dat0 */
    			AM33XX_IOPAD(0x804, PIN_INPUT | MUX_MODE1) /* (V7) gpmc_ad1.mmc1_dat1 */
    			AM33XX_IOPAD(0x808, PIN_INPUT | MUX_MODE1) /* (R8) gpmc_ad2.mmc1_dat2 */
    			AM33XX_IOPAD(0x80c, PIN_INPUT | MUX_MODE1) /* (T8) gpmc_ad3.mmc1_dat3 */
    			AM33XX_IOPAD(0x810, PIN_INPUT | MUX_MODE1) /* (U8) gpmc_ad4.mmc1_dat4 */
    			AM33XX_IOPAD(0x814, PIN_INPUT | MUX_MODE1) /* (V8) gpmc_ad5.mmc1_dat5 */
    			AM33XX_IOPAD(0x818, PIN_INPUT | MUX_MODE1) /* (R9) gpmc_ad6.mmc1_dat6 */
    			AM33XX_IOPAD(0x81c, PIN_INPUT | MUX_MODE1) /* (T9) gpmc_ad7.mmc1_dat7 */
    		>;
    	};
    	// 	-------------------- ------------- -------------------- //
    
    	// 	-------------------- eMMC : Step 4  ------------------------ //
    	//mmc2_pins: pinmux_mmc2_pins {
    	//	pinctrl-single,pins = <
    	//		AM33XX_IOPAD(0x874, PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_wpn.gpio0_31 */
    	//		AM33XX_IOPAD(0x880, PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn1.mmc1_clk */
    	//		AM33XX_IOPAD(0x884, PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn2.mmc1_cmd */
    	//		AM33XX_IOPAD(0x800, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad0.mmc1_dat0 */
    	//		AM33XX_IOPAD(0x804, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad1.mmc1_dat1 */
    	//		AM33XX_IOPAD(0x808, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad2.mmc1_dat2 */
    	//		AM33XX_IOPAD(0x80c, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad3.mmc1_dat3 */
    	//	>;
    	//};
    	// 	-------------------- ------------- -------------------- //
    
    	// 	-------------------- eMMC : Step 6  ------------------------ //
    	//wl12xx_gpio: pinmux_wl12xx_gpio {
    	//	pinctrl-single,pins = <
    	//		AM33XX_IOPAD(0x87c, PIN_OUTPUT_PULLUP | MUX_MODE7) /* gpmc_csn0.gpio1_29 */
    	//	>;
    	//};
    	// 	-------------------- ------------- -------------------- //
    };
    
    &uart0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&uart0_pins>;
    
    	status = "okay";
    };
    
    &i2c0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&i2c0_pins>;
    
    	status = "okay";
    	clock-frequency = <400000>;
    
    	tps: tps@2d {
    		reg = <0x2d>;
    	};
    
    	lis331dlh: lis331dlh@18 {
    		compatible = "st,lis331dlh", "st,lis3lv02d";
    		reg = <0x18>;
    		Vdd-supply = <&lis3_reg>;
    		Vdd_IO-supply = <&lis3_reg>;
    
    		st,click-single-x;
    		st,click-single-y;
    		st,click-single-z;
    		st,click-thresh-x = <10>;
    		st,click-thresh-y = <10>;
    		st,click-thresh-z = <10>;
    		st,irq1-click;
    		st,irq2-click;
    		st,wakeup-x-lo;
    		st,wakeup-x-hi;
    		st,wakeup-y-lo;
    		st,wakeup-y-hi;
    		st,wakeup-z-lo;
    		st,wakeup-z-hi;
    		st,min-limit-x = <120>;
    		st,min-limit-y = <120>;
    		st,min-limit-z = <140>;
    		st,max-limit-x = <550>;
    		st,max-limit-y = <550>;
    		st,max-limit-z = <750>;
    	};
    
    	tlv320aic3106: tlv320aic3106@1b {
    		#sound-dai-cells = <0>;
    		compatible = "ti,tlv320aic3106";
    		reg = <0x1b>;
    		status = "okay";
    
    		/* Regulators */
    		AVDD-supply = <&v3_3d_reg>;
    		IOVDD-supply = <&v3_3d_reg>;
    		DRVDD-supply = <&v3_3d_reg>;
    		DVDD-supply = <&v1_8d_reg>;
    	};
    };
    
    &usb {
    	status = "okay";
    };
    
    &usb_ctrl_mod {
    	status = "okay";
    };
    
    &usb0_phy {
    	status = "okay";
    };
    
    &usb1_phy {
    	status = "okay";
    };
    
    &usb0 {
    	status = "okay";
    };
    
    &usb1 {
    	status = "okay";
    	dr_mode = "host";
    };
    
    &cppi41dma  {
    	status = "okay";
    };
    
    &epwmss2 {
    	status = "okay";
    
    	ecap2: ecap@48304100 {
    		status = "okay";
    		pinctrl-names = "default";
    		pinctrl-0 = <&ecap2_pins>;
    	};
    };
    
    &wkup_m3_ipc {
    	ti,needs-vtt-toggle;
    	ti,vtt-gpio-pin = <7>;
    	ti,scale-data-fw = "am335x-evm-scale-data.bin";
    };
    
    #include "tps65910.dtsi"
    
    &tps {
    	vcc1-supply = <&vbat>;
    	vcc2-supply = <&vbat>;
    	vcc3-supply = <&vbat>;
    	vcc4-supply = <&vbat>;
    	vcc5-supply = <&vbat>;
    	vcc6-supply = <&vbat>;
    	vcc7-supply = <&vbat>;
    	vccio-supply = <&vbat>;
    
    	regulators {
    		vrtc_reg: regulator@0 {
    			regulator-always-on;
    		};
    
    		vio_reg: regulator@1 {
    			regulator-always-on;
    		};
    
    		vdd1_reg: regulator@2 {
    			/* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
    			regulator-name = "vdd_mpu";
    			regulator-min-microvolt = <912500>;
    			regulator-max-microvolt = <1351500>;
    			regulator-boot-on;
    			regulator-always-on;
    		};
    
    		vdd2_reg: regulator@3 {
    			/* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
    			regulator-name = "vdd_core";
    			regulator-min-microvolt = <912500>;
    			regulator-max-microvolt = <1150000>;
    			regulator-boot-on;
    			regulator-always-on;
    		};
    
    		vdd3_reg: regulator@4 {
    			regulator-always-on;
    		};
    
    		vdig1_reg: regulator@5 {
    			regulator-always-on;
    		};
    
    		vdig2_reg: regulator@6 {
    			regulator-always-on;
    		};
    
    		vpll_reg: regulator@7 {
    			regulator-always-on;
    		};
    
    		vdac_reg: regulator@8 {
    			regulator-always-on;
    		};
    
    		vaux1_reg: regulator@9 {
    			regulator-always-on;
    		};
    
    		vaux2_reg: regulator@10 {
    			regulator-always-on;
    		};
    
    		vaux33_reg: regulator@11 {
    			regulator-always-on;
    		};
    
    		vmmc_reg: regulator@12 {
    			regulator-min-microvolt = <3300000>;		// 1800000
    			regulator-max-microvolt = <3300000>;
    			regulator-always-on;
    		};
    	};
    };
    
    &mac {
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&cpsw_default>;
    	pinctrl-1 = <&cpsw_sleep>;
    	dual_emac = <1>;
    	status = "okay";
    };
    
    &davinci_mdio {
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&davinci_mdio_default>;
    	pinctrl-1 = <&davinci_mdio_sleep>;
    	status = "okay";
    };
    
    &cpsw_emac0 {
    	phy_id = <&davinci_mdio>, <0>;
    	phy-mode = "rgmii-txid";
    	dual_emac_res_vlan = <1>;
    };
    
    &cpsw_emac1 {
    	phy_id = <&davinci_mdio>, <1>;
    	phy-mode = "rgmii-txid";
    	dual_emac_res_vlan = <2>;
    };
    
    &mmc1 {
    	status = "okay";
    	vmmc-supply = <&vmmc_reg>;
    	bus-width = <4>;
    	pinctrl-names = "default";
    	pinctrl-0 = <&mmc1_pins>;
    	cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
    };
    
    &sham {
    	status = "okay";
    };
    
    &aes {
    	status = "okay";
    };
    
    &gpio0 {
    	ti,no-reset-on-init;
    };
    
    // 	-------------------- eMMC : Step 1 of 7 -------------------- //
    //&mmc2 {
    //	status = "okay";
    //	vmmc-supply = <&wl12xx_vmmc>;
    //	ti,non-removable;
    //	bus-width = <4>;
    //	cap-power-off-card;
    //	keep-power-in-suspend;
    //	pinctrl-names = "default";
    //	pinctrl-0 = <&mmc2_pins>;
    //
    //	#address-cells = <1>;
    //	#size-cells = <0>;
    //	wlcore: wlcore@2 {
    //		compatible = "ti,wl1271";
    //		reg = <2>;
    //		interrupt-parent = <&gpio0>;
    //		interrupts = <31 IRQ_TYPE_EDGE_RISING>; /* gpio 31 */
    //		ref-clock-frequency = <38400000>;
    //	};
    //};
    // 	-------------------- ------------- -------------------- //
    
    // 	-------------------- eMMC : Step 2  ------------------------ //
    &mmc2 {
    	status = "okay";
        vmmc-supply = <&vmmc_reg>;
        bus-width = <8>;
        pinctrl-names = "default";
        pinctrl-0 = <&emmc_pins>;  
    };
    // 	-------------------- ------------- -------------------- //
    
    &mcasp1 {
    	#sound-dai-cells = <0>;
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&mcasp1_pins>;
    	pinctrl-1 = <&mcasp1_pins_sleep>;
    
    	status = "okay";
    
    	op-mode = <0>;          /* MCASP_IIS_MODE */
    	tdm-slots = <2>;
    	/* 4 serializers */
    	serial-dir = <  /* 0: INACTIVE, 1: TX, 2: RX */
    		0 0 1 2
    	>;
    	tx-num-evt = <32>;
    	rx-num-evt = <32>;
    };
    
    // ------------ Touch Module : Step 1------------ //
    &tscadc {
    	status = "okay";
    	tsc {
    		ti,wires = <4>;
    		ti,x-plate-resistance = <200>;
    		ti,coordinate-readouts = <5>;
    		ti,wire-config = <0x01 0x10 0x22 0x33>;  	// <0x00 0x11 0x22 0x33>		
    	};
    };
    
    // ------------ RGB LCD Module : Step 1------------ //
    &lcdc {
    	status = "okay";
    
    	blue-and-red-wiring = "crossed";
    };
    
    &sgx {
    	status = "okay";
    };
    
    &rtc {
    	clocks = <&clk_32768_ck>, <&l4_per_clkctrl AM3_CLKDIV32K_CLKCTRL 0>;
    	clock-names = "ext-clk", "int-clk";
    };
    
    &pruss_soc_bus {
    	status = "okay";
    
    	pruss: pruss@4a300000 {
    		status = "okay";
    	};
    };
    

  • Also configure mmc in enable_board_pin_mux() function of mux.c file.

    /*
     * mux.c
     *
     * Copyright (C) 2011 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 as
     * published by the Free Software Foundation version 2.
     *
     * This program is distributed "as is" WITHOUT ANY WARRANTY of any
     * kind, whether express or implied; without even the implied warranty
     * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
     * GNU General Public License for more details.
     */
    
    #include <common.h>
    #include <asm/arch/sys_proto.h>
    #include <asm/arch/hardware.h>
    #include <asm/arch/mux.h>
    #include <asm/io.h>
    #include <i2c.h>
    #include "../common/board_detect.h"
    #include "board.h"
    
    static struct module_pin_mux uart0_pin_mux[] = {
    	{OFFSET(uart0_rxd), (MODE(0) | PULLUP_EN | RXACTIVE)},	/* UART0_RXD */
    	{OFFSET(uart0_txd), (MODE(0) | PULLUDEN)},		/* UART0_TXD */
    	{-1},
    };
    
    static struct module_pin_mux uart1_pin_mux[] = {
    	{OFFSET(uart1_rxd), (MODE(0) | PULLUP_EN | RXACTIVE)},	/* UART1_RXD */
    	{OFFSET(uart1_txd), (MODE(0) | PULLUDEN)},		/* UART1_TXD */
    	{-1},
    };
    
    static struct module_pin_mux uart2_pin_mux[] = {
    	{OFFSET(spi0_sclk), (MODE(1) | PULLUP_EN | RXACTIVE)},	/* UART2_RXD */
    	{OFFSET(spi0_d0), (MODE(1) | PULLUDEN)},		/* UART2_TXD */
    	{-1},
    };
    
    static struct module_pin_mux uart3_pin_mux[] = {
    	{OFFSET(spi0_cs1), (MODE(1) | PULLUP_EN | RXACTIVE)},	/* UART3_RXD */
    	{OFFSET(ecap0_in_pwm0_out), (MODE(1) | PULLUDEN)},	/* UART3_TXD */
    	{-1},
    };
    
    static struct module_pin_mux uart4_pin_mux[] = {
    	{OFFSET(gpmc_wait0), (MODE(6) | PULLUP_EN | RXACTIVE)},	/* UART4_RXD */
    	{OFFSET(gpmc_wpn), (MODE(6) | PULLUDEN)},		/* UART4_TXD */
    	{-1},
    };
    
    static struct module_pin_mux uart5_pin_mux[] = {
    	{OFFSET(lcd_data9), (MODE(4) | PULLUP_EN | RXACTIVE)},	/* UART5_RXD */
    	{OFFSET(lcd_data8), (MODE(4) | PULLUDEN)},		/* UART5_TXD */
    	{-1},
    };
    
    static struct module_pin_mux mmc0_pin_mux[] = {
    	{OFFSET(mmc0_dat3), (MODE(0) | RXACTIVE | PULLUP_EN)},	/* MMC0_DAT3 */
    	{OFFSET(mmc0_dat2), (MODE(0) | RXACTIVE | PULLUP_EN)},	/* MMC0_DAT2 */
    	{OFFSET(mmc0_dat1), (MODE(0) | RXACTIVE | PULLUP_EN)},	/* MMC0_DAT1 */
    	{OFFSET(mmc0_dat0), (MODE(0) | RXACTIVE | PULLUP_EN)},	/* MMC0_DAT0 */
    	{OFFSET(mmc0_clk), (MODE(0) | RXACTIVE | PULLUP_EN)},	/* MMC0_CLK */
    	{OFFSET(mmc0_cmd), (MODE(0) | RXACTIVE | PULLUP_EN)},	/* MMC0_CMD */
    	{OFFSET(mcasp0_aclkr), (MODE(4) | RXACTIVE)},		/* MMC0_WP */
    	{OFFSET(spi0_cs1), (MODE(7) | RXACTIVE | PULLUP_EN)},	/* GPIO0_6 */
    	{-1},
    };
    
    static struct module_pin_mux mmc0_no_cd_pin_mux[] = {
    	{OFFSET(mmc0_dat3), (MODE(0) | RXACTIVE | PULLUP_EN)},	/* MMC0_DAT3 */
    	{OFFSET(mmc0_dat2), (MODE(0) | RXACTIVE | PULLUP_EN)},	/* MMC0_DAT2 */
    	{OFFSET(mmc0_dat1), (MODE(0) | RXACTIVE | PULLUP_EN)},	/* MMC0_DAT1 */
    	{OFFSET(mmc0_dat0), (MODE(0) | RXACTIVE | PULLUP_EN)},	/* MMC0_DAT0 */
    	{OFFSET(mmc0_clk), (MODE(0) | RXACTIVE | PULLUP_EN)},	/* MMC0_CLK */
    	{OFFSET(mmc0_cmd), (MODE(0) | RXACTIVE | PULLUP_EN)},	/* MMC0_CMD */
    	{OFFSET(mcasp0_aclkr), (MODE(4) | RXACTIVE)},		/* MMC0_WP */
    	{-1},
    };
    
    static struct module_pin_mux mmc0_pin_mux_sk_evm[] = {
    	{OFFSET(mmc0_dat3), (MODE(0) | RXACTIVE | PULLUP_EN)},	/* MMC0_DAT3 */
    	{OFFSET(mmc0_dat2), (MODE(0) | RXACTIVE | PULLUP_EN)},	/* MMC0_DAT2 */
    	{OFFSET(mmc0_dat1), (MODE(0) | RXACTIVE | PULLUP_EN)},	/* MMC0_DAT1 */
    	{OFFSET(mmc0_dat0), (MODE(0) | RXACTIVE | PULLUP_EN)},	/* MMC0_DAT0 */
    	{OFFSET(mmc0_clk), (MODE(0) | RXACTIVE | PULLUP_EN)},	/* MMC0_CLK */
    	{OFFSET(mmc0_cmd), (MODE(0) | RXACTIVE | PULLUP_EN)},	/* MMC0_CMD */
    	{OFFSET(spi0_cs1), (MODE(5) | RXACTIVE | PULLUP_EN)},	/* MMC0_CD */
    	{-1},
    };
    
    static struct module_pin_mux mmc1_pin_mux[] = {
    	{OFFSET(gpmc_ad7), (MODE(1) | RXACTIVE | PULLUP_EN)},	/* MMC1_DAT7 */
    	{OFFSET(gpmc_ad6), (MODE(1) | RXACTIVE | PULLUP_EN)},	/* MMC1_DAT6 */
    	{OFFSET(gpmc_ad5), (MODE(1) | RXACTIVE | PULLUP_EN)},	/* MMC1_DAT5 */
    	{OFFSET(gpmc_ad4), (MODE(1) | RXACTIVE | PULLUP_EN)},	/* MMC1_DAT4 */
    	{OFFSET(gpmc_ad3), (MODE(1) | RXACTIVE | PULLUP_EN)},	/* MMC1_DAT3 */
    	{OFFSET(gpmc_ad2), (MODE(1) | RXACTIVE | PULLUP_EN)},	/* MMC1_DAT2 */
    	{OFFSET(gpmc_ad1), (MODE(1) | RXACTIVE | PULLUP_EN)},	/* MMC1_DAT1 */
    	{OFFSET(gpmc_ad0), (MODE(1) | RXACTIVE | PULLUP_EN)},	/* MMC1_DAT0 */
    	{OFFSET(gpmc_csn1), (MODE(2) | RXACTIVE | PULLUP_EN)},	/* MMC1_CLK */
    	{OFFSET(gpmc_csn2), (MODE(2) | RXACTIVE | PULLUP_EN)},	/* MMC1_CMD */
    	{OFFSET(gpmc_csn0), (MODE(7) | RXACTIVE | PULLUP_EN)},	/* MMC1_WP */
    	{OFFSET(gpmc_advn_ale), (MODE(7) | RXACTIVE | PULLUP_EN)},	/* MMC1_CD */
    	{-1},
    };
    
    static struct module_pin_mux i2c0_pin_mux[] = {
    	{OFFSET(i2c0_sda), (MODE(0) | RXACTIVE |
    			PULLUDEN | SLEWCTRL)}, /* I2C_DATA */
    	{OFFSET(i2c0_scl), (MODE(0) | RXACTIVE |
    			PULLUDEN | SLEWCTRL)}, /* I2C_SCLK */
    	{-1},
    };
    
    static struct module_pin_mux i2c1_pin_mux[] = {
    	{OFFSET(spi0_d1), (MODE(2) | RXACTIVE |
    			PULLUDEN | SLEWCTRL)},	/* I2C_DATA */
    	{OFFSET(spi0_cs0), (MODE(2) | RXACTIVE |
    			PULLUDEN | SLEWCTRL)},	/* I2C_SCLK */
    	{-1},
    };
    
    static struct module_pin_mux spi0_pin_mux[] = {
    	{OFFSET(spi0_sclk), (MODE(0) | RXACTIVE | PULLUDEN)},	/* SPI0_SCLK */
    	{OFFSET(spi0_d0), (MODE(0) | RXACTIVE |
    			PULLUDEN | PULLUP_EN)},			/* SPI0_D0 */
    	{OFFSET(spi0_d1), (MODE(0) | RXACTIVE | PULLUDEN)},	/* SPI0_D1 */
    	{OFFSET(spi0_cs0), (MODE(0) | RXACTIVE |
    			PULLUDEN | PULLUP_EN)},			/* SPI0_CS0 */
    	{-1},
    };
    
    static struct module_pin_mux gpio0_7_pin_mux[] = {
    	{OFFSET(ecap0_in_pwm0_out), (MODE(7) | PULLUDEN)},	/* GPIO0_7 */
    	{-1},
    };
    
    static struct module_pin_mux gpio0_18_pin_mux[] = {
    	{OFFSET(usb0_drvvbus), (MODE(7) | PULLUDEN)},	/* GPIO0_18 */
    	{-1},
    };
    
    static struct module_pin_mux rgmii1_pin_mux[] = {
    	{OFFSET(mii1_txen), MODE(2)},			/* RGMII1_TCTL */
    	{OFFSET(mii1_rxdv), MODE(2) | RXACTIVE},	/* RGMII1_RCTL */
    	{OFFSET(mii1_txd3), MODE(2)},			/* RGMII1_TD3 */
    	{OFFSET(mii1_txd2), MODE(2)},			/* RGMII1_TD2 */
    	{OFFSET(mii1_txd1), MODE(2)},			/* RGMII1_TD1 */
    	{OFFSET(mii1_txd0), MODE(2)},			/* RGMII1_TD0 */
    	{OFFSET(mii1_txclk), MODE(2)},			/* RGMII1_TCLK */
    	{OFFSET(mii1_rxclk), MODE(2) | RXACTIVE},	/* RGMII1_RCLK */
    	{OFFSET(mii1_rxd3), MODE(2) | RXACTIVE},	/* RGMII1_RD3 */
    	{OFFSET(mii1_rxd2), MODE(2) | RXACTIVE},	/* RGMII1_RD2 */
    	{OFFSET(mii1_rxd1), MODE(2) | RXACTIVE},	/* RGMII1_RD1 */
    	{OFFSET(mii1_rxd0), MODE(2) | RXACTIVE},	/* RGMII1_RD0 */
    	{OFFSET(mdio_data), MODE(0) | RXACTIVE | PULLUP_EN},/* MDIO_DATA */
    	{OFFSET(mdio_clk), MODE(0) | PULLUP_EN},	/* MDIO_CLK */
    	{-1},
    };
    
    static struct module_pin_mux mii1_pin_mux[] = {
    	{OFFSET(mii1_rxerr), MODE(0) | RXACTIVE},	/* MII1_RXERR */
    	{OFFSET(mii1_txen), MODE(0)},			/* MII1_TXEN */
    	{OFFSET(mii1_rxdv), MODE(0) | RXACTIVE},	/* MII1_RXDV */
    	{OFFSET(mii1_txd3), MODE(0)},			/* MII1_TXD3 */
    	{OFFSET(mii1_txd2), MODE(0)},			/* MII1_TXD2 */
    	{OFFSET(mii1_txd1), MODE(0)},			/* MII1_TXD1 */
    	{OFFSET(mii1_txd0), MODE(0)},			/* MII1_TXD0 */
    	{OFFSET(mii1_txclk), MODE(0) | RXACTIVE},	/* MII1_TXCLK */
    	{OFFSET(mii1_rxclk), MODE(0) | RXACTIVE},	/* MII1_RXCLK */
    	{OFFSET(mii1_rxd3), MODE(0) | RXACTIVE},	/* MII1_RXD3 */
    	{OFFSET(mii1_rxd2), MODE(0) | RXACTIVE},	/* MII1_RXD2 */
    	{OFFSET(mii1_rxd1), MODE(0) | RXACTIVE},	/* MII1_RXD1 */
    	{OFFSET(mii1_rxd0), MODE(0) | RXACTIVE},	/* MII1_RXD0 */
    	{OFFSET(mdio_data), MODE(0) | RXACTIVE | PULLUP_EN}, /* MDIO_DATA */
    	{OFFSET(mdio_clk), MODE(0) | PULLUP_EN},	/* MDIO_CLK */
    	{-1},
    };
    
    static struct module_pin_mux rmii1_pin_mux[] = {
    	{OFFSET(mdio_clk), MODE(0) | PULLUP_EN},	/* MDIO_CLK */
    	{OFFSET(mdio_data), MODE(0) | RXACTIVE | PULLUP_EN}, /* MDIO_DATA */
    	{OFFSET(mii1_crs), MODE(1) | RXACTIVE},		/* MII1_CRS */
    	{OFFSET(mii1_rxerr), MODE(1) | RXACTIVE},	/* MII1_RXERR */
    	{OFFSET(mii1_txen), MODE(1)},			/* MII1_TXEN */
    	{OFFSET(mii1_txd1), MODE(1)},			/* MII1_TXD1 */
    	{OFFSET(mii1_txd0), MODE(1)},			/* MII1_TXD0 */
    	{OFFSET(mii1_rxd1), MODE(1) | RXACTIVE},	/* MII1_RXD1 */
    	{OFFSET(mii1_rxd0), MODE(1) | RXACTIVE},	/* MII1_RXD0 */
    	{OFFSET(rmii1_refclk), MODE(0) | RXACTIVE},	/* RMII1_REFCLK */
    	{-1},
    };
    
    #ifdef CONFIG_NAND
    static struct module_pin_mux nand_pin_mux[] = {
    	{OFFSET(gpmc_ad0),	(MODE(0) | PULLUDDIS | RXACTIVE)}, /* AD0  */
    	{OFFSET(gpmc_ad1),	(MODE(0) | PULLUDDIS | RXACTIVE)}, /* AD1  */
    	{OFFSET(gpmc_ad2),	(MODE(0) | PULLUDDIS | RXACTIVE)}, /* AD2  */
    	{OFFSET(gpmc_ad3),	(MODE(0) | PULLUDDIS | RXACTIVE)}, /* AD3  */
    	{OFFSET(gpmc_ad4),	(MODE(0) | PULLUDDIS | RXACTIVE)}, /* AD4  */
    	{OFFSET(gpmc_ad5),	(MODE(0) | PULLUDDIS | RXACTIVE)}, /* AD5  */
    	{OFFSET(gpmc_ad6),	(MODE(0) | PULLUDDIS | RXACTIVE)}, /* AD6  */
    	{OFFSET(gpmc_ad7),	(MODE(0) | PULLUDDIS | RXACTIVE)}, /* AD7  */
    #ifdef CONFIG_SYS_NAND_BUSWIDTH_16BIT
    	{OFFSET(gpmc_ad8),	(MODE(0) | PULLUDDIS | RXACTIVE)}, /* AD8  */
    	{OFFSET(gpmc_ad9),	(MODE(0) | PULLUDDIS | RXACTIVE)}, /* AD9  */
    	{OFFSET(gpmc_ad10),	(MODE(0) | PULLUDDIS | RXACTIVE)}, /* AD10 */
    	{OFFSET(gpmc_ad11),	(MODE(0) | PULLUDDIS | RXACTIVE)}, /* AD11 */
    	{OFFSET(gpmc_ad12),	(MODE(0) | PULLUDDIS | RXACTIVE)}, /* AD12 */
    	{OFFSET(gpmc_ad13),	(MODE(0) | PULLUDDIS | RXACTIVE)}, /* AD13 */
    	{OFFSET(gpmc_ad14),	(MODE(0) | PULLUDDIS | RXACTIVE)}, /* AD14 */
    	{OFFSET(gpmc_ad15),	(MODE(0) | PULLUDDIS | RXACTIVE)}, /* AD15 */
    #endif
    	{OFFSET(gpmc_wait0),	(MODE(0) | PULLUP_EN | RXACTIVE)}, /* nWAIT */
    	{OFFSET(gpmc_wpn),	(MODE(7) | PULLUP_EN)},		   /* nWP */
    	{OFFSET(gpmc_csn0),	(MODE(0) | PULLUP_EN)},		   /* nCS */
    	{OFFSET(gpmc_wen),	(MODE(0) | PULLDOWN_EN)},	   /* WEN */
    	{OFFSET(gpmc_oen_ren),	(MODE(0) | PULLDOWN_EN)},	   /* OE */
    	{OFFSET(gpmc_advn_ale),	(MODE(0) | PULLDOWN_EN)},	   /* ADV_ALE */
    	{OFFSET(gpmc_be0n_cle),	(MODE(0) | PULLDOWN_EN)},	   /* BE_CLE */
    	{-1},
    };
    #elif defined(CONFIG_NOR)
    static struct module_pin_mux bone_norcape_pin_mux[] = {
    	{OFFSET(gpmc_a0), MODE(0) | PULLUDDIS},			/* NOR_A0 */
    	{OFFSET(gpmc_a1), MODE(0) | PULLUDDIS},			/* NOR_A1 */
    	{OFFSET(gpmc_a2), MODE(0) | PULLUDDIS},			/* NOR_A2 */
    	{OFFSET(gpmc_a3), MODE(0) | PULLUDDIS},			/* NOR_A3 */
    	{OFFSET(gpmc_a4), MODE(0) | PULLUDDIS},			/* NOR_A4 */
    	{OFFSET(gpmc_a5), MODE(0) | PULLUDDIS},			/* NOR_A5 */
    	{OFFSET(gpmc_a6), MODE(0) | PULLUDDIS},			/* NOR_A6 */
    	{OFFSET(gpmc_a7), MODE(0) | PULLUDDIS},			/* NOR_A7 */
    	{OFFSET(gpmc_ad0), MODE(0) | PULLUDDIS | RXACTIVE},	/* NOR_AD0 */
    	{OFFSET(gpmc_ad1), MODE(0) | PULLUDDIS | RXACTIVE},	/* NOR_AD1 */
    	{OFFSET(gpmc_ad2), MODE(0) | PULLUDDIS | RXACTIVE},	/* NOR_AD2 */
    	{OFFSET(gpmc_ad3), MODE(0) | PULLUDDIS | RXACTIVE},	/* NOR_AD3 */
    	{OFFSET(gpmc_ad4), MODE(0) | PULLUDDIS | RXACTIVE},	/* NOR_AD4 */
    	{OFFSET(gpmc_ad5), MODE(0) | PULLUDDIS | RXACTIVE},	/* NOR_AD5 */
    	{OFFSET(gpmc_ad6), MODE(0) | PULLUDDIS | RXACTIVE},	/* NOR_AD6 */
    	{OFFSET(gpmc_ad7), MODE(0) | PULLUDDIS | RXACTIVE},	/* NOR_AD7 */
    	{OFFSET(gpmc_ad8), MODE(0) | PULLUDDIS | RXACTIVE},	/* NOR_AD8 */
    	{OFFSET(gpmc_ad9), MODE(0) | PULLUDDIS | RXACTIVE},	/* NOR_AD9 */
    	{OFFSET(gpmc_ad10), MODE(0) | PULLUDDIS | RXACTIVE},	/* NOR_AD10 */
    	{OFFSET(gpmc_ad11), MODE(0) | PULLUDDIS | RXACTIVE},	/* NOR_AD11 */
    	{OFFSET(gpmc_ad12), MODE(0) | PULLUDDIS | RXACTIVE},	/* NOR_AD12 */
    	{OFFSET(gpmc_ad13), MODE(0) | PULLUDDIS | RXACTIVE},	/* NOR_AD13 */
    	{OFFSET(gpmc_ad14), MODE(0) | PULLUDDIS | RXACTIVE},	/* NOR_AD14 */
    	{OFFSET(gpmc_ad15), MODE(0) | PULLUDDIS | RXACTIVE},	/* NOR_AD15 */
    	{OFFSET(gpmc_csn0), MODE(0) | PULLUDEN | PULLUP_EN},     /* CE */
    	{OFFSET(gpmc_advn_ale), MODE(0) | PULLUDEN | PULLDOWN_EN}, /* ALE */
    	{OFFSET(gpmc_oen_ren), MODE(0) | PULLUDEN | PULLDOWN_EN},/* OEn_REN */
    	{OFFSET(gpmc_be0n_cle), MODE(0) | PULLUDEN | PULLDOWN_EN},/* unused */
    	{OFFSET(gpmc_wen), MODE(0) | PULLUDEN | PULLDOWN_EN},    /* WEN */
    	{OFFSET(gpmc_wait0), MODE(0) | PULLUDEN | PULLUP_EN | RXACTIVE},/*WAIT*/
    	{-1},
    };
    #endif
    
    static struct module_pin_mux uart3_icev2_pin_mux[] = {
    	{OFFSET(mii1_rxd3), (MODE(1) | PULLUP_EN | RXACTIVE)},	/* UART3_RXD */
    	{OFFSET(mii1_rxd2), MODE(1) | PULLUDEN},		/* UART3_TXD */
    	{-1},
    };
    
    #if defined(CONFIG_NOR_BOOT)
    void enable_norboot_pin_mux(void)
    {
    	configure_module_pin_mux(bone_norcape_pin_mux);
    }
    #endif
    
    void enable_uart0_pin_mux(void)
    {
    	configure_module_pin_mux(uart0_pin_mux);
    }
    
    void enable_uart1_pin_mux(void)
    {
    	configure_module_pin_mux(uart1_pin_mux);
    }
    
    void enable_uart2_pin_mux(void)
    {
    	configure_module_pin_mux(uart2_pin_mux);
    }
    
    void enable_uart3_pin_mux(void)
    {
    	configure_module_pin_mux(uart3_pin_mux);
    }
    
    void enable_uart4_pin_mux(void)
    {
    	configure_module_pin_mux(uart4_pin_mux);
    }
    
    void enable_uart5_pin_mux(void)
    {
    	configure_module_pin_mux(uart5_pin_mux);
    }
    
    void enable_i2c0_pin_mux(void)
    {
    	configure_module_pin_mux(i2c0_pin_mux);
    }
    
    /*
     * The AM335x GP EVM, if daughter card(s) are connected, can have 8
     * different profiles.  These profiles determine what peripherals are
     * valid and need pinmux to be configured.
     */
    #define PROFILE_NONE	0x0
    #define PROFILE_0	(1 << 0)
    #define PROFILE_1	(1 << 1)
    #define PROFILE_2	(1 << 2)
    #define PROFILE_3	(1 << 3)
    #define PROFILE_4	(1 << 4)
    #define PROFILE_5	(1 << 5)
    #define PROFILE_6	(1 << 6)
    #define PROFILE_7	(1 << 7)
    #define PROFILE_MASK	0x7
    #define PROFILE_ALL	0xFF
    
    /* CPLD registers */
    #define I2C_CPLD_ADDR	0x35
    #define CFG_REG		0x10
    
    static unsigned short detect_daughter_board_profile(void)
    {
    	unsigned short val;
    
    #ifndef CONFIG_DM_I2C
    	if (i2c_probe(I2C_CPLD_ADDR))
    		return PROFILE_NONE;
    
    	if (i2c_read(I2C_CPLD_ADDR, CFG_REG, 1, (unsigned char *)(&val), 2))
    		return PROFILE_NONE;
    #else
    	struct udevice *dev = NULL;
    	int rc;
    
    	rc = i2c_get_chip_for_busnum(0, I2C_CPLD_ADDR, 1, &dev);
    	if (rc)
    		return PROFILE_NONE;
    	rc = dm_i2c_read(dev, CFG_REG, (unsigned char *)(&val), 2);
    	if (rc)
    		return PROFILE_NONE;
    #endif
    	return (1 << (val & PROFILE_MASK));
    }
    
    void enable_board_pin_mux(void)
    {
    	/* Do board-specific muxes. */
    	if (board_is_bone()) {
    		/* Beaglebone pinmux */
    		configure_module_pin_mux(mii1_pin_mux);
    		configure_module_pin_mux(mmc0_pin_mux);
    #if defined(CONFIG_NAND)
    		configure_module_pin_mux(nand_pin_mux);
    #elif defined(CONFIG_NOR)
    		configure_module_pin_mux(bone_norcape_pin_mux);
    #else
    		configure_module_pin_mux(mmc1_pin_mux);
    #endif
    	} else if (board_is_gp_evm()) {
    		/* General Purpose EVM */
    		unsigned short profile = detect_daughter_board_profile();
    		configure_module_pin_mux(rgmii1_pin_mux);
    		configure_module_pin_mux(mmc0_pin_mux);
    		/* In profile #2 i2c1 and spi0 conflict. */
    		if (profile & ~PROFILE_2)
    			configure_module_pin_mux(i2c1_pin_mux);
    		/* Profiles 2 & 3 don't have NAND */
    #ifdef CONFIG_NAND
    		if (profile & ~(PROFILE_2 | PROFILE_3))
    			configure_module_pin_mux(nand_pin_mux);
    #endif
    		else if (profile == PROFILE_2) {
    			configure_module_pin_mux(mmc1_pin_mux);
    			configure_module_pin_mux(spi0_pin_mux);
    		}
    	} else if (board_is_idk()) {
    		/* Industrial Motor Control (IDK) */
    		configure_module_pin_mux(mii1_pin_mux);
    		configure_module_pin_mux(mmc0_no_cd_pin_mux);
    	} else if (board_is_evm_sk()) {
    		/* Starter Kit EVM */
    		configure_module_pin_mux(i2c1_pin_mux);
    		configure_module_pin_mux(gpio0_7_pin_mux);
    		configure_module_pin_mux(rgmii1_pin_mux);
    		configure_module_pin_mux(mmc0_pin_mux_sk_evm);
    
    		// ------------ eMMC Module : Step 1------------ //
    
    		configure_module_pin_mux(mmc1_pin_mux);
    		
    		// ------------ -------------------------------- //
    
    	} else if (board_is_bone_lt()) {
    		if (board_is_bben()) {
    			/* SanCloud Beaglebone LT Enhanced pinmux */
    			configure_module_pin_mux(rgmii1_pin_mux);
    		} else {
    			/* Beaglebone LT pinmux */
    			configure_module_pin_mux(mii1_pin_mux);
    		}
    		/* Beaglebone LT pinmux */
    		configure_module_pin_mux(mii1_pin_mux);
    		configure_module_pin_mux(mmc0_pin_mux);
    #if defined(CONFIG_NAND) && defined(CONFIG_EMMC_BOOT)
    		configure_module_pin_mux(nand_pin_mux);
    #elif defined(CONFIG_NOR) && defined(CONFIG_EMMC_BOOT)
    		configure_module_pin_mux(bone_norcape_pin_mux);
    #else
    		configure_module_pin_mux(mmc1_pin_mux);
    #endif
    	} else if (board_is_pb()) {
    		configure_module_pin_mux(mii1_pin_mux);
    		configure_module_pin_mux(mmc0_pin_mux);
    	} else if (board_is_icev2()) {
    		configure_module_pin_mux(mmc0_pin_mux);
    		configure_module_pin_mux(gpio0_18_pin_mux);
    		configure_module_pin_mux(uart3_icev2_pin_mux);
    		configure_module_pin_mux(rmii1_pin_mux);
    		configure_module_pin_mux(spi0_pin_mux);
    	} else {
    		/* Unknown board. We might still be able to boot. */
    		puts("Bad EEPROM or unknown board, cannot configure pinmux.");
    	}
    }
    

  • Looks like you have set...

    bus-width = <8>;

    ...but your eMMC is only connected using 4 signals? Try setting bus-width to <4>.

    If this doesn't help I'd recommend turning on debug prints for the MMC driver to get some more insight into why the eMMC is not getting probed.

    • Add a #define DEBUG to the top(!) of drivers/mmc/mmc.c
    • Activate CONFIG_MMC_VERBOSE and CONFIG_MMC_TRACE via 'make menuconfig'
    • Also please share a complete U-Boot log (in text form, not screenshot)

    Regards, Andreas

  • In my custom board mmc bus width is 8 (8 dataline).

    added #define DEBUG in mmc.c file

    Already enabled CONFIG_MMC_VERBOSE in /ti../board-support/u-boot../.config file.

    I'm not able to find out CONFIG_MMC_TRACE in menuconfig. Please send location for that.

  • Harshad Hapani1 said:
    I'm not able to find out CONFIG_MMC_TRACE in menuconfig. Please send location for that.

    What version of U-Boot are you using? You should be on 2019.01 from one of our Processor SDK Linux 6.x releases. Please try this option as well if you haven't already.

    a0797059@jiji:~/git/u-boot (ti-u-boot-2019.01-next-dev)
    $ git grep -A 10 'config.*MMC_TRACE'
    drivers/mmc/Kconfig:config MMC_TRACE
    drivers/mmc/Kconfig-    bool "MMC debugging"
    drivers/mmc/Kconfig-    default n
    drivers/mmc/Kconfig-    help
    drivers/mmc/Kconfig-      This is an option for use by developer. Enable MMC core debugging.
    drivers/mmc/Kconfig-
    drivers/mmc/Kconfig-      If you need to see the MMC core message, say Y.
    drivers/mmc/Kconfig-
    drivers/mmc/Kconfig-config SPL_MMC_TINY
    drivers/mmc/Kconfig-    bool "Tiny MMC framework in SPL"
    drivers/mmc/Kconfig-    help

    Then, you had mentioned earlier you were programming the eMMC. I assume you did that from Linux running on AM335x, so your eMMC access under Linux is working? If so, can you share the entire Linux boot log? Plus the output of cat /sys/kernel/debug/mmc0/ios  and cat /sys/kernel/debug/mmc1/ios ?

    Regards, Andreas

  • hii

    I have enable CONFIG_MMC_TRACE and CONFIG_MMC_VERBOSE configuration.

    root@am335x-evm:/# cat /sys/kernel/debug/mmc0/ios
    clock:          50000000 Hz
    vdd:            21 (3.3 ~ 3.4 V)
    bus mode:       2 (push-pull)
    chip select:    0 (don't care)
    power mode:     2 (on)
    bus width:      2 (4 bits)
    timing spec:    2 (sd high-speed)
    signal voltage: 0 (3.30 V)
    driver type:    0 (driver type B)
    root@am335x-evm:/# 
    root@am335x-evm:/# cat /sys/kernel/debug/mmc1/ios
    clock:          52000000 Hz
    vdd:            21 (3.3 ~ 3.4 V)
    bus mode:       2 (push-pull)
    chip select:    0 (don't care)
    power mode:     2 (on)
    bus width:      3 (8 bits)
    timing spec:    1 (mmc high-speed)
    signal voltage: 0 (3.30 V)
    driver type:    0 (driver type B)

    Terminal log with uSD Card :

    U-Boot SPL 2019.01-g1ebdbc7-dirty (Feb 26 2020 - 11:06:27 +0530)
    Trying to boot from MMC1
    clock is disabled (0Hz)
    clock is enabled (400000Hz)
    CMD_SEND:0
    		ARG			 0x00000000
    		MMC_RSP_NONE
    CMD_SEND:8
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:55
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:41
    		ARG			 0x00000000
    		MMC_RSP_R3,4		 0x00000000 
    CMD_SEND:55
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:41
    		ARG			 0x00000000
    		MMC_RSP_R3,4		 0x00000000 
    CMD_SEND:2
    		ARG			 0x00000000
    		MMC_RSP_R2		 0x00000000 
    		          		 0x00000000 
    		          		 0x00000000 
    		          		 0x00000000 
    
    					DUMPING DATA
    					000 - 00 00 00 00 
    					004 - 00 00 00 00 
    					008 - 00 00 00 00 
    					012 - 00 00 00 00 
    CMD_SEND:3
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:9
    		ARG			 0x00000000
    		MMC_RSP_R2		 0x00000000 
    		          		 0x00000000 
    		          		 0x00000000 
    		          		 0x00000000 
    
    					DUMPING DATA
    					000 - 00 00 00 00 
    					004 - 00 00 00 00 
    					008 - 00 00 00 00 
    					012 - 00 00 00 00 
    CMD_SEND:7
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:55
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:51
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:6
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:55
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:6
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:6
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    clock is enabled (50000000Hz)
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    
    
    U-Boot 2019.01-g1ebdbc7-dirty (Feb 26 2020 - 11:06:27 +0530)
    
    ***************************************
     Aarohi Embedded Systems Pvt. Ltd. 
     Project - AM3358 mother board 
     Revision - 2.0 
     PCB Number : AESPL-PCB19 
    ***************************************
    CPU  : AM335X-GP rev 2.1
    Model: TI AM335x EVM
    DRAM:  1 GiB
    NAND:  0 MiB
    MMC:   OMAP SD/MMC: 0
    Loading Environment from FAT... clock is disabled (0Hz)
    clock is enabled (400000Hz)
    CMD_SEND:0
    		ARG			 0x00000000
    		MMC_RSP_NONE
    CMD_SEND:8
    		ARG			 0x000001AA
    		MMC_RSP_R1,5,6,7 	 0x000001AA 
    CMD_SEND:55
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000120 
    CMD_SEND:41
    		ARG			 0x40300000
    		MMC_RSP_R3,4		 0x00FF8000 
    CMD_SEND:55
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000120 
    CMD_SEND:41
    		ARG			 0x40300000
    		MMC_RSP_R3,4		 0xC0FF8000 
    CMD_SEND:2
    		ARG			 0x00000000
    		MMC_RSP_R2		 0x1B534D30 
    		          		 0x30303030 
    		          		 0x10C55355 
    		          		 0x1A010239 
    
    					DUMPING DATA
    					000 - 1B 53 4D 30 
    					004 - 30 30 30 30 
    					008 - 10 C5 53 55 
    					012 - 1A 01 02 39 
    CMD_SEND:3
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x59B40520 
    CMD_SEND:9
    		ARG			 0x59B40000
    		MMC_RSP_R2		 0x400E0032 
    		          		 0x5B590000 
    		          		 0x3BCD7F80 
    		          		 0x0A400041 
    
    					DUMPING DATA
    					000 - 40 0E 00 32 
    					004 - 5B 59 00 00 
    					008 - 3B CD 7F 80 
    					012 - 0A 40 00 41 
    CMD_SEND:7
    		ARG			 0x59B40000
    		MMC_RSP_R1,5,6,7 	 0x00000700 
    CMD_SEND:55
    		ARG			 0x59B40000
    		MMC_RSP_R1,5,6,7 	 0x00000920 
    CMD_SEND:51
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000920 
    CMD_SEND:6
    		ARG			 0x00FFFFF1
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:55
    		ARG			 0x59B40000
    		MMC_RSP_R1,5,6,7 	 0x00000920 
    CMD_SEND:6
    		ARG			 0x00000002
    		MMC_RSP_R1,5,6,7 	 0x00000920 
    CMD_SEND:6
    		ARG			 0x80FFFFF1
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    clock is enabled (50000000Hz)
    CMD_SEND:55
    		ARG			 0x59B40000
    		MMC_RSP_R1,5,6,7 	 0x00000920 
    CMD_SEND:13
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000920 
    CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:17
    		ARG			 0x00000800
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:17
    		ARG			 0x000010BE
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:18
    		ARG			 0x00000820
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000900 
    CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:17
    		ARG			 0x0000500E
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:18
    		ARG			 0x0000089E
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000900 
    CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:18
    		ARG			 0x00000820
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000900 
    CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:18
    		ARG			 0x000010BF
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000900 
    OK
    <ethaddr> not set. Validating first E-fuse MAC
    Net:   Could not get PHY for ethernet@4a100000: addr 0
    eth0: ethernet@4a100000
    Warning: usb_ether MAC addresses don't match:
    Address in ROM is          de:ad:be:ef:00:01
    Address in environment is  04:79:b7:03:48:0b
    , eth1: usb_ether
    Hit any key to stop autoboot:  2  1  0 
    clock is disabled (0Hz)
    clock is enabled (400000Hz)
    CMD_SEND:0
    		ARG			 0x00000000
    		MMC_RSP_NONE
    CMD_SEND:8
    		ARG			 0x000001AA
    		MMC_RSP_R1,5,6,7 	 0x000001AA 
    CMD_SEND:55
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000120 
    CMD_SEND:41
    		ARG			 0x40300000
    		MMC_RSP_R3,4		 0x00FF8000 
    CMD_SEND:55
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000120 
    CMD_SEND:41
    		ARG			 0x40300000
    		MMC_RSP_R3,4		 0xC0FF8000 
    CMD_SEND:2
    		ARG			 0x00000000
    		MMC_RSP_R2		 0x1B534D30 
    		          		 0x30303030 
    		          		 0x10C55355 
    		          		 0x1A010239 
    
    					DUMPING DATA
    					000 - 1B 53 4D 30 
    					004 - 30 30 30 30 
    					008 - 10 C5 53 55 
    					012 - 1A 01 02 39 
    CMD_SEND:3
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x59B40520 
    CMD_SEND:9
    		ARG			 0x59B40000
    		MMC_RSP_R2		 0x400E0032 
    		          		 0x5B590000 
    		          		 0x3BCD7F80 
    		          		 0x0A400041 
    
    					DUMPING DATA
    					000 - 40 0E 00 32 
    					004 - 5B 59 00 00 
    					008 - 3B CD 7F 80 
    					012 - 0A 40 00 41 
    CMD_SEND:7
    		ARG			 0x59B40000
    		MMC_RSP_R1,5,6,7 	 0x00000700 
    CMD_SEND:55
    		ARG			 0x59B40000
    		MMC_RSP_R1,5,6,7 	 0x00000920 
    CMD_SEND:51
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000920 
    CMD_SEND:6
    		ARG			 0x00FFFFF1
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:55
    		ARG			 0x59B40000
    		MMC_RSP_R1,5,6,7 	 0x00000920 
    CMD_SEND:6
    		ARG			 0x00000002
    		MMC_RSP_R1,5,6,7 	 0x00000920 
    CMD_SEND:6
    		ARG			 0x80FFFFF1
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    clock is enabled (50000000Hz)
    CMD_SEND:55
    		ARG			 0x59B40000
    		MMC_RSP_R1,5,6,7 	 0x00000920 
    CMD_SEND:13
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000920 
    switch to partitions #0, OK
    mmc0 is current device
    clock is disabled (0Hz)
    clock is enabled (400000Hz)
    CMD_SEND:0
    		ARG			 0x00000000
    		MMC_RSP_NONE
    CMD_SEND:8
    		ARG			 0x000001AA
    		MMC_RSP_R1,5,6,7 	 0x000001AA 
    CMD_SEND:55
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000120 
    CMD_SEND:41
    		ARG			 0x40300000
    		MMC_RSP_R3,4		 0x00FF8000 
    CMD_SEND:55
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000120 
    CMD_SEND:41
    		ARG			 0x40300000
    		MMC_RSP_R3,4		 0xC0FF8000 
    CMD_SEND:2
    		ARG			 0x00000000
    		MMC_RSP_R2		 0x1B534D30 
    		          		 0x30303030 
    		          		 0x10C55355 
    		          		 0x1A010239 
    
    					DUMPING DATA
    					000 - 1B 53 4D 30 
    					004 - 30 30 30 30 
    					008 - 10 C5 53 55 
    					012 - 1A 01 02 39 
    CMD_SEND:3
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x59B40520 
    CMD_SEND:9
    		ARG			 0x59B40000
    		MMC_RSP_R2		 0x400E0032 
    		          		 0x5B590000 
    		          		 0x3BCD7F80 
    		          		 0x0A400041 
    
    					DUMPING DATA
    					000 - 40 0E 00 32 
    					004 - 5B 59 00 00 
    					008 - 3B CD 7F 80 
    					012 - 0A 40 00 41 
    CMD_SEND:7
    		ARG			 0x59B40000
    		MMC_RSP_R1,5,6,7 	 0x00000700 
    CMD_SEND:55
    		ARG			 0x59B40000
    		MMC_RSP_R1,5,6,7 	 0x00000920 
    CMD_SEND:51
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000920 
    CMD_SEND:6
    		ARG			 0x00FFFFF1
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:55
    		ARG			 0x59B40000
    		MMC_RSP_R1,5,6,7 	 0x00000920 
    CMD_SEND:6
    		ARG			 0x00000002
    		MMC_RSP_R1,5,6,7 	 0x00000920 
    CMD_SEND:6
    		ARG			 0x80FFFFF1
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    clock is enabled (50000000Hz)
    CMD_SEND:55
    		ARG			 0x59B40000
    		MMC_RSP_R1,5,6,7 	 0x00000920 
    CMD_SEND:13
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000920 
    SD/MMC found on device 0
    CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:18
    		ARG			 0x00000820
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000900 
    CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:18
    		ARG			 0x0000089E
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000900 
    ** Unable to read file boot.scr **
    CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:18
    		ARG			 0x00000820
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000900 
    CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:17
    		ARG			 0x0000500A
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    264 bytes read in 30 ms (7.8 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc0 ...
    Running uenvcmd ...
    clock is disabled (0Hz)
    clock is enabled (400000Hz)
    CMD_SEND:0
    		ARG			 0x00000000
    		MMC_RSP_NONE
    CMD_SEND:8
    		ARG			 0x000001AA
    		MMC_RSP_R1,5,6,7 	 0x000001AA 
    CMD_SEND:55
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000120 
    CMD_SEND:41
    		ARG			 0x40300000
    		MMC_RSP_R3,4		 0x00FF8000 
    CMD_SEND:55
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000120 
    CMD_SEND:41
    		ARG			 0x40300000
    		MMC_RSP_R3,4		 0xC0FF8000 
    CMD_SEND:2
    		ARG			 0x00000000
    		MMC_RSP_R2		 0x1B534D30 
    		          		 0x30303030 
    		          		 0x10C55355 
    		          		 0x1A010239 
    
    					DUMPING DATA
    					000 - 1B 53 4D 30 
    					004 - 30 30 30 30 
    					008 - 10 C5 53 55 
    					012 - 1A 01 02 39 
    CMD_SEND:3
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x59B40520 
    CMD_SEND:9
    		ARG			 0x59B40000
    		MMC_RSP_R2		 0x400E0032 
    		          		 0x5B590000 
    		          		 0x3BCD7F80 
    		          		 0x0A400041 
    
    					DUMPING DATA
    					000 - 40 0E 00 32 
    					004 - 5B 59 00 00 
    					008 - 3B CD 7F 80 
    					012 - 0A 40 00 41 
    CMD_SEND:7
    		ARG			 0x59B40000
    		MMC_RSP_R1,5,6,7 	 0x00000700 
    CMD_SEND:55
    		ARG			 0x59B40000
    		MMC_RSP_R1,5,6,7 	 0x00000920 
    CMD_SEND:51
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000920 
    CMD_SEND:6
    		ARG			 0x00FFFFF1
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:55
    		ARG			 0x59B40000
    		MMC_RSP_R1,5,6,7 	 0x00000920 
    CMD_SEND:6
    		ARG			 0x00000002
    		MMC_RSP_R1,5,6,7 	 0x00000920 
    CMD_SEND:6
    		ARG			 0x80FFFFF1
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    clock is enabled (50000000Hz)
    CMD_SEND:55
    		ARG			 0x59B40000
    		MMC_RSP_R1,5,6,7 	 0x00000920 
    CMD_SEND:13
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000920 
    CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:18
    		ARG			 0x00023802
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000900 
    CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:17
    		ARG			 0x00023808
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:17
    		ARG			 0x000246E0
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:17
    		ARG			 0x000256A8
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:17
    		ARG			 0x00023809
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:17
    		ARG			 0x00523810
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:17
    		ARG			 0x005247D8
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:17
    		ARG			 0x005247D9
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:17
    		ARG			 0x00523819
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:17
    		ARG			 0x00523816
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:18
    		ARG			 0x0052DE60
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000900 
    CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:18
    		ARG			 0x0054A800
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000900 
    CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:18
    		ARG			 0x00026980
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000900 
    CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:18
    		ARG			 0x0002B100
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000900 
    CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:18
    		ARG			 0x00029000
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000900 
    CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:18
    		ARG			 0x00B364E8
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000900 
    CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:18
    		ARG			 0x00B37800
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000900 
    CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:18
    		ARG			 0x00B39800
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000900 
    4227584 bytes read in 496 ms (8.1 MiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8fff3000, end 8ffff95a ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.19.59-g5f8c1c6121 (harshad-linux@harshadlinux-HP-Compaq-6200-Pro-SFF-PC) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 PREEMPT Wed Feb 26 10:56:46 IST 2020
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] OF: fdt: Machine model: TI AM335x EVM-SK
    [    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] AM335X ES2.1 (sgx neon)
    [    0.000000] random: get_random_bytes called from start_kernel+0xa4/0x434 with crng_init=0
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260416
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 rootfstype=ext3 rw rootwait ip=off lpj=3590144
    [    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: 975340K/1048576K available (9216K kernel code, 309K rwdata, 2692K rodata, 1024K init, 253K bss, 24084K 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 : 0x(ptrval) - 0x(ptrval)   (10208 kB)
    [    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
    [    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 310 kB)
    [    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 254 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] rcu: 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 0x(ptrval) (revision 5.0) with 128 interrupts
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000016] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000035] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000045] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000203] timer_probe: no matching timers found
    [    0.000379] Console: colour dummy device 80x30
    [    0.000406] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.000412] This ensures that you still see kernel messages. Please
    [    0.000417] update your kernel commandline.
    [    0.000469] Calibrating delay loop (skipped) preset value.. 718.02 BogoMIPS (lpj=3590144)
    [    0.000485] pid_max: default: 32768 minimum: 301
    [    0.000676] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000693] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001455] CPU: Testing write buffer coherency: ok
    [    0.001518] CPU0: Spectre v2: using BPIALL workaround
    [    0.002328] Setting up static identity map for 0x80100000 - 0x80100060
    [    0.002466] rcu: Hierarchical SRCU implementation.
    [    0.002774] EFI services will not be available.
    [    0.004071] devtmpfs: initialized
    [    0.011418] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.011793] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.011815] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.015200] pinctrl core: initialized pinctrl subsystem
    [    0.015912] DMI not present or invalid.
    [    0.016343] NET: Registered protocol family 16
    [    0.018440] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.035380] l4_wkup_cm:clk:0010:0: failed to disable
    [    0.076421] cpuidle: using governor ladder
    [    0.076455] cpuidle: using governor menu
    [    0.081131] OMAP GPIO hardware version 0.1
    [    0.090194] No ATAGs?
    [    0.090211] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.102709] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.104197] v1_8d: supplied by vbat
    [    0.104471] v3_3d: supplied by vbat
    [    0.106746] SCSI subsystem initialized
    [    0.107195] media: Linux media interface: v0.10
    [    0.107237] videodev: Linux video capture interface: v2.00
    [    0.107323] pps_core: LinuxPPS API ver. 1 registered
    [    0.107331] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.107351] PTP clock support registered
    [    0.107383] EDAC MC: Ver: 3.0.0
    [    0.108461] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.109055] Advanced Linux Sound Architecture Driver Initialized.
    [    0.110367] clocksource: Switched to clocksource timer1
    [    0.117796] NET: Registered protocol family 2
    [    0.118581] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
    [    0.118612] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.118681] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.118748] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.118871] UDP hash table entries: 512 (order: 1, 8192 bytes)
    [    0.118895] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
    [    0.119039] NET: Registered protocol family 1
    [    0.119816] RPC: Registered named UNIX socket transport module.
    [    0.119829] RPC: Registered udp transport module.
    [    0.119836] RPC: Registered tcp transport module.
    [    0.119841] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.120906] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.122126] Initialise system trusted keyrings
    [    0.122418] workingset: timestamp_bits=14 max_order=18 bucket_order=4
    [    0.126527] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.127261] NFS: Registering the id_resolver key type
    [    0.127308] Key type id_resolver registered
    [    0.127315] Key type id_legacy registered
    [    0.127354] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.129452] Key type asymmetric registered
    [    0.129468] Asymmetric key parser 'x509' registered
    [    0.129533] bounce: pool size: 64 pages
    [    0.129597] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.129609] io scheduler noop registered
    [    0.129616] io scheduler deadline registered
    [    0.129843] io scheduler cfq registered (default)
    [    0.129855] io scheduler mq-deadline registered
    [    0.129862] io scheduler kyber registered
    [    0.131792] pinctrl-single 44e10800.pinmux: 142 pins, size 568
    [    0.134915] pwm-backlight backlight: backlight supply power not found, using dummy regulator
    [    0.135003] pwm-backlight backlight: Linked as a consumer to regulator.0
    [    0.178608] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.182469] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
    [    0.832935] console [ttyS0] enabled
    [    0.838568] omap_rng 48310000.rng: Random Number Generator ver. 20
    [    0.844953] random: fast init done
    [    0.848570] random: crng init done
    [    0.853376] tilcdc-panel panel: found backlight
    [    0.858234] OF: graph: no port node found in /ocp/lcdc@4830e000
    [    0.865123] OF: graph: no port node found in /ocp/lcdc@4830e000
    [    0.871584] OF: graph: no port node found in /ocp/lcdc@4830e000
    [    0.877536] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    0.884217] [drm] No driver support for vblank timestamp query.
    [    0.934197] Console: switching to colour frame buffer device 100x30
    [    0.956781] tilcdc 4830e000.lcdc: fb0: DRM emulated frame buffer device
    [    0.964005] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on minor 0
    [    0.982894] brd: module loaded
    [    0.992492] loop: module loaded
    [    0.998128] libphy: Fixed MDIO Bus: probed
    [    1.070417] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    1.078127] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [    1.085395] libphy: 4a101000.mdio: probed
    [    1.089435] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Atheros 8031 ethernet
    [    1.099636] cpsw 4a100000.ethernet: Detected MACID = 04:79:b7:03:48:09
    [    1.106468] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [    1.112960] cpsw 4a100000.ethernet: ALE Table size 1024
    [    1.118241] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.126272] cpsw 4a100000.ethernet: cpsw: Detected MACID = 04:79:b7:03:48:0b
    [    1.134655] i2c /dev entries driver
    [    1.140031] cpuidle: enable-method property 'ti,am3352' found operations
    [    1.147372] sdhci: Secure Digital Host Controller Interface driver
    [    1.153622] sdhci: Copyright(c) Pierre Ossman
    [    1.158656] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
    [    1.167459] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.173647] sdhci-pltfm: SDHCI platform and OF driver helper
    [    1.180064] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.191208] NET: Registered protocol family 10
    [    1.197213] Segment Routing with IPv6
    [    1.201104] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    1.207701] NET: Registered protocol family 17
    [    1.212568] Key type dns_resolver registered
    [    1.217097] omap_voltage_late_init: Voltage driver support not added
    [    1.224354] Loading compiled-in X.509 certificates
    [    1.260588] tps65910 0-002d: No interrupt support, no core IRQ
    [    1.268322] vrtc: supplied by vbat
    [    1.275374] vio: supplied by vbat
    [    1.280081] vdd1: supplied by vbat
    [    1.285182] vdd2: supplied by vbat
    [    1.291538] vdig1: supplied by vbat
    [    1.296264] vdig2: supplied by vbat
    [    1.301028] vpll: supplied by vbat
    [    1.305670] vdac: supplied by vbat
    [    1.310336] vaux1: supplied by vbat
    [    1.315170] vaux2: supplied by vbat
    [    1.319911] vaux33: supplied by vbat
    [    1.324772] vmmc: supplied by vbat
    [    1.329189] vbb: supplied by vbat
    [    1.334116] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    1.340065] cpu cpu0: Linked as a consumer to regulator.8
    [    1.345617] cpu cpu0: Dropping the link to regulator.8
    [    1.351031] cpu cpu0: Linked as a consumer to regulator.8
    [    1.357939] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
    [    1.366829] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.372084] omap_hsmmc 48060000.mmc: Linked as a consumer to regulator.18
    [    1.406695] omap_hsmmc 481d8000.mmc: Linked as a consumer to regulator.18
    [    1.440159] input: gpio_buttons0 as /devices/platform/gpio_buttons0/input/input0
    [    1.449124] hctosys: unable to open rtc device (rtc0)
    [    1.455393] lis3_reg: disabling
    [    1.458705] v1_8d: disabling
    [    1.461947] v3_3d: disabling
    [    1.465355] ALSA device list:
    [    1.468404] mmc0: host does not support reading read-only switch, assuming write-enable
    [    1.476556]   No soundcards found.
    [    1.480911] Waiting for root device /dev/mmcblk0p2...
    [    1.488086] mmc0: new high speed SDHC card at address 59b4
    [    1.494723] mmcblk0: mmc0:59b4 00000 7.48 GiB 
    [    1.501004]  mmcblk0: p1 p2
    [    1.511755] EXT4-fs (mmcblk0p2): mounting ext3 file system using the ext4 subsystem
    [    1.537131] mmc1: new high speed MMC card at address 0001
    [    1.544018] mmcblk1: mmc1:0001 IS004G 3.64 GiB 
    [    1.550907] mmcblk1boot0: mmc1:0001 IS004G partition 1 2.00 MiB
    [    1.557687] mmcblk1boot1: mmc1:0001 IS004G partition 2 2.00 MiB
    [    1.565312] mmcblk1rpmb: mmc1:0001 IS004G partition 3 512 KiB, chardev (244:0)
    [    1.575465]  mmcblk1: p1 p2
    [    2.042770] EXT4-fs (mmcblk0p2): recovery complete
    [    2.051053] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    2.059280] VFS: Mounted root (ext3 filesystem) on device 179:2.
    [    2.076241] devtmpfs: mounted
    [    2.080839] Freeing unused kernel memory: 1024K
    [    2.085931] Run /sbin/init as init process
    [    2.477387] systemd[1]: System time before build time, advancing clock.
    [    2.522713] systemd[1]: systemd 239 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
    [    2.545098] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2019.07!
    
    [    2.591988] systemd[1]: Set hostname to <am335x-evm>.
    [    3.127499] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
    [    3.144858] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
    [    3.233571] systemd[1]: /lib/systemd/system/gadget-init.service:15: Unknown lvalue 'ExecStopPre' in section 'Service'
    [    3.636293] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    3.685548] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [    3.721934] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [    3.764122] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    3.773002] cryptodev: loading out-of-tree module taints kernel.
    [    3.786465] cryptodev: driver 1.9 loaded.
    [  OK  ] Reached target Slices.
    [  OK  ] Reached target Swap.
    [    3.842191] usbcore: registered new interface driver usbfs
    [    3.847842] usbcore: registered new interface driver hub
    [    3.853418] usbcore: registered new device driver usb
             Mounting Kernel Debug File System...
    [    3.888184] usbcore: registered new interface driver ftdi_sio
    [    3.894683] usbserial: USB Serial support registered for FTDI USB Serial Device
    [  OK  ] Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Process Core Dump Socket.
             Mounting Temporary Directory (/tmp)...
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Reached target Paths.
    [  OK  ] Created slice system-getty.slice.
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
             Starting Remount Root and Kernel File Systems...
    [  OK  ] Listening on udev Control Socket.
             Mounting POSIX Message Queue File System...
    [    4.329724] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [  OK  ] Listening on Journal Socket (/dev/log).
             Starting Journal Service...
             Starting Create list of required st…ce nodes for the current kernel...
    [  OK  ] Listening on udev Kernel Socket.
             Starting udev Coldplug all Devices...
    [  OK  ] Reached target Remote File Systems.
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Started Create list of required sta…vice nodes for the current kernel.
             Starting Create Static Device Nodes in /dev...
             Mounting Kernel Configuration File System...
             Starting Apply Kernel Variables...
    [  OK  ] Started Journal Service.
    [  OK  ] Mounted Kernel Configuration File System.
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Started Apply Kernel Variables.
    [    5.071974] systemd-journald[82]: Received request to flush runtime journal from PID 1
             Starting udev Kernel Device Manager...
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
    [  OK  ] Reached target Containers.
             Mounting /var/volatile...
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Update UTMP about System Boot/Shutdown...
             Starting Network Service...
             Starting Network Time Synchronization...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Service.
             Starting Network Name Resolution...
             Starting Wait for Network to be Configured...
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Network.
    [  OK  ] Reached target Host and Network Name Lookups.
    [    7.726933] omap_rtc 44e3e000.rtc: already running
    [    7.734699] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    7.784056] omap_rtc 44e3e000.rtc: registered as rtc0
    [    7.938999] tlv320aic3x-codec 0-001b: Linked as a consumer to regulator.5
    [    8.076831] tlv320aic3x-codec 0-001b: Linked as a consumer to regulator.4
    [  OK  ] Found device /dev/ttyS0.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Created slice system-systemd\x2dbacklight.slice.
             Starting Load/Save Screen Backlight…ightness of backlight:backlight...
    [  OK  ] Started Load/Save Screen Backlight Brightness of backlight:backlight.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Reached target Timers.
    [    8.879593] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [    8.946252] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [    9.051572] omap-aes 53500000.aes: will run requests pump with realtime priority
             Starting Reboot and dump vmcore via kexec...
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
    [    9.322217] [drm] Initialized pvr 1.17.4948957 20110701 for 56000000.sgx on minor 1
             Starting Simple Network Management Protocol (SNMP) Daemon....
    [  OK  ] Started Redis In-Memory Data Store.
    [    9.478580] remoteproc remoteproc0: wkup_m3 is available
    [    9.494499] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
             Starting Print notice about GPLv3 packages...
    [    9.651813] remoteproc remoteproc0: powering up wkup_m3
    [    9.662030] PM: Cannot get wkup_m3_ipc handle
    [    9.799856] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 242896
             Starting RPC Bind Service...
             Starting Lightning Fast Webserver With Light System Requirements...
    [    9.970916] remoteproc remoteproc0: remote processor wkup_m3 is now up
    [    9.970940] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    [  OK  ] Started Job spooling tools.
    [  OK  ] Started Periodic Command Scheduler.
             Starting Permit User Sessions...
    [   10.498170] net eth1: initializing cpsw version 1.12 (0)
             Starting Enable and configure wl18xx bluetooth stack...
    [   10.612837] libphy: PHY 4a101000.mdio:01 not found
    [   10.617703] net eth1: phy "4a101000.mdio:01" not found on slave 1, err -19
             Starting uim-sysfs.service...
    [   10.849416] asoc-simple-card sound: tlv320aic3x-hifi <-> 4803c000.mcasp mapping ok
    [  OK  ] Started D-Bus System Message Bus.
    [   10.961711] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [   11.022974] asoc-simple-card sound: ASoC: no DMI vendor name!
    [   11.162290] PM: bootloader does not support rtc-only!
    [   11.340700] net eth0: initializing cpsw version 1.12 (0)
             Starting Avahi mDNS/DNS-SD Stack...
             Starting Login Service...
    [   11.553550] Atheros 8031 ethernet 4a101000.mdio:00: attached PHY driver [Atheros 8031 ethernet] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
    [  OK  ] Started Reboot and dump vmcore via kexec.
    [  OK  ] Started RPC Bind Service.
    [   11.816153] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [  OK  ] Started Lightning Fast Webserver With Light System Requirements.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Enable and configure wl18xx bluetooth stack.
    [  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..
    [  OK  ] Found device /dev/ttyS3.
    [  OK  ] Started uim-sysfs.service.
    [   20.403115] TI-am335x-tsc TI-am335x-tsc.0.auto: ti,charge-delay not specified
    [   20.482428] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc not found, using dummy regulator
    [   20.556068] input: ti-tsc as /devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc.0.auto/input/input1
    [   20.626772] am335x-phy-driver 47401300.usb-phy: Linked as a consumer to regulator.0
    [   20.743934] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [   20.749319] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
    [   20.761357] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc not found, using dummy regulator
    [   20.899415] am335x-phy-driver 47401b00.usb-phy: Linked as a consumer to regulator.0
    [   20.948686] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
    [   21.070086] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   21.131074] usb usb1: Product: MUSB HDRC host driver
    [   21.136126] usb usb1: Manufacturer: Linux 4.19.59-g5f8c1c6121 musb-hcd
    [   21.300661] usb usb1: SerialNumber: musb-hdrc.0
    [   21.351393] hub 1-0:1.0: USB hub found
    [   21.420685] hub 1-0:1.0: 1 port detected
    [   21.504253] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [   21.509637] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
    [   21.716469] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
    [   21.789347] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   21.861237] usb usb2: Product: MUSB HDRC host driver
    [   21.911322] usb usb2: Manufacturer: Linux 4.19.59-g5f8c1c6121 musb-hcd
    [   21.956327] usb usb2: SerialNumber: musb-hdrc.1
    [   22.000819] hub 2-0:1.0: USB hub found
    [   22.034231] hub 2-0:1.0: 1 port detected
    [   22.505334] remoteproc remoteproc1: 4a334000.pru is available
    [   22.561214] pru-rproc 4a334000.pru: PRU rproc node pru@4a334000 probed successfully
    [   22.602399] remoteproc remoteproc2: 4a338000.pru is available
    [   22.608320] pru-rproc 4a338000.pru: PRU rproc node pru@4a338000 probed successfully
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
    	autoconf
    	bash-dev
    	bash
    	bc
    	binutils
    	cifs-utils
    	cpio
    	cpp-symlinks
    	cpp
    	dosfstools
    	elfutils
    	findutils
    	g++-symlinks
    	g++
    	gawk
    	gcc-symlinks
    	gcc
    	gdb
    	gdbserver
    	gettext
    	glmark2
    	gstreamer1.0-libav
    	gzip
    	hidapi
    	libbfd
    	libdw1
    	libelf1
    	libgdbm-compat4
    	libgdbm-dev
    	libgdbm6
    	libgettextlib
    	libgettextsrc
    	libgmp10
    	libidn2-0
    	libmavconn
    	libmpc3
    	libmpfr6
    	libreadline-dev
    	libreadline7
    	libunistring2
    	m4-dev
    	m4
    	make
    	mavlink
    	mavros-extras
    	mavros-msgs
    	mavros
    	nettle
    	pdm-anomaly-detection
    	socketcan-interface
    	which
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Started Print notice about GPLv3 packages.
    [  OK  ] Found device /dev/mmcblk0p1.
             Starting Start USB gadget...
             Starting Save/Restore Sound Card State...
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
             Starting rc.pvr.service...
    [  OK  ] Created slice system-systemd\x2dfsck.slice.
             Starting File System Check on /dev/mmcblk1p1...
    [   29.673871] using random self ethernet address
    [   29.678357] using random host ethernet address
             Starting File System Check on /dev/mmcblk0p1...
    [   29.720631] using host ethernet address: 04:79:B7:03:48:0B
    [   29.720699] using random self ethernet address
             Starting File System Check on /dev/mmcblk1p2...
    [   29.782956] using random host ethernet address
    [   29.796348] PVR_K: UM DDK-(4948957) and KM DDK-(4948957) match. [ OK ]
    [   29.830684] using host ethernet address: 04:79:B7:03:48:0B
    [   29.837594] usb0: HOST MAC 04:79:b7:03:48:0b
    [  OK  ] Started Serial Getty on ttyS3.
    [   29.880738] usb0: MAC da:15:da:fe:4f:e7
    [  OK  ] Started Getty on tty1.
    [   29.967102] Mass Storage Function, version: 2009/09/11
    [  OK  ] Started Serial Getty on ttyS0.
    [   29.996846] LUN: removable file: (no medium)
    [   30.034544] LUN: removable read only file: /dev/mmcblk0p1
    [   30.040021] Number of LUNs=1
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
    [   30.132514] g_multi gadget: Multifunction Composite Gadget
    [   30.138056] g_multi gadget: g_multi ready
    [  OK  ] Started Save/Restore Sound Card State.
    [  OK  ] Started rc.pvr.service.
    [  OK  ] Started File System Check on /dev/mmcblk1p1.
    [   30.489015] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
    [  OK  ] Found device /dev/ttyGS0.
    [  OK  ] Started File System Check on /dev/mmcblk1p2.
    [  OK  ] Started File System Check on /dev/mmcblk0p1.
    [  OK  ] Started Start USB gadget.
             Mounting /run/media/mmcblk0p1...
             Mounting /run/media/mmcblk1p2...
    [  OK  ] Started Serial Getty on ttyGS0.
    [  OK  ] Reached target Login Prompts.
    [   31.073181] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
             Starting Synchronize System and HW clocks...
             Mounting /run/media/mmcblk1p1...
             Starting weston.service...
    [  OK  ] Reached target Sound Card.
    [  OK  ] Mounted /run/media/mmcblk0p1.
    [  OK  ] Mounted /run/media/mmcblk1p2.
    [  OK  ] Started Synchronize System and HW clocks.
    [  OK  ] Mounted /run/media/mmcblk1p1.
    [  OK  ] Started weston.service.
             Starting Matrix GUI...
             Starting telnetd.service...
    [  OK  ] Started Login Service.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started telnetd.service.
    [  OK  ] Started Matrix GUI.
             Starting busybox-udhcpd.service...
             Starting thttpd.service...
    [  OK  ] Started busybox-udhcpd.service.
    [  OK  ] Started thttpd.service.
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org am335x-evm ttyS0
    
    Arago 2019.07 am335x-evm ttyS0
    
    am335x-evm login: root
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# sudo      

    Terminal log without uSD Card (boot from eMMC) :

    root@am335x-evm:~# 
    root@am335x-evm:~#  � �@
      X0de��������������������@�
    U-Boot SPL 2019.01-g1ebdbc7-dirty (Feb 26 2020 - 11:06:27 +0530)
    Trying to boot from MMC2
    clock is disabled (0Hz)
    clock is enabled (400000Hz)
    CMD_SEND:0
    		ARG			 0x00000000
    		MMC_RSP_NONE
    CMD_SEND:8
    		ARG			 0x00000000
    		RET			 -110
    CMD_SEND:55
    		ARG			 0x00000000
    		RET			 -110
    CMD_SEND:0
    		ARG			 0x00000000
    		MMC_RSP_NONE
    CMD_SEND:1
    		ARG			 0x00000000
    		MMC_RSP_R3,4		 0x00000000 
    CMD_SEND:1
    		ARG			 0x00000000
    		MMC_RSP_R3,4		 0x00000000 
    CMD_SEND:2
    		ARG			 0x00000000
    		MMC_RSP_R2		 0x00000000 
    		          		 0x00000000 
    		          		 0x00000000 
    		          		 0x00000000 
    
    					DUMPING DATA
    					000 - 00 00 00 00 
    					004 - 00 00 00 00 
    					008 - 00 00 00 00 
    					012 - 00 00 00 00 
    CMD_SEND:3
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:9
    		ARG			 0x00000000
    		MMC_RSP_R2		 0x00000000 
    		          		 0x00000000 
    		          		 0x00000000 
    		          		 0x00000000 
    
    					DUMPING DATA
    					000 - 00 00 00 00 
    					004 - 00 00 00 00 
    					008 - 00 00 00 00 
    					012 - 00 00 00 00 
    CMD_SEND:7
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:8
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    clock is enabled (25000000Hz)
    CMD_SEND:6
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:13
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CURR STATE:4
    CMD_SEND:6
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:13
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CURR STATE:4
    CMD_SEND:8
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    clock is enabled (52000000Hz)
    CMD_SEND:8
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:6
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:13
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CURR STATE:4
    CMD_SEND:6
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:13
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CURR STATE:4
    CMD_SEND:6
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:13
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CURR STATE:4
    CMD_SEND:8
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    clock is enabled (52000000Hz)
    CMD_SEND:8
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    
    
    U-Boot 2019.01-g1ebdbc7-dirty (Feb 26 2020 - 11:06:27 +0530)
    
    ***************************************
     Aarohi Embedded Systems Pvt. Ltd. 
     Project - AM3358 mother board 
     Revision - 2.0 
     PCB Number : AESPL-PCB19 
    ***************************************
    CPU  : AM335X-GP rev 2.1
    Model: TI AM335x EVM
    DRAM:  1 GiB
    NAND:  0 MiB
    MMC:   OMAP SD/MMC: 0
    Loading Environment from FAT... <ethaddr> not set. Validating first E-fuse MAC
    Net:   Could not get PHY for ethernet@4a100000: addr 0
    eth0: ethernet@4a100000
    Warning: usb_ether MAC addresses don't match:
    Address in ROM is          de:ad:be:ef:00:01
    Address in environment is  04:79:b7:03:48:0b
    , eth1: usb_ether
    Hit any key to stop autoboot:  2  1  0 
    MMC Device 1 not found
    no mmc device at slot 1
    MMC Device 1 not found
    no mmc device at slot 1
    ## Error: "bootcmd_nand0" not defined
    starting USB...
    USB0:   Port not available.
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC de:ad:be:ef:00:01
    HOST MAC de:ad:be:ef:00:00
    RNDIS ready
    missing environment variable: pxeuuid
    Retrieving file: pxelinux.cfg/01-04-79-b7-03-48-09
    
    Warning: usb_ether MAC addresses don't match:
    Address in ROM is          de:ad:be:ef:00:01
    Address in environment is  04:79:b7:03:48:0b
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC de:ad:be:ef:00:01
    HOST MAC de:ad:be:ef:00:00
    RNDIS ready
    Retrieving file: pxelinux.cfg/00000000
    
    Warning: usb_ether MAC addresses don't match:
    Address in ROM is          de:ad:be:ef:00:01
    Address in environment is  04:79:b7:03:48:0b
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC de:ad:be:ef:00:01
    HOST MAC de:ad:be:ef:00:00
    RNDIS ready
    Retrieving file: pxelinux.cfg/0000000
    
    Warning: usb_ether MAC addresses don't match:
    Address in ROM is          de:ad:be:ef:00:01
    Address in environment is  04:79:b7:03:48:0b
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC de:ad:be:ef:00:01
    HOST MAC de:ad:be:ef:00:00
    RNDIS ready
    Retrieving file: pxelinux.cfg/000000
    
    Warning: usb_ether MAC addresses don't match:
    Address in ROM is          de:ad:be:ef:00:01
    Address in environment is  04:79:b7:03:48:0b
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC de:ad:be:ef:00:01
    HOST MAC de:ad:be:ef:00:00
    RNDIS ready
    

    i'm following this step:

    1. First create mmcblk1p1 and mmcblk1p2 in emmc

    2. the copy MLO, u-boot and uEnv in eMMC (cp MLO u-boot.img uEnv.txt /run/media/mmcblk1p1)

    3. the copy All Files in eMMC(cp -avr bin/ boot/ dev/ etc/ home/ include/ lib/ media/ mnt/ opt/ sbin/ srv/ tmp/ usr/ var/ www/ run/media/mmcblk1p2)

    4. most of the folders are copied. But when copying these folder (sys, run and proc) it give error "no space left on device"

    Please ensure it. this method is correct or not (and what about sys, run and proc).

    Output of fdisk -l

    Disk /dev/mmcblk0: 7.5 GiB, 8026849280 bytes, 15677440 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x3202953c
    
    Device         Boot  Start      End  Sectors  Size Id Type
    /dev/mmcblk0p1 *      2048   145407   143360   70M  c W95 FAT32 (LBA)
    /dev/mmcblk0p2      145408 15644671 15499264  7.4G 83 Linux
    
    
    Disk /dev/mmcblk1: 3.7 GiB, 3909091328 bytes, 7634944 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x857f6ad7
    
    Device         Boot  Start     End Sectors  Size Id Type
    /dev/mmcblk1p1 *      2048  145407  143360   70M  e W95 FAT16 (LBA)
    /dev/mmcblk1p2      145408 7634943 7489536  3.6G 83 Linux
    

  • Harshad Hapani1 said:
    findfdt=if test $board_name = A335BONE; then setenv fdtfile am335x-bone.dtb; fi; if test $board_name = A335BNLT; then setenv fdtfile am335x-boneblack.dtb; fi; if test $board_name = A335PBGL; then setenv

    Looks like your environment has some issues. The 'findfdt' step is not a valid U-Boot statement. It is incomplete and seems to stop in the middle of the construct. If you look at the one from the TI EVM for comparison...

    a0797059@jiji:~/git/u-boot (ti-u-boot-2019.01-next-dev)
    $ git grep -A 37 findfdt include/configs/am335x_evm.h
    include/configs/am335x_evm.h:   "findfdt="\
    include/configs/am335x_evm.h-           "if test $board_name = A335BONE; then " \
    include/configs/am335x_evm.h-                   "setenv fdtfile am335x-bone.dtb; fi; " \
    include/configs/am335x_evm.h-           "if test $board_name = A335BNLT; then " \
    include/configs/am335x_evm.h-                   "setenv fdtfile am335x-boneblack.dtb; fi; " \
    include/configs/am335x_evm.h-           "if test $board_name = A335PBGL; then " \
    include/configs/am335x_evm.h-                   "setenv fdtfile am335x-pocketbeagle.dtb; fi; " \
    include/configs/am335x_evm.h-           "if test $board_name = BBBW; then " \
    include/configs/am335x_evm.h-                   "setenv fdtfile am335x-boneblack-wireless.dtb; fi; " \
    include/configs/am335x_evm.h-           "if test $board_name = BBG1; then " \
    include/configs/am335x_evm.h-                   "setenv fdtfile am335x-bonegreen.dtb; fi; " \
    include/configs/am335x_evm.h-           "if test $board_name = BBGW; then " \
    include/configs/am335x_evm.h-                   "setenv fdtfile am335x-bonegreen-wireless.dtb; fi; " \
    include/configs/am335x_evm.h-           "if test $board_name = BBBL; then " \
    include/configs/am335x_evm.h-                   "setenv fdtfile am335x-boneblue.dtb; fi; " \
    include/configs/am335x_evm.h-           "if test $board_name = BBEN; then " \
    include/configs/am335x_evm.h-                   "setenv fdtfile am335x-sancloud-bbe.dtb; fi; " \
    include/configs/am335x_evm.h-           "if test $board_name = A33515BB; then " \
    include/configs/am335x_evm.h-                   "setenv fdtfile am335x-evm.dtb; fi; " \
    include/configs/am335x_evm.h-           "if test $board_name = A335X_SK; then " \
    include/configs/am335x_evm.h-                   "setenv fdtfile am335x-evmsk.dtb; fi; " \
    include/configs/am335x_evm.h-           "if test $board_name = A335_ICE && test $ice_mii = rmii; then " \
    include/configs/am335x_evm.h-                   "setenv fdtfile am335x-icev2.dtb; fi; " \
    include/configs/am335x_evm.h-           "if test $board_name = A335_ICE && test $ice_mii = mii; then " \
    include/configs/am335x_evm.h-                   "setenv fdtfile am335x-icev2-prueth.dtb; fi; " \
    include/configs/am335x_evm.h-           "if test $fdtfile = undefined; then " \
    include/configs/am335x_evm.h-                   "echo WARNING: Could not determine device tree to use; fi; \0" \
    include/configs/am335x_evm.h-   "init_console=" \
    include/configs/am335x_evm.h-           "if test $board_name = A335_ICE; then "\
    include/configs/am335x_evm.h-                   "setenv console ttyO3,115200n8;" \
    include/configs/am335x_evm.h-           "else " \
    include/configs/am335x_evm.h-                   "setenv console ttyO0,115200n8;" \
    include/configs/am335x_evm.h-           "fi;\0" \
    include/configs/am335x_evm.h-   NANDARGS \
    include/configs/am335x_evm.h-   NETARGS \
    include/configs/am335x_evm.h-   DFUARGS \
    include/configs/am335x_evm.h-   BOOTENV
    include/configs/am335x_evm.h-#endif

    From the log you provided in your other post 'withoutsd_minicom.txt' you indeed seem to be able to boot MLO and U-Boot from the eMMC which is great (it was not really clear to me from the previous discussions). However then the boot fails after that to continue on loading the Kernel, which often is caused by issues with the ENV.

    In addition to checking/correcting the above, I would recommend the following approach to debug this further:

    • Interrupt the auto-boot sequence with a keypress drop to the U-Boot prompt
    • Understand that what U-Boot will do after the countdown or after you enter "boot" is essentially executing the 'bootcmd' ENV variable, equivalent if you were to execute 'run bootcmd' on the command prompt
    • Now look at your environment (print env), starting with 'bootcmd'
      • What does bootcmd contain? Usually a list of direct commands or the execution of other U-Boot ENV variables (via 'run')
      • Just go through this list one by one, entering those commands at the command prompt while diving into the ENV hierarchy as needed
      • Then, see if each step works as expected, and what impact it has on the environment (for example 'run findfdt' should result in 'fdtfile' getting set to a valid board-specific *.dtb file

  • Question 1: How to set board_name, and in which file.

    Question 2: This method is correct or not ?

    i'm following this step:

    1. First create mmcblk1p1 and mmcblk1p2 in emmc

    2. the copy MLO, u-boot and uEnv in eMMC (cp MLO u-boot.img uEnv.txt /run/media/mmcblk1p1)

    3. the copy All Files in eMMC(cp -avr bin/ boot/ dev/ etc/ home/ include/ lib/ media/ mnt/ opt/ sbin/ srv/ tmp/ usr/ var/ www/ run/media/mmcblk1p2)

    4. most of the folders are copied. But when copying these folder (sys, run and proc) it give error "no space left on device"

    Please ensure it. this method is correct or not (and what about sys, run and proc).

  • Harshad Hapani1 said:
    Question 1: How to set board_name, and in which file.

    board_name is usually set through U-Boot code dynamically based on which board U-Boot is being run. On TI EVMs there's usually an EEPROM that contains identifying information that is used to derive a board-specific board_name ENV variable. You can find the associated code in board/ti/common/board_detect.c if you are curious. However for a custom board you usually would not have an EEPROM just to contain some board ID data for BOM cost reasons, so it is common to simple hard-code that ENV variable to reflect the DTB file you need in your appropriate include/configs/<board_name.h> header file, without any of those if/then/else constructs.

    Harshad Hapani1 said:

    i'm following this step:

    1. First create mmcblk1p1 and mmcblk1p2 in emmc

    2. the copy MLO, u-boot and uEnv in eMMC (cp MLO u-boot.img uEnv.txt /run/media/mmcblk1p1)

    3. the copy All Files in eMMC(cp -avr bin/ boot/ dev/ etc/ home/ include/ lib/ media/ mnt/ opt/ sbin/ srv/ tmp/ usr/ var/ www/ run/media/mmcblk1p2)

    4. most of the folders are copied. But when copying these folder (sys, run and proc) it give error "no space left on device"

    Please ensure it. this method is correct or not (and what about sys, run and proc).

    While I have not done it exactly like this the steps look okay except you absolutely DO NOT want to copy /sys, /run, and /proc from a running system. All those are essentially mount points that get dynamically populated by the Kernel with various runtime information and/or are used to talk with the Kernel directly (for the same reason you are also not copying /dev for example). You can learn more about the Linux file system hierarchy by typing 'man hier' into a prompt of a Ubuntu box for example, or by doing a quick google search. To have a detailed understanding of this topic is one of the fundamental things one needs to know to understand and use a Linux system.

    Regards, Andreas

  • Hello Andreas,

    As per your suggestion, Remove unnecessary file in "fdtfile= ...". Gone through is it current?4035.am335x_evm.h

    Kernel Log with sdcard:

    U-Boot SPL 2019.01-g1ebdbc7-dirty (Feb 28 2020 - 17:36:35 +0530)
    Trying to boot from MMC1
    clock is disabled (0Hz)
    clock is enabled (400000Hz)
    CMD_SEND:0
    		ARG			 0x00000000
    		MMC_RSP_NONE
    CMD_SEND:8
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:55
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:41
    		ARG			 0x00000000
    		MMC_RSP_R3,4		 0x00000000 
    CMD_SEND:55
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:41
    		ARG			 0x00000000
    		MMC_RSP_R3,4		 0x00000000 
    CMD_SEND:2
    		ARG			 0x00000000
    		MMC_RSP_R2		 0x00000000 
    		          		 0x00000000 
    		          		 0x00000000 
    		          		 0x00000000 
    
    					DUMPING DATA
    					000 - 00 00 00 00 
    					004 - 00 00 00 00 
    					008 - 00 00 00 00 
    					012 - 00 00 00 00 
    CMD_SEND:3
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:9
    		ARG			 0x00000000
    		MMC_RSP_R2		 0x00000000 
    		          		 0x00000000 
    		          		 0x00000000 
    		          		 0x00000000 
    
    					DUMPING DATA
    					000 - 00 00 00 00 
    					004 - 00 00 00 00 
    					008 - 00 00 00 00 
    					012 - 00 00 00 00 
    CMD_SEND:7
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:55
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:51
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:6
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:55
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:6
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:6
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    clock is enabled (50000000Hz)
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    
    
    U-Boot 2019.01-g1ebdbc7-dirty (Feb 28 2020 - 17:36:35 +0530)
    
    ***************************************
     Aarohi Embedded Systems Pvt. Ltd. 
     Project - AM3358 mother board 
     Revision - 2.0 
     PCB Number : AESPL-PCB19 
    ***************************************
    CPU  : AM335X-GP rev 2.1
    Model: TI AM335x EVM
    DRAM:  1 GiB
    NAND:  0 MiB
    MMC:   OMAP SD/MMC: 0
    Loading Environment from FAT... clock is disabled (0Hz)
    clock is enabled (400000Hz)
    CMD_SEND:0
    		ARG			 0x00000000
    		MMC_RSP_NONE
    CMD_SEND:8
    		ARG			 0x000001AA
    		MMC_RSP_R1,5,6,7 	 0x000001AA 
    CMD_SEND:55
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000120 
    CMD_SEND:41
    		ARG			 0x40300000
    		MMC_RSP_R3,4		 0x00FF8000 
    CMD_SEND:55
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000120 
    CMD_SEND:41
    		ARG			 0x40300000
    		MMC_RSP_R3,4		 0xC0FF8000 
    CMD_SEND:2
    		ARG			 0x00000000
    		MMC_RSP_R2		 0x1B534D30 
    		          		 0x30303030 
    		          		 0x10C55355 
    		          		 0x1A010239 
    
    					DUMPING DATA
    					000 - 1B 53 4D 30 
    					004 - 30 30 30 30 
    					008 - 10 C5 53 55 
    					012 - 1A 01 02 39 
    CMD_SEND:3
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x59B40520 
    CMD_SEND:9
    		ARG			 0x59B40000
    		MMC_RSP_R2		 0x400E0032 
    		          		 0x5B590000 
    		          		 0x3BCD7F80 
    		          		 0x0A400041 
    
    					DUMPING DATA
    					000 - 40 0E 00 32 
    					004 - 5B 59 00 00 
    					008 - 3B CD 7F 80 
    					012 - 0A 40 00 41 
    CMD_SEND:7
    		ARG			 0x59B40000
    		MMC_RSP_R1,5,6,7 	 0x00000700 
    CMD_SEND:55
    		ARG			 0x59B40000
    		MMC_RSP_R1,5,6,7 	 0x00000920 
    CMD_SEND:51
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000920 
    CMD_SEND:6
    		ARG			 0x00FFFFF1
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:55
    		ARG			 0x59B40000
    		MMC_RSP_R1,5,6,7 	 0x00000920 
    CMD_SEND:6
    		ARG			 0x00000002
    		MMC_RSP_R1,5,6,7 	 0x00000920 
    CMD_SEND:6
    		ARG			 0x80FFFFF1
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    clock is enabled (50000000Hz)
    CMD_SEND:55
    		ARG			 0x59B40000
    		MMC_RSP_R1,5,6,7 	 0x00000920 
    CMD_SEND:13
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000920 
    CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:17
    		ARG			 0x00000800
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:17
    		ARG			 0x000010BE
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:18
    		ARG			 0x00000820
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000900 
    CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:17
    		ARG			 0x0000F95B
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:16
    		ARG			 0x00000200
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:18
    		ARG			 0x000009EE
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000900 
    *** Warning - bad CRC, using default environment
    
    <ethaddr> not set. Validating first E-fuse MAC
    Net:   Could not get PHY for ethernet@4a100000: addr 0
    eth0: ethernet@4a100000
    Warning: usb_ether MAC addresses don't match:
    Address in ROM is          de:ad:be:ef:00:01
    Address in environment is  04:79:b7:03:48:0b
    , eth1: usb_ether
    Hit any key to stop autoboot:  2  0
    =>   
    => printenv        mmc list
    OMAP SD/MMC: 0 (SD)
    => 
    OMAP SD/MMC: 0 (SD)
    => mmc dev         mmc dev 0
    clock is disabled (0Hz)
    clock is enabled (400000Hz)
    CMD_SEND:0
    		ARG			 0x00000000
    		MMC_RSP_NONE
    CMD_SEND:8
    		ARG			 0x000001AA
    		MMC_RSP_R1,5,6,7 	 0x000001AA 
    CMD_SEND:55
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000120 
    CMD_SEND:41
    		ARG			 0x40300000
    		MMC_RSP_R3,4		 0x00FF8000 
    CMD_SEND:55
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000120 
    CMD_SEND:41
    		ARG			 0x40300000
    		MMC_RSP_R3,4		 0xC0FF8000 
    CMD_SEND:2
    		ARG			 0x00000000
    		MMC_RSP_R2		 0x1B534D30 
    		          		 0x30303030 
    		          		 0x10C55355 
    		          		 0x1A010239 
    
    					DUMPING DATA
    					000 - 1B 53 4D 30 
    					004 - 30 30 30 30 
    					008 - 10 C5 53 55 
    					012 - 1A 01 02 39 
    CMD_SEND:3
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x59B40520 
    CMD_SEND:9
    		ARG			 0x59B40000
    		MMC_RSP_R2		 0x400E0032 
    		          		 0x5B590000 
    		          		 0x3BCD7F80 
    		          		 0x0A400041 
    
    					DUMPING DATA
    					000 - 40 0E 00 32 
    					004 - 5B 59 00 00 
    					008 - 3B CD 7F 80 
    					012 - 0A 40 00 41 
    CMD_SEND:7
    		ARG			 0x59B40000
    		MMC_RSP_R1,5,6,7 	 0x00000700 
    CMD_SEND:55
    		ARG			 0x59B40000
    		MMC_RSP_R1,5,6,7 	 0x00000920 
    CMD_SEND:51
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000920 
    CMD_SEND:6
    		ARG			 0x00FFFFF1
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    CMD_SEND:55
    		ARG			 0x59B40000
    		MMC_RSP_R1,5,6,7 	 0x00000920 
    CMD_SEND:6
    		ARG			 0x00000002
    		MMC_RSP_R1,5,6,7 	 0x00000920 
    CMD_SEND:6
    		ARG			 0x80FFFFF1
    		MMC_RSP_R1,5,6,7 	 0x00000900 
    clock is enabled (50000000Hz)
    CMD_SEND:55
    		ARG			 0x59B40000
    		MMC_RSP_R1,5,6,7 	 0x00000920 
    CMD_SEND:13
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000920 
    switch to partitions #0, OK
    mmc0 is current device
    => mmc dev 1
    MMC Device 1 not found
    no mmc device at slot 1
    => 
    => printenv
    arch=arm
    args_mmc=run finduuid;setenv bootargs console=${console} ${optargs} root=PARTUUID=${uuid} rw rootfstype=${mmcrootfstype}
    baudrate=115200
    board=am335x
    boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}
    boot_efi_binary=if fdt addr ${fdt_addr_r}; then bootefi bootmgr ${fdt_addr_r};else bootefi bootmgr ${fdtcontroladdr};fi;load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_r} efi/boot/bootarm.efi; if fdt addr ${fdt_addr_r}; then bootefi ${kernel_addr_r} ${fdt_addr_r};else bootefi ${kernel_addr_r} ${fdtcontroladdr};fi
    boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}${boot_syslinux_conf}
    boot_fdt=try
    boot_fit=0
    boot_net_usb_start=usb start
    boot_prefixes=/ /boot/
    boot_script_dhcp=boot.scr.uimg
    boot_scripts=boot.scr.uimg boot.scr
    boot_syslinux_conf=extlinux/extlinux.conf
    boot_targets=mmc0 legacy_mmc0 mmc1 legacy_mmc1 nand0 pxe dhcp 
    bootcmd=if test ${boot_fit} -eq 1; then run update_to_fit; fi; run findfdt; run init_console; run envboot; run distro_bootcmd
    bootcmd_dhcp=run boot_net_usb_start; if dhcp ${scriptaddr} ${boot_script_dhcp}; then source ${scriptaddr}; fi;setenv efi_fdtfile ${fdtfile}; if test -z "${fdtfile}" -a -n "${soc}"; then setenv efi_fdtfile ${soc}-${board}${boardver}.dtb; fi; setenv efi_old_vci ${bootp_vci};setenv efi_old_arch ${bootp_arch};setenv bootp_vci PXEClient:Arch:00010:UNDI:003000;setenv bootp_arch 0xa;if dhcp ${kernel_addr_r}; then tftpboot ${fdt_addr_r} dtb/${efi_fdtfile};if fdt addr ${fdt_addr_r}; then bootefi ${kernel_addr_r} ${fdt_addr_r}; else bootefi ${kernel_addr_r} ${fdtcontroladdr};fi;fi;setenv bootp_vci ${efi_old_vci};setenv bootp_arch ${efi_old_arch};setenv efi_fdtfile;setenv efi_old_arch;setenv efi_old_vci;
    bootcmd_legacy_mmc0=setenv mmcdev 0; setenv bootpart 0:2 ; run mmcboot
    bootcmd_legacy_mmc1=setenv mmcdev 1; setenv bootpart 1:2 ; run mmcboot
    bootcmd_mmc0=setenv devnum 0; run mmc_boot
    bootcmd_mmc1=setenv devnum 1; run mmc_boot
    bootcmd_nand=run nandboot
    bootcmd_pxe=run boot_net_usb_start; dhcp; if pxe get; then pxe boot; fi
    bootcount=25
    bootdelay=2
    bootdir=/boot
    bootenvfile=uEnv.txt
    bootfile=zImage
    bootm_size=0x10000000
    bootpart=0:2
    bootscript=echo Running bootscript from mmc${mmcdev} ...; source ${loadaddr}
    console=ttyO0,115200n8
    cpu=armv7
    dfu_alt_info_emmc=rawemmc raw 0 3751936;boot part 1 1;rootfs part 1 2;MLO fat 1 1;MLO.raw raw 0x100 0x200;u-boot.img.raw raw 0x300 0x1000;u-env.raw raw 0x1300 0x200;spl-os-args.raw raw 0x1500 0x200;spl-os-image.raw raw 0x1700 0x6900;spl-os-args fat 1 1;spl-os-image fat 1 1;u-boot.img fat 1 1;uEnv.txt fat 1 1
    dfu_alt_info_mmc=boot part 0 1;rootfs part 0 2;MLO fat 0 1;MLO.raw raw 0x100 0x200;u-boot.img.raw raw 0x300 0x1000;u-env.raw raw 0x1300 0x200;spl-os-args.raw raw 0x1500 0x200;spl-os-image.raw raw 0x1700 0x6900;spl-os-args fat 0 1;spl-os-image fat 0 1;u-boot.img fat 0 1;uEnv.txt fat 0 1
    dfu_alt_info_nand=SPL part 0 1;SPL.backup1 part 0 2;SPL.backup2 part 0 3;SPL.backup3 part 0 4;u-boot part 0 5;u-boot-spl-os part 0 6;kernel part 0 8;rootfs part 0 9
    dfu_alt_info_ram=kernel ram 0x80200000 0x4000000;fdt ram 0x80f80000 0x80000;ramdisk ram 0x81000000 0x4000000
    distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done
    efi_dtb_prefixes=/ /dtb/ /dtb/current/
    envboot=mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadbootscript; then run bootscript;else if run loadbootenv; then echo Loaded env from ${bootenvfile};run importbootenv;fi;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;fi;fi;
    eth1addr=04:79:b7:03:48:0b
    ethaddr=04:79:b7:03:48:09
    fdt_addr_r=0x88000000
    fdtaddr=0x88000000
    fdtcontroladdr=bdf398d8
    fdtfile=am335x-evmsk.dtb
    finduuid=part uuid mmc ${bootpart} uuid
    fit_bootfile=fitImage
    fit_loadaddr=0x90000000
    get_overlaystring=for overlay in $overlay_files;do;setenv overlaystring ${overlaystring}'#'${overlay};done;
    ice_mii=mii
    importbootenv=echo Importing environment from mmc${mmcdev} ...; env import -t ${loadaddr} ${filesize}
    kernel_addr_r=0x82000000
    load_efi_dtb=load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${prefix}${efi_fdtfile}
    loadaddr=0x82000000
    loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenvfile}
    loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr
    loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}
    loadfit=run args_mmc; run run_fit;
    loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfile}
    loadramdisk=load mmc ${mmcdev} ${rdaddr} ramdisk.gz
    mmc_boot=if mmc dev ${devnum}; then setenv devtype mmc; run scan_dev_for_boot_part; fi
    mmcboot=mmc dev ${mmcdev}; setenv devnum ${mmcdev}; setenv devtype mmc; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadimage; then if test ${boot_fit} -eq 1; then run loadfit; else run mmcloados;fi;fi;fi;
    mmcdev=0
    mmcloados=run args_mmc; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootz ${loadaddr} - ${fdtaddr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi;
    mmcrootfstype=ext4 rootwait
    mtdids=nand0=nand.0
    mtdparts=mtdparts=nand.0:128k(NAND.SPL),128k(NAND.SPL.backup1),128k(NAND.SPL.backup2),128k(NAND.SPL.backup3),256k(NAND.u-boot-spl-os),1m(NAND.u-boot),128k(NAND.u-boot-env),128k(NAND.u-boot-env.backup1),8m(NAND.kernel),-(NAND.file-system)
    nandargs=setenv bootargs console=${console} ${optargs} root=${nandroot} rootfstype=${nandrootfstype}
    nandboot=echo Booting from nand ...; run nandargs; nand read ${fdtaddr} NAND.u-boot-spl-os; nand read ${loadaddr} NAND.kernel; bootz ${loadaddr} - ${fdtaddr}
    nandroot=ubi0:rootfs rw ubi.mtd=NAND.file-system,2048
    nandrootfstype=ubifs rootwait=1
    netargs=setenv bootargs console=${console} ${optargs} root=/dev/nfs nfsroot=${serverip}:${rootpath},${nfsopts} rw ip=dhcp
    netboot=echo Booting from network ...; setenv autoload no; dhcp; run netloadimage; run netloadfdt; run netargs; bootz ${loadaddr} - ${fdtaddr}
    netloadfdt=tftp ${fdtaddr} ${fdtfile}
    netloadimage=tftp ${loadaddr} ${bootfile}
    nfsopts=nolock
    partitions=uuid_disk=${uuid_gpt_disk};name=bootloader,start=384K,size=1792K,uuid=${uuid_gpt_bootloader};name=rootfs,start=2688K,size=-,uuid=${uuid_gpt_rootfs}
    pxefile_addr_r=0x80100000
    ramargs=setenv bootargs console=${console} ${optargs} root=${ramroot} rootfstype=${ramrootfstype}
    ramboot=echo Booting from ramdisk ...; run ramargs; bootz ${loadaddr} ${rdaddr} ${fdtaddr}
    ramdisk_addr_r=0x88080000
    ramroot=/dev/ram0 rw
    ramrootfstype=ext2
    rdaddr=0x88080000
    rootpath=/export/rootfs
    run_fit=bootm ${fit_loadaddr}#${fdtfile}${overlaystring}
    scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;run scan_dev_for_efi;
    scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done
    scan_dev_for_efi=setenv efi_fdtfile ${fdtfile}; if test -z "${fdtfile}" -a -n "${soc}"; then setenv efi_fdtfile ${soc}-${board}${boardver}.dtb; fi; for prefix in ${efi_dtb_prefixes}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${efi_fdtfile}; then run load_efi_dtb; fi;done;if test -e ${devtype} ${devnum}:${distro_bootpart} efi/boot/bootarm.efi; then echo Found EFI removable media binary efi/boot/bootarm.efi; run boot_efi_binary; echo EFI LOAD FAILED: continuing...; fi; setenv efi_fdtfile
    scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${boot_syslinux_conf}; then echo Found ${prefix}${boot_syslinux_conf}; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi
    scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done
    scriptaddr=0x80000000
    serial#=04:79:b7:03:48:09
    soc=am33xx
    spiargs=setenv bootargs console=${console} ${optargs} root=${spiroot} rootfstype=${spirootfstype}
    spiboot=echo Booting from spi ...; run spiargs; sf probe ${spibusno}:0; sf read ${loadaddr} ${spisrcaddr} ${spiimgsize}; bootz ${loadaddr}
    spibusno=0
    spiimgsize=0x362000
    spiroot=/dev/mtdblock4 rw
    spirootfstype=jffs2
    spisrcaddr=0xe0000
    static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off
    stderr=serial@44e09000
    stdin=serial@44e09000
    stdout=serial@44e09000
    update_to_fit=setenv loadaddr ${fit_loadaddr}; setenv bootfile ${fit_bootfile}
    usb_boot=usb start; if usb dev ${devnum}; then setenv devtype usb; run scan_dev_for_boot_part; fi
    usbnet_devaddr=de:ad:be:ef:00:01
    vendor=ti
    ver=U-Boot 2019.01-g1ebdbc7-dirty (Feb 28 2020 - 17:36:35 +0530)
    
    Environment size: 8863/131068 bytes
    => 

    Kernel Log without sdcard: 

    ��"�̐Z��  `ߩ�����������h@$r�@`�������@��@(x�����~����������̉�V ���������1��\��10��������$��N��� ����ς������������r�������[�������#`	c��w��@��������"�o�s����!��
    U-Boot SPL 2019.01-g1ebdbc7-dirty (Feb 28 2020 - 17:36:35 +0530)
    Trying to boot from MMC2
    clock is disabled (0Hz)
    clock is enabled (400000Hz)
    CMD_SEND:0
    		ARG			 0x00000000
    		MMC_RSP_NONE
    CMD_SEND:8
    		ARG			 0x00000000
    		RET			 -110
    CMD_SEND:55
    		ARG			 0x00000000
    		RET			 -110
    CMD_SEND:0
    		ARG			 0x00000000
    		MMC_RSP_NONE
    CMD_SEND:1
    		ARG			 0x00000000
    		MMC_RSP_R3,4		 0x00000000 
    CMD_SEND:1
    		ARG			 0x00000000
    		MMC_RSP_R3,4		 0x00000000 
    CMD_SEND:2
    		ARG			 0x00000000
    		MMC_RSP_R2		 0x00000000 
    		          		 0x00000000 
    		          		 0x00000000 
    		          		 0x00000000 
    
    					DUMPING DATA
    					000 - 00 00 00 00 
    					004 - 00 00 00 00 
    					008 - 00 00 00 00 
    					012 - 00 00 00 00 
    CMD_SEND:3
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:9
    		ARG			 0x00000000
    		MMC_RSP_R2		 0x00000000 
    		          		 0x00000000 
    		          		 0x00000000 
    		          		 0x00000000 
    
    					DUMPING DATA
    					000 - 00 00 00 00 
    					004 - 00 00 00 00 
    					008 - 00 00 00 00 
    					012 - 00 00 00 00 
    CMD_SEND:7
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:8
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    clock is enabled (25000000Hz)
    CMD_SEND:6
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:13
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CURR STATE:4
    CMD_SEND:6
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:13
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CURR STATE:4
    CMD_SEND:8
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    clock is enabled (52000000Hz)
    CMD_SEND:8
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:6
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:13
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CURR STATE:4
    CMD_SEND:6
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:13
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CURR STATE:4
    CMD_SEND:6
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:13
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CURR STATE:4
    CMD_SEND:8
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    clock is enabled (52000000Hz)
    CMD_SEND:8
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:18
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:12
    		ARG			 0x00000000
    		MMC_RSP_R1b		 0x00000000 
    CMD_SEND:16
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    CMD_SEND:17
    		ARG			 0x00000000
    		MMC_RSP_R1,5,6,7 	 0x00000000 
    
    
    U-Boot 2019.01-g1ebdbc7-dirty (Feb 28 2020 - 17:36:35 +0530)
    
    ***************************************
     Aarohi Embedded Systems Pvt. Ltd. 
     Project - AM3358 mother board 
     Revision - 2.0 
     PCB Number : AESPL-PCB19 
    ***************************************
    CPU  : AM335X-GP rev 2.1
    Model: TI AM335x EVM
    DRAM:  1 GiB
    NAND:  0 MiB
    MMC:   OMAP SD/MMC: 0
    Loading Environment from FAT... <ethaddr> not set. Validating first E-fuse MAC
    Net:   Could not get PHY for ethernet@4a100000: addr 0
    eth0: ethernet@4a100000
    Warning: usb_ether MAC addresses don't match:
    Address in ROM is          de:ad:be:ef:00:01
    Address in environment is  04:79:b7:03:48:0b
    , eth1: usb_ether
    Hit any key to stop autoboot:  2  1  0 
    ## Error: "findfdt" not defined
    ## Error: "init_console" not defined
    MMC Device 1 not found
    no mmc device at slot 1
    MMC Device 1 not found
    no mmc device at slot 1
    ## Error: "bootcmd_nand0" not defined
    starting USB...
    USB0:   Port not available.
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC de:ad:be:ef:00:01
    HOST MAC de:ad:be:ef:00:00
    RNDIS ready
    missing environment variable: pxeuuid
    Retrieving file: pxelinux.cfg/01-04-79-b7-03-48-09
    
    Warning: usb_ether MAC addresses don't match:
    Address in ROM is          de:ad:be:ef:00:01
    Address in environment is  04:79:b7:03:48:0b
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC de:ad:be:ef:00:01
    HOST MAC de:ad:be:ef:00:00
    RNDIS ready
    Retrieving file: pxelinux.cfg/00000000
    
    Warning: usb_ether MAC addresses don't match:
    Address in ROM is          de:ad:be:ef:00:01
    Address in environment is  04:79:b7:03:48:0b
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC de:ad:be:ef:00:01
    HOST MAC de:ad:be:ef:00:00
    RNDIS ready
    

    => mmc list                                                                                                                                                                                                 
    OMAP SD/MMC: 0                                                                                                                                                                                              
    => mmc dev 0                                                                                                                                                                                                
    => mmc dev 1                                                                                                                                                                                                
    MMC Device 1 not found                                                                                                                                                                                      
    no mmc device at slot 1

    Still issue not resolve. Booting stop

    Query 2: you mean sys, proc and run, these folders are not required to copy in eMMC.

         Even though booting from eMMC will work correct ?? 

  • Harshad Hapani1 said:
    Still issue not resolve. Booting stop

    Can you double-check U-Boot is using the correct DTB file, as per https://e2e.ti.com/support/processors/f/791/p/884382/3271075#3271075

    Harshad Hapani1 said:

    Query 2: you mean sys, proc and run, these folders are not required to copy in eMMC.

         Even though booting from eMMC will work correct ?? 

    Correct. Don't even need to create empty folders for those, the Kernel should create them at will.

    Regards, Andreas

  • U-Boot is used correct DTB file(am335x-evmsk.dtb) for my custom board. Please go through first4087.am335x-evmsk.dts.zip

    The configuration of modules (like GLCD, switches, etc.) are reflected and worked as per am335x-evmsk.dtb file. so selection of dtb file is currect.

    Also, I follow this link (https://processors.wiki.ti.com/index.php/AM335x_MMC/SD_Driver's_Guide)

  • Can you try running the DTB from the BeagleBone Black (potentially stripping out stuff, but not adding anything else), and see what you get with that (https://e2e.ti.com/support/processors/f/791/p/884382/3271075#3271075)

    Glancing over your DTS file the mmc2-related definitions seem fine however there might be some other conflict or mis-configuration not readily apparent.

    Also have you made any changes to the U-Boot tree itself that might cause an issue here? You should go back to the original TI U-Boot tree from the current AM335x Linux SDK, and carefully re-introduce each change you made step by step.

    Regards, Andreas

  • Harshad,

    I just noticed that MMC2 (a.k.a. mmc1) pinmux is actually getting setup as part of board-specific pinmux platform code in board/ti/am335x/mux.c:enable_board_pin_mux(). Specifically, there in case of a BeagleBone a call to configure_module_pin_mux(mmc1_pin_mux) is made.

    Can you add this call to your code path? Since you seem to have your setup based off the starter kit (SK) the right place would probably be inside else if (board_is_evm_sk()) { ... }.

    Regards, Andreas