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.

am3892 booting linux psp

Other Parts Discussed in Thread: AM3892, LINUXEZSDK-SITARA, PMP

Hello,

I have an custom board, based on am3892 TI processor. I'm trying to boot Linux via SD card, using Linux PSP Release 04.00.02.14. 

I managed to load u-boot and trying load Linux following PSP User Guide. It seems like kernel image successfully  loading from SD card to RAM, then decompressing and

starting boot kernel. But then process stucks.  How do you think, what could be a reason of this issue? It seems like NAND doesn't work properly, is NAND valuable for booting Linux?

 

Terminal log: 

TI8168_EVM#mmc rescan 0

raise: Signal # 8 caught
raise: Signal # 8 caught
TI8168_EVM#fatload mmc 0 0x81000000 uImage
reading uImage
2430892 bytes read
TI8168_EVM#
TI8168_EVM#bootm 0x81000000
## Booting kernel from Legacy Image at 81000000 ...
Image Name: Linux-2.6.37+
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2430828 Bytes = 2.3 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.

 

Best regards,

Anton 

  • Hi Anton,

    First of all, you are using an old version of the PSP. Please switch to the latest LINUXEZSDK-AM389X-AM387X 5.04.00.11 with PSP 04.04.00.01

    http://www.ti.com/tool/linuxezsdk-sitara

    There, you have the following document:

    ti-ezsdk_dm816x-evm_5_04_00_11/docs/DM816x_EZ_Software_Developers_Guide.pdf

    6.7 How to create an SD card

    Follow the guidelines in section 6.7.

    Regards,

    Pavel

  • Hi Pavel

    Following your advice I've created new SD card for booting device with PSP 04.04.00.01. Everything is okay, but I faced same problem: booting stucks while linux kernel booting. I don't know if it makes sense, but I've built u-boot for work on RAM frequency 400 MHz as described in u-boot using guide. Also I've build linux kernel with changed config, in config I've switched off [  ]TI8168 Ebaluation Mode checkbox.

     

    Also here is linux kernel boot log with earlyprintk:

     Uncompressing Linux... done, booting the kernel.
    15:45:20.118> Linux version 2.6.37 (vard@svn) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #2 Thu Jan 17 15:21:30 MSK 2013
    15:45:20.118> CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
    15:45:20.118> CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    15:45:20.118> Machine: ti8168evm
    15:45:20.118> bootconsole [earlycon0] enabled
    15:45:20.118> reserved size = 52428800 at 0x0
    15:45:20.118> FB: Reserving 52428800 bytes SDRAM for VRAM
    15:45:20.118> Memory policy: ECC disabled, Data cache writeback
    15:45:20.118> OMAP chip is TI8168 2.0
    15:45:20.849> Built 1 zonelists in Zone order, mobility grouping on. Total pages: 19712
    15:45:20.849> Kernel command line: console=ttyO2,115200n8 earlyprintk root=/dev/mmcbkl0p2 mem=128M rootwait
    15:45:20.849> PID hash table entries: 512 (order: -1, 2048 bytes)
    15:45:20.849> Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    15:45:20.849> Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    15:45:20.849> Memory: 78MB = 78MB total
    15:45:20.849> Memory: 73224k/73224k available, 57848k reserved, 0K highmem
    15:45:20.849> Virtual kernel memory layout:
    15:45:20.849> vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    15:45:20.849> fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
    15:45:20.849> DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
    15:45:20.849> vmalloc : 0xc8800000 - 0xf8000000 ( 760 MB)
    15:45:20.849> lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
    15:45:20.849> pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    15:45:20.849> modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    15:45:20.849> .init : 0xc0008000 - 0xc003b000 ( 204 kB)
    15:45:20.849> .text : 0xc003b000 - 0xc04d8000 (4724 kB)
    15:45:20.849> .data : 0xc04d8000 - 0xc0520f00 ( 292 kB)
    15:45:20.849> SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    15:45:20.849> NR_IRQS:407
    15:45:20.849> IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    15:45:20.849> Total of 128 interrupts on 1 active controller
    15:45:20.849> GPMC revision 6.0
    15:45:20.849> Trying to install interrupt handler for IRQ400
    15:45:20.849> Trying to install interrupt handler for IRQ401
    15:45:20.849> Trying to install interrupt handler for IRQ402
    15:45:20.849> Trying to install interrupt handler for IRQ403
    15:45:20.849> Trying to install interrupt handler for IRQ404
    15:45:20.849> Trying to install interrupt handler for IRQ405
    15:45:20.849> Trying to install interrupt handler for IRQ406
    15:45:20.849> Trying to install type control for IRQ407
    15:45:20.849> Trying to set irq flags for IRQ407
    15:45:20.849> OMAP clockevent source: GPTIMER1 at 27000000 Hz
    15:45:20.849> Console: colour dummy device 80x30
    15:45:20.849> Calibrating delay loop... 986.31 BogoMIPS (lpj=4931584)
    15:45:20.849> pid_max: default: 32768 minimum: 301
    15:45:20.849> Security Framework initialized
    15:45:20.849> Mount-cache hash table entries: 512
    15:45:20.849> CPU: Testing write buffer coherency: ok
    15:45:20.849> devtmpfs: initialized
    15:45:20.849> omap_voltage_early_init: voltage driver support not added
    15:45:24.555> regulator: core version 0.5
    15:45:24.555> regulator: dummy: 
    15:45:24.555> NET: Registered protocol family 16
    15:45:24.555> omap_voltage_domain_lookup: Voltage driver init not yet happened.Faulting!
    15:45:24.555> omap_voltage_add_dev: VDD specified does not exist!
    15:45:24.555> OMAP GPIO hardware version 0.1
    15:45:24.555> OMAP GPIO hardware version 0.1
    15:45:24.555> omap_mux_init: Add partition: #1: core, flags: 0
    15:45:24.555> _omap_mux_get_by_name: Could not find signal i2c2_scl.i2c2_scl
    15:45:24.555> _omap_mux_get_by_name: Could not find signal i2c2_sda.i2c2_sda
    15:45:24.555> NOR: Can't request GPMC CS
    15:45:24.555> registered ti816x_gpio_vr device
    15:45:24.555> registered ti816x_sr device
    15:45:24.555> pm_dbg_init: only OMAP3 supported
    15:45:24.555> registered ti81xx_vpss device
    15:45:24.555> registered ti81xx_vidout device
    15:45:24.555> registered ti81xx on-chip HDMI device
    15:45:24.555> registered ti81xx_fb device
    15:45:24.555> registered ti81xx_vin device
    15:45:24.555> ti81xx_pcie: Invoking PCI BIOS...
    15:45:24.555> ti81xx_pcie: Setting up Host Controller...
    15:45:24.555> ti81xx_pcie: Register base mapped @0xc8820000
     

    Best regards,

    Anton 

  • Hi Anton,

    Could you please provide full log file about the u-boot console messages. I need all the console messages till the TI8168_EVM#

    Also, what is the size of your DDR memory? Are you using DDR2 or DDR3? Are you using the two DDR controllers in interleave mode?

    Regards,

    Pavel

  • Hi Pavel,

    We are using DD3  4 chips with part number K4B2G1646C-HCK0. Each chip 256 MB, chips united in two 32 bit 512 MB banks, so it  is 1 GB total. I have some problem with question about interleave mode. I suggest it can be configured programmatioc via DDR controller register, doesn't it? Is there access to this option in linux kernel config? On board every bank connected with 32-bit bus to 2x16-bit memory chips.

    Here is  full log:

    9:24:38.467> U-Boot 2010.06 (Jan 17 2013 - 14:45:21)
    9:24:38.467> DRAM: 2 GiB
    9:24:38.467> MMC: OMAP SD/MMC: 0
    9:24:38.467> Using default environment
    9:24:38.467> Hit any key to stop autoboot: 0 
    9:24:38.708> raise: Signal # 8 caught
    9:24:38.708> reading u-boot.bin
    9:24:38.708> 185060 bytes read
    9:24:38.708> ## Starting application at 0x80800000 ...
    9:24:38.888> U-Boot 2010.06 (Jan 17 2013 - 14:49:23)
    9:24:38.888> TI8168-GP rev 2.0
    9:24:38.888> ARM clk: 987MHz
    9:24:38.888> DDR clk: 398MHz
    9:24:38.888> I2C: ready
    9:24:38.888> DRAM: 2 GiB
    9:24:38.888> NAND: HW ECC BCH8 Selected
    9:24:38.888> 512 MiB
    9:24:38.888> MMC: OMAP SD/MMC: 0
    9:24:38.888> raise: Signal # 8 caught
    9:24:38.888> *** Warning - bad CRC or MMC, using default environment
    9:24:39.439> :,;;:;:;;;;;;;;r;;:,;;:;:;;;;;;;;:,;;:;:;;;;;;;;:,;;:;:;;;;;;;;:;;;;;;;;:,;;:;:
    9:24:39.439> ;,;:::;;;;r;;;rssiSiS552X5252525259GX2X9hX9X9XX2325S55252i5:,;;:;:;;;;;;;;:,;;:
    9:24:39.439> ;:;;;;;;;rrssSsS52S22h52299GGAAMHMM#BBH#B#HMM#HMBA&&XX2255S2S5Si:,;;:;:;;;;;;;;
    9:24:39.439> ;:;;r;;rsrrriiXS5S329&A&MH#BMB#A&9XXA252GXiSXX39AAMMMBB&G22S5i2SSiiiisi:,;;:;:;
    9:24:39.439> ;;;;;r;rr2iisiih393HB#B#AA99i22irrrX3X52AGsisss2Xii2299HBMA&X2S5S5iSiisSsi:,;;:
    9:24:39.439> r:r;rrsrsihXSi2&##MHB&Ahh3AGHGA9G9h&#H##@@@##MAMMXXX9SSS29&&HGGX2i5iisiiisisi:,
    9:24:39.439> ;;rrrrsSiiiA&ABH&A9GAGhAhBAMHA9HM@@@@@@@@@@@@@@@@@@@HHhAh2S2SX9&Gh22SSiisiiisii
    9:24:39.439> r:rrssisiS2XM##&h3AGAX&3GG3Ssr5H@M#HM2; ;2X&&&MHMB###GBB#B&XXSSs529XX55iSsisisi
    9:24:39.439> r;rsrisSi2XHAhX99A3XXG&&XS;:,rH#HGhAS @@@@3rs2XBM@@A552&&AHA2XiisSS252SSsisSs
    9:24:39.439> r;issi5S22&&3iSSX292&hXsr;;:;h@&G339&S9@@@@2@MA&9&HB##Xris29ABMAAX2ir;rsSi5iss5
    9:24:39.439> rrsSi2XhG&9GXh399&X99i;;;;;;r#H&293H9X#@@@@@@@B&9GhAH@XrrsrsiXABHB&HG2rr;rrSiSi
    9:24:39.439> ;:rsisS599&AA9XG&3A35r;:::;,;BMh&&2iX5A@@@@@@@&392X5GB2;;;r;iSX393A##A&Xi:::rsi
    9:24:39.439> ;:rss552222X553&XHMhir;;::,:,h#HhGSXhG3#@@@@#AXXS2XAHA;::;;;;ss55XShBA3239r:,;;
    9:24:39.439> r;ii2S5SSi2i53hirsh2srr::,,,,;MMXX359&Ah3h&Si59SX99A#i:,::::;;sri2,.2r;:SGAr;,:
    9:24:39.439> ;:;rrrrssiriXGSi::shs;;;,,,:,,rBBA9h5s5h5iS5isi2SAHB5:,,,:::;rrs5&SrisSX5Srrr:,
    9:24:39.439> ;,r;;;;rsriSSrrrr;;5Xrr;;,:,,.,;9AA2SsisS5323XXXG9&i:.,,::;;r;;;srrrrrr;;:;::::
    9:24:39.439> :,;r;r;rrissrrr;:;::;s;;;;,:,,..,r293h222hXXAAGGGX;:,,,:,:,::;:;::,:,,,,...,,,,
    9:24:39.439> ;,;;;;rrrrrrrrirr;,.,,:::::::,,,,.,;SX&ABAB2hhXir:,,.,,.,,:,,,,..,,,..,..,,,..:
    9:24:39.439> :.:;:;;;:;;;;r;rrs;:.. ,,:::::,:,:,,.::rrsrr;;,,.......,..,....,,,,,,,...,.,,:,
    9:24:39.439> :.:::,::::::;;r;rrr;:.......,.,.,,:::,,...............,,::.,,,,:,::,,:,:,,,:,;:
    9:24:39.439> ,.::,:,,,,,;;;;;;;;r;;::,..............................;;;:;::::,:::::::,:,:,,,
    9:24:39.439> : ,,:,,,,,,,,,,,,,:;rrr;;:;,,,,,,,::,.,.:.,.,;s,:;;;;:;:;;;;;::::,:::,:::,:,:,:
    9:24:39.439> ,.,,,,,,,...,,.,,....................................:,............:,,,:,:,,,,,
    9:24:39.439> Net: <ethaddr> not set. Reading from E-fuse
    9:24:39.439> Detected MACID:0:18:31:88:37:82
    9:24:39.439> DaVinci EMAC
    9:24:42.723> Hit any key to stop autoboot: 0 
    9:24:42.723> raise: Signal # 8 caught
    9:24:42.723> raise: Signal # 8 caught
    9:24:42.723> reading boot.scr
    9:24:42.723> ** Unable to read "boot.scr" from mmc 0:1 **
    9:24:42.723> In case ENV on MMC/SD is required
    9:24:42.723> Please put a valid script named boot.scr on the card
    9:24:42.723> Refer to the User Guide on how to generate the image
    9:24:51.977> TI8168_EVM#nand info
    9:24:52.287> Device 0: nand0, sector size 128 KiB
    9:26:24.319> TI8168_EVM#mmc rescan 0
    9:26:24.319> raise: Signal # 8 caught
    9:26:24.580> raise: Signal # 8 caught
    9:26:51.038> TI8168_EVM#fatload mmc 0 0x81000000 uImage
    9:26:51.038> reading uImage
    9:26:53.341> 2562948 bytes read
    9:27:41.440> TI8168_EVM#setenv bootargs 'console=ttyO2,115200n8 earlyprintk root=/dev/mmcbkl0p2 mem=128M rootwait'
    9:27:50.624> TI8168_EVM#bootm 0x81000000
    9:27:50.624> ## Booting kernel from Legacy Image at 81000000 ...
    9:27:50.624> Image Name: Linux-2.6.37
    9:27:50.894> Image Type: ARM Linux Kernel Image (uncompressed)
    9:27:50.894> Data Size: 2562884 Bytes = 2.4 MiB
    9:27:50.894> Load Address: 80008000
    9:27:50.894> Entry Point: 80008000
    9:27:51.475> Verifying Checksum ... OK
    9:27:53.027> Loading Kernel Image ... OK
    9:27:53.027> OK
    9:27:53.027> Starting kernel ...
    9:27:53.378> Uncompressing Linux... done, booting the kernel.
    9:27:53.378> Linux version 2.6.37 (vard@svn) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #2 Thu Jan 17 15:21:30 MSK 2013
    9:27:53.378> CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
    9:27:53.378> CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    9:27:53.378> Machine: ti8168evm
    9:27:53.898> bootconsole [earlycon0] enabled
    9:27:53.898> reserved size = 52428800 at 0x0
    9:27:53.898> FB: Reserving 52428800 bytes SDRAM for VRAM
    9:27:53.898> Memory policy: ECC disabled, Data cache writeback
    9:27:53.898> OMAP chip is TI8168 2.0
    9:27:53.898> Built 1 zonelists in Zone order, mobility grouping on. Total pages: 19712
    9:27:53.898> Kernel command line: console=ttyO2,115200n8 earlyprintk root=/dev/mmcbkl0p2 mem=128M rootwait
    9:27:53.898> PID hash table entries: 512 (order: -1, 2048 bytes)
    9:27:53.898> Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    9:27:53.898> Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    9:27:53.898> Memory: 78MB = 78MB total
    9:27:53.898> Memory: 73224k/73224k available, 57848k reserved, 0K highmem
    9:27:53.898> Virtual kernel memory layout:
    9:27:53.898> vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    9:27:53.898> fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
    9:27:53.898> DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
    9:27:53.898> vmalloc : 0xc8800000 - 0xf8000000 ( 760 MB)
    9:27:53.898> lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
    9:27:53.898> pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    9:27:53.898> modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    9:27:53.898> .init : 0xc0008000 - 0xc003b000 ( 204 kB)
    9:27:53.898> .text : 0xc003b000 - 0xc04d8000 (4724 kB)
    9:27:53.898> .data : 0xc04d8000 - 0xc0520f00 ( 292 kB)
    9:27:53.898> SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    9:27:53.898> NR_IRQS:407
    9:27:53.898> IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    9:27:53.898> Total of 128 interrupts on 1 active controller
    9:27:53.898> GPMC revision 6.0
    9:27:53.898> Trying to install interrupt handler for IRQ400
    9:27:53.898> Trying to install interrupt handler for IRQ401
    9:27:53.898> Trying to install interrupt handler for IRQ402
    9:27:53.898> Trying to install interrupt handler for IRQ403
    9:27:53.898> Trying to install interrupt handler for IRQ404
    9:27:53.898> Trying to install interrupt handler for IRQ405
    9:27:53.898> Trying to install interrupt handler for IRQ406
    9:27:53.898> Trying to install type control for IRQ407
    9:27:53.898> Trying to set irq flags for IRQ407
    9:27:53.898> OMAP clockevent source: GPTIMER1 at 27000000 Hz
    9:27:53.898> Console: colour dummy device 80x30
    9:27:53.898> Calibrating delay loop... 986.31 BogoMIPS (lpj=4931584)
    9:27:53.898> pid_max: default: 32768 minimum: 301
    9:27:53.898> Security Framework initialized
    9:27:57.213> Mount-cache hash table entries: 512
    9:27:57.213> CPU: Testing write buffer coherency: ok
    9:27:57.213> devtmpfs: initialized
    9:27:57.213> omap_voltage_early_init: voltage driver support not added
    9:27:57.213> regulator: core version 0.5
    9:27:57.213> regulator: dummy: 
    9:27:57.213> NET: Registered protocol family 16
    9:27:57.213> omap_voltage_domain_lookup: Voltage driver init not yet happened.Faulting!
    9:27:57.213> omap_voltage_add_dev: VDD specified does not exist!
    9:27:57.213> OMAP GPIO hardware version 0.1
    9:27:57.213> OMAP GPIO hardware version 0.1
    9:27:57.213> omap_mux_init: Add partition: #1: core, flags: 0
    9:27:57.213> _omap_mux_get_by_name: Could not find signal i2c2_scl.i2c2_scl
    9:27:57.213> _omap_mux_get_by_name: Could not find signal i2c2_sda.i2c2_sda
    9:27:57.213> NOR: Can't request GPMC CS
    9:27:57.213> registered ti816x_gpio_vr device
    9:27:57.213> registered ti816x_sr device
    9:27:57.213> pm_dbg_init: only OMAP3 supported
    9:27:57.213> registered ti81xx_vpss device
    9:27:57.213> registered ti81xx_vidout device
    9:27:57.213> registered ti81xx on-chip HDMI device
    9:27:57.213> registered ti81xx_fb device
    9:27:57.213> registered ti81xx_vin device
    9:27:57.213> ti81xx_pcie: Invoking PCI BIOS...
    9:27:57.213> ti81xx_pcie: Setting up Host Controller...
    9:27:57.213> ti81xx_pcie: Register base mapped @0xc8820000


     

  • I think this line is causing the issue:

    TI8168_EVM#setenv bootargs 'console=ttyO2,115200n8 earlyprintk root=/dev/mmcbkl0p2 mem=128M rootwait'

    The linux kernel memory (128M) is not enough. Please try with:

    setenv bootargs 'console=ttyO2,115200n8 rootwait root=/dev/mmcblk0p2 rw mem=364M@0x80000000 mem=320M@0x9FC00000 vmalloc=500M  notifyk.vpssm3_sva=0xBF900000 ip=off noinitrd'

    Regards,

    Pavel


  • Unfortunately, it didn't help. Have you got another ideas about this issue?

    Log:

     

    12:04:31.456> U-Boot 2010.06 (Jan 17 2013 - 14:45:21)
    12:04:31.456> DRAM: 2 GiB

    12:04:31.456> MMC: OMAP SD/MMC: 0
    12:04:31.456>
    12:04:31.456> Using default environment
    12:04:31.456>
    12:04:31.456>
    12:04:31.456>
    12:04:31.456> Hit any key to stop autoboot: 0
    12:04:31.456>
    12:04:31.666> raise: Signal # 8 caught
    12:04:31.666>
    12:04:31.666> reading u-boot.bin
    12:04:31.666>
    12:04:31.747>
    12:04:31.747>
    12:04:31.747> 185060 bytes read
    12:04:31.747>
    12:04:31.747> ## Starting application at 0x80800000 ...
    12:04:31.747>
    12:04:31.747>
    12:04:31.747>
    12:04:31.747>
    12:04:31.747>
    12:04:31.747> U-Boot 2010.06 (Jan 17 2013 - 14:49:23)
    12:04:31.747>
    12:04:31.747>
    12:04:31.747>
    12:04:31.747> TI8168-GP rev 2.0
    12:04:31.747>
    12:04:31.747>
    12:04:31.747>
    12:04:31.747> ARM clk: 987MHz
    12:04:31.747>
    12:04:31.747> DDR clk: 398MHz
    12:04:31.747>
    12:04:31.747>
    12:04:31.747>
    12:04:31.747> I2C: ready
    12:04:31.747>
    12:04:31.747> DRAM: 2 GiB
    12:04:31.747>
    12:04:31.747> NAND: HW ECC BCH8 Selected
    12:04:31.747>
    12:04:31.747> 512 MiB
    12:04:31.747>
    12:04:31.747> MMC: OMAP SD/MMC: 0
    12:04:31.747>
    12:04:32.187> raise: Signal # 8 caught
    12:04:32.187>
    12:04:32.187> *** Warning - bad CRC or MMC, using default environment
    12:04:32.187>
    12:04:32.187>
    12:04:32.187>
    12:04:32.187> :,;;:;:;;;;;;;;r;;:,;;:;:;;;;;;;;:,;;:;:;;;;;;;;:,;;:;:;;;;;;;;:;;;;;;;;:,;;:;:
    12:04:32.187>
    12:04:32.187> ;,;:::;;;;r;;;rssiSiS552X5252525259GX2X9hX9X9XX2325S55252i5:,;;:;:;;;;;;;;:,;;:
    12:04:32.187>
    12:04:32.187> ;:;;;;;;;rrssSsS52S22h52299GGAAMHMM#BBH#B#HMM#HMBA&&XX2255S2S5Si:,;;:;:;;;;;;;;
    12:04:32.187>
    12:04:32.187> ;:;;r;;rsrrriiXS5S329&A&MH#BMB#A&9XXA252GXiSXX39AAMMMBB&G22S5i2SSiiiisi:,;;:;:;
    12:04:32.187>
    12:04:32.187> ;;;;;r;rr2iisiih393HB#B#AA99i22irrrX3X52AGsisss2Xii2299HBMA&X2S5S5iSiisSsi:,;;:
    12:04:32.187>
    12:04:32.187> r:r;rrsrsihXSi2&##MHB&Ahh3AGHGA9G9h&#H##@@@##MAMMXXX9SSS29&&HGGX2i5iisiiisisi:,
    12:04:32.187>
    12:04:32.187> ;;rrrrsSiiiA&ABH&A9GAGhAhBAMHA9HM@@@@@@@@@@@@@@@@@@@HHhAh2S2SX9&Gh22SSiisiiisii
    12:04:32.187>
    12:04:32.187> r:rrssisiS2XM##&h3AGAX&3GG3Ssr5H@M#HM2; ;2X&&&MHMB###GBB#B&XXSSs529XX55iSsisisi
    12:04:32.187>
    12:04:32.187> r;rsrisSi2XHAhX99A3XXG&&XS;:,rH#HGhAS @@@@3rs2XBM@@A552&&AHA2XiisSS252SSsisSs
    12:04:32.187>
    12:04:32.187> r;issi5S22&&3iSSX292&hXsr;;:;h@&G339&S9@@@@2@MA&9&HB##Xris29ABMAAX2ir;rsSi5iss5
    12:04:32.187>
    12:04:32.187> rrsSi2XhG&9GXh399&X99i;;;;;;r#H&293H9X#@@@@@@@B&9GhAH@XrrsrsiXABHB&HG2rr;rrSiSi
    12:04:32.187>
    12:04:32.187> ;:rsisS599&AA9XG&3A35r;:::;,;BMh&&2iX5A@@@@@@@&392X5GB2;;;r;iSX393A##A&Xi:::rsi
    12:04:32.187>
    12:04:32.187> ;:rss552222X553&XHMhir;;::,:,h#HhGSXhG3#@@@@#AXXS2XAHA;::;;;;ss55XShBA3239r:,;;
    12:04:32.187>
    12:04:32.187> r;ii2S5SSi2i53hirsh2srr::,,,,;MMXX359&Ah3h&Si59SX99A#i:,::::;;sri2,.2r;:SGAr;,:
    12:04:32.187>
    12:04:32.187> ;:;rrrrssiriXGSi::shs;;;,,,:,,rBBA9h5s5h5iS5isi2SAHB5:,,,:::;rrs5&SrisSX5Srrr:,
    12:04:32.187>
    12:04:32.187> ;,r;;;;rsriSSrrrr;;5Xrr;;,:,,.,;9AA2SsisS5323XXXG9&i:.,,::;;r;;;srrrrrr;;:;::::
    12:04:32.187>
    12:04:32.187> :,;r;r;rrissrrr;:;::;s;;;;,:,,..,r293h222hXXAAGGGX;:,,,:,:,::;:;::,:,,,,...,,,,
    12:04:32.187>
    12:04:32.187> ;,;;;;rrrrrrrrirr;,.,,:::::::,,,,.,;SX&ABAB2hhXir:,,.,,.,,:,,,,..,,,..,..,,,..:
    12:04:32.187>
    12:04:32.187> :.:;:;;;:;;;;r;rrs;:.. ,,:::::,:,:,,.::rrsrr;;,,.......,..,....,,,,,,,...,.,,:,
    12:04:32.187>
    12:04:32.187> :.:::,::::::;;r;rrr;:.......,.,.,,:::,,...............,,::.,,,,:,::,,:,:,,,:,;:
    12:04:32.187>
    12:04:32.187> ,.::,:,,,,,;;;;;;;;r;;::,..............................;;;:;::::,:::::::,:,:,,,
    12:04:32.187>
    12:04:32.187> : ,,:,,,,,,,,,,,,,:;rrr;;:;,,,,,,,::,.,.:.,.,;s,:;;;;:;:;;;;;::::,:::,:::,:,:,:
    12:04:32.187>
    12:04:32.187> ,.,,,,,,,...,,.,,....................................:,............:,,,:,:,,,,,
    12:04:32.187>
    12:04:32.187>
    12:04:32.187>
    12:04:32.187> Net: <ethaddr> not set. Reading from E-fuse
    12:04:32.187>
    12:04:32.187> Detected MACID:0:18:31:88:37:82
    12:04:32.187>
    12:04:32.187> DaVinci EMAC
    12:04:32.187>
    12:04:35.262> Hit any key to stop autoboot: 0
    12:04:35.262>
    12:04:35.262> raise: Signal # 8 caught
    12:04:35.262>
    12:04:35.262> raise: Signal # 8 caught
    12:04:35.262>
    12:04:35.262> reading boot.scr
    12:04:35.262>
    12:04:35.262>
    12:04:35.262>
    12:04:35.262> 343 bytes read
    12:04:35.262>
    12:04:35.262> Running bootscript from MMC/SD to set the ENV...
    12:04:35.262>
    12:04:35.262> ## Executing script at 80900000
    12:04:35.262>
    12:04:35.262> raise: Signal # 8 caught
    12:04:35.262>
    12:04:35.642> raise: Signal # 8 caught
    12:04:35.642>
    12:04:35.642> reading uImage
    12:04:35.642>
    12:04:37.465>
    12:04:37.465>
    12:04:37.465> 2562948 bytes read
    12:04:37.465>
    12:04:37.465> ## Booting kernel from Legacy Image at 81000000 ...
    12:04:37.465>
    12:04:37.465> Image Name: Linux-2.6.37
    12:04:37.465>
    12:04:37.465> Image Type: ARM Linux Kernel Image (uncompressed)
    12:04:37.465>
    12:04:37.465> Data Size: 2562884 Bytes = 2.4 MiB
    12:04:37.465>
    12:04:37.465> Load Address: 80008000
    12:04:37.465>
    12:04:37.465> Entry Point: 80008000
    12:04:37.465>
    12:04:38.266> Verifying Checksum ... OK
    12:04:38.266>
    12:04:39.768> Loading Kernel Image ... OK
    12:04:39.768>
    12:04:39.768> OK
    12:04:39.768>
    12:04:39.768>
    12:04:39.768>
    12:04:39.768> Starting kernel ...
    12:04:39.768>
    12:04:39.768>
    12:04:39.768>
    12:04:40.069> Uncompressing Linux... done, booting the kernel.
    12:04:40.069>
    12:04:40.139> Linux version 2.6.37 (vard@svn) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #2 Thu Jan 17 15:21:30 MSK 2013
    12:04:40.139>
    12:04:40.139>
    12:04:40.139> CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
    12:04:40.139>
    12:04:40.139>
    12:04:40.139> CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    12:04:40.139>
    12:04:40.139>
    12:04:40.139> Machine: ti8168evm
    12:04:40.139>
    12:04:40.139>
    12:04:40.139> bootconsole [earlycon0] enabled
    12:04:40.139>
    12:04:40.139>
    12:04:40.139> reserved size = 52428800 at 0x0
    12:04:40.139>
    12:04:40.139>
    12:04:40.139> FB: Reserving 52428800 bytes SDRAM for VRAM
    12:04:40.139>
    12:04:40.139>
    12:04:40.139> Memory policy: ECC disabled, Data cache writeback
    12:04:40.139>
    12:04:40.139>
    12:04:40.139> OMAP chip is TI8168 2.0
    12:04:40.139>
    12:04:40.139>
    12:04:40.880> Built 1 zonelists in Zone order, mobility grouping on. Total pages: 160648
    12:04:40.880>
    12:04:40.880>
    12:04:40.880> Kernel command line: console=ttyO2,115200n8 earlyprintk rootwait root=/dev/mmcblk0p2 rw mem=364M@0x80000000 mem=320M@0x9FC00000 vmalloc=500M notifyk.vpssm3_sva=0xBF900000 ip=off noinitrd
    12:04:40.880>
    12:04:40.880>
    12:04:40.880> PID hash table entries: 2048 (order: 1, 8192 bytes)
    12:04:40.880>
    12:04:40.880>
    12:04:40.880> Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    12:04:40.880>
    12:04:40.880>
    12:04:40.880> Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    12:04:40.880>
    12:04:40.880>
    12:04:40.880> Memory: 364MB 270MB = 634MB total
    12:04:40.880>
    12:04:40.880>
    12:04:40.880> Memory: 637816k/637816k available, 62600k reserved, 276480K highmem
    12:04:40.880>
    12:04:40.880>
    12:04:40.880> Virtual kernel memory layout:
    12:04:40.880>
    12:04:40.880>
    12:04:40.880> vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    12:04:40.880>
    12:04:40.880>
    12:04:40.880> fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
    12:04:40.880>
    12:04:40.880>
    12:04:40.880> DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
    12:04:40.880>
    12:04:40.880>
    12:04:40.880> vmalloc : 0xd7000000 - 0xf8000000 ( 528 MB)
    12:04:40.880>
    12:04:40.880>
    12:04:40.880> lowmem : 0xc0000000 - 0xd6c00000 ( 364 MB)
    12:04:40.880>
    12:04:40.880>
    12:04:40.880> pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    12:04:40.880>
    12:04:40.880>
    12:04:40.880> modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    12:04:40.880>
    12:04:40.880>
    12:04:40.880> .init : 0xc0008000 - 0xc003b000 ( 204 kB)
    12:04:40.880>
    12:04:40.880>
    12:04:40.880> .text : 0xc003b000 - 0xc04d8000 (4724 kB)
    12:04:40.880>
    12:04:40.880>
    12:04:40.880> .data : 0xc04d8000 - 0xc0520f00 ( 292 kB)
    12:04:40.880>
    12:04:40.880>
    12:04:40.880> SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    12:04:40.880>
    12:04:40.880>
    12:04:40.880> NR_IRQS:407
    12:04:40.880>
    12:04:40.880>
    12:04:40.880> IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    12:04:40.880>
    12:04:40.880>
    12:04:40.880> Total of 128 interrupts on 1 active controller
    12:04:40.880>
    12:04:40.880>
    12:04:40.880> GPMC revision 6.0
    12:04:40.880>
    12:04:40.880>
    12:04:40.880> Trying to install interrupt handler for IRQ400
    12:04:40.880>
    12:04:40.880>
    12:04:40.880> Trying to install interrupt handler for IRQ401
    12:04:40.880>
    12:04:40.880>
    12:04:40.880> Trying to install interrupt handler for IRQ402
    12:04:40.880>
    12:04:40.880>
    12:04:40.880> Trying to install interrupt handler for IRQ403
    12:04:40.880>
    12:04:40.880>
    12:04:40.880> Trying to install interrupt handler for IRQ404
    12:04:40.880>
    12:04:40.880>
    12:04:40.880> Trying to install interrupt handler for IRQ405
    12:04:40.880>
    12:04:40.880>
    12:04:40.880> Trying to install interrupt handler for IRQ406
    12:04:40.880>
    12:04:40.880>
    12:04:40.880> Trying to install type control for IRQ407
    12:04:40.880>
    12:04:40.880>
    12:04:40.880> Trying to set irq flags for IRQ407
    12:04:40.880>
    12:04:40.880>
    12:04:40.880> OMAP clockevent source: GPTIMER1 at 27000000 Hz
    12:04:40.880>
    12:04:40.880>
    12:04:40.880> Console: colour dummy device 80x30
    12:04:40.880>
    12:04:40.880>
    12:04:40.880> Calibrating delay loop... 986.31 BogoMIPS (lpj=4931584)
    12:04:40.880>
    12:04:40.880>
    12:04:40.880> pid_max: default: 32768 minimum: 301
    12:04:40.880>
    12:04:40.880>
    12:04:40.880> Security Framework initialized
    12:04:40.880>
    12:04:40.880>
    12:04:40.880> Mount-cache hash table entries: 512
    12:04:40.880>
    12:04:40.880>
    12:04:44.425> CPU: Testing write buffer coherency: ok
    12:04:44.425>
    12:04:44.425>
    12:04:44.425> devtmpfs: initialized
    12:04:44.425>
    12:04:44.425>
    12:04:44.425> omap_voltage_early_init: voltage driver support not added
    12:04:44.425>
    12:04:44.425>
    12:04:44.425> regulator: core version 0.5
    12:04:44.425>
    12:04:44.425>
    12:04:44.425> regulator: dummy:
    12:04:44.425>
    12:04:44.425>
    12:04:44.425> NET: Registered protocol family 16
    12:04:44.425>
    12:04:44.425>
    12:04:44.425> omap_voltage_domain_lookup: Voltage driver init not yet happened.Faulting!
    12:04:44.425>
    12:04:44.425>
    12:04:44.425> omap_voltage_add_dev: VDD specified does not exist!
    12:04:44.425>
    12:04:44.425>
    12:04:44.425> OMAP GPIO hardware version 0.1
    12:04:44.425>
    12:04:44.425>
    12:04:44.425> OMAP GPIO hardware version 0.1
    12:04:44.425>
    12:04:44.425>
    12:04:44.425> omap_mux_init: Add partition: #1: core, flags: 0
    12:04:44.425>
    12:04:44.425>
    12:04:44.425> _omap_mux_get_by_name: Could not find signal i2c2_scl.i2c2_scl
    12:04:44.425>
    12:04:44.425>
    12:04:44.425> _omap_mux_get_by_name: Could not find signal i2c2_sda.i2c2_sda
    12:04:44.425>
    12:04:44.425>
    12:04:44.425> NOR: Can't request GPMC CS
    12:04:44.425>
    12:04:44.425>
    12:04:44.425> registered ti816x_gpio_vr device
    12:04:44.425>
    12:04:44.425>
    12:04:44.425> registered ti816x_sr device
    12:04:44.425>
    12:04:44.425>
    12:04:44.425> pm_dbg_init: only OMAP3 supported
    12:04:44.425>
    12:04:44.425>
    12:04:44.425> registered ti81xx_vpss device
    12:04:44.425>
    12:04:44.425>
    12:04:44.425> registered ti81xx_vidout device
    12:04:44.425>
    12:04:44.425>
    12:04:44.425> registered ti81xx on-chip HDMI device
    12:04:44.425>
    12:04:44.425>
    12:04:44.425> registered ti81xx_fb device
    12:04:44.425>
    12:04:44.425>
    12:04:44.425> registered ti81xx_vin device
    12:04:44.425>
    12:04:44.425>
    12:04:44.425> ti81xx_pcie: Invoking PCI BIOS...
    12:04:44.425>
    12:04:44.425>
    12:04:44.425> ti81xx_pcie: Setting up Host Controller...
    12:04:44.425> ti81xx_pcie: Register base mapped @0xd7020000

    Best regards,

    Anton
     

  • Can you try these two things:

    1. Change the DDR3 frequency from 398MHz to 796MHz

    2. Do not interrupt the boot process to enter into u-boot, leave the board to autoboot

    Regards,

    Pavel

  • Unfortunately on my board u-boot doesn't loading and starts at DDR3 frequency 796 MHz. On 675 MHz u-boot starting succesfully, but kernal image don't loading. On frequencies below everything is OK.

     

    Best regards,

    Anton 

  • May be some configuration in your linux kernel is not fine. Can you try with my uImage file: http://e2e.ti.com/cfs-file.ashx/__key/communityserver-discussions-components-files/717/6735.uImage

    This uImage works fine in my DM816x/AM389x EVM from Spectrum Digital. This is the full log file:http://e2e.ti.com/cfs-file.ashx/__key/communityserver-discussions-components-files/717/0310.DM816x_5F00_AM389x_5F00_boot

    Regards,

    Pavel

  • I've tried an image you suggested, unfortunately it has the same effect..

    May it be caused by some DDR interconnection on board  mistakes?

     

    Best regards,

    Anton 

  • Yes, that fact that your board does not work at high frequencies, make me think so.

    Please examine and follow guidelines described here:

    http://processors.wiki.ti.com/index.php/DM816x_C6A816x_AM389x_DDR3_Init

    Also check AM389x datasheet, section 8.3 DDR2/3 Memory Controller

    I hope this will help.

    P.S. Coming to the one of your first questions, NAND seems to work fine on your board.

    Best Regards,

    Pavel

  • Following your advice and using u-boot memory test we discovered that there is small problem RAM region between about 0x80000000 and 0x90000000, it seems like one pin on board DDR connection is connected bad. 

    Best  regards,

     Anton 

  • Is there any way to avoid this region and load Linux? I suggest it's not the best choice, but new receiving new board will take a time. Second RAM bank (0xA0000000-0xC0000000) passed memory test successfully.

    Best regards,

    Anton 

  • I think this can be done, but I have never tested this. Examine the following wiki page:

    http://processors.wiki.ti.com/index.php/EZSDK_Memory_Map

    As now you are in the 512MB case, you should modify the mem parameter in bootargs: mem=176M@0xA0000000

    http://processors.wiki.ti.com/index.php/EZSDK_Memory_Map#Changing_Memory_Map_For_512MB_DM816x_Board

    Regards,

    Pavel

  • Hi, Pavel

    Thanks for your reply! Do I need to make some additional changes in u-boot or linux kernel sources?

    Also could you please check my boot script?

     

    boot.scr: 

    setenv bootargs 'console=ttyO2,115200n8 earlyprintk rootwait root=/dev/mmcblk0p2 mem=176M@0xA0000000'

    setenv bootcmd 'mmc rescan 0; fatload mmc 0 0x81000000 uImage; bootm 0x81000000'

    boot

      

    Best regards,

    Anton 

  • Hi Anton,

    In boot args should be added:

    vmalloc=500M  notifyk.vpssm3_sva=0xBF900000  ip=off noinitrd

    Also, modify DMM_LISA_MAP__x registers in u-boot (in file $(EZSDK_ROOT)/board-support/u-boot-<REL-TAG>/board/<ti8168>/ti/evm.c)

    /* Program the DMM to for 512MB (non-interleaved) configuration */
    __raw_writel(0x0, DMM_LISA_MAP__0); /* Register 0 is unused */
    __raw_writel(0x0, DMM_LISA_MAP__1); /* Register 1 is unused */
    __raw_writel(0x0, DMM_LISA_MAP__2); /* Register 2 is unused */
    __raw_writel(0xA0540200, DMM_LISA_MAP__3); /* Register 3 maps 0xA0000000 to 0x00000000, length 512MB, mapped on SDRC1 only, not interleaved */

    Change location of IPC_SR_FRAME_BUFFERS to 0xAB000000. This change needs to be done in the firmware loader input file. Update the system_addr and slave_virtual_addr values for IPC_SR_FRAME_BUFFERS from 0xB3D00000 to 0xAB000000 in the source memsegdef_default.c ($(EZSDK_ROOT)/board-support/media-controller-utils_<REL-TAG>/src/firmware_loader). Rebuild the firmware loader and copy the generated firmware loader in the target filesystem ($(EZSDK_ROOT)/filesys/usr/bin)
    Regards,
    Pavel
  • Hi Pavel,

    I have one question about firmware loader. 

    I've changed firmware loader sources, following guide you've linked, then I've built firmware loader and put file (($(EZSDK_ROOT)/board-support/media-controller-utils_<REL-TAG>/lib/bin/ti816x_evm/firmware_loader_a8host_debug.xv5t) to  ($(MY_TARGET_FS)/usr/bin) then tar and gzip -> nfs.tar.gz. Am I right?

    Best regards,

    Anton 

  • Hi Anton,

    No, I do not think you need to tar and zip the newly generated firmware_loader_a8host_debug.xv5t file.

    If you are using Network file system (NFS), then the {EZSDK}/setup.sh script will create target file system in ${HOME}/tagetfs. And you need to place the firmware_loader_a8host_debug.xv5t (before that, rename it to firmware_loader, thus you will replace the old firmware_loader with the new one) in ${HOME}/tagetfs/usr/bin

    For more info about the setup.sh and /targetfs, see {EZSDK}/docs/DM816x_EZ_Software_Developers_Guide.pdf, section 2.1 Setting up the EZ SDK

    Regards,

    Pavel

  • Hi Pavel,

    Unfortunately I still didn't manege to run linux on single RAM bank.

    But, I've managed to receive new board. It's very interesting that I have problems with RAM on region 0x80600000 - 0x80800000. U-boot mem test stucks on it. We have an idea that u-boot itself lays in this RAM region, so performing RAM test u-boot kills itself buy rewriting his own RAM, is it possible?

    Best regards,

    Anton 

  • Hi Anton,

    Yes, this is possible.

    http://processors.wiki.ti.com/index.php/TI81XX_PSP_U-Boot#U-Boot

    Note
    To avoid over-writing U-Boot when it is executing make sure that an address greater than 0x80800000 is used when downloading the kernel and/or filesystem images

    Regards,

    Pavel

  • Little feedback.  

    Following the guide on this page

    http://processors.wiki.ti.com/index.php/DM816x_C6A816x_AM389x_DDR3_Init 

    We run memory tests as said under article "Run mtest"

    TI8168_EVM# mtest 0x80000000 0xA0000000 0xaa55aa55 3 (referred as Test A)
    TI8168_EVM# mtest 0xA0000000 0xC0000000 0xaa55aa55 3 (referred as Test B)

    But if first test really stucks on u-boot region under 0x80800000 and it is normal behavior, then it means that this article misleading a bit. Because in that case during test device falls and you think "God, I have problem with RAM" 

     

    Best regards,

    Anton 

  • Anton,

    The same behaviour is observed on my DM816x/AM389x EVM. I will report this to the wiki page owner. Thanks for the remark.

    Regards,

    Pavel

  • Hi Pavel,

    We've managed to solve this linux kernel stuck by switching off PCI support in linux kernel configuration. We haven't got PCI on our custom board. 

     

    Best regards,

    Anton 

  • Hi again,

    Our Linux kernel loading still stucks I'm trying to configurate linux kernel according to my board, hope it would help to avoid kernel loading stucking.

    Should I additionally build something, if I rebuild linux kernel? Syslink or something maybe?

    Best regards,
    Anton

  • Anton,

    At which line the kernel loading stuck? Please provide the full log.

    Meanwhile you can check these wiki pages, to see if you miss something:

    http://processors.wiki.ti.com/index.php/TI81XX_PSP_User_Guide#Booting_Linux_Kernel

    http://processors.wiki.ti.com/index.php/TI81XX_PSP_User_Guide#Linux_Kernel

    If you rebuild the linux kernel, you may face some version misalignment issues.

    Other thing you can try is to re-build all, thus we will be sure there is no version misalignment between the kernel and the modules.

    :~/ti-ezsdk_dm816x-evm_5_05_01_04$ make all  - rebuild everything

    :~/ti-ezsdk_dm816x-evm_5_05_01_04$ make install  - install the new firmware and modules in the root filesystem, if you are using SD card, make sure you install the new stuff in /media/ROOTFS

    Use the newly generated first/second stage bootloader and kernel (uImage) to boot the board.

    Regards,

    Pavel

  • Hi, Pavel

    Here is two terminal logs.

    1st log is for linux kernel configuration which differs from default EVM config by switched off PCI Support. In the end the booting stucks in "infinite loop"  with line "Phy Addr : 0x48180600 Data : 0x00000002". I think it's because we use not the same Ethernet PHY as OMAP. 

    2nd log is  for linux kernel configuration which differs from default EVM config by switched off PCI Support, and switched off Network support. Switched off network support leads to solving infinite loop.

    PCI support provides boards to stuck linux kernel booting process on pci-e lines.

     

    Could you provide absolutely minimum linux kernel config file, but enough to load linux?

    Also could you provide a guide about how to install modules to  /media/ROOTFS? I only know how to install syslink..

     

    1st log

    U-Boot 2010.06 (Jan 18 2013 - 15:36:31)

    DRAM: 2 GiB
    MMC: OMAP SD/MMC: 0
    Using default environment

    Hit any key to stop autoboot: 0
    raise: Signal # 8 caught
    reading u-boot.bin

    185068 bytes read
    ## Starting application at 0x80800000 ...


    U-Boot 2010.06 (Jan 18 2013 - 15:42:00)

    TI8168-GP rev 2.0

    ARM clk: 987MHz
    DDR clk: 531MHz

    I2C: ready
    DRAM: 2 GiB
    NAND: HW ECC BCH8 Selected
    512 MiB
    MMC: OMAP SD/MMC: 0
    raise: Signal # 8 caught
    *** Warning - bad CRC or MMC, using default environment

    :,;;:;:;;;;;;;;r;;:,;;:;:;;;;;;;;:,;;:;:;;;;;;;;:,;;:;:;;;;;;;;:;;;;;;;;:,;;:;:
    ;,;:::;;;;r;;;rssiSiS552X5252525259GX2X9hX9X9XX2325S55252i5:,;;:;:;;;;;;;;:,;;:
    ;:;;;;;;;rrssSsS52S22h52299GGAAMHMM#BBH#B#HMM#HMBA&&XX2255S2S5Si:,;;:;:;;;;;;;;
    ;:;;r;;rsrrriiXS5S329&A&MH#BMB#A&9XXA252GXiSXX39AAMMMBB&G22S5i2SSiiiisi:,;;:;:;
    ;;;;;r;rr2iisiih393HB#B#AA99i22irrrX3X52AGsisss2Xii2299HBMA&X2S5S5iSiisSsi:,;;:
    r:r;rrsrsihXSi2&##MHB&Ahh3AGHGA9G9h&#H##@@@##MAMMXXX9SSS29&&HGGX2i5iisiiisisi:,
    ;;rrrrsSiiiA&ABH&A9GAGhAhBAMHA9HM@@@@@@@@@@@@@@@@@@@HHhAh2S2SX9&Gh22SSiisiiisii
    r:rrssisiS2XM##&h3AGAX&3GG3Ssr5H@M#HM2; ;2X&&&MHMB###GBB#B&XXSSs529XX55iSsisisi
    r;rsrisSi2XHAhX99A3XXG&&XS;:,rH#HGhAS @@@@3rs2XBM@@A552&&AHA2XiisSS252SSsisSs
    r;issi5S22&&3iSSX292&hXsr;;:;h@&G339&S9@@@@2@MA&9&HB##Xris29ABMAAX2ir;rsSi5iss5
    rrsSi2XhG&9GXh399&X99i;;;;;;r#H&293H9X#@@@@@@@B&9GhAH@XrrsrsiXABHB&HG2rr;rrSiSi
    ;:rsisS599&AA9XG&3A35r;:::;,;BMh&&2iX5A@@@@@@@&392X5GB2;;;r;iSX393A##A&Xi:::rsi
    ;:rss552222X553&XHMhir;;::,:,h#HhGSXhG3#@@@@#AXXS2XAHA;::;;;;ss55XShBA3239r:,;;
    r;ii2S5SSi2i53hirsh2srr::,,,,;MMXX359&Ah3h&Si59SX99A#i:,::::;;sri2,.2r;:SGAr;,:
    ;:;rrrrssiriXGSi::shs;;;,,,:,,rBBA9h5s5h5iS5isi2SAHB5:,,,:::;rrs5&SrisSX5Srrr:,
    ;,r;;;;rsriSSrrrr;;5Xrr;;,:,,.,;9AA2SsisS5323XXXG9&i:.,,::;;r;;;srrrrrr;;:;::::
    :,;r;r;rrissrrr;:;::;s;;;;,:,,..,r293h222hXXAAGGGX;:,,,:,:,::;:;::,:,,,,...,,,,
    ;,;;;;rrrrrrrrirr;,.,,:::::::,,,,.,;SX&ABAB2hhXir:,,.,,.,,:,,,,..,,,..,..,,,..:
    :.:;:;;;:;;;;r;rrs;:.. ,,:::::,:,:,,.::rrsrr;;,,.......,..,....,,,,,,,...,.,,:,
    :.:::,::::::;;r;rrr;:.......,.,.,,:::,,...............,,::.,,,,:,::,,:,:,,,:,;:
    ,.::,:,,,,,;;;;;;;;r;;::,..............................;;;:;::::,:::::::,:,:,,,
    : ,,:,,,,,,,,,,,,,:;rrr;;:;,,,,,,,::,.,.:.,.,;s,:;;;;:;:;;;;;::::,:::,:::,:,:,:
    ,.,,,,,,,...,,.,,....................................:,............:,,,:,:,,,,,

    Net: <ethaddr> not set. Reading from E-fuse
    Detected MACID:0:18:31:88:37:82
    DaVinci EMAC
    Hit any key to stop autoboot: 3 2 1 0
    raise: Signal # 8 caught
    raise: Signal # 8 caught
    reading boot.scr

    343 bytes read
    Running bootscript from MMC/SD to set the ENV...
    ## Executing script at 80900000
    raise: Signal # 8 caught
    raise: Signal # 8 caught
    reading uImage

    2492328 bytes read
    ## Booting kernel from Legacy Image at 81000000 ...
    Image Name: Linux-2.6.37
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 2492264 Bytes = 2.4 MiB
    Load Address: 80008000
    Entry Point: 80008000
    Verifying Checksum ... OK
    Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.
    Linux version 2.6.37 (vard@svn) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #33 Wed Jan 30 09:52:23 MSK 2013

    CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f

    CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache

    Machine: ti8168evm

    bootconsole [earlycon0] enabled

    reserved size = 52428800 at 0x0

    FB: Reserving 52428800 bytes SDRAM for VRAM

    Memory policy: ECC disabled, Data cache writeback

    OMAP chip is TI8168 2.0

    Built 1 zonelists in Zone order, mobility grouping on. Total pages: 160648

    Kernel command line: console=ttyO2,115200n8 earlyprintk rootwait root=/dev/mmcblk0p2 rw mem=364M@0x80000000 mem=320M@0x9FC00000 vmalloc=500M notifyk.vpssm3_sva=0xBF900000 ip=off noinitrd

    PID hash table entries: 2048 (order: 1, 8192 bytes)

    Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)

    Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)

    Memory: 364MB 270MB = 634MB total

    Memory: 637980k/637980k available, 62436k reserved, 276480K highmem

    Virtual kernel memory layout:

    vector : 0xffff0000 - 0xffff1000 ( 4 kB)

    fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)

    DMA : 0xffc00000 - 0xffe00000 ( 2 MB)

    vmalloc : 0xd7000000 - 0xf8000000 ( 528 MB)

    lowmem : 0xc0000000 - 0xd6c00000 ( 364 MB)

    pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)

    modules : 0xbf000000 - 0xbfe00000 ( 14 MB)

    .init : 0xc0008000 - 0xc003a000 ( 200 kB)

    .text : 0xc003a000 - 0xc04b3000 (4580 kB)

    .data : 0xc04b4000 - 0xc04f8c00 ( 275 kB)

    SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1

    NR_IRQS:375

    IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts

    Total of 128 interrupts on 1 active controller

    GPMC revision 6.0

    Trying to install interrupt handler for IRQ368

    Trying to install interrupt handler for IRQ369

    Trying to install interrupt handler for IRQ370

    Trying to install interrupt handler for IRQ371

    Trying to install interrupt handler for IRQ372

    Trying to install interrupt handler for IRQ373

    Trying to install interrupt handler for IRQ374

    Trying to install type control for IRQ375

    Trying to set irq flags for IRQ375

    OMAP clockevent source: GPTIMER1 at 27000000 Hz

    Console: colour dummy device 80x30

    Calibrating delay loop... 986.31 BogoMIPS (lpj=4931584)

    pid_max: default: 32768 minimum: 301

    Security Framework initialized

    Mount-cache hash table entries: 512

    CPU: Testing write buffer coherency: ok

    devtmpfs: initialized

    omap_voltage_early_init: voltage driver support not added

    regulator: core version 0.5

    regulator: dummy:

    NET: Registered protocol family 16

    omap_voltage_domain_lookup: Voltage driver init not yet happened.Faulting!

    omap_voltage_add_dev: VDD specified does not exist!

    OMAP GPIO hardware version 0.1

    OMAP GPIO hardware version 0.1

    omap_mux_init: Add partition: #1: core, flags: 0

    _omap_mux_get_by_name: Could not find signal i2c2_scl.i2c2_scl

    _omap_mux_get_by_name: Could not find signal i2c2_sda.i2c2_sda

    NOR: Can't request GPMC CS

    registered ti816x_gpio_vr device

    registered ti816x_sr device

    pm_dbg_init: only OMAP3 supported

    registered ti81xx_vpss device

    registered ti81xx_vidout device

    registered ti81xx on-chip HDMI device

    registered ti81xx_fb device

    registered ti81xx_vin device

    bio: create slab <bio-0> at 0

    regulator: VFB: 800 <--> 1025 mV at 800 mV

    SCSI subsystem initialized

    usbcore: registered new interface driver usbfs

    usbcore: registered new interface driver hub

    usbcore: registered new device driver usb

    USBSS revision 4ea20809

    registerd cppi-dma Intr @ IRQ 17

    Cppi41 Init Done

    omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz

    omap_i2c omap_i2c.2: bus 2 rev4.0 at 100 kHz

    Advanced Linux Sound Architecture Driver Version 1.0.23.

    Switching to clocksource gp timer

    musb-hdrc: version 6.0, host, debug=0

    musb-hdrc musb-hdrc.0: dma type: dma-cppi41

    MUSB controller-0 revision 4ea20800

    musb-hdrc musb-hdrc.0: MUSB HDRC host driver

    musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1

    usb usb1: New USB device found, idVendor=1d6b, idProduct=0002

    usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

    usb usb1: Product: MUSB HDRC host driver

    usb usb1: Manufacturer: Linux 2.6.37 musb-hcd

    usb usb1: SerialNumber: musb-hdrc.0

    hub 1-0:1.0: USB hub found

    hub 1-0:1.0: 1 port detected

    musb-hdrc musb-hdrc.0: USB Host mode controller at d701e000 using DMA, IRQ 18

    musb-hdrc musb-hdrc.1: dma typ0x00000cee0000-0x000020000000 : "Reserved"
    davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    davinci_mdio davinci_mdio.0: detected phy mask ffffff7f
    davinci_mdio.0: probed
    davinci_mdio davinci_mdio.0: phy[7]: device 0:07, driver unknown
    usbcore: registered new interface driver cdc_ether
    usbcore: registered new interface driver dm9601
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    mice: PS/2 mouse device common for all mice
    omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
    i2c /dev entries driver
    Linux video capture interface: v2.00
    usbcore: registered new interface driver uvcvideo
    USB Video Class driver (v1.0.0)
    OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec
    ata2: SATA link down (SStatus 0 SControl 300)
    ata1: SATA link down (SStatus 0 SControl 300)
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    notify_init : notify drivercreated for remote proc id 2 at physical Address 0xbf900000
    usbcore: registered new interface driver snd-usb-audio
    asoc: tlv320aic3x-hifi <-> davinci-mcasp.2 mapping ok
    ALSA device list:
    #0: TI81XX EVM
    TCP cubic registered
    NET: Registered protocol family 17
    VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    omap_voltage_late_init: Voltage driver support not added
    Power Management for TI81XX.
    smartreflex smartreflex: Driver initialized
    omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    Waiting for root device /dev/mmcblk0p2...
    mmc0: new high speed SDHC card at address b368
    mmcblk0: mmc0:b368 USD 3.72 GiB
    mmcblk0: p1 p2
    EXT3-fs: barriers not enabled
    kjournald starting. Commit interval 5 seconds
    EXT3-fs (mmcblk0p2): using internal journal
    EXT3-fs (mmcblk0p2): recovery complete
    EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode
    VFS: Mounted root (ext3 filesystem) on device 179:2.
    devtmpfs: mounted
    Freeing init memory: 200K

    INIT: version 2.86 booting

    Please wait: booting...
    Error opening /dev/fb0: No such file or directory
    Starting udev
    udevd (76): /proc/76/oom_adj is deprecated, please use /proc/76/oom_score_adj instead.
    Remounting root file system...
    Caching udev devnodes
    /etc/init.d/rc: eval: line 1: syntax error: "(" unexpected
    ALSA: Restoring mixer settings...
    Configuring network interfaces... No state is present for card EVM
    Found hardware: "" "" "" "" ""
    Hardware is initialized using a generic method
    No state is present for card EVM
    PHY 0:01 not found
    net eth0: could not connect to phy 0:01
    udhcpc (v1.13.2) started
    Sending discover...
    Sending discover...
    Sending discover...
    No lease, forking to background
    done.
    Setting up IP spoofing protection: rp_filter.
    Sun Apr 29 22:50:00 UTC 2012

    INIT: Entering runlevel: 5

    Loading HDVICP2 Firmware
    DM816X prcm_config_app version: 2.0.0.1
    Doing PRCM settings...
    PRCM for IVHD0 is in Progress, Please wait.....
    BW Phy Addr : 0x48180600 Data : 0x00000002
    AW Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180c04 Data : 0x00000037
    BW Phy Addr : 0x48180620 Data : 0x00070000
    AW Phy Addr : 0x48180620 Data : 0x00070002
    BW Phy Addr : 0x48180624 Data : 0x00030000
    AW Phy Addr : 0x48180624 Data : 0x00030002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data : 0x00000002
    Phy Addr : 0x48180600 Data

    2nd log 

    U-Boot 2010.06 (Jan 18 2013 - 15:36:31)

    DRAM: 2 GiB
    MMC: OMAP SD/MMC: 0
    Using default environment

    Hit any key to stop autoboot: 0
    raise: Signal # 8 caught
    reading u-boot.bin

    185068 bytes read
    ## Starting application at 0x80800000 ...


    U-Boot 2010.06 (Jan 18 2013 - 15:42:00)

    TI8168-GP rev 2.0

    ARM clk: 987MHz
    DDR clk: 531MHz

    I2C: ready
    DRAM: 2 GiB
    NAND: HW ECC BCH8 Selected
    512 MiB
    MMC: OMAP SD/MMC: 0
    raise: Signal # 8 caught
    *** Warning - bad CRC or MMC, using default environment

    :,;;:;:;;;;;;;;r;;:,;;:;:;;;;;;;;:,;;:;:;;;;;;;;:,;;:;:;;;;;;;;:;;;;;;;;:,;;:;:
    ;,;:::;;;;r;;;rssiSiS552X5252525259GX2X9hX9X9XX2325S55252i5:,;;:;:;;;;;;;;:,;;:
    ;:;;;;;;;rrssSsS52S22h52299GGAAMHMM#BBH#B#HMM#HMBA&&XX2255S2S5Si:,;;:;:;;;;;;;;
    ;:;;r;;rsrrriiXS5S329&A&MH#BMB#A&9XXA252GXiSXX39AAMMMBB&G22S5i2SSiiiisi:,;;:;:;
    ;;;;;r;rr2iisiih393HB#B#AA99i22irrrX3X52AGsisss2Xii2299HBMA&X2S5S5iSiisSsi:,;;:
    r:r;rrsrsihXSi2&##MHB&Ahh3AGHGA9G9h&#H##@@@##MAMMXXX9SSS29&&HGGX2i5iisiiisisi:,
    ;;rrrrsSiiiA&ABH&A9GAGhAhBAMHA9HM@@@@@@@@@@@@@@@@@@@HHhAh2S2SX9&Gh22SSiisiiisii
    r:rrssisiS2XM##&h3AGAX&3GG3Ssr5H@M#HM2; ;2X&&&MHMB###GBB#B&XXSSs529XX55iSsisisi
    r;rsrisSi2XHAhX99A3XXG&&XS;:,rH#HGhAS @@@@3rs2XBM@@A552&&AHA2XiisSS252SSsisSs
    r;issi5S22&&3iSSX292&hXsr;;:;h@&G339&S9@@@@2@MA&9&HB##Xris29ABMAAX2ir;rsSi5iss5
    rrsSi2XhG&9GXh399&X99i;;;;;;r#H&293H9X#@@@@@@@B&9GhAH@XrrsrsiXABHB&HG2rr;rrSiSi
    ;:rsisS599&AA9XG&3A35r;:::;,;BMh&&2iX5A@@@@@@@&392X5GB2;;;r;iSX393A##A&Xi:::rsi
    ;:rss552222X553&XHMhir;;::,:,h#HhGSXhG3#@@@@#AXXS2XAHA;::;;;;ss55XShBA3239r:,;;
    r;ii2S5SSi2i53hirsh2srr::,,,,;MMXX359&Ah3h&Si59SX99A#i:,::::;;sri2,.2r;:SGAr;,:
    ;:;rrrrssiriXGSi::shs;;;,,,:,,rBBA9h5s5h5iS5isi2SAHB5:,,,:::;rrs5&SrisSX5Srrr:,
    ;,r;;;;rsriSSrrrr;;5Xrr;;,:,,.,;9AA2SsisS5323XXXG9&i:.,,::;;r;;;srrrrrr;;:;::::
    :,;r;r;rrissrrr;:;::;s;;;;,:,,..,r293h222hXXAAGGGX;:,,,:,:,::;:;::,:,,,,...,,,,
    ;,;;;;rrrrrrrrirr;,.,,:::::::,,,,.,;SX&ABAB2hhXir:,,.,,.,,:,,,,..,,,..,..,,,..:
    :.:;:;;;:;;;;r;rrs;:.. ,,:::::,:,:,,.::rrsrr;;,,.......,..,....,,,,,,,...,.,,:,
    :.:::,::::::;;r;rrr;:.......,.,.,,:::,,...............,,::.,,,,:,::,,:,:,,,:,;:
    ,.::,:,,,,,;;;;;;;;r;;::,..............................;;;:;::::,:::::::,:,:,,,
    : ,,:,,,,,,,,,,,,,:;rrr;;:;,,,,,,,::,.,.:.,.,;s,:;;;;:;:;;;;;::::,:::,:::,:,:,:
    ,.,,,,,,,...,,.,,....................................:,............:,,,:,:,,,,,

    Net: <ethaddr> not set. Reading from E-fuse
    Detected MACID:0:18:31:88:37:82
    DaVinci EMAC
    Hit any key to stop autoboot: 3 2 1 0
    raise: Signal # 8 caught
    raise: Signal # 8 caught
    reading boot.scr

    343 bytes read
    Running bootscript from MMC/SD to set the ENV...
    ## Executing script at 80900000
    raise: Signal # 8 caught
    raise: Signal # 8 caught
    reading uImage

    1987408 bytes read
    ## Booting kernel from Legacy Image at 81000000 ...
    Image Name: Linux-2.6.37
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 1987344 Bytes = 1.9 MiB
    Load Address: 80008000
    Entry Point: 80008000
    Verifying Checksum ... OK
    Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.
    Linux version 2.6.37 (vard@svn) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #35 Wed Jan 30 11:23:37 MSK 2013

    CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f

    CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache

    Machine: ti8168evm

    bootconsole [earlycon0] enabled

    reserved size = 52428800 at 0x0

    FB: Reserving 52428800 bytes SDRAM for VRAM

    Memory policy: ECC disabled, Data cache writeback

    OMAP chip is TI8168 2.0

    Built 1 zonelists in Zone order, mobility grouping on. Total pages: 160648

    Kernel command line: console=ttyO2,115200n8 earlyprintk rootwait root=/dev/mmcblk0p2 rw mem=364M@0x80000000 mem=320M@0x9FC00000 vmalloc=500M notifyk.vpssm3_sva=0xBF900000 ip=off noinitrd

    PID hash table entries: 2048 (order: 1, 8192 bytes)

    Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)

    Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)

    Memory: 364MB 270MB = 634MB total

    Memory: 638984k/638984k available, 61432k reserved, 276480K highmem

    Virtual kernel memory layout:

    vector : 0xffff0000 - 0xffff1000 ( 4 kB)

    fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)

    DMA : 0xffc00000 - 0xffe00000 ( 2 MB)

    vmalloc : 0xd7000000 - 0xf8000000 ( 528 MB)

    lowmem : 0xc0000000 - 0xd6c00000 ( 364 MB)

    pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)

    modules : 0xbf000000 - 0xbfe00000 ( 14 MB)

    .init : 0xc0008000 - 0xc0034000 ( 176 kB)

    .text : 0xc0034000 - 0xc03c3000 (3644 kB)

    .data : 0xc03c4000 - 0xc0402a80 ( 251 kB)

    SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1

    NR_IRQS:375

    IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts

    Total of 128 interrupts on 1 active controller

    GPMC revision 6.0

    Trying to install interrupt handler for IRQ368

    Trying to install interrupt handler for IRQ369

    Trying to install interrupt handler for IRQ370

    Trying to install interrupt handler for IRQ371

    Trying to install interrupt handler for IRQ372

    Trying to install interrupt handler for IRQ373

    Trying to install interrupt handler for IRQ374

    Trying to install type control for IRQ375

    Trying to set irq flags for IRQ375

    OMAP clockevent source: GPTIMER1 at 27000000 Hz

    Console: colour dummy device 80x30

    Calibrating delay loop... 986.31 BogoMIPS (lpj=4931584)

    pid_max: default: 32768 minimum: 301

    Security Framework initialized

    Mount-cache hash table entries: 512

    CPU: Testing write buffer coherency: ok

    devtmpfs: initialized

    omap_voltage_early_init: voltage driver support not added

    regulator: core version 0.5

    regulator: dummy:

    omap_voltage_domain_lookup: Voltage driver init not yet happened.Faulting!

    omap_voltage_add_dev: VDD specified does not exist!

    OMAP GPIO hardware version 0.1

    OMAP GPIO hardware version 0.1

    omap_mux_init: Add partition: #1: core, flags: 0

    _omap_mux_get_by_name: Could not find signal i2c2_scl.i2c2_scl

    _omap_mux_get_by_name: Could not find signal i2c2_sda.i2c2_sda

    NOR: Can't request GPMC CS

    registered ti816x_gpio_vr device

    registered ti816x_sr device

    pm_dbg_init: only OMAP3 supported

    registered ti81xx_vpss device

    registered ti81xx_vidout device

    registered ti81xx on-chip HDMI device

    registered ti81xx_fb device

    registered ti81xx_vin device

    bio: create slab <bio-0> at 0

    regulator: VFB: 800 <--> 1025 mV at 800 mV

    SCSI subsystem initialized

    usbcore: registered new interface driver usbfs

    usbcore: registered new interface driver hub

    usbcore: registered new device driver usb

    USBSS revision 4ea20809

    registerd cppi-dma Intr @ IRQ 17

    Cppi41 Init Done

    omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz

    omap_i2c omap_i2c.2: bus 2 rev4.0 at 100 kHz

    Advanced Linux Sound Architecture Driver Version 1.0.23.

    Switching to clocksource gp timer

    musb-hdrc: version 6.0, host, debug=0

    musb-hdrc musb-hdrc.0: dma type: dma-cppi41

    MUSB controller-0 revision 4ea20800

    musb-hdrc musb-hdrc.0: MUSB HDRC host d

    musb-hdrc musb-hdrc.0: USB Host mode controller at d701e000 using DMA, IRQ 18

    musb-hdrc musb-hdrc.1: dma type: dma-cppi41

    MUSB controller-1 revision 4ea20800

    musb-hdrc musb-hdrc.1: MUSB HDRC host driver

    musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2

    usb usb2: New USB device found, idVendor=1d6b, idProduct=0002

    usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1

    usb usb2: Product: MUSB HDRC host driver

    usb usb2: Manufacturer: Linux 2.6.37 musb-hcd

    usb usb2: SerialNumber: musb-hdrc.1

    hub 2-0:1.0: USB hub found

    hub 2-0:1.0: 1 port detected

    musb-hdrc musb-hdrc.1: USB Host mode controller at d7028800 using DMA, IRQ 19

    NetWinder Floating Point Emulator V0.97 (double precision)

    PMU: registered new PMU device of type 0

    omap-iommu omap-iommu.0: ducati registered

    omap-iommu omap-iommu.1: sys registered

    highmem bounce pool size: 64 pages

    JFFS2 version 2.2. (NAND) В© 2001-2006 Red Hat, Inc.

    msgmni has been set to 708

    io scheduler noop registered

    io scheduler deadline registered

    io scheduler cfq registered (default)

    Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled

    omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0

    omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1

    omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2

    console [ttyO2] enabled, bootconsole disabled
    console [ttyO2] enabled, bootconsole disabled

    brd: module loaded
    loop: module loaded
    ahci ahci.0: forcing PORTS_IMPL to 0x3
    ahci ahci.0: AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl platform mode
    ahci ahci.0: flags: ncq sntf pm led clo only pmp pio slum part ccc
    scsi0 : ahci_platform
    scsi1 : ahci_platform
    ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x100 irq 16
    ata2: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x180 irq 16
    m25p80 spi1.0: found m25p05-nonjedec, expected m25p80
    m25p80 spi1.0: m25p05-nonjedec (64 Kbytes)
    Creating 4 MTD partitions on "spi_flash":
    0x000000000000-0x00000kjournald starting. Commit interval 5 seconds
    EXT3-fs (mmcblk0p2): using internal journal
    EXT3-fs (mmcblk0p2): recovery complete
    EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode
    VFS: Mounted root (ext3 filesystem) on device 179:2.
    devtmpfs: mounted
    Freeing init memory: 176K

    INIT: version 2.86 booting

    Please wait: booting...
    Error opening /dev/fb0: No such file or directory
    Starting udev
    error initializing control socketRemounting root file system...
    Caching udev devnodes
    /etc/init.d/rc: eval: line 1: syntax error: "(" unexpected
    /etc/volatile.cache: line 1: : not found
    /etc/volatile.cache: line 2: 0•еSг: not found
    /etc/volatile.cache: line 2:  гр‡Ѕир: not found
    /etc/volatile.cache: line 3: —е@ г: not found
    /etc/volatile.cache: line 4: 0•еSг: not found
    /etc/volatile.cache: line 5: •еgіюл гр‡ЅиА•ег: not found
    /etc/volatile.cache: line 7:  біюлАPвµяя: not found
    /etc/volatile.cache: line 7: •еА…еVбљЊа0 бЃв0‚еVб0‚е‚е ‚вшяяЉ2 б г0Cв0Њаѓе•е •е: not found
    /etc/volatile.cache: line 7: 0•е б0ѓа: not found
    /etc/volatile.cache: line 8: Жяякр: not found
    /etc/volatile.cache: line 9: : not found
    /etc/volatile.cache: line 10: Sг: not found
    /etc/volatile.cache: line 11: гP: not found
    /etc/volatile.cache: line 12: Qг: not found
    /etc/volatile.cache: line 13: Qг: not found
    /etc/volatile.cache: line 14: syntax error: "(" unexpected
    ALSA: Restoring mixer settings...
    Configuring network interfaces... /usr/sbin/alsactl: load_state:1625: No soundcards found...
    ifconfig: socket: Function not implemented
    ifup: can't open '/var/run/ifstate': No such file or directory
    done.
    Setting up IP spoofing protection: FAILED.
    hwclock: can't open '/dev/misc/rtc': No such file or directory
    Sun Apr 29 22:50:00 UTC 2012
    hwclock: can't open '/dev/misc/rtc': No such file or directory
    SysLink version : 2.10.03.20
    SysLink module created on Date:Jan 28 2013 Time:14:26:51

    Best regards,

    Anton 

  • Anton,

    Regarding 1st log : The boot process stuck in the firmware loader phase, I do not see anything related to the Ethernet there (only PRCM registers settings). Here is the normal flow:

    Loading HDVICP2 Firmware
    DM816X prcm_config_app version: 2.0.0.1
    Doing PRCM settings...
        PRCM for IVHD0 is in Progress, Please wait.....  
                BW Phy Addr : 0x48180600 Data : 0x00000002
                AW Phy Addr : 0x48180600 Data : 0x00000002
                Phy Addr : 0x48180c04 Data : 0x00000037
                BW Phy Addr : 0x48180620 Data : 0x00070000
                AW Phy Addr : 0x48180620 Data : 0x00070002
                BW Phy Addr : 0x48180624 Data : 0x00030000
                AW Phy Addr : 0x48180624 Data : 0x00010002
                Phy Addr : 0x48180600 Data : 0x00000102
                BW Phy Addr : 0x48180c10 Data : 0x00000007
                AW Phy Addr : 0x48180c10 Data : 0x00000003
                Phy Addr : 0x48180c14 Data : 0x00000004
                BW Phy Addr : 0x58088000 Data : 0xa4d3c1ae
                AW Phy Addr : 0x58088000 Data : 0xeafffffe
                BW Phy Addr : 0x58098000 Data : 0x3815fde6
                AW Phy Addr : 0x58098000 Data : 0xeafffffe
                BW Phy Addr : 0x48180c10 Data : 0x00000003
                AW Phy Addr : 0x48180c10 Data : 0x00000000
                Phy Addr : 0x48180c14 Data : 0x00000007
        PRCM for IVHD0 is Done Successfully

    Can you provide me your uImage, I want to try it on my own board. Also have a look here, for the custom ethernet PHY Linux kernel support:

    http://processors.wiki.ti.com/index.php/TI81xx_PSP_Porting_Guide#Ethernet_Driver_-_Adding_Custom_Ethernet_Phy

    "Device Drivers"->"Network device support"->"PHY Device support and infrastructure" - here the custom PHY driver should be selected.

    Regarding 2nd log, here is the normal flow:

    PRCM Initialization completed
    SysLink version : 2.20.00.14
    SysLink module created on Date:Oct 10 2012 Time:02:57:36
    FIRMWARE: I2cInit will be done by M3

    Again, the flow stuck at the M3 firmware loading. For minimal configuration, you can use the ARAGO file system, instead of the EZSDK file system. The ARAGO file system does not have firmware to load (and stuck). You have to fill your ROOTFS with the content of the {EZSDK}/filesystem/arago-base-tisdk-image-dm816x-evm.tar.gz. Do it yourself, as the script we are running is filling the ROOTFS with the content of the {EZSDK}/filesystem/ezsdk-dm816x-evm-rootfs.tar.gz

    http://processors.wiki.ti.com/index.php/EZSDK_Filesystems

    My point is that both logs are showing the kernel is fine, the flow stuck at the M3 firmware loader stage.

    For how to install modules, do this:

    {EZSDK}$ make linux_install - Install kernel binary and  modules

    The destination of this "install" is configured in {EZSDK}/Rules.make

    EXEC_DIR=/home/users/pbotev/targetfs/home/root/dm816x-evm  ---> EXEC_DIR=/media/ROOTFS/home/root/dm816x-evm

    Regards,

    Pavel

     

  • Pavel,

    Could you provide e-mail address or something to send you my uImage file? I tried to attach files to my account, but it doesn't work for me =(

    Also I have a question about minimal config. Should I also change linux kernel config file? Or it's enough to use arago fs.

    Best regards,

    Anton 

  • I think it is enough for arago fs. Send the uImage to p-botev@ti.com. I will try it with both EZSDK fs and arago fs.

    BR,

    Pavel

  • Pavel,

    I've send you images with description on e-mail you specified.

     

    Best regards,

    Anton 

  • Anton,

    Sorry for the delay, I had some issues with my Desktop OS.

    The first uImage (with network support, only PCIe support removed) I can boot the 816x/389x EVM with both EZSDK file system and ARAGO file system.

    This is the log file with uImage1 + EZSDK fs: http://e2e.ti.com/cfs-file.ashx/__key/communityserver-discussions-components-files/717/0068.uImage1_5F00_EZSDK_5F00_FS_5F00_log

    This is the log file with uImage1 + ARAGO fs: http://e2e.ti.com/cfs-file.ashx/__key/communityserver-discussions-components-files/717/1055.uImage1_5F00_ARAGO_5F00_FS_5F00_log

    The second uImage (without network and PCIe support) can not be boot with both EZSDK file system and ARAGO file system.

    This is the log file with uImage2 + EZSDK fs: http://e2e.ti.com/cfs-file.ashx/__key/communityserver-discussions-components-files/717/7360.uImage2_5F00_EZSDK_5F00_FS_5F00_log

    This is the log file with uImage2 + ARAGO fs: http://e2e.ti.com/cfs-file.ashx/__key/communityserver-discussions-components-files/717/4846.uImage2_5F00_ARAGO_5F00_FS_5F00_log

    BR,

    Pavel

  • Hi, Pavel

    That's all right, I hope your Desktop OS is fine.

    Pavel, I finally managed to load Linux + ARAGO FS  on my board. Thank you for your help, it was really useful and opportune. 

    I have several new questions, but I'll create new topic for it.

     

    Best regards,

    Anton