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.

AM335x MLO boot issue

Other Parts Discussed in Thread: AM3358

Our custom board MLO can't boot correct , hang in second read u-boot.img stage.

I know maybe is hardware issue , but i don't have any idea to check what happen.

==== Error ===============================================================

in mmc_load_image_fat() function :

file_fat_read #1(64 Bytes) -> Read u-boot.img header
reading u-boot.img to address : 0x800fffc0 , size : 64

...................

spl: payload image: U-Boot 2011.09 for am335x board load addr: 0x800fffc0 size: 259200  -> spl_parse_image_header() can parse correct info.

When return mmc_load_image_fat() , i try show the spl_image struct info : 

debug("*** spl: payload image: %s load addr: 0x%x size: %d\n", spl_image.name, spl_image.load_addr, spl_image.size);

The result is  : *** spl: payload image: <NULL> load addr: 0x0 size: 0


reading u-boot.img to address : 0x800fffc0 , size : 64 -> I try fix the load_addr in 0x800fffc0

do_fat_read() ...Error: reading block

==== Full log  =============================================================


U-Boot SPL 2011.09 (Mar 28 2013 - 11:36:57)
Texas Instruments Revision detection unimplemented
### Use AM335x_SK V1.2 setting ###
>>board_init_f()
>>spl:board_init_r()
### Use AM335x_SK V1.2 setting ###
No daughter card present
Use [SK_BOARD 5] pin mux
boot device - 8
spl_mmc_load_image()
OMAP SD/MMC: 0
find_mmc_device()
mmc_init()
find_mmc_device()
spl_mmc_load_image() : boot_mode = 2
boot mode - FAT
mmc_load_image_fat()
find_mmc_device()
find_mmc_device()
file_fat_read #1(64 Bytes)
reading u-boot.img to address : 0x800fffc0 , size : 64
do_fat_read() ...find_mmc_device()
success
VFAT Support enabled
FAT32, fat_sect: 6060, fatlength: 1066
Rootdir begins at cluster: 2, sector: 8192, offset: 400000
Data begins at: 8190
Cluster size: 1
FAT read sect=8192, clust_size=1, DIRENTSPERBLOCK=16
find_mmc_device()
Rootvfatname: ||
RootMismatch: |boot||
RootMismatch: |mlo||
Rootvfatname: |u-boot.img|
RootName: u-boot.img, start: 0x2153, size: 0x3f480
Filesize: 259200 bytes
64 bytes
gc - clustnum: 8531, startsect: 16721
gc - clustnum: 8531, startsect: 16721
find_mmc_device()
Size: 0, got: 64
spl: payload image: U-Boot 2011.09 for am335x board load addr: 0x800fffc0 size: 259200
*** spl: payload image: <NULL> load addr: 0x0 size: 0
reading u-boot.img to address : 0x800fffc0 , size : 64
do_fat_read() ...Error: reading block
Error: reading boot sector
spl: error reading image u-boot.img, err - -1
### ERROR ### Please RESET the board ###

  • Hi Lucas,

    Our hardware engineer suggested that since you are using a custom board, the DDR timings may be different from the TI supported boards, so you will have to configure the registers appropriately. What kind of RAM are you using?

    If DDR3 - please read this guide: AM335x_DDR_PHY_register_configuration_for_DDR3_using_Software_Leveling
    If DDR2 or mDDR: AM335x_EMIF_Configuration_tips#DDR_PHY_Registers

    Best regards,
    Miroslav

  • Hello Lucas,

    I am using the same SK board as reference and designed my own base board, i too faced problems but regarding DDR3 and also

    EEPROM.

    If you are using DDR3 let me know i will send you compiled  MLO, u-boot.img and also uImage

    so that you can test them in your board.

    Regards,

    Rajeev

  • Hi Miroslav :

    Yes , we use DD3 and same as SK board (MT41J128M16JT-125).

    I will try borrow XDS110 to do this process , thanks.

  • Hi Rajeev :

    Yes , we use DDR3.

    But we don't use EEPROM in our board , so , i modify the evm.c :

    int read_eeprom(void)
    {
    printf("### Use AM335x_SK V1.2 setting ###\n");
    header.magic = 0xEE3355AA;
    strcpy(header.name, "A335X_SK");
    strcpy(header.config, "SKU#00");
    strcpy(header.version, "1.2B");
    strcpy(header.serial, "");
    return 0;

    }

    Can you send MLO and u-boot to me ?

    Thanks a lot.

  • Hi Lucas,

    Ok, find the attachment for MLO.tar.gz. untar it for MLO and u-boot.img files "tar  zxvf MLO.tar.gz"

    I hope these are helpful. if your board get going, we will workout in the code.

    1055.MLO.tar.gz

    Regards

    Rajeev

  • Hi Miroslav :

    I try to run the config DDR3 process , but when i load the DDR3_slave_ratio_search_auto.out , the CCS show error message :

    This is my step :

    1. Create new ccxml for AM335x use XDS100V2

    2. Connect Cortex/A8

    3. load GEL file

    4. Run menu menu "Scripts" -> "AM335x System Initialization" ->"AM3358_SK_Initialization"  -> for now is ok

    5. load .out file and show error message : 

    Can't find a source file at "C:\Userdata\Subarctic\Frostbyte\DDR3AppNote\DDR3_Slave_ratio_search_auto_Polar_0_1\build\Debug/../DDR3_slave_ratio_search_auto_AM335x.c" 
    Locate the file or edit the source lookup path

  • Hi Rajeev :

    Thanks your MLO / u-boot file .

    The result is system hang , this is console message :

    U-Boot SPL 2011.09 (Dec 29 2012 - 14:59:30)
    Texas Instruments Revision detection unimplemented
    selecting ddr3 configuration
    setting ddr3 clock
    in board int configuring SK
    OMAP SD/MMC: 0
    reading u-boot.img
    reading u-boot.img


  • Can't find a source file at "C:\Userdata\Subarctic\Frostbyte\DDR3AppNote\DDR3_Slave_ratio_search_auto_Polar_0_1\build\Debug/../DDR3_slave_ratio_search_auto_AM335x.c" 
    Locate the file or edit the source lookup path

    Answer myself :

    Ignore this error message , and press F8 (Resume) than configure will be process.

    Now, i must waiting for vendor borrow XDS100 to us , because EE RD not place FT2232HL on custom board -.-!!!

  • Hi Lucas,

    Are you booting form sd-card. I will get back to you if i get any idea. I am sending log file for your reference.

    U-Boot SPL 2011.09 (Dec 29 2012 - 14:59:30)
    Texas Instruments Revision detection unimplemented
    selecting ddr3 configuration
    setting ddr3 clock
    in board int configuring SK
    OMAP SD/MMC: 0
    reading u-boot.img
    reading u-boot.img
    
    
    U-Boot 2011.09 (Dec 29 2012 - 14:59:30)
    
    I2C:   ready
    DRAM:  256 MiB
    WARNING: Caches not enabled
    in board int configuring SK
    spl int enabled 
    NAND:  HW ECC Hamming Code selected
    No NAND device found!!!
    0 MiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    *** Warning - readenv() failed, using default environment
    
    Net:   cpsw
    Hit any key to stop autoboot:  3  2  1  0 
    SD/MMC found on device 0
    reading uEnv.txt
    
    ** Unable to read "uEnv.txt" from mmc 0:1 **
    reading uImage
    
    3184664 bytes read
    ## Booting kernel from Legacy Image at 80007fc0 ...
       Image Name:   Linux-3.2.0-g18fd268-dirty
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    3184600 Bytes = 3 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       XIP Kernel Image ... OK
    OK
    
    Starting kernel ...
    
    Uncompressing Linux... done, booting the kernel.
    [    0.000000] Linux version 3.2.0-g18fd268-dirty (root@user-desktop) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #30 Thu Mar 21 14:59:54 IST 2013
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine: am335xevm
    [    0.000000] Memory policy: ECC disabled, Data cache writeback
    [    0.000000] AM335X ES1.0 (sgx neon )
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait ip=none
    [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Memory: 256MB = 256MB total
    [    0.000000] Memory: 253216k/253216k available, 8928k reserved, 0K highmem
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
    [    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc05a9000   (5764 kB)
    [    0.000000]       .init : 0xc05a9000 - 0xc05e8000   ( 252 kB)
    [    0.000000]       .data : 0xc05e8000 - 0xc064ddb8   ( 408 kB)
    [    0.000000]        .bss : 0xc064dddc - 0xc067bd64   ( 184 kB)
    [    0.000000] NR_IRQS:396
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] Total of 128 interrupts on 1 active controller
    [    0.000000] OMAP clockevent source: GPTIMER2 at 19200000 Hz
    [    0.000000] OMAP clocksource: GPTIMER1 at 32768 Hz
    [    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
    [    0.000000] Console: colour dummy device 80x30
    [    0.000122] Calibrating delay loop... 574.66 BogoMIPS (lpj=2873344)
    [    0.046936] pid_max: default: 32768 minimum: 301
    [    0.047058] Security Framework initialized
    [    0.047180] Mount-cache hash table entries: 512
    [    0.047546] CPU: Testing write buffer coherency: ok
    [    0.065124] omap_hwmod: pruss: failed to hardreset
    [    0.066223] print_constraints: dummy: 
    [    0.066558] NET: Registered protocol family 16
    [    0.068664] OMAP GPIO hardware version 0.1
    [    0.071258] omap_mux_init: Add partition: #1: core, flags: 0
    [    0.073364]  omap_i2c.1: alias fck already exists
    [    0.074218]  omap2_mcspi.1: alias fck already exists
    [    0.074432]  omap2_mcspi.2: alias fck already exists
    [    0.075134]  edma.0: alias fck already exists
    [    0.075164]  edma.0: alias fck already exists
    [    0.075164]  edma.0: alias fck already exists
    [    0.101196] bio: create slab <bio-0> at 0
    [    0.103393] SCSI subsystem initialized
    [    0.105010] usbcore: registered new interface driver usbfs
    [    0.105316] usbcore: registered new interface driver hub
    [    0.105499] usbcore: registered new device driver usb
    [    0.105651] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
    [    0.105926] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
    [    0.119018] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
    [    0.120788] tps65910 1-002d: JTAGREVNUM 0x0
    [    0.122680] print_constraints: VRTC: 
    [    0.123870] print_constraints: VIO: at 1500 mV 
    [    0.125671] print_constraints: VDD1: 600 <--> 1500 mV at 1262 mV normal 
    [    0.127502] print_constraints: VDD2: 600 <--> 1500 mV at 1137 mV normal 
    [    0.128326] print_constraints: VDD3: 5000 mV 
    [    0.129455] print_constraints: VDIG1: at 1800 mV 
    [    0.130615] print_constraints: VDIG2: at 1800 mV 
    [    0.131744] print_constraints: VPLL: at 1800 mV 
    [    0.132873] print_constraints: VDAC: at 1800 mV 
    [    0.134033] print_constraints: VAUX1: at 1800 mV 
    [    0.135192] print_constraints: VAUX2: at 3300 mV 
    [    0.136352] print_constraints: VAUX33: at 3300 mV 
    [    0.137481] print_constraints: VMMC: at 3300 mV 
    [    0.137969] tps65910 1-002d: No interrupt support, no core IRQ
    [    0.139587] Advanced Linux Sound Architecture Driver Version 1.0.24.
    [    0.140716] Switching to clocksource gp timer
    [    0.155975] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
    [    0.156158] musb-hdrc musb-hdrc.0: dma type: pio
    [    0.156463] MUSB0 controller's USBSS revision = 4ea20800
    [    0.157012] musb-hdrc musb-hdrc.0: USB OTG mode controller at d083c000 using PIO, IRQ 18
    [    0.157196] musb-hdrc musb-hdrc.1: dma type: pio
    [    0.157470] MUSB1 controller's USBSS revision = 4ea20800
    [    0.157592] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [    0.157653] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
    [    0.157806] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    0.157806] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    0.157836] usb usb1: Product: MUSB HDRC host driver
    [    0.157836] usb usb1: Manufacturer: Linux 3.2.0-g18fd26-dirty musb-hcd
    [    0.157836] usb usb1: SerialNumber: musb-hdrc.1
    [    0.158630] hub 1-0:1.0: USB hub found
    [    0.158660] hub 1-0:1.0: 1 port detected
    [    0.159240] musb-hdrc musb-hdrc.1: USB Host mode controller at d083e800 using PIO, IRQ 19
    [    0.159667] NET: Registered protocol family 2
    [    0.159851] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.160125] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.160308] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.160400] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.160430] TCP reno registered
    [    0.160430] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.160461] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.160644] NET: Registered protocol family 1
    [    0.160980] RPC: Registered named UNIX socket transport module.
    [    0.160980] RPC: Registered udp transport module.
    [    0.160980] RPC: Registered tcp transport module.
    [    0.161010] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.161254] NetWinder Floating Point Emulator V0.97 (double precision)
    [    0.172485] VFS: Disk quotas dquot_6.5.2
    [    0.172546] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    0.173065] msgmni has been set to 494
    [    0.176208] alg: No test for stdrng (krng)
    [    0.176879] io scheduler noop registered
    [    0.176910] io scheduler deadline registered
    [    0.176971] io scheduler cfq registered (default)
    [    0.178100] Could not set LED4 to fully on
    [    0.179748] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
    [    0.800781] console [ttyO0] enabled
    [    0.805053] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    [    0.812866] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    [    0.820617] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    [    0.828399] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    [    0.836151] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    [    0.853210] brd: module loaded
    [    0.861145] loop: module loaded
    [    0.864654] i2c-core: driver [tsl2550] using legacy suspend method
    [    0.871093] i2c-core: driver [tsl2550] using legacy resume method
    [    0.877502] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    0.941253] No daughter card found
    [    0.944854] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    1.011383] The board is a AM335x Starter Kit.
    [    1.016021] 
    [    1.016021]  evm_id ==  4 
    [    1.020568]  omap_hsmmc.0: alias fck already exists
    [    1.026489] in NHD_480272MF_ATXI_pdata display @@@@@@@@@@@ 
    [    1.032379]  da8xx_lcdc.0: alias fck already exists
    [    1.037841] da8xx_lcdc da8xx_lcdc.0: GLCD: Found NHD-4.3-ATXI#-T-1 panel
    [    1.049560] Console: switching to colour frame buffer device 30x40
    [    1.059875] configuring mcasp0_pin_mux ===============>  configuring SK_EVM for AUDIO ===============>  
    [    1.069671]  davinci-mcasp.0: alias fck already exists
    [    1.075469] in uart1_init ----------->>>>>
    [    1.079772] in uart2_init ----------->>>>>
    [    1.084075] in uart3_init ----------->>>>>
    [    1.088348] in uart4_init ----------->>>>>
    [    1.092651] in uart5_init ----------->>>>>
    [    1.096984]  omap_i2c.2: alias fck already exists
    [    1.121337] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 100 kHz
    [    1.127777] tsl2550 2-0039: standard operating mode
    [    2.131347] omap_i2c omap_i2c.2: controller timed out
    [    2.151367] tsl2550: probe of 2-0039 failed with error -110
    [    2.157470]  In AM33XX_CPSW_MODE_RMII: Selecetd RMII  mode for ethernet ===================>
    [    2.167022] registered am33xx_sr device
    [    2.171203] AM335X:AFTER setup_starterkit & am33xx_sr_init ----------------> 
    [    2.178833] tlv320aic31xx 1-0018: aic3xxx_device_init beginning
    [    2.193878] tlv320aic31xx 1-0018: (null) revision 1
    [    2.200225] tlv320aic31xx 1-0018: aic3xxx_device_init added mfd devices
    [    2.208648] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    2.215820] omap2-nand driver initializing
    [    2.220245] OneNAND driver initializing
    [    2.225555] CAN device driver interface
    [    2.229553] CAN bus driver for Bosch D_CAN controller 1.0
    [    2.281372] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    [    2.287811] davinci_mdio davinci_mdio.0: detected phy mask fffffffe
    [    2.294952] davinci_mdio.0: probed
    [    2.298492] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
    [    2.305999] PPP generic driver version 2.4.2
    [    2.310821] PPP BSD Compression module registered
    [    2.315734] PPP Deflate Compression module registered
    [    2.321655] PPP MPPE Compression module registered
    [    2.326660] NET: Registered protocol family 24
    [    2.331634] usbcore: registered new interface driver zd1201
    [    2.337646] usbcore: registered new interface driver cdc_ether
    [    2.343902] usbcore: registered new interface driver cdc_eem
    [    2.349945] usbcore: registered new interface driver dm9601
    [    2.355804] cdc_ncm: 04-Aug-2011
    [    2.359344] usbcore: registered new interface driver cdc_ncm
    [    2.365234] Initializing USB Mass Storage driver...
    [    2.370544] usbcore: registered new interface driver usb-storage
    [    2.376800] USB Mass Storage support registered.
    [    2.381713]  gadget: using random self ethernet address
    [    2.387145]  gadget: using random host ethernet address
    [    2.393218] usb0: MAC 02:a8:a5:ac:4d:e9
    [    2.397216] usb0: HOST MAC c2:28:b4:ed:de:ca
    [    2.401763]  gadget: Ethernet Gadget, version: Memorial Day 2008
    [    2.408020]  gadget: g_ether ready
    [    2.411590] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [    2.417175] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 2
    [    2.424987] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [    2.432098] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    2.439605] usb usb2: Product: MUSB HDRC host driver
    [    2.444793] usb usb2: Manufacturer: Linux 3.2.0-g18fd268-dirty musb-hcd
    [    2.451690] usb usb2: SerialNumber: musb-hdrc.0
    [    2.457244] hub 2-0:1.0: USB hub found
    [    2.461151] hub 2-0:1.0: 1 port detected
    [    2.466308] mousedev: PS/2 mouse device common for all mice
    [    2.496429] adp5588-keys 1-0034: Read Error
    [    2.500793] adp5588-keys: probe of 1-0034 failed with error -121
    [    2.507293] i2c-core: driver [adp5588-keys] using legacy suspend method
    [    2.514190] i2c-core: driver [adp5588-keys] using legacy resume method
    [    2.521728] tsc tsc: clock input less than min clock requirement
    [    2.528015] tsc: probe of tsc failed with error -22
    [    2.533752] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
    [    2.540557] i2c /dev entries driver
    [    2.544830] Linux video capture interface: v2.00
    [    2.549957] usbcore: registered new interface driver uvcvideo
    [    2.555969] USB Video Class driver (1.1.1)
    [    3.551361] omap_i2c omap_i2c.2: controller timed out
    [    3.571411] lm75: probe of 2-0048 failed with error -110
    [    4.571350] omap_i2c omap_i2c.2: controller timed out
    [    5.591339] omap_i2c omap_i2c.2: controller timed out
    [    6.611358] omap_i2c omap_i2c.2: controller timed out
    [    7.631347] omap_i2c omap_i2c.2: controller timed out
    [    8.651336] omap_i2c omap_i2c.2: controller timed out
    [    9.671356] omap_i2c omap_i2c.2: controller timed out
    [   10.691345] omap_i2c omap_i2c.2: controller timed out
    [   10.712219] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [   10.722381] cpuidle: using governor ladder
    [   10.727142] cpuidle: using governor menu
    [   10.733459] omap4_aes_mod_init: loading AM33X AES driver
    [   10.739135] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02
    [   10.745666] omap4_aes_probe: probe() done
    [   10.750091] omap4_sham_mod_init: loading AM33X SHA/MD5 driver
    [   10.756256] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03
    [   10.767791] omap4_sham_probe: probe() done
    [   10.774414] usbcore: registered new interface driver usbhid
    [   10.780242] usbhid: USB HID core driver
    [   10.788146] TEXAS: test print in func tlv320aic31xx_modiniti line is 2212
    [   10.795379] TEXAS: test print in func aic31xx_probe line is 2180
    [   10.801666] TEXAS: test print in func aic31xx_probe line is 2184
    [   10.808593] TEXAS: test print func is evm_init line is 383
    [   10.814361] TEXAS: test print func is evm_init line is 387
    [   10.820495] TEXAS: test print in func aic31xx_codec_probei line is 1633
    [   10.827453] TEXAS: test print in func aic31xx_codec_probei line is 1641
    [   10.842742] driver_init: Allocated Major Number: 252
    [   10.847930] 
    [   10.849487] driver_init: Registered cfw driver
    [   10.854705] TEXAS: test print in func aic31xx_codec_probei line is 1691
    [   10.864471] input: Unspecified device as /devices/virtual/input/input0
    [   10.872589] Control name 'Class - D driver Volume(0 = 6 dB, 4 = 24 dB)' truncated to 'Class - D driver Volume(0 = 6 dB, 4 = 24 dB'
    [   10.894805] TEXAS: test print in func aic31xx_codec_probei line is 1713
    [   10.901794] CFW[sound/soc/codecs/aic3xxx/aic3xxx_cfw_ops.c:792]: Entering crc 1414
    [   10.909820] CFW[sound/soc/codecs/aic3xxx/aic3xxx_cfw_ops.c:798]: CRC pass
    [   10.916961] CFW[sound/soc/codecs/aic3xxx/aic3xxx_cfw_ops.c:819]: Loaded firmware inside unpickle
    [   10.916961] 
    [   10.927703] CFW[sound/soc/codecs/aic3xxx/aic3xxx_cfw_ops.c:839]: loading pfw 0
    [   10.927703] 
    [   10.936798] CFW[sound/soc/codecs/aic3xxx/aic3xxx_cfw_ops.c:859]: loaded pfw's
    [   10.936798] 
    [   10.945831] CFW[sound/soc/codecs/aic3xxx/aic3xxx_cfw_ops.c:877]: loaded modes
    [   10.953277] running INIT sequence
    [   10.956756] CFW[sound/soc/codecs/aic3xxx/aic3xxx_cfw_ops.c:324]: Sending transition INIT[0]
    [   10.965484] page 0 book 0 offset 4
    [   10.969116] TEXAS: test print func is evm_aic3x_init, line is 160
    [   10.975555] TEXAS: test print func is evm_aic3x_init, line is 179
    [   10.982574] asoc: tlv320aic31xx-MM_EXT <-> davinci-mcasp.0 mapping ok
    [   10.989624] page 1 book 0 offset 40
    [   10.993927] page 1 book 0 offset 41
    [   10.997985] ALSA device list:
    [   11.001098]   #0: AM335X EVM
    [   11.004150] oprofile: hardware counters not available
    [   11.009429] oprofile: using timer interrupt.
    [   11.013916] nf_conntrack version 0.5.0 (3956 buckets, 15824 max)
    [   11.020690] ip_tables: (C) 2000-2006 Netfilter Core Team
    [   11.026367] TCP cubic registered
    [   11.029754] NET: Registered protocol family 17
    [   11.034423] can: controller area network core (rev 20090105 abi 8)
    [   11.040985] NET: Registered protocol family 29
    [   11.045654] can: raw protocol (rev 20090105)
    [   11.050109] can: broa manager protocol (rev 20090105 t)
    [   11.056091] Registering the dns_resolver key type
    [   11.061096] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [   11.069122] ThumbEE CPU extension supported.
    [   11.073669] mux: Failed to setup hwmod io irq -22
    [   11.079162] Power Management for AM33XX family
    [   11.084045] Trying to load am335x-pm-firmware.bin (60 secs timeout)
    [   11.090698] Copied the M3 firmware to UMEM
    [   11.095184] Compensating OPP0 for 0mV Orig nvalue:0x999285 New nvalue:0x999285 
    [   11.102874] Compensating OPP1 for 0mV Orig nvalue:0x999285 New nvalue:0x999285 
    [   11.111968] page 1 book 0 offset 31
    [   11.115997] Compensating OPP0 for 0mV Orig nvalue:0x99a197 New nvalue:0x99a197 
    [   11.123687] Compensating OPP1 for 0mV Orig nvalue:0x999084 New nvalue:0x999084 
    [   11.131317] Compensating OPP2 for 0mV Orig nvalue:0xaae4d0 New nvalue:0xaae4d0 
    [   11.138977] Compensating OPP3 for 0mV Orig nvalue:0xaac6b5 New nvalue:0xaac6b5 
    [   11.146728] create_regulator: VDD1: Failed to create debugfs directory
    [   11.153930] page 1 book 0 offset 34
    [   11.159454] smartreflex smartreflex: am33xx_sr_probe: Driver initialized
    [   11.167968] CFW[sound/soc/codecs/aic3xxx/aic3xxx_cfw_ops.c:354]: Re-configuring PLL: pll48==>0
    [   11.182952] clock: disabling unused clocks to save power
    [   11.188995] mmc0: host does not support reading read-only switch. assuming write-enable.
    [   11.198059] page 0 book 0 offset 7
    [   11.201843] mmc0: new high speed SDHC card at address aaaa
    [   11.207855] page 0 book 0 offset 8
    [   11.212738] mmcblk0: mmc0:aaaa SU04G 3.69 GiB 
    [   11.218750] page 0 book 0 offset 13
    [   11.222656]  mmcblk0: p1 p2
    [   11.226074] page 0 book 0 offset 14
    [   11.231628] page 0 book 0 offset 20
    [   11.236846] CFW[sound/soc/codecs/aic3xxx/aic3xxx_cfw_ops.c:324]: Sending transition NEUTRAL[2]
    [   11.245880] CFW[sound/soc/codecs/aic3xxx/aic3xxx_cfw_ops.c:302]: setmode_cfg: DONE (mode=0 pfw=-1 ovly=0 cfg=0)
    [   11.263916] analogics1 Detected MACID=90:59:af:d1:7d:e0
    [   11.270416] cpsw: analogica Detected MACID = 90:59:af:d1:7d:e2
    [   11.277618] omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:08 UTC (946684808)
    [   13.687835] kjournald starting.  Commit interval 5 seconds
    [   13.693664] EXT3-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended
    [   13.705017] EXT3-fs (mmcblk0p2): using internal journal
    [   13.710510] EXT3-fs (mmcblk0p2): recovery complete
    [   13.717254] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
    [   13.724517] VFS: Mounted root (ext3 filesystem) on device 179:2.
    [   13.731170] Freeing init memory: 252K
    init started: BusyBox v1.20.2 (2013-02-05 04:51:01 EST)
    Setting hotplug handler: [ OK ]
    Creating device files: Auto-mount of [/media/mmcblk0p1] successful
    Auto-mount of [/media/mmcblk0p2] successful
    [ OK ]
    Setting timezone and system clock: [OK]
    Starting system logging.
    Restoring asound.state: Found hardware: "AM335X_EVM" "" "" "" ""
    Hardware is initialized using a generic method
    alsactl: set_control:1464: Cannot write control '2:0:0:FIRMWARE SET MODE:0' : Operation not permitted
    alsactl: set_control:1464: Cannot write control '2:0:0:Codec Firmware Setmode:0' : Operation not permitted
    [ FAILED ]
    Configuring network interfaces: done
    Starting dbus: [ OK ]
    Starting /usr/sbin/sshd: [ OK ]
    Finding touchscreen using legacy method:[FAIL]
    Starting Xfbdev server: [OK]
    
    route: SIOCADDRT: No such device
    
    
    BusyBox v1.20.2 (2013-02-05 04:51:01 EST) built-in shell (ash)
    Enter 'help' for a list of built-in commands.
    
    # mbmenu: no _MB_THEME set on root window
    mbmenu: no _MB_THEME set on root window
    mb-applet-menu-launcher: failed to open /usr/local/share/applications
    mb-applet-menu-launcher: failed to open //.applications
    
    # 
    # 
    

    Regards.

    Rajeev

  • Hi  Rajeev and Miroslav :

    Reference AM335x DDR PHY register configuration for DDR3 using Software Leveling , now our custom board is running correct.

    Thanks a lot your help.