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.

DM8148 custom board with 2GB DDR3. vpss driver load fail

Hello TI' teams,

I'm work with custom board with DM8148 (silicon rev. 3) and 2GB of DDR3 on board, and latest version of RDK.
I tried to change memory map from 512MB, used by RDK as default memory map for EVM, to 2GB according to my board hardware configuration.
 
u-boot LISA setting as is following:
LISA_MAP_3 = 0x80740300, other LISA_MAP_X equal to zero.
u-boot memory config as is listed below:
dram[0].start = 0x80000000
dram[0].size  = 0x40000000
dram[1].start = 0xC0000000
dram[1].size  = 0x40000000

u-boot.min, u-boot and kernel are looked works fine for me and "DRAM:  2 GiB" printed on console.

My bootargs as is folowing:
"bootargs=mem=512M ddr_mem=2048M console=ttyO0,115200n8 root=/dev/nfs rw nfsroot=10.0.0.131:/home/marat/workdir/SmartCore/trunk/target/rfs_814x ip=dhcp vram=24M notifyk.vpssm3_sva=0xbfd00000"

syslink driver loaded successfully too.

But when I try to load other drivers, such VPSS, etc. I have a very strange error:
"BUG: Your driver calls ioremap() on system memory.  This leads
 to architecturally unpredictable behaviour on ARMv6+, and ioremap()
 will fail in the next kernel release.  Please fix your driver"

Please look attached "boot-log.txt" for more details.

My memory map looked as is following:

  0x80000000 ----+-------------------+
         ^       |  384MB            | (SR1) Bitstream buffer
         |       |                   | Cached on A8. Cached on M3, although access by DMAs
         |       +-------------------+
         |       |   8 MB            | Video M3 Code
       512MB     +-------------------+
         |       |   24 MB           | Video  M3 Data
         |       +-------------------+
         |       |   32 MB           | Video  M3 BSS Data
         |       +-------------------+
         |       |   8 MB            | VPSS  M3 Code
         |       +-------------------+
         |       |   24 MB           | VPSS  M3 Data
         |       +-------------------+
         v       |   32 MB           | VPSS M3 BSS Data
  0xA0000000 ----+-------------------+
         ^       |   16384 KB        | DSP Code
         |       +-------------------+
         |       |   476 MB          | DSP Data
         |       +-------------------+
         |       |                   |
       512MB     |  12 MB            | (SR0) Syslink MsgQ/IPC List MP - <Non-cached on M3>
         |       +-------------------+
         |       |  512 KB           | Video M3 exception context
         |       +-------------------+ 
         |       |  512KB            | Vpss M3 exception context
         |       +-------------------+ 
         |       |  2 MB             | VPSS M3 - VPDMA Descriptor
         |       +-------------------+
         |       |  2 MB             | VPSS M3 - FBDev Shared Memory
         |       +-------------------+
         |       |  2 MB             | Host - VPSS M3 Notify(For FBDev)
         |       +-------------------+
         v       |  1 MB             | Remote Debug Print
  0xC0000000 ----+-------------------+ 
         ^       |                   |
         |       |  512 MB           | Linux
       512MB     |                   |
         |       |                   |
         v       |                   |
  0xE0000000 ----+-------------------+
         ^       |                   |
         |       |   256 MB          | Tiled 8-bit + 16-bit region
       512MB     |                   |
         |       +-------------------+
         v       |  256 MB           | (SR2) Frame Buffer Region - <VPSS - Video M3 Frame Buf>
  0xFFFFFFFF ----+-------------------+
                                                        
 ###
 ### REGIONS MAP: ###
 ======== First 512 MB: =================================
 ### SR1:                         0x80000000 - 0x98000000
 ### VIDEO_M3_CODE_ADDR:          0x98000000 - 0x98800000
 ### VIDEO_M3_DATA_ADDR:          0x98800000 - 0x9a000000
 ### VIDEO_M3_BSS_ADDR:           0x9a000000 - 0x9c000000
 ### DSS_M3_CODE_ADDR:            0x9c000000 - 0x9c800000
 ### DSS_M3_DATA_ADDR:            0x9c800000 - 0x9e000000
 ### DSS_M3_BSS_ADDR:             0x9e000000 - 0xa0000000
 ======== Second 512 MB: =================================
 ### DSP_CODE_ADDR:               0xa0000000 - 0xa1000000
 ### DSP_DATA_ADDR:               0xa1000000 - 0xbec00000
 ### SR0_ADDR:                    0xbec00000 - 0xbf800000
 ### VIDEO_M3_EXCEPTION_CTX_ADDR: 0xbf800000 - 0xbf880000
 ### VPSS_M3_EXCEPTION_CTX_ADDR:  0xbf880000 - 0xbf900000
 ### HDVPSS_DESC_ADDR:            0xbf900000 - 0xbfb00000
 ### HDVPSS_SHARED_ADDR:          0xbfb00000 - 0xbfd00000
 ### NOTIFY_SHARED_ADDR:          0xbfd00000 - 0xbff00000
 ### REMOTE_DEBUG_ADDR:           0xbff00000 - 0xc0000000
 ========= Third 512 MB: ==================================
 ### LINUX:                       0xc0000000 - 0xe0000000
 ======== Last 512 MB: ==================================
 ### TILER_ADDR:                  0xe0000000 - 0xf0000000
 ### SR2_FRAME_BUFFER_ADDR:       0xf0000000 - 0xffffffff
 =========================================================
 ###
 =========================================================
 ### TOTAL DDR usage in MB =      2048 MB  ###
 ### Linux memory usage in MB =    512 MB  ###
 ### DSP Data memory usage in MB = 476 MB  ###
 =========================================================
 ###


I want to add that all software components from u-boot till demo application compiled and linked successfully. Code builds by "make sys_all" command

Please help me to resolve the problem.

1220.boot-log.log
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2014.07.27 09:50:02 =~=~=~=~=~=~=~=~=~=~=~=


U-Boot 2010.06-svn365 (Jul 22 2014 - 12:27:59)

TI8148-GP rev 3.0

L3 clk         : 200MHz
IVA clk        : 410MHz
ISS clk        : 480MHz
DSP clk        : 500MHz
DSS clk        : 200MHz
ARM clk        : 600MHz
DDR clk        : 400MHz

------------ PLL Settings --------------
OSC_0_FREQ    : 20MHz

MODENA_N      : 1
MODENA_M      : 60
MODENA_M2     : 1

L3_N          : 19
L3_M          : 800
L3_M2         : 4

DSP_N         : 19
DSP_M         : 500
DSP_M2        : 1

DSS_N         : 19
DSS_M         : 800
DSS_M2        : 4

IVA_N         : 19
IVA_M         : 820
IVA_M2        : 2

ISS_N         : 19
ISS_M         : 960
ISS_M2        : 2

USB_N         : 19
USB_M         : 960
USB_M2        : 5

DCO_HS2_MIN   : 500
DCO_HS2_MAX   : 1000
DCO_HS1_MIN   : 1000
DCO_HS1_MAX   : 2000
SELFREQDCO_HS2   : 2049
SELFREQDCO_HS1   : 4097

--------- DDR PLL ----------
DDR_N             : 0x13
DDR_M             : 0x320
DDR_M2            : 0x2

----------EMIF Timings (identical for 0 & 1)-------
DDR3_EMIF_READ_LATENCY : 0x170209
DDR3_EMIF_TIM1         : 0xAAAD4DB
DDR3_EMIF_TIM2         : 0x682F7FDA
DDR3_EMIF_TIM3         : 0x501F82BF
DDR3_EMIF_REF_CTRL     : 0xC30
DDR3_EMIF_SDRAM_CONFIG : 0x61C011B2
DDR3_EMIF_SDRAM_ZQCR   : 0x50074BE1

----------SW LEVEL Info (EMIF 0) -------
DDR3_PHY_RD_DQS_CS0_BYTE0: 0x00000038
DDR3_PHY_RD_DQS_CS0_BYTE1: 0x00000037
DDR3_PHY_RD_DQS_CS0_BYTE2: 0x00000032
DDR3_PHY_RD_DQS_CS0_BYTE3: 0x00000031

DDR3_PHY_WR_DQS_CS0_BYTE0: 0x00000043
DDR3_PHY_WR_DQS_CS0_BYTE1: 0x00000044
DDR3_PHY_WR_DQS_CS0_BYTE2: 0x00000053
DDR3_PHY_WR_DQS_CS0_BYTE3: 0x00000050

DDR3_PHY_RD_DQS_GATE_CS0_BYTE0: 0x000000E4
DDR3_PHY_RD_DQS_GATE_CS0_BYTE1: 0x00000111
DDR3_PHY_RD_DQS_GATE_CS0_BYTE2: 0x00000112
DDR3_PHY_RD_DQS_GATE_CS0_BYTE3: 0x0000013D

DDR3_PHY_WR_DATA_CS0_BYTE0: 0x00000085
DDR3_PHY_WR_DATA_CS0_BYTE1: 0x00000083
DDR3_PHY_WR_DATA_CS0_BYTE2: 0x00000085
DDR3_PHY_WR_DATA_CS0_BYTE3: 0x0000007F

----------SW LEVEL Info (EMIF 1) -------
DDR3_PHY_RD_DQS_CS0_BYTE0: 0x0000003A
DDR3_PHY_RD_DQS_CS0_BYTE1: 0x00000036
DDR3_PHY_RD_DQS_CS0_BYTE2: 0x00000037
DDR3_PHY_RD_DQS_CS0_BYTE3: 0x00000033

DDR3_PHY_WR_DQS_CS0_BYTE0: 0x00000049
DDR3_PHY_WR_DQS_CS0_BYTE1: 0x0000004E
DDR3_PHY_WR_DQS_CS0_BYTE2: 0x00000054
DDR3_PHY_WR_DQS_CS0_BYTE3: 0x00000050

DDR3_PHY_RD_DQS_GATE_CS0_BYTE0: 0x000000D3
DDR3_PHY_RD_DQS_GATE_CS0_BYTE1: 0x000000F7
DDR3_PHY_RD_DQS_GATE_CS0_BYTE2: 0x00000109
DDR3_PHY_RD_DQS_GATE_CS0_BYTE3: 0x00000135

DDR3_PHY_WR_DATA_CS0_BYTE0: 0x0000008A
DDR3_PHY_WR_DATA_CS0_BYTE1: 0x00000080
DDR3_PHY_WR_DATA_CS0_BYTE2: 0x0000007F
DDR3_PHY_WR_DATA_CS0_BYTE3: 0x00000085

DRAM:  2 GiB
NAND:  HW ECC BCH8 Selected
512 MiB
Using default environment

The 2nd stage U-Boot will now be auto-loaded
Please do not interrupt the countdown till Opgal_SCP# prompt if 2nd stage is already flashed
Hit any key to stop autoboot:  1  0 

NAND read: device 0 offset 0x20000, size 0x40000
 262144 bytes read: OK
## Starting application at 0x81000000 ...


U-Boot 2010.06-svn365 (Jul 22 2014 - 12:28:45)

TI8148-GP rev 3.0

L3 clk         : 200MHz
IVA clk        : 410MHz
ISS clk        : 480MHz
DSP clk        : 500MHz
DSS clk        : 200MHz
ARM clk        : 600MHz
DDR clk        : 400MHz

------------ PLL Settings --------------
OSC_0_FREQ    : 20MHz

MODENA_N      : 1
MODENA_M      : 60
MODENA_M2     : 1

L3_N          : 19
L3_M          : 800
L3_M2         : 4

DSP_N         : 19
DSP_M         : 500
DSP_M2        : 1

DSS_N         : 19
DSS_M         : 800
DSS_M2        : 4

IVA_N         : 19
IVA_M         : 820
IVA_M2        : 2

ISS_N         : 19
ISS_M         : 960
ISS_M2        : 2

USB_N         : 19
USB_M         : 960
USB_M2        : 5

DCO_HS2_MIN   : 500
DCO_HS2_MAX   : 1000
DCO_HS1_MIN   : 1000
DCO_HS1_MAX   : 2000
SELFREQDCO_HS2   : 2049
SELFREQDCO_HS1   : 4097

--------- DDR PLL ----------
DDR_N             : 0x13
DDR_M             : 0x320
DDR_M2            : 0x2

----------EMIF Timings (identical for 0 & 1)-------
DDR3_EMIF_READ_LATENCY : 0x170209
DDR3_EMIF_TIM1         : 0xAAAD4DB
DDR3_EMIF_TIM2         : 0x682F7FDA
DDR3_EMIF_TIM3         : 0x501F82BF
DDR3_EMIF_REF_CTRL     : 0xC30
DDR3_EMIF_SDRAM_CONFIG : 0x61C011B2
DDR3_EMIF_SDRAM_ZQCR   : 0x50074BE1

----------SW LEVEL Info (EMIF 0) -------
DDR3_PHY_RD_DQS_CS0_BYTE0: 0x00000038
DDR3_PHY_RD_DQS_CS0_BYTE1: 0x00000037
DDR3_PHY_RD_DQS_CS0_BYTE2: 0x00000032
DDR3_PHY_RD_DQS_CS0_BYTE3: 0x00000031

DDR3_PHY_WR_DQS_CS0_BYTE0: 0x00000043
DDR3_PHY_WR_DQS_CS0_BYTE1: 0x00000044
DDR3_PHY_WR_DQS_CS0_BYTE2: 0x00000053
DDR3_PHY_WR_DQS_CS0_BYTE3: 0x00000050

DDR3_PHY_RD_DQS_GATE_CS0_BYTE0: 0x000000E4
DDR3_PHY_RD_DQS_GATE_CS0_BYTE1: 0x00000111
DDR3_PHY_RD_DQS_GATE_CS0_BYTE2: 0x00000112
DDR3_PHY_RD_DQS_GATE_CS0_BYTE3: 0x0000013D

DDR3_PHY_WR_DATA_CS0_BYTE0: 0x00000085
DDR3_PHY_WR_DATA_CS0_BYTE1: 0x00000083
DDR3_PHY_WR_DATA_CS0_BYTE2: 0x00000085
DDR3_PHY_WR_DATA_CS0_BYTE3: 0x0000007F

----------SW LEVEL Info (EMIF 1) -------
DDR3_PHY_RD_DQS_CS0_BYTE0: 0x0000003A
DDR3_PHY_RD_DQS_CS0_BYTE1: 0x00000036
DDR3_PHY_RD_DQS_CS0_BYTE2: 0x00000037
DDR3_PHY_RD_DQS_CS0_BYTE3: 0x00000033

DDR3_PHY_WR_DQS_CS0_BYTE0: 0x00000049
DDR3_PHY_WR_DQS_CS0_BYTE1: 0x0000004E
DDR3_PHY_WR_DQS_CS0_BYTE2: 0x00000054
DDR3_PHY_WR_DQS_CS0_BYTE3: 0x00000050

DDR3_PHY_RD_DQS_GATE_CS0_BYTE0: 0x000000D3
DDR3_PHY_RD_DQS_GATE_CS0_BYTE1: 0x000000F7
DDR3_PHY_RD_DQS_GATE_CS0_BYTE2: 0x00000109
DDR3_PHY_RD_DQS_GATE_CS0_BYTE3: 0x00000135

DDR3_PHY_WR_DATA_CS0_BYTE0: 0x0000008A
DDR3_PHY_WR_DATA_CS0_BYTE1: 0x00000080
DDR3_PHY_WR_DATA_CS0_BYTE2: 0x0000007F
DDR3_PHY_WR_DATA_CS0_BYTE3: 0x00000085

I2C:   ready
DRAM:  2 GiB
NAND:  HW ECC BCH8 Selected
512 MiB
MMC:   OMAP SD/MMC: 0
                                    

Net:   Detected MACID:7c:66:9d:36:b3:96
cpsw
Hit any key to stop autoboot:  3  2  1  0 
Configuring Marvell Phy 88E15xx pre-init errata
link up on port 0, speed 1000, full duplex
Using cpsw device
TFTP from server 10.0.0.131; our IP address is 10.0.0.181
Filename 'uImage'.
Load address: 0x81000000
Loading: *#################################################################
 #################################################################
 #################################################################
 #################################################################
 #################################################################
 #################################################################
 #################################################################
 #################################################################
 ####################################
done
Bytes transferred = 2844708 (0x2b6824)
## Booting kernel from Legacy Image at 81000000 ...
   Image Name:   Linux-2.6.37+
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2844644 Bytes = 2.7 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+ (marat@marat-ubuntu) (gcc version 4.4.1 (Sourcery G++ Lite 2009q3-67) ) #2 Sun Jul 27 08:51:27 IDT 2014
CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: ti8148evm
vram size = 25165824 at 0x0
ti81xx_reserve: ### Reserved DDR region @9ff00000
reserved size = 25165824 at 0x0
FB: Reserving 25165824 bytes SDRAM for VRAM
Memory policy: ECC disabled, Data cache writeback
OMAP chip is TI8148 3.0
SRAM: Mapped pa 0x402f1000 to va 0xfe400000 size: 0xf000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 123648
Kernel command line: mem=512M ddr_mem=2048M console=ttyO0,115200n8 root=/dev/nfs rw nfsroot=10.0.0.131:/home/marat/workdir/SmartCore/trunk/target/rfs_814x ip=dhcp vram=24M notifyk.vpssm3_sva=0xbfd00000
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: 486MB 1MB = 487MB total
Memory: 488092k/488092k available, 36196k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    vmalloc : 0xe0800000 - 0xf8000000   ( 376 MB)
    lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .init : 0xc0008000 - 0xc0042000   ( 232 kB)
      .text : 0xc0042000 - 0xc0556000   (5200 kB)
      .data : 0xc0556000 - 0xc05acb00   ( 347 kB)
SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:407
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 IRQ400
Trying to install interrupt handler for IRQ401
Trying to install interrupt handler for IRQ402
Trying to install interrupt handler for IRQ403
Trying to install interrupt handler for IRQ404
Trying to install interrupt handler for IRQ405
Trying to install interrupt handler for IRQ406
Trying to install type control for IRQ407
Trying to set irq flags for IRQ407
OMAP clockevent source: GPTIMER1 at 20000000 Hz
Console: colour dummy device 80x30
Calibrating delay loop... 598.01 BogoMIPS (lpj=2990080)
pid_max: default: 32768 minimum: 301
Security Framework initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
devtmpfs: initialized
TI81XX: Map 0x9ff00000 to 0xfe500000 for dram barrier
TI81XX: Map 0x40300000 to 0xfe600000 for sram barrier
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 GPIO hardware version 0.1
OMAP GPIO hardware version 0.1
omap_mux_init: Add partition: #1: core, flags: 4
clk get on i2c3 fck failed
Cannot clk_get ck_32
Debugfs: Only enabling/disabling deep sleep and wakeup timer is supported now
registered ti81xx_vpss device
registered ti81xx_vidout device
registered ti81xx on-chip HDMI device
registered ti81xx_fb device
registered ti81xx_vin device
NSS Crypto DMA hardware revision 1.9 @ IRQ 116
ti81xx_pcie: Invoking PCI BIOS...
ti81xx_pcie: Setting up Host Controller...
ti81xx_pcie: Register base mapped @0xe0830000
ti81xx_pcie: forcing link width - x1
ti81xx_pcie: Starting PCI scan...
PCI: bus0: Fast back to back transfers enabled
ti81xx_pcie: PCI scan done.
bio: create slab <bio-0> at 0
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
USBSS revision 4ea2080b
registerd cppi-dma Intr @ IRQ 17
Cppi41 Init Done
omap_i2c omap_i2c.1: bus 1 rev4.0 at 400 kHz
I2C: Read failed at pcf8575_cir_enable 274 with error code: -121
I2C: Transfer failed at pcf8575_cir_enable 281 with error code: -121
pcf857x: probe of 1-0021 failed with error -121
regulator: VRTC: 1800 mV 
regulator: VIO: 1500 mV 
regulator: VDD1: 600 <--> 1500 mV at 1200 mV 
regulator: VDD2: 600 <--> 1500 mV at 1200 mV 
regulator: VDDCTRL: 600 <--> 1400 mV at 1200 mV 
regulator: LDO1: 1100 <--> 3300 mV at 1800 mV 
regulator: LDO2: 1100 <--> 3300 mV at 1800 mV 
regulator: LDO3: 1100 <--> 3300 mV at 3300 mV 
regulator: LDO4: 1100 <--> 3300 mV at 1800 mV 
regulator: LDO5: 1100 <--> 3300 mV at 3300 mV 
regulator: LDO6: 1100 <--> 3300 mV at 3300 mV 
regulator: LDO7: 1100 <--> 3300 mV at 3300 mV 
regulator: LDO8: 1100 <--> 3300 mV at 1800 mV 
tps65910 1-002d: No interrupt support, no core IRQ
omap_i2c omap_i2c.3: bus 3 rev4.0 at 400 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
usb2phy: computed values rxcalib(15)DACs(28 12 14)
usb2phy: override computed values rxcalib(15)DACs(28 12 14)
usb2phy_config: musb(0) rxcalib done, rxcalib read value 6f6e5976
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 e081e000 using DMA, IRQ 18
musb-hdrc musb-hdrc.1: dma type: dma-cppi41
MUSB controller-1 revision 4ea20800
usb2phy: computed values rxcalib(15)DACs(22 15 15)
usb2phy: override computed values rxcalib(15)DACs(22 15 15)
usb2phy_config: musb(1) rxcalib done, rxcalib read value 6f6b5f7e
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 e082a800 using DMA, IRQ 19
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
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
JFFS2 version 2.2. (NAND) � 2001-2006 Red Hat, Inc.
msgmni has been set to 953
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
nss_rng nss_rng: NSS Random Number Generator ver. 2.0
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0
ti81xx_interrupt 991: VBUS error workaround (delay coming)
console [ttyO0] enabled
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
omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
brd: module loaded
loop: module loaded
ahci probe: devid name is ahci
ahci CAP register dump =0x6726ff80
Modified ahci CAP register dump =0x6f26ff80
ahci ahci.0: forcing PORTS_IMPL to 0x1
ahci: SSS flag set, parallel bus scan disabled
ahci ahci.0: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
ahci ahci.0: flags: ncq sntf stag pm led clo only pmp pio slum part ccc apst 
scsi0 : ahci_platform
ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x100 irq 16
omap2-nand driver initializing
ONFI param page 0 valid
ONFI flash detected
NAND device: Maf ID: 0x2c, Chip ID: 0xbc (Micron, NAND 512MiB 1,8V 16-bit)
 erasesize: 0x20000, writesize: 2048, oobsize: 64
omap2-nand: detected x16 NAND flash 
Creating 7 MTD partitions on "omap2-nand.0":
0x000000000000-0x000000020000 : "U-Boot-min"
0x000000020000-0x000000260000 : "U-Boot"
0x000000260000-0x000000280000 : "U-Boot Env"
0x000000280000-0x000000580000 : "U-Boot Logo"
0x000000580000-0x0000009c0000 : "Kernel"
0x0000009c0000-0x00000d1e0000 : "File System"
0x00000d1e0000-0x000020000000 : "Reserved"
davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
davinci_mdio davinci_mdio.0: detected phy mask fffffffe
davinci_mdio.0: probed
davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
CAN device driver interface
CAN bus driver for Bosch D_CAN controller 1.0
d_can d_can: d_can device registered (irq=52, irq_obj=53)
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver dm9601
usbcore: registered new interface driver cdc_acm
cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
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
ata1: SATA link down (SStatus 0 SControl 300)
qt602240_ts 1-004a: __qt602240_read_reg: i2c transfer failed
qt602240_ts: probe of 1-004a failed with error -5
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
nss_aes_mod_init: loading NSS AES driver
nss-aes nss-aes: NSS AES hw accel rev: 3.2 (context 0 @0x41140000)
nss-aes nss-aes: NSS AES hw accel rev: 3.2 (context 1 @0x41141000)
nss-aes nss-aes: NSS AES hw accel rev: 3.2 (context 2 @0x411a0000)
nss-aes nss-aes: NSS AES hw accel rev: 3.2 (context 3 @0x411a1000)
nss_aes_probe: probe() done
nss_des_mod_init: loading NSS DES driver
nss-des nss-des: NSS DES hw accel rev: 2.2 (context 0 @0x41160000)
nss-des nss-des: NSS DES hw accel rev: 2.2 (context 1 @0x41161000)
nss_des_probe: probe() done
nss_sham_mod_init: loading NSS SHA/MD5 driver
nss-sham nss-sham: NSS SHA/MD5 hw accel rev: 4.03 (context 0 @0x41100000)
nss-sham nss-sham: NSS SHA/MD5 hw accel rev: 4.03 (context 1 @0x41101000)
nss-sham nss-sham: NSS SHA/MD5 hw accel rev: 4.03 (context 2 @0x411c0000)
nss-sham nss-sham: NSS SHA/MD5 hw accel rev: 4.03 (context 3 @0x411c1000)
nss_sham_probe: probe() done
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
notify_init : notify drivercreated  for  remote proc id 2 at physical Address 0xbfd00000
usbcore: registered new interface driver snd-usb-audio
Registered tvp5158 audio codec
*** Forcing SW CTS!
asoc: tvp5158-hifi <-> davinci-mcasp.0 mapping ok
asoc: tlv320aic3x-hifi <-> davinci-mcasp.2 mapping ok
asoc: HDMI-DAI-CODEC <-> hdmi-dai mapping ok
ALSA device list:
  #0: TI81XX SOUND0
  #1: TI81XX SOUND1
TCP cubic registered
NET: Registered protocol family 17
can: controller area network core (rev 20090105 abi 8)
NET: Registered protocol family 29
can: raw protocol (rev 20090105)
can: broadcast manager protocol (rev 20090105 t)
Registering the dns_resolver key type
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.
Detected MACID=7c:66:9d:36:b3:96
omap_rtc omap_rtc: setting system clock to 2014-07-01 00:00:00 UTC (1404172800)
mmc0: new high speed MMC card at address 0001
mmcblk0: mmc0:0001 MMC32G 29.5 GiB 
 mmcblk0: unknown partition table

CPSW phy found : id is : 0x1410dd1
PHY 0:01 not found
Sending DHCP requests ..
PHY: 0:00 - Link is Up - 1000/Full
., OK
IP-Config: Got DHCP answer from 0.0.0.0, my address is 10.0.0.181
IP-Config: Complete:
     device=eth0, addr=10.0.0.181, mask=255.255.254.0, gw=10.0.0.254,
     host=10.0.0.181, domain=opgal.com, nis-domain=(none),
     bootserver=0.0.0.0, rootserver=10.0.0.131, rootpath=
VFS: Mounted root (nfs filesystem) on device 0:15.
devtmpfs: mounted
Freeing init memory: 232K

INIT: version 2.86 bootingPlease wait: booting...
Error opening /dev/fb0: No such file or directory
Starting udev
udevd (119): /proc/119/oom_adj is deprecated, please use /proc/119/oom_score_adj instead.
udev: starting version 141
udevd-event[127]: error changing netif name eth0 to eth1: Device or resource busy
Root filesystem already rw, not remounting
Caching udev devnodes
Populating dev cache
FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev mmcblk0.
EXT3-fs (mmcblk0): error: can't find ext3 filesystem on dev mmcblk0.
EXT2-fs (mmcblk0): error: can't find an ext2 filesystem on dev mmcblk0.
FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev mmcblk0.
ISOFS: Unable to identify CD-ROM format.
ALSA: Restoring mixer settings...
NOT configuring network interfaces: / is an NFS mount
Fri Aug 17 21:01:00 UTC 2012

INIT: Entering runlevel: 5Starting system message bus: dbus.
Starting telnet daemon.
Starting syslogd/klogd: done
Starting thttpd.
    __________
   / ___  ___ \
  / / @ \/ @ \ \
  \ \___/\___/ /\
   \____\/____/||
   /     /\\\\\//
   |     |\\\\\\
    \      \\\\\\
     \______/\\\\
      _||_||_
+-----------------------+
| http://www.opgal.com  |
+-----------------------+
OPGAL SmartCore Board (2014.07)

root@scp:~# lsmod
Module                  Size  Used by
root@scp:~# 
root@scp:~# 
root@scp:~# 
root@scp:~# ./run_gui         cd /opt
root@scp:~# cd /opt/dvr
root@scp:~# cd /opt/dvr_rdk/ti814
root@scp:~# cd /opt/dvr_rdk/ti814x/
root@scp:/opt/dvr_rdk/ti814x# cat /proc/meminfo
MemTotal:         488324 kB
MemFree:          472680 kB
Buffers:               0 kB
Cached:             6844 kB
SwapCached:            0 kB
Active:             3428 kB
Inactive:           4608 kB
Active(anon):       1304 kB
Inactive(anon):       80 kB
Active(file):       2124 kB
Inactive(file):     4528 kB
Unevictable:           0 kB
Mlocked:               0 kB
HighTotal:             0 kB
HighFree:              0 kB
LowTotal:         488324 kB
LowFree:          472680 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:          1220 kB
Mapped:             1464 kB
Shmem:               192 kB
Slab:               4492 kB
SReclaimable:       1596 kB
SUnreclaim:         2896 kB
KernelStack:         432 kB
PageTables:          172 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:      244160 kB
Committed_AS:       5728 kB
VmallocTotal:     385024 kB
VmallocUsed:       25632 kB
VmallocChunk:     352252 kB
root@scp:/opt/dvr_rdk/ti814x# 
root@scp:/opt/dvr_rdk/ti814x# ./run) + _gu
root@scp:/opt/dvr_rdk/ti814x# ./run_gui.sh            ./run_gu
root@scp:/opt/dvr_rdk/ti814x# ./run_gui.sh
*** Bootargs Validated for mem param ***
*** Bootargs Validated for notifyk.vpssm3 params ***
Kernel bootargs validated
numid=1,iface=MIXER,name='PCM Playback Volume'
  ; type=INTEGER,access=rw---R--,values=2,min=0,max=127,step=0
  : values=127,127
  | dBscale-min=-63.50dB,step=0.50dB,mute=0
 [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
 [m3video] Remote Debug Shared Memory @ 0xbff05020
 [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
SysLink version : 2.20.02.20
SysLink module created on Date:Jul 23 2014 Time:12:08:14
Trace enabled
Trace SetFailureReason enabled
 Setting DMM priority for [DUCATI  ] to [0] ( 0x4e000624 = 0x08000000 )
 Setting DMM priority for [HDVICP0 ] to [2] ( 0x4e000634 = 0x0000000a )
 
 *** TVP5158 probe : START ***
 
 
 I2C (0x5c): 0x08 = 0x51 
 I2C (0x5c): 0x09 = 0x58 
 
 *** TVP5158 probe : END ***
 
/opt/dvr_rdk/ti814x
Attached to slave procId 2.
BUG: Your driver calls ioremap() on system memory.  This leads
to architecturally unpredictable behaviour on ARMv6+, and ioremap()
will fail in the next kernel release.  Please fix your driver.
------------[ cut here ]------------
WARNING: at arch/arm/mm/ioremap.c:211 __arm_ioremap_pfn_caller+0x58/0x190()
Modules linked in: syslink
Backtrace: 
[<c005096c>] (dump_backtrace+0x0/0x110) from [<c03f2698>] (dump_stack+0x18/0x1c)
 r6:000000d3 r5:c00544e4 r4:00000000 r3:c057335c
[<c03f2680>] (dump_stack+0x0/0x1c) from [<c0076eb0>] (warn_slowpath_common+0x54/0x6c)
[<c0076e5c>] (warn_slowpath_common+0x0/0x6c) from [<c0076eec>] (warn_slowpath_null+0x24/0x2c)
 r8:00000002 r7:00000000 r6:00000000 r5:0009c000 r4:000a79bd
r3:00000009
[<c0076ec8>] (warn_slowpath_null+0x0/0x2c) from [<c00544e4>] (__arm_ioremap_pfn_caller+0x58/0x190)
[<c005448c>] (__arm_ioremap_pfn_caller+0x0/0x190) from [<c0054698>] (__arm_ioremap_caller+0x5c/0x64)
[<c005463c>] (__arm_ioremap_caller+0x0/0x64) from [<c0067bb4>] (omap_ioremap+0x60/0x64)
 r5:bf022fa8 r4:9c000000
[<c0067b54>] (omap_ioremap+0x0/0x64) from [<bf022fa8>] (MemoryOS_map+0xe4/0x1e0 [syslink])
 r7:bf0aea78 r6:dda37ccc r5:00000000 r4:dda37c60
[<bf022ec4>] (MemoryOS_map+0x0/0x1e0 [syslink]) from [<bf002e48>] (_ProcMgr_map+0xb4/0x2fc [syslink])
 r6:dda37ccc r5:e34a0000 r4:00000001
[<bf002d94>] (_ProcMgr_map+0x0/0x2fc [syslink]) from [<bf00b250>] (ElfLoaderTrgWrite_copy+0xac/0x210 [syslink])
[<bf00b1a4>] (ElfLoaderTrgWrite_copy+0x0/0x210 [syslink]) from [<bf00e704>] (DLIF_copy+0x10/0x1c [syslink])
[<bf00e6f4>] (DLIF_copy+0x0/0x1c [syslink]) from [<bf00d46c>] (DLOAD_load+0x70c/0xa38 [syslink])
[<bf00cd60>] (DLOAD_load+0x0/0xa38 [syslink]) from [<bf00a8e0>] (ElfLoader_load+0x8c/0xfc [syslink])
[<bf00a854>] (ElfLoader_load+0x0/0xfc [syslink]) from [<bf002028>] (Loader_load+0x68/0x98 [syslink])
[<bf001fc0>] (Loader_load+0x0/0x98 [syslink]) from [<bf003fd0>] (ProcMgr_load+0x8c/0xf0 [syslink])
[<bf003f44>] (ProcMgr_load+0x0/0xf0 [syslink]) from [<bf005340>] (ProcMgrDrv_ioctl+0x97c/0x16bc [syslink])
[<bf0049c4>] (ProcMgrDrv_ioctl+0x0/0x16bc [syslink]) from [<c00dd9e4>] (vfs_ioctl+0x28/0x44)
 r8:00000000 r7:00000008 r6:c020e0a2 r5:ddb99500 r4:be9fea60
[<c00dd9bc>] (vfs_ioctl+0x0/0x44) from [<c00de0dc>] (do_vfs_ioctl+0x4ec/0x534)
[<c00ddbf0>] (do_vfs_ioctl+0x0/0x534) from [<c00de17c>] (sys_ioctl+0x58/0x7c)
 r9:dda36000 r8:00000000 r7:00000008 r6:c020e0a2 r5:be9fea60
r4:ddb99500
[<c00de124>] (sys_ioctl+0x0/0x7c) from [<c004cba0>] (ret_fast_syscall+0x0/0x30)
 r8:c004cd48 r7:00000036 r6:be9fea60 r5:0007eadc r4:00000000
---[ end trace f3b5ffa5a0409951 ]---
BUG: Your driver calls ioremap() on system memory.  This leads
to architecturally unpredictable behaviour on ARMv6+, and ioremap()
will fail in the next kernel release.  Please fix your driver.
------------[ cut here ]------------
WARNING: at arch/arm/mm/ioremap.c:211 __arm_ioremap_pfn_caller+0x58/0x190()
Modules linked in: syslink
Backtrace: 
[<c005096c>] (dump_backtrace+0x0/0x110) from [<c03f2698>] (dump_stack+0x18/0x1c)
 r6:000000d3 r5:c00544e4 r4:00000000 r3:c057335c
[<c03f2680>] (dump_stack+0x0/0x1c) from [<c0076eb0>] (warn_slowpath_common+0x54/0x6c)
[<c0076e5c>] (warn_slowpath_common+0x0/0x6c) from [<c0076eec>] (warn_slowpath_null+0x24/0x2c)
 r8:00000002 r7:00000000 r6:00000000 r5:0009c800 r4:000d8b18
r3:00000009
[<c0076ec8>] (warn_slowpath_null+0x0/0x2c) from [<c00544e4>] (__arm_ioremap_pfn_caller+0x58/0x190)
[<c005448c>] (__arm_ioremap_pfn_caller+0x0/0x190) from [<c0054698>] (__arm_ioremap_caller+0x5c/0x64)
[<c005463c>] (__arm_ioremap_caller+0x0/0x64) from [<c0067bb4>] (omap_ioremap+0x60/0x64)
 r5:bf022fa8 r4:9c800000
[<c0067b54>] (omap_ioremap+0x0/0x64) from [<bf022fa8>] (MemoryOS_map+0xe4/0x1e0 [syslink])
 r7:bf0aea78 r6:dda37ccc r5:00000000 r4:dda37c60
[<bf022ec4>] (MemoryOS_map+0x0/0x1e0 [syslink]) from [<bf002e48>] (_ProcMgr_map+0xb4/0x2fc [syslink])
 r6:dda37ccc r5:e34a0000 r4:00000001
[<bf002d94>] (_ProcMgr_map+0x0/0x2fc [syslink]) from [<bf00b250>] (ElfLoaderTrgWrite_copy+0xac/0x210 [syslink])
[<bf00b1a4>] (ElfLoaderTrgWrite_copy+0x0/0x210 [syslink]) from [<bf00e704>] (DLIF_copy+0x10/0x1c [syslink])
[<bf00e6f4>] (DLIF_copy+0x0/0x1c [syslink]) from [<bf00d46c>] (DLOAD_load+0x70c/0xa38 [syslink])
[<bf00cd60>] (DLOAD_load+0x0/0xa38 [syslink]) from [<bf00a8e0>] (ElfLoader_load+0x8c/0xfc [syslink])
[<bf00a854>] (ElfLoader_load+0x0/0xfc [syslink]) from [<bf002028>] (Loader_load+0x68/0x98 [syslink])
[<bf001fc0>] (Loader_load+0x0/0x98 [syslink]) from [<bf003fd0>] (ProcMgr_load+0x8c/0xf0 [syslink])
[<bf003f44>] (ProcMgr_load+0x0/0xf0 [syslink]) from [<bf005340>] (ProcMgrDrv_ioctl+0x97c/0x16bc [syslink])
[<bf0049c4>] (ProcMgrDrv_ioctl+0x0/0x16bc [syslink]) from [<c00dd9e4>] (vfs_ioctl+0x28/0x44)
 r8:00000000 r7:00000008 r6:c020e0a2 r5:ddb99500 r4:be9fea60
[<c00dd9bc>] (vfs_ioctl+0x0/0x44) from [<c00de0dc>] (do_vfs_ioctl+0x4ec/0x534)
[<c00ddbf0>] (do_vfs_ioctl+0x0/0x534) from [<c00de17c>] (sys_ioctl+0x58/0x7c)
 r9:dda36000 r8:00000000 r7:00000008 r6:c020e0a2 r5:be9fea60
r4:ddb99500
[<c00de124>] (sys_ioctl+0x0/0x7c) from [<c004cba0>] (ret_fast_syscall+0x0/0x30)
 r8:c004cd48 r7:00000036 r6:be9fea60 r5:0007eadc r4:00000000
---[ end trace f3b5ffa5a0409952 ]---
BUG: Your driver calls ioremap() on system memory.  This leads
to architecturally unpredictable behaviour on ARMv6+, and ioremap()
will fail in the next kernel release.  Please fix your driver.
------------[ cut here ]------------
WARNING: at arch/arm/mm/ioremap.c:211 __arm_ioremap_pfn_caller+0x58/0x190()
Modules linked in: syslink
Backtrace: 
[<c005096c>] (dump_backtrace+0x0/0x110) from [<c03f2698>] (dump_stack+0x18/0x1c)
 r6:000000d3 r5:c00544e4 r4:00000000 r3:c057335c
[<c03f2680>] (dump_stack+0x0/0x1c) from [<c0076eb0>] (warn_slowpath_common+0x54/0x6c)
[<c0076e5c>] (warn_slowpath_common+0x0/0x6c) from [<c0076eec>] (warn_slowpath_null+0x24/0x2c)
 r8:00000002 r7:00000000 r6:00000b80 r5:0009c8d8 r4:0000004c
r3:00000009
[<c0076ec8>] (warn_slowpath_null+0x0/0x2c) from [<c00544e4>] (__arm_ioremap_pfn_caller+0x58/0x190)
[<c005448c>] (__arm_ioremap_pfn_caller+0x0/0x190) from [<c0054698>] (__arm_ioremap_caller+0x5c/0x64)
[<c005463c>] (__arm_ioremap_caller+0x0/0x64) from [<c0067bb4>] (omap_ioremap+0x60/0x64)
 r5:bf022fa8 r4:9c8d8b80
[<c0067b54>] (omap_ioremap+0x0/0x64) from [<bf022fa8>] (MemoryOS_map+0xe4/0x1e0 [syslink])
 r7:bf0aea78 r6:dda37ccc r5:00000000 r4:dda37c60
[<bf022ec4>] (MemoryOS_map+0x0/0x1e0 [syslink]) from [<bf002e48>] (_ProcMgr_map+0xb4/0x2fc [syslink])
 r6:dda37ccc r5:e34a0000 r4:00000001
[<bf002d94>] (_ProcMgr_map+0x0/0x2fc [syslink]) from [<bf00b250>] (ElfLoaderTrgWrite_copy+0xac/0x210 [syslink])
[<bf00b1a4>] (ElfLoaderTrgWrite_copy+0x0/0x210 [syslink]) from [<bf00e704>] (DLIF_copy+0x10/0x1c [syslink])
[<bf00e6f4>] (DLIF_copy+0x0/0x1c [syslink]) from [<bf00d46c>] (DLOAD_load+0x70c/0xa38 [syslink])
[<bf00cd60>] (DLOAD_load+0x0/0xa38 [syslink]) from [<bf00a8e0>] (ElfLoader_load+0x8c/0xfc [syslink])
[<bf00a854>] (ElfLoader_load+0x0/0xfc [syslink]) from [<bf002028>] (Loader_load+0x68/0x98 [syslink])
[<bf001fc0>] (Loader_load+0x0/0x98 [syslink]) from [<bf003fd0>] (ProcMgr_load+0x8c/0xf0 [syslink])
[<bf003f44>] (ProcMgr_load+0x0/0xf0 [syslink]) from [<bf005340>] (ProcMgrDrv_ioctl+0x97c/0x16bc [syslink])
[<bf0049c4>] (ProcMgrDrv_ioctl+0x0/0x16bc [syslink]) from [<c00dd9e4>] (vfs_ioctl+0x28/0x44)
 r8:00000000 r7:00000008 r6:c020e0a2 r5:ddb99500 r4:be9fea60
[<c00dd9bc>] (vfs_ioctl+0x0/0x44) from [<c00de0dc>] (do_vfs_ioctl+0x4ec/0x534)
[<c00ddbf0>] (do_vfs_ioctl+0x0/0x534) from [<c00de17c>] (sys_ioctl+0x58/0x7c)
 r9:dda36000 r8:00000000 r7:00000008 r6:c020e0a2 r5:be9fea60
r4:ddb99500
[<c00de124>] (sys_ioctl+0x0/0x7c) from [<c004cba0>] (ret_fast_syscall+0x0/0x30)
 r8:c004cd48 r7:00000036 r6:be9fea60 r5:0007eadc r4:00000000
---[ end trace f3b5ffa5a0409953 ]---
Loaded file ../firmware/dvr_rdk_BUG: Your driver calls ioremap() on system memory.  This leads
to architecturally unpredictable behaviour on ARMv6+, and ioremap()
will fail in the next kernel release.  Please fix your driver.
fw_m3vpss_2048M_------------[ cut here ]------------
512M.xem3 on slaWARNING: at arch/arm/mm/ioremap.c:211 __arm_ioremap_pfn_caller+0x58/0x190()
ve procId 2.
StModules linked in:arted slave proc syslinkId 2.

Backtrace: 
[<c005096c>] (dump_backtrace+0x0/0x110) from [<c03f2698>] (dump_stack+0x18/0x1c)
 r6:000000d3 r5:c00544e4 r4:00000000 r3:c057335c
[<c03f2680>] (dump_stack+0x0/0x1c) from [<c0076eb0>] (warn_slowpath_common+0x54/0x6c)
[<c0076e5c>] (warn_slowpath_common+0x0/0x6c) from [<c0076eec>] (warn_slowpath_null+0x24/0x2c)
 r8:00000002 r7:00000002 r6:00000000 r5:00080000 r4:18000000
r3:00000009
[<c0076ec8>] (warn_slowpath_null+0x0/0x2c) from [<c00544e4>] (__arm_ioremap_pfn_caller+0x58/0x190)
[<c005448c>] (__arm_ioremap_pfn_caller+0x0/0x190) from [<c0054698>] (__arm_ioremap_caller+0x5c/0x64)
[<c005463c>] (__arm_ioremap_caller+0x0/0x64) from [<c0067bb4>] (omap_ioremap+0x60/0x64)
 r5:bf022fa8 r4:80000000
[<c0067b54>] (omap_ioremap+0x0/0x64) from [<bf022fa8>] (MemoryOS_map+0xe4/0x1e0 [syslink])
 r7:bf0aea78 r6:dda37df8 r5:00000000 r4:dda37d18
[<bf022ec4>] (MemoryOS_map+0x0/0x1e0 [syslink]) from [<bf002e48>] (_ProcMgr_map+0xb4/0x2fc [syslink])
 r6:dda37df8 r5:e34a0000 r4:00000001
[<bf002d94>] (_ProcMgr_map+0x0/0x2fc [syslink]) from [<bf00310c>] (ProcMgr_map+0x7c/0xd8 [syslink])
[<bf003090>] (ProcMgr_map+0x0/0xd8 [syslink]) from [<bf012270>] (Platform_loadCallback+0x4e0/0x7d4 [syslink])
 r8:00000002 r7:00000001 r6:00000018 r5:bf0aea78 r4:bf0ae8b8
[<bf011d90>] (Platform_loadCallback+0x0/0x7d4 [syslink]) from [<bf02fb64>] (Ipc_control+0x68/0x14c [syslink])
[<bf02fafc>] (Ipc_control+0x0/0x14c [syslink]) from [<bf053418>] (IpcDrv_drvioctl+0xfc/0x580 [syslink])
 r7:be9fea6c r6:c014f497 r5:c014f497 r4:00000000
[<bf05331c>] (IpcDrv_drvioctl+0x0/0x580 [syslink]) from [<c00dd9e4>] (vfs_ioctl+0x28/0x44)
[<c00dd9bc>] (vfs_ioctl+0x0/0x44) from [<c00de0dc>] (do_vfs_ioctl+0x4ec/0x534)
[<c00ddbf0>] (do_vfs_ioctl+0x0/0x534) from [<c00de17c>] (sys_ioctl+0x58/0x7c)
 r9:dda36000 r8:00000000 r7:00000005 r6:c014f497 r5:be9fea6c
r4:ddb99380
[<c00de124>] (sys_ioctl+0x0/0x7c) from [<c004cba0>] (ret_fast_syscall+0x0/0x30)
 r8:c004cd48 r7:00000036 r6:c014f497 r5:0007eadc r4:be9fea6c
---[ end trace f3b5ffa5a0409954 ]---
vmap allocation for size 402657280 failed: use vmalloc=<size> to increase size.
Unable to handle kernel NULL pointer dereference at virtual address 00000010
pgd = ddbd0000
[00000010] *pgd=9da35031, *pte=00000000, *ppte=00000000
Internal error: Oops: 817 [#1]
last sysfs file: /sys/kernel/uevent_seqnum
Modules linked in: syslink
CPU: 0    Tainted: G        W    (2.6.37+ #2)
PC is at HeapMemMP_postInit+0xc0/0x14c [syslink]
LR is at GateMP_getSharedAddr+0x4c/0x60 [syslink]
pc : [<bf030d90>]    lr : [<bf02d690>]    psr: 80000013
sp : dda37c68  ip : 00000000  fp : dda37c9c
r10: bf07e8a4  r9 : dda36000  r8 : 00000001
r7 : 00000000  r6 : 17ffff80  r5 : e0897000  r4 : e089a000
r3 : 00000580  r2 : bf06d583  r1 : 00000580  r0 : 00000580
Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
Control: 10c5387d  Table: 9dbd0019  DAC: 00000015
Process fw_load.out (pid: 1069, stack limit = 0xdda362e8)
Stack: (0xdda37c68 to 0xdda38000)
7c60:                   00000080 00000000 00000000 00000000 17ffff80 00000000
7c80: e089a000 dda37cd8 00000000 e0897000 dda37cd4 dda37ca0 bf031110 bf030cdc
7ca0: dda37cd8 00000001 bf022ba8 00000000 bf0aea78 dda37cd8 dda37d14 dda37d14
7cc0: 17ffff80 bf0ae8c8 dda37d0c dda37cd8 bf03123c bf030ed8 00000000 00000000
7ce0: 00000000 17ffff80 00000000 e0897000 bf030c60 00000001 00000048 e0b2e024
7d00: dda37d4c dda37d10 bf0253d4 bf0311f0 00010003 00000000 00000000 00000000
7d20: 17ffff80 00000000 bf020000 00000000 bf07e79c e4000000 00000002 00000002
7d40: dda37da4 dda37d50 bf030968 bf02532c dda37d7c dda37d60 e4000000 00c00000
7d60: 00010003 00000000 00000080 00000001 00000000 00000000 bf020000 00000000
7d80: 00000002 00000001 00000002 bf0ae8b8 00000001 00000030 dda37e7c dda37da8
7da0: bf012444 bf030814 80000000 80000000 18000000 00000001 72616853 65526465
7dc0: 6e6f6967 746e652e 315b7972 61632e5d 45656863 6c62616e dd003d65 dda37de8
7de0: c005401c c00bcba0 c098b2e0 00000000 dda37e14 dda37e00 00000000 c008e444
7e00: 80000000 80000000 dda37e64 18000000 c00b0001 c00a9fe0 c022d5b4 00000000
7e20: 18000000 00010003 00000001 00000080 00090001 00000000 00010001 ddbd0000
7e40: 00000001 0000a000 00000000 80000000 0000001c 9c8d8b80 babe0000 bf0aea78
7e60: 00000002 00000000 00000000 00000000 dda37ea4 dda37e80 bf02fb64 bf011d9c
7e80: babe0000 00000000 00000000 c014f497 c014f497 be9fea6c dda37efc dda37ea8
7ea0: bf053418 bf02fb08 c014f497 be9fea6c dda37ecc dda37ec0 c00927a4 00070002
7ec0: babe0000 00000000 00000000 400d8000 c00fc130 be9fea6c ddb99380 c014f497
7ee0: 00000005 00000000 dda36000 00000000 dda37f0c dda37f00 c00dd9e4 bf053328
7f00: dda37f74 dda37f10 c00de0dc c00dd9c8 dda36000 00000018 ddaa9a88 00000000
7f20: 00000002 dd895e70 dda36000 00000000 dda37f6c dda37f40 c00d1314 c00fbf54
7f40: 00000000 ddaa9a80 00000018 ddb99500 ddb99380 be9fea6c c014f497 00000005
7f60: 00000000 dda36000 dda37fa4 dda37f78 c00de17c c00ddbfc c03f2f4c 00000001
7f80: ffffffff be9fea6c 0007eadc c014f497 00000036 c004cd48 00000000 dda37fa8
7fa0: c004cba0 c00de130 be9fea6c 0007eadc 00000005 c014f497 be9fea6c 00000001
7fc0: be9fea6c 0007eadc c014f497 00000036 be9feab4 00000000 400d8000 00000000
7fe0: 0007ea98 be9fea08 0001d14c 40319aec 20000010 00000005 00000000 00000000
Backtrace: 
[<bf030cd0>] (HeapMemMP_postInit+0x0/0x14c [syslink]) from [<bf031110>] (_HeapMemMP_create+0x244/0x318 [syslink])
 r7:e0897000 r6:00000000 r5:dda37cd8 r4:e089a000
[<bf030ecc>] (_HeapMemMP_create+0x0/0x318 [syslink]) from [<bf03123c>] (HeapMemMP_create+0x58/0x84 [syslink])
[<bf0311e4>] (HeapMemMP_create+0x0/0x84 [syslink]) from [<bf0253d4>] (SharedRegion_start+0xb4/0x11c [syslink])
 r6:e0b2e024 r5:00000048 r4:00000001
[<bf025320>] (SharedRegion_start+0x0/0x11c [syslink]) from [<bf030968>] (Ipc_start+0x160/0x264 [syslink])
 r8:00000002 r7:00000002 r6:e4000000 r5:bf07e79c r4:00000000
[<bf030808>] (Ipc_start+0x0/0x264 [syslink]) from [<bf012444>] (Platform_loadCallback+0x6b4/0x7d4 [syslink])
 r6:00000030 r5:00000001 r4:bf0ae8b8
[<bf011d90>] (Platform_loadCallback+0x0/0x7d4 [syslink]) from [<bf02fb64>] (Ipc_control+0x68/0x14c [syslink])
[<bf02fafc>] (Ipc_control+0x0/0x14c [syslink]) from [<bf053418>] (IpcDrv_drvioctl+0xfc/0x580 [syslink])
 r7:be9fea6c r6:c014f497 r5:c014f497 r4:00000000
[<bf05331c>] (IpcDrv_drvioctl+0x0/0x580 [syslink]) from [<c00dd9e4>] (vfs_ioctl+0x28/0x44)
[<c00dd9bc>] (vfs_ioctl+0x0/0x44) from [<c00de0dc>] (do_vfs_ioctl+0x4ec/0x534)
[<c00ddbf0>] (do_vfs_ioctl+0x0/0x534) from [<c00de17c>] (sys_ioctl+0x58/0x7c)
 r9:dda36000 r8:00000000 r7:00000005 r6:c014f497 r5:be9fea6c
r4:ddb99380
[<c00de124>] (sys_ioctl+0x0/0x7c) from [<c004cba0>] (ret_fast_syscall+0x0/0x30)
 r8:c004cd48 r7:00000036 r6:c014f497 r5:0007eadc r4:be9fea6c
Code: e0060096 e594000c e5846024 ebfff22c (e5870010) 
---[ end trace f3b5ffa5a0409955 ]---
^C
root@scp:/opt/dvr_rdk/ti814x# kas   lsmod
Module                  Size  Used by
syslink               804065  17 
root@scp:/opt/dvr_rdk/ti814x# 
root@scp:/opt/dvr_rdk/ti814x# 

  • You have not compiled your kernel for load address of 0xC000_0000. It is trying to load the kernel at 0x8000_0000 address. Additionally pass vmalloc=476M in the kernel bootargs.Refer 2G build documentation in 816x.Finally confirm you are able to access entire 2G from uboot by first writing different pattern starting from 0x8000_0000 at 128M address difference and finally reading them back. Don't use mem_test. It will not catch wrong DDR size configuration.

    Cmd to rebuild uImage@${RDK_LINUX_BASE_ADDR}:mkimage -A arm -O linux -T kernel -C none -a ${RDK_LINUX_LOAD_ADDR} -e ${RDK_LINUX_LOAD_ADDR} -n 'Linux-2.6.37' -d arch/arm/boot/zImage uImage"
    Refer http://processors.wiki.ti.com/index.php/DM816x_AM389x_PSP_User_Guide#Auto_detection_of_Kernel_Load_Address_and_Run_Time_RAM_Base_Determination

  • Hello Badri,
    thanX alot for your answer.
    May I ask you explain me what exact to do "vmalloc=476M"?

  • Marat,

    Marat Shchuchinsky said:
    May I ask you explain me what exact to do "vmalloc=476M"?

    If I understand your question correctly, you need to know how to add "vmalloc=476M' in the bootargs, below is example:

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

    Regards,
    Pavel

  • Marat,

    Marat Shchuchinsky said:
    My bootargs as is folowing:
    "bootargs=mem=512M ddr_mem=2048M console=ttyO0,115200n8 root=/dev/nfs rw nfsroot=10.0.0.131:/home/marat/workdir/SmartCore/trunk/target/rfs_814x ip=dhcp vram=24M notifyk.vpssm3_sva=0xbfd00000"

    "bootargs=mem=512M ddr_mem=2048M console=ttyO0,115200n8 root=/dev/nfs rw nfsroot=10.0.0.131:/home/marat/workdir/SmartCore/trunk/target/rfs_814x ip=dhcp vram=24M notifyk.vpssm3_sva=0xbfd00000 vmalloc=476M"

    Regards,
    Pavel

  • ThanX alot Pavel.


    I mean from where this number - 476M, was taken.

    Why just 476M? How to compute this number if I change my memory map again?

  • Marat,

    This is a generic Linux question, so the below links might be in help:

    http://www.mythtv.org/wiki/Common_Problem:_vmalloc_too_small

    http://www.embedded-bits.co.uk/2011/vmalloc-region-overlap/

    http://oreilly.com/linux/excerpts/9780596100797/kernel-boot-command-line-parameter-reference.html

    Also we have some e2e threads discussing the vmalloc:

    http://e2e.ti.com/support/embedded/linux/f/354/t/210262.aspx

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/355443.aspx

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/p/251597/881561.aspx#881561

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/p/235396/825306.aspx#825306

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/p/204654/795306.aspx#795306

    Regards,
    Pavel

  • vmalloc size is determined mainly by syslink requirement. Syslink requires vmalloc memory when loading each M3 and c674 firmware. The size fo vmalloc area depends on size of .text + .data and this is typically small of the order of 10MB or so. The other major use of vmalloc in syslink is for the SharedRegion. SharedRegion physical memory is remapped and this consumes equal amount of vmalloc space.So size of vmalloc space is mainly determined by SharedRegion size. On A8 SR1 and SR0 are mapped. Insufficient vmalloc space will cause firmware load to fail.

    vmalloc space is just virtual memory . Setting it to 476 M doesn't mean linux_mem_size has to be greater than 476M.

  • Pavel and Badri, I'm very glad for detail explanation.
    But unfortunatelly I still can't fix 2GB RAM problem on my board.
    For avoid run linux kernel from non-default memory space I make minor change in my memory map -
    replace kernel to default memory location and decrease linux memory size from 512MB to 480MB.
     
    After this changes memory map looked as is following:

    ===========================================================================
     Memory Map - 2GB DDR [4 x 512MB regions], 480MB for Linux:
                                                            
      0x80000000 ----+-------------------+
             ^       |                   |
             |       |  480 MB           | Linux
             |       |                   |
           512MB     +-------------------+
             |       |  12 MB            | Video  M3 BSS Data
             |       +-------------------+
             v       |  20 MB            | VPSS M3 BSS Data
      0xA0000000 ----+-------------------+
             ^       |  16384 KB         | DSP Code
             |       +-------------------+
             |       |  476 MB           | DSP Data
             |       +-------------------+
           512MB     |  12 MB            | (SR0) Syslink MsgQ/IPC List MP - <Non-cached on M3>
             |       +-------------------+
             |       |  512 KB           | Video M3 exception context
             |       +-------------------+
             |       |  512KB            | Vpss M3 exception context
             |       +-------------------+ 
             |       |  2 MB             | VPSS M3 - VPDMA Descriptor
             |       +-------------------+
             |       |  2 MB             | VPSS M3 - FBDev Shared Memory
             |       +-------------------+
             |       |  2 MB             | Host - VPSS M3 Notify(For FBDev)
             |       +-------------------+ 
             v       |  1 MB             | Remote Debug Print
      0xC0000000 ----+-------------------+ 
             ^       |  448 MB           | (SR2) Frame Buffer Region - <VPSS - Video M3 Frame Buf>
             |       +-------------------+
             |       |  8 MB             | Video M3 Code
             |       +-------------------+
           512MB     |  24 MB            | Video  M3 Data
             |       +-------------------+
             |       |  8 MB             | VPSS  M3 Code
             |       +-------------------+
             v       |  24 MB            | VPSS  M3 Data
      0xE0000000 ----+-------------------+
             ^       |  256MB            | (SR1) Bitstream buffer
             |       |                   | Cached on A8. Cached on M3, although access by DMAs
           512MB     +-------------------+
             |       |  256 MB           | Tiled 8-bit + 16-bit region
             v       |                   |
      0xFFFFFFFF ----+-------------------+
                                                            
     ###
     ### REGIONS MAP: ###
     ======== First 512 MB: =================================
     ### LINUX:                       0x80000000 - 0x9e000000
     ### VIDEO_M3_BSS_ADDR:           0x9e000000 - 0x9ec00000
     ### DSS_M3_BSS_ADDR:             0x9ec00000 - 0xa0000000
     ======== Second 512 MB: =================================
     ### DSP_CODE_ADDR:               0xa0000000 - 0xa1000000
     ### DSP_DATA_ADDR:               0xa1000000 - 0xbec00000
     ### SR0_ADDR:                    0xbec00000 - 0xbf800000
     ### VIDEO_M3_EXCEPTION_CTX_ADDR: 0xbf800000 - 0xbf880000
     ### VPSS_M3_EXCEPTION_CTX_ADDR:  0xbf880000 - 0xbf900000
     ### HDVPSS_DESC_ADDR:            0xbf900000 - 0xbfb00000
     ### HDVPSS_SHARED_ADDR:          0xbfb00000 - 0xbfd00000
     ### NOTIFY_SHARED_ADDR:          0xbfd00000 - 0xbff00000
     ### REMOTE_DEBUG_ADDR:           0xbff00000 - 0xc0000000
     ========= Third 512 MB: ==================================
     ### SR2_FRAME_BUFFER_ADDR:       0xc0000000 - 0xdc000000
     ### VIDEO_M3_CODE_ADDR:          0xdc000000 - 0xdc800000
     ### VIDEO_M3_DATA_ADDR:          0xdc800000 - 0xde000000
     ### DSS_M3_CODE_ADDR:            0xde000000 - 0xde800000
     ### DSS_M3_DATA_ADDR:            0xde800000 - 0xe0000000
     ======== Last 512 MB: ==================================
     ### SR1_ADDR:                    0xe0000000 - 0xf0000000
     ### TILER_ADDR:                  0xf0000000 - 0xffffffff
     =========================================================
     ###
     =========================================================
     ### TOTAL DDR usage in MB =       2048 MB ###
     ### Linux memory usage in MB =    480 MB  ###
     ### DSP Data memory usage in MB = 476 MB  ###
     =========================================================
     ### VIDEO_M3_BSS_ADDR_RUN =       - 0x3e000000
     ### DSS_M3_BSS_RUN =              - 0x3ec00000
     =========================================================
     ###
    ===========================================================================

    After "make sys_all" this board successfully booted - u-boot.min and u-boot from NAND
    and kernel via TFTP, file system via NFS.

    My bootargs looked as is following:
    "mem=480M ddr_mem=2048M console=ttyO0,115200n8 root=/dev/nfs rw nfsroot=10.0.0.131:/home/marat/workdir/SmartCore/trunk/target/rfs_814x ip=dhcp vram=24M notifyk.vpssm3_sva=0xbfd00000 vmalloc=464M"

    Remote debug client and Syslink module loaded successfully by "init.sh" script.
    But still exist problem with load HDVPSS module.
    After run "load.sh" script I see on my terminal:

    "Attached to slave procId 2.
    Loaded file ../firmware/dvr_rdk_fw_m3vpss_2048M_480M.xem3 on slave procId 2.
    Started slave procId 2.
    After Ipc_loadcallback status [0x00000000]"


    And it's all. But, pay attention, board isn't hangs I can connect to my board via telent by ip.
    I would be grateful if you can help me to fix the problem with 2GB RAM on DM8148 board.

    Please let me know, what in my 2GB memory map looks isn't good enough for HDVPSS?

    For more details - please look at attached boot-log file.
     

    5633.putty - boot-log.txt
    =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2014.07.29 12:31:28 =~=~=~=~=~=~=~=~=~=~=~=
    
    
    U-Boot 2010.06-svn365 (Jul 29 2014 - 11:57:13)
    
    TI8148-GP rev 3.0
    
    L3 clk         : 220MHz
    IVA clk        : 306MHz
    ISS clk        : 400MHz
    DSP clk        : 600MHz
    DSS clk        : 200MHz
    ARM clk        : 720MHz
    DDR clk        : 400MHz
    
    ------------ PLL Settings --------------
    OSC_0_FREQ    : 20MHz
    
    MODENA_N      : 1
    MODENA_M      : 72
    MODENA_M2     : 1
    
    L3_N          : 19
    L3_M          : 880
    L3_M2         : 4
    
    DSP_N         : 19
    DSP_M         : 600
    DSP_M2        : 1
    
    DSS_N         : 19
    DSS_M         : 800
    DSS_M2        : 4
    
    IVA_N         : 19
    IVA_M         : 612
    IVA_M2        : 2
    
    ISS_N         : 19
    ISS_M         : 800
    ISS_M2        : 2
    
    USB_N         : 19
    USB_M         : 960
    USB_M2        : 5
    
    DCO_HS2_MIN   : 500
    DCO_HS2_MAX   : 1000
    DCO_HS1_MIN   : 1000
    DCO_HS1_MAX   : 2000
    SELFREQDCO_HS2   : 2049
    SELFREQDCO_HS1   : 4097
    
    --------- DDR PLL ----------
    DDR_N             : 0x13
    DDR_M             : 0x320
    DDR_M2            : 0x2
    
    ----------EMIF Timings (identical for 0 & 1)-------
    DDR3_EMIF_READ_LATENCY : 0x170209
    DDR3_EMIF_TIM1         : 0xAAAD4DB
    DDR3_EMIF_TIM2         : 0x682F7FDA
    DDR3_EMIF_TIM3         : 0x501F82BF
    DDR3_EMIF_REF_CTRL     : 0xC30
    DDR3_EMIF_SDRAM_CONFIG : 0x61C011B2
    DDR3_EMIF_SDRAM_ZQCR   : 0x50074BE1
    
    ----------SW LEVEL Info (EMIF 0) -------
    DDR3_PHY_RD_DQS_CS0_BYTE0: 0x00000038
    DDR3_PHY_RD_DQS_CS0_BYTE1: 0x00000037
    DDR3_PHY_RD_DQS_CS0_BYTE2: 0x00000032
    DDR3_PHY_RD_DQS_CS0_BYTE3: 0x00000031
    
    DDR3_PHY_WR_DQS_CS0_BYTE0: 0x00000043
    DDR3_PHY_WR_DQS_CS0_BYTE1: 0x00000044
    DDR3_PHY_WR_DQS_CS0_BYTE2: 0x00000053
    DDR3_PHY_WR_DQS_CS0_BYTE3: 0x00000050
    
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE0: 0x000000E4
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE1: 0x00000111
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE2: 0x00000112
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE3: 0x0000013D
    
    DDR3_PHY_WR_DATA_CS0_BYTE0: 0x00000085
    DDR3_PHY_WR_DATA_CS0_BYTE1: 0x00000083
    DDR3_PHY_WR_DATA_CS0_BYTE2: 0x00000085
    DDR3_PHY_WR_DATA_CS0_BYTE3: 0x0000007F
    
    ----------SW LEVEL Info (EMIF 1) -------
    DDR3_PHY_RD_DQS_CS0_BYTE0: 0x0000003A
    DDR3_PHY_RD_DQS_CS0_BYTE1: 0x00000036
    DDR3_PHY_RD_DQS_CS0_BYTE2: 0x00000037
    DDR3_PHY_RD_DQS_CS0_BYTE3: 0x00000033
    
    DDR3_PHY_WR_DQS_CS0_BYTE0: 0x00000049
    DDR3_PHY_WR_DQS_CS0_BYTE1: 0x0000004E
    DDR3_PHY_WR_DQS_CS0_BYTE2: 0x00000054
    DDR3_PHY_WR_DQS_CS0_BYTE3: 0x00000050
    
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE0: 0x000000D3
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE1: 0x000000F7
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE2: 0x00000109
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE3: 0x00000135
    
    DDR3_PHY_WR_DATA_CS0_BYTE0: 0x0000008A
    DDR3_PHY_WR_DATA_CS0_BYTE1: 0x00000080
    DDR3_PHY_WR_DATA_CS0_BYTE2: 0x0000007F
    DDR3_PHY_WR_DATA_CS0_BYTE3: 0x00000085
    
    DRAM:  2 GiB
    NAND:  HW ECC BCH8 Selected
    512 MiB
    Using default environment
    
    The 2nd stage U-Boot will now be auto-loaded
    Please do not interrupt the countdown till Opgal_SCP# prompt if 2nd stage is already flashed
    Hit any key to stop autoboot:  1  0 
    
    NAND read: device 0 offset 0x20000, size 0x40000
     262144 bytes read: OK
    ## Starting application at 0x81000000 ...
    
    
    U-Boot 2010.06-svn365 (Jul 29 2014 - 11:57:59)
    
    TI8148-GP rev 3.0
    
    L3 clk         : 220MHz
    IVA clk        : 306MHz
    ISS clk        : 400MHz
    DSP clk        : 600MHz
    DSS clk        : 200MHz
    ARM clk        : 720MHz
    DDR clk        : 400MHz
    
    ------------ PLL Settings --------------
    OSC_0_FREQ    : 20MHz
    
    MODENA_N      : 1
    MODENA_M      : 72
    MODENA_M2     : 1
    
    L3_N          : 19
    L3_M          : 880
    L3_M2         : 4
    
    DSP_N         : 19
    DSP_M         : 600
    DSP_M2        : 1
    
    DSS_N         : 19
    DSS_M         : 800
    DSS_M2        : 4
    
    IVA_N         : 19
    IVA_M         : 612
    IVA_M2        : 2
    
    ISS_N         : 19
    ISS_M         : 800
    ISS_M2        : 2
    
    USB_N         : 19
    USB_M         : 960
    USB_M2        : 5
    
    DCO_HS2_MIN   : 500
    DCO_HS2_MAX   : 1000
    DCO_HS1_MIN   : 1000
    DCO_HS1_MAX   : 2000
    SELFREQDCO_HS2   : 2049
    SELFREQDCO_HS1   : 4097
    
    --------- DDR PLL ----------
    DDR_N             : 0x13
    DDR_M             : 0x320
    DDR_M2            : 0x2
    
    ----------EMIF Timings (identical for 0 & 1)-------
    DDR3_EMIF_READ_LATENCY : 0x170209
    DDR3_EMIF_TIM1         : 0xAAAD4DB
    DDR3_EMIF_TIM2         : 0x682F7FDA
    DDR3_EMIF_TIM3         : 0x501F82BF
    DDR3_EMIF_REF_CTRL     : 0xC30
    DDR3_EMIF_SDRAM_CONFIG : 0x61C011B2
    DDR3_EMIF_SDRAM_ZQCR   : 0x50074BE1
    
    ----------SW LEVEL Info (EMIF 0) -------
    DDR3_PHY_RD_DQS_CS0_BYTE0: 0x00000038
    DDR3_PHY_RD_DQS_CS0_BYTE1: 0x00000037
    DDR3_PHY_RD_DQS_CS0_BYTE2: 0x00000032
    DDR3_PHY_RD_DQS_CS0_BYTE3: 0x00000031
    
    DDR3_PHY_WR_DQS_CS0_BYTE0: 0x00000043
    DDR3_PHY_WR_DQS_CS0_BYTE1: 0x00000044
    DDR3_PHY_WR_DQS_CS0_BYTE2: 0x00000053
    DDR3_PHY_WR_DQS_CS0_BYTE3: 0x00000050
    
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE0: 0x000000E4
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE1: 0x00000111
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE2: 0x00000112
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE3: 0x0000013D
    
    DDR3_PHY_WR_DATA_CS0_BYTE0: 0x00000085
    DDR3_PHY_WR_DATA_CS0_BYTE1: 0x00000083
    DDR3_PHY_WR_DATA_CS0_BYTE2: 0x00000085
    DDR3_PHY_WR_DATA_CS0_BYTE3: 0x0000007F
    
    ----------SW LEVEL Info (EMIF 1) -------
    DDR3_PHY_RD_DQS_CS0_BYTE0: 0x0000003A
    DDR3_PHY_RD_DQS_CS0_BYTE1: 0x00000036
    DDR3_PHY_RD_DQS_CS0_BYTE2: 0x00000037
    DDR3_PHY_RD_DQS_CS0_BYTE3: 0x00000033
    
    DDR3_PHY_WR_DQS_CS0_BYTE0: 0x00000049
    DDR3_PHY_WR_DQS_CS0_BYTE1: 0x0000004E
    DDR3_PHY_WR_DQS_CS0_BYTE2: 0x00000054
    DDR3_PHY_WR_DQS_CS0_BYTE3: 0x00000050
    
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE0: 0x000000D3
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE1: 0x000000F7
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE2: 0x00000109
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE3: 0x00000135
    
    DDR3_PHY_WR_DATA_CS0_BYTE0: 0x0000008A
    DDR3_PHY_WR_DATA_CS0_BYTE1: 0x00000080
    DDR3_PHY_WR_DATA_CS0_BYTE2: 0x0000007F
    DDR3_PHY_WR_DATA_CS0_BYTE3: 0x00000085
    
    I2C:   ready
    DRAM:  2 GiB
    NAND:  HW ECC BCH8 Selected
    512 MiB
    MMC:   OMAP SD/MMC: 0
               _        _               
               \'-.__.-'/              
               / (o)(o) \              
               \   \/   /             
               /'------'\              
              /,   ..  , \             
             /// .::::. \\\          
            ///\ :::::: /\\\        
            ''  ).''''.(  ``            
       + ======(((====)))=========+     
       | Opgal SmartCore Platform |     
       + =========================+     
                                        
    
    Net:   Detected MACID:7c:66:9d:36:b3:96
    cpsw
    Hit any key to stop autoboot:  3  0 
    Opgal_SCP#printenv
    bootdelay=3
    baudrate=115200
    verify=yes
    loadaddr=0x81000000
    ethact=cpsw
    ethaddr=7c:66:9d:36:b3:96
    bootcmd_tftp=tftp 0x81000000 uImage;bootm 0x81000000
    bootcmd_nand=nand read 0x81000000 0x00280000 0x2c0000;bootm 0x81000000
    autoload=no
    rootdelay=5
    filesize=2B682C
    fileaddr=81000000
    bootcmd=tftp 0x81000000 uImage;bootm 0x81000000
    bootfile=uImage
    gatewayip=10.0.0.254
    netmask=255.255.254.0
    ipaddr=10.0.0.181
    dnsip=10.0.0.252
    dnsip2=10.0.0.34
    serverip=10.0.0.131
    bootargs=mem=480M ddr_mem=2048M console=ttyO0,115200n8 root=/dev/nfs rw nfsroot=10.0.0.131:/home/marat/workdir/SmartCore/trunk/target/rfs_814x ip=dhcp vram=24M notifyk.vpssm3_sva=0xbfd00000 vmalloc=464M
    stdin=serial
    stdout=serial
    stderr=serial
    
    Environment size: 702/131068 bytes
    Opgal_SCP#boot
    Configuring Marvell Phy 88E15xx pre-init errata
    link up on port 0, speed 1000, full duplex
    Using cpsw device
    TFTP from server 10.0.0.131; our IP address is 10.0.0.181
    Filename 'uImage'.
    Load address: 0x81000000
    Loading: *#################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     ####################################
    done
    Bytes transferred = 2844700 (0x2b681c)
    ## Booting kernel from Legacy Image at 81000000 ...
       Image Name:   Linux-2.6.37+
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2844636 Bytes = 2.7 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+ (marat@marat-ubuntu) (gcc version 4.4.1 (Sourcery G++ Lite 2009q3-67) ) #1 Tue Jul 29 12:07:03 IDT 2014
    CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
    CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    Machine: ti8148evm
    vram size = 25165824 at 0x0
    ti81xx_reserve: ### Reserved DDR region @9df00000
    reserved size = 25165824 at 0x0
    FB: Reserving 25165824 bytes SDRAM for VRAM
    Memory policy: ECC disabled, Data cache writeback
    OMAP chip is TI8148 3.0
    SRAM: Mapped pa 0x402f1000 to va 0xfe400000 size: 0xf000
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 115520
    Kernel command line: mem=480M ddr_mem=2048M console=ttyO0,115200n8 root=/dev/nfs rw nfsroot=10.0.0.131:/home/marat/workdir/SmartCore/trunk/target/rfs_814x ip=dhcp vram=24M notifyk.vpssm3_sva=0xbfd00000 vmalloc=464M
    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: 454MB 1MB = 455MB total
    Memory: 455580k/455580k available, 35940k reserved, 23552K highmem
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
        DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
        vmalloc : 0xdb800000 - 0xf8000000   ( 456 MB)
        lowmem  : 0xc0000000 - 0xdb000000   ( 432 MB)
        pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
        modules : 0xbf000000 - 0xbfe00000   (  14 MB)
          .init : 0xc0008000 - 0xc0042000   ( 232 kB)
          .text : 0xc0042000 - 0xc0556000   (5200 kB)
          .data : 0xc0556000 - 0xc05acb00   ( 347 kB)
    SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    NR_IRQS:407
    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 IRQ400
    Trying to install interrupt handler for IRQ401
    Trying to install interrupt handler for IRQ402
    Trying to install interrupt handler for IRQ403
    Trying to install interrupt handler for IRQ404
    Trying to install interrupt handler for IRQ405
    Trying to install interrupt handler for IRQ406
    Trying to install type control for IRQ407
    Trying to set irq flags for IRQ407
    OMAP clockevent source: GPTIMER1 at 20000000 Hz
    Console: colour dummy device 80x30
    Calibrating delay loop... 719.25 BogoMIPS (lpj=3596288)
    pid_max: default: 32768 minimum: 301
    Security Framework initialized
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    devtmpfs: initialized
    TI81XX: Map 0x9df00000 to 0xfe500000 for dram barrier
    TI81XX: Map 0x40300000 to 0xfe600000 for sram barrier
    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 GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    omap_mux_init: Add partition: #1: core, flags: 4
    clk get on i2c3 fck failed
    Cannot clk_get ck_32
    Debugfs: Only enabling/disabling deep sleep and wakeup timer is supported now
    registered ti81xx_vpss device
    registered ti81xx_vidout device
    registered ti81xx on-chip HDMI device
    registered ti81xx_fb device
    registered ti81xx_vin device
    NSS Crypto DMA hardware revision 1.9 @ IRQ 116
    ti81xx_pcie: Invoking PCI BIOS...
    ti81xx_pcie: Setting up Host Controller...
    ti81xx_pcie: Register base mapped @0xdb830000
    ti81xx_pcie: forcing link width - x1
    ti81xx_pcie: Starting PCI scan...
    PCI: bus0: Fast back to back transfers enabled
    ti81xx_pcie: PCI scan done.
    bio: create slab <bio-0> at 0
    vgaarb: loaded
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    USBSS revision 4ea2080b
    registerd cppi-dma Intr @ IRQ 17
    Cppi41 Init Done
    omap_i2c omap_i2c.1: bus 1 rev4.0 at 400 kHz
    I2C: Transfer failed at pcf8575_cir_enable 281 with error code: -121
    pcf857x: probe of 1-0021 failed with error -121
    regulator: VRTC: 1800 mV 
    regulator: VIO: 1500 mV 
    regulator: VDD1: 600 <--> 1500 mV at 1200 mV 
    regulator: VDD2: 600 <--> 1500 mV at 1200 mV 
    regulator: VDDCTRL: 600 <--> 1400 mV at 1200 mV 
    regulator: LDO1: 1100 <--> 3300 mV at 1800 mV 
    regulator: LDO2: 1100 <--> 3300 mV at 1800 mV 
    regulator: LDO3: 1100 <--> 3300 mV at 3300 mV 
    regulator: LDO4: 1100 <--> 3300 mV at 1800 mV 
    regulator: LDO5: 1100 <--> 3300 mV at 3300 mV 
    regulator: LDO6: 1100 <--> 3300 mV at 3300 mV 
    regulator: LDO7: 1100 <--> 3300 mV at 3300 mV 
    regulator: LDO8: 1100 <--> 3300 mV at 1800 mV 
    tps65910 1-002d: No interrupt support, no core IRQ
    omap_i2c omap_i2c.3: bus 3 rev4.0 at 400 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
    usb2phy: computed values rxcalib(15)DACs(29 11 14)
    usb2phy: override computed values rxcalib(15)DACs(29 11 14)
    usb2phy_config: musb(0) rxcalib done, rxcalib read value 6f6ed776
    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 db81e000 using DMA, IRQ 18
    musb-hdrc musb-hdrc.1: dma type: dma-cppi41
    MUSB controller-1 revision 4ea20800
    usb2phy: computed values rxcalib(15)DACs(22 15 15)
    usb2phy: override computed values rxcalib(15)DACs(22 15 15)
    usb2phy_config: musb(1) rxcalib done, rxcalib read value 6f6b5f7e
    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 db82a800 using DMA, IRQ 19
    NET: Registered protocol family 2
    IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
    TCP established hash table entries: 16384 (order: 5, 131072 bytes)
    TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
    TCP: Hash tables configured (established 16384 bind 16384)
    TCP reno registered
    UDP hash table entries: 256 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    NET: Registered protocol family 1
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    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 843
    alg: No test for stdrng (krng)
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    nss_rng nss_rng: NSS Random Number Generator ver. 2.0
    Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0
    console [ttyO0] enabled
    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
    omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    brd: module loaded
    loop: module loaded
    ahci probe: devid name is ahci
    ahci CAP register dump =0x6726ff80
    Modified ahci CAP register dump =0x6f26ff80
    ahci ahci.0: forcing PORTS_IMPL to 0x1
    ahci: SSS flag set, parallel bus scan disabled
    ahci ahci.0: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    ahci ahci.0: flags: ncq sntf stag pm led clo only pmp pio slum part ccc apst 
    scsi0 : ahci_platform
    ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x100 irq 16
    omap2-nand driver initializing
    ONFI param page 0 valid
    ONFI flash detected
    NAND device: Maf ID: 0x2c, Chip ID: 0xbc (Micron, NAND 512MiB 1,8V 16-bit)
     erasesize: 0x20000, writesize: 2048, oobsize: 64
    omap2-nand: detected x16 NAND flash 
    Creating 7 MTD partitions on "omap2-nand.0":
    0x000000000000-0x000000020000 : "U-Boot-min"
    0x000000020000-0x000000260000 : "U-Boot"
    0x000000260000-0x000000280000 : "U-Boot Env"
    0x000000280000-0x000000580000 : "U-Boot Logo"
    0x000000580000-0x0000009c0000 : "Kernel"
    0x0000009c0000-0x00000d1e0000 : "File System"
    0x00000d1e0000-0x000020000000 : "Reserved"
    davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    davinci_mdio davinci_mdio.0: detected phy mask fffffffe
    davinci_mdio.0: probed
    davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
    CAN device driver interface
    CAN bus driver for Bosch D_CAN controller 1.0
    d_can d_can: d_can device registered (irq=52, irq_obj=53)
    usbcore: registered new interface driver cdc_ether
    usbcore: registered new interface driver dm9601
    usbcore: registered new interface driver cdc_acm
    cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
    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
    ata1: SATA link down (SStatus 0 SControl 300)
    hub 2-0:1.0: over-current change on port 1
    qt602240_ts 1-004a: __qt602240_read_reg: i2c transfer failed
    qt602240_ts: probe of 1-004a failed with error -5
    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
    nss_aes_mod_init: loading NSS AES driver
    nss-aes nss-aes: NSS AES hw accel rev: 3.2 (context 0 @0x41140000)
    nss-aes nss-aes: NSS AES hw accel rev: 3.2 (context 1 @0x41141000)
    nss-aes nss-aes: NSS AES hw accel rev: 3.2 (context 2 @0x411a0000)
    nss-aes nss-aes: NSS AES hw accel rev: 3.2 (context 3 @0x411a1000)
    nss_aes_probe: probe() done
    nss_des_mod_init: loading NSS DES driver
    nss-des nss-des: NSS DES hw accel rev: 2.2 (context 0 @0x41160000)
    nss-des nss-des: NSS DES hw accel rev: 2.2 (context 1 @0x41161000)
    nss_des_probe: probe() done
    nss_sham_mod_init: loading NSS SHA/MD5 driver
    nss-sham nss-sham: NSS SHA/MD5 hw accel rev: 4.03 (context 0 @0x41100000)
    nss-sham nss-sham: NSS SHA/MD5 hw accel rev: 4.03 (context 1 @0x41101000)
    nss-sham nss-sham: NSS SHA/MD5 hw accel rev: 4.03 (context 2 @0x411c0000)
    nss-sham nss-sham: NSS SHA/MD5 hw accel rev: 4.03 (context 3 @0x411c1000)
    nss_sham_probe: probe() done
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    notify_init : notify drivercreated  for  remote proc id 2 at physical Address 0xbfd00000
    usbcore: registered new interface driver snd-usb-audio
    Registered tvp5158 audio codec
    *** Forcing SW CTS!
    asoc: tvp5158-hifi <-> davinci-mcasp.0 mapping ok
    asoc: tlv320aic3x-hifi <-> davinci-mcasp.2 mapping ok
    asoc: HDMI-DAI-CODEC <-> hdmi-dai mapping ok
    ALSA device list:
      #0: TI81XX SOUND0
      #1: TI81XX SOUND1
    TCP cubic registered
    NET: Registered protocol family 17
    can: controller area network core (rev 20090105 abi 8)
    NET: Registered protocol family 29
    can: raw protocol (rev 20090105)
    can: broadcast manager protocol (rev 20090105 t)
    Registering the dns_resolver key type
    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.
    Detected MACID=7c:66:9d:36:b3:96
    omap_rtc omap_rtc: setting system clock to 2014-07-01 00:00:00 UTC (1404172800)
    mmc0: new high speed MMC card at address 0001
    mmcblk0: mmc0:0001 MMC32G 29.5 GiB 
     mmcblk0: unknown partition table
    
    CPSW phy found : id is : 0x1410dd1
    PHY 0:01 not found
    Sending DHCP requests ..
    PHY: 0:00 - Link is Up - 1000/Full
    ., OK
    IP-Config: Got DHCP answer from 0.0.0.0, my address is 10.0.0.181
    IP-Config: Complete:
         device=eth0, addr=10.0.0.181, mask=255.255.254.0, gw=10.0.0.254,
         host=10.0.0.181, domain=opgal.com, nis-domain=(none),
         bootserver=0.0.0.0, rootserver=10.0.0.131, rootpath=
    VFS: Mounted root (nfs filesystem) on device 0:15.
    devtmpfs: mounted
    Freeing init memory: 232K
    
    INIT: version 2.86 bootingError opening /dev/fb0: No such file or directory
    Please wait: booting...
    Starting udev
    udevd (119): /proc/119/oom_adj is deprecated, please use /proc/119/oom_score_adj instead.
    udev: starting version 141
    udevd-event[126]: error changing netif name eth0 to eth1: Device or resource busy
    Root filesystem already rw, not remounting
    Caching udev devnodes
    Populating dev cacheFAT: bogus number of reserved sectors
    VFS: Can't find a valid FAT filesystem on dev mmcblk0.
    EXT3-fs (mmcblk0): error: can't find ext3 filesystem on dev mmcblk0.
    EXT2-fs (mmcblk0): error: can't find an ext2 filesystem on dev mmcblk0.
    
    FAT: bogus number of reserved sectors
    VFS: Can't find a valid FAT filesystem on dev mmcblk0.
    ISOFS: Unable to identify CD-ROM format.
    ALSA: Restoring mixer settings...
    NOT configuring network interfaces: / is an NFS mount
    Fri Aug 17 21:01:00 UTC 2012
    
    INIT: Entering runlevel: 5Starting system message bus: dbus.
    Starting telnet daemon.
    Starting syslogd/klogd: done
    Starting thttpd.
        __________
       / ___  ___ \
      / / @ \/ @ \ \
      \ \___/\___/ /\
       \____\/____/||
       /     /\\\\\//
       |     |\\\\\\
        \      \\\\\\
         \______/\\\\
          _||_||_
    +-----------------------+
    | http://www.opgal.com  |
    +-----------------------+
    OPGAL SmartCore Board (2014.07)
    
    root@scp:~# cat /proc/meminfo
    MemTotal:         455812 kB
    MemFree:          439848 kB
    Buffers:               0 kB
    Cached:             6816 kB
    SwapCached:            0 kB
    Active:             3472 kB
    Inactive:           4524 kB
    Active(anon):       1292 kB
    Inactive(anon):       80 kB
    Active(file):       2180 kB
    Inactive(file):     4444 kB
    Unevictable:           0 kB
    Mlocked:               0 kB
    HighTotal:         23552 kB
    HighFree:          14892 kB
    LowTotal:         432260 kB
    LowFree:          424956 kB
    SwapTotal:             0 kB
    SwapFree:              0 kB
    Dirty:                 0 kB
    Writeback:             0 kB
    AnonPages:          1208 kB
    Mapped:             1464 kB
    Shmem:               192 kB
    Slab:               4412 kB
    SReclaimable:       1600 kB
    SUnreclaim:         2812 kB
    KernelStack:         432 kB
    PageTables:          172 kB
    NFS_Unstable:          0 kB
    Bounce:                0 kB
    WritebackTmp:          0 kB
    CommitLimit:      227904 kB
    Committed_AS:       5456 kB
    VmallocTotal:     466944 kB
    VmallocUsed:       25632 kB
    VmallocChunk:     434172 kB
    root@scp:~# 
    root@scp:~# cd /opt
    root@scp:~# cd /opt/dvr
    root@scp:~# cd /opt/dvr_rdk/ti814
    root@scp:~# cd /opt/dvr_rdk/ti814x/
    root@scp:/opt/dvr_rdk/ti814x# 
    root@scp:/opt/dvr_rdk/ti814x# ls
    OpgalLogo_600_256_24.png  hdmi_tst.sh               run_link_api.sh
    bin                       init.sh                   run_scp_app.sh
    blue_cross.png            kermod                    save
    camtst.sh                 load.sh                   scp
    cross.png                 loaddbg.sh                scp_demo.ini
    dbgfs_mount.sh            nuc                       scp_run.sh
    demo_ini                  open_bin                  scripts
    demo_run.sh               opgalAlgIn                still
    dev.ini                   opgalAlgOut               test
    env.sh                    parseEnv.sh               unload.sh
    env_1024M_128M.sh         red_cross.png             validate.sh
    env_2048M_480M.sh         reticle_140.png           white_cross.png
    env_512M_128M.sh          run.sh
    firmware                  run_gui.sh
    root@scp:/opt/dvr_rdk/ti814x# cat run_g
    root@scp:/opt/dvr_rdk/ti814x# cat run_gui.sh 
    #! /bin/sh
    
    export LD_LIBRARY_PATH=$PWD/firmware
    export QT_QWS_FONTDIR=/usr/lib/fonts
    
    dvrapp_dir="./bin"
    mkdir -p $dvrapp_dir/dvrapp_cfg
    
    ./dbgfs_mount.sh
    
    ./init.sh n
    ./load.sh
    ./scp &
    root@scp:/opt/dvr_rdk/ti814x# ./init
    root@scp:/opt/dvr_rdk/ti814x# ./init.sh 
    *** Bootargs Validated for mem param ***
    *** Bootargs Validated for notifyk.vpssm3 params ***
    Kernel bootargs validated
    numid=1,iface=MIXER,name='PCM Playback Volume'
      ; type=INTEGER,access=rw---R--,values=2,min=0,max=127,step=0
      : values=127,127
      | dBscale-min=-63.50dB,step=0.50dB,mute=0
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
    SysLink version : 2.20.02.20
    SysLink module created on Date:Jul 29 2014 Time:12:08:00
    Trace enabled
    Trace SetFailureReason enabled
     Setting DMM priority for [DUCATI  ] to [0] ( 0x4e000624 = 0x08000000 )
     Setting DMM priority for [HDVICP0 ] to [2] ( 0x4e000634 = 0x0000000a )
     
     *** TVP5158 probe : START ***
     
     
     I2C (0x5c): 0x08 = 0x51 
     I2C (0x5c): 0x09 = 0x58 
     
     *** TVP5158 probe : END ***
     
    /opt/dvr_rdk/ti814x
    root@scp:/opt/dvr_rdk/ti814x# lsmod
    Module                  Size  Used by
    syslink               804065  0 
    root@scp:/opt/dvr_rdk/ti814x# 
    root@scp:/opt/dvr_rdk/ti814x# 
    root@scp:/opt/dvr_rdk/ti814x# 
    root@scp:/opt/dvr_rdk/ti814x# 
    root@scp:/opt/dvr_rdk/ti814x# ./load
    root@scp:/opt/dvr_rdk/ti814x# ./load.s
    root@scp:/opt/dvr_rdk/ti814x# ./load.sh 
     
    ENV_DDR_MEM =  2048M
    ENV_LINUX_MEM =  480M
    ENV_NOTIFYK_VPSSM3_SVA_ADDR =  0xbfd00000
     
    Attached to slave procId 2.
    Loaded file ../firmware/dvr_rdk_fw_m3vpss_2048M_480M.xem3 on slave procId 2.
    Started slave procId 2.
    After Ipc_loadcallback status [0x00000000]
    
                                                                                                                                                                                           *** Platform_startCallback: Ipc_attach timeout
                                                                                                                                                                                                                                                            *** Platform_startCallback: Ipc_attach timeout
    Error [0xffffffff] at Line no: 2860 in file /home/marat/workdir/SmartCore/trunk/ti_tools/syslink/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/family/hlos/knl/ti81xx/Platform.c
    *** Ipc_control: Platform_startCallback failed!
    Error [0xffffffff] at Line no: 853 in file /home/marat/workdir/SmartCore/trunk/ti_tools/syslink/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/ipc/hlos/knl/Ipc.c
    Error in Ipc_control Ipc_CONTROLCMD_STARTCALLBACK [0xffffffff]
    Attached to slave procId 0.
    Loaded file ../firmware/dvr_rdk_fw_c6xdsp_2048M_480M.xe674 on slave procId 0.
    Started slave procId 0.
    After Ipc_loadcallback status [0x00000000]
     [c6xdsp ] DSP Freq  : 600 MHz
     [c6xdsp ] ***** SYSTEM  : Frequency <ORG> - 500000000, <NEW> - 600000000
     [c6xdsp ]  
     [c6xdsp ]  *** UTILS: CPU KHz = 600000 Khz ***
     [c6xdsp ]  
     [c6xdsp ]  1: SYSTEM  : System Common Init in progress !!!
     [c6xdsp ]  1: SYSTEM: IPC init in progress !!!
     [c6xdsp ]  1: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  1001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  2001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  3001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  4001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  5001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  6001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  7001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  8001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  9001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  10001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  11001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  12001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  13001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  14001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  15001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  16001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  17001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  18001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  19001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  20001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  21001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  22001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  23001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  24001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  25001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  26001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  27001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  28001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  29001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  30001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  31001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  32001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  33001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  34001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  35001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  36001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  37001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  38001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  39001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  40001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  41001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  42001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  43001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  44001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  45001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  46001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  47001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  48001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  49001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  50001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  51001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  52001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  53001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  54001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  55001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  56001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  57001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  58001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  59001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  60001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  61001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  62001: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  63001: SYSTEM: Attaching to [HOST] ... 
    

  • This memory map wont work. Use the original memory map. Just change the kernel load address as I have mentioned previously.

  • Hi Badri,

    please, what you mean "original memory map"? 512M supplied by default with RDK  isn't good enough for my projects.

    With previous memory map (where Linux removed to 0xC0000000 adress) and rebuild uImage for run from no-default address and add vmaloc=476M to bootargs I have exact some problem - "After Ipc_loadcallback status [0x00000000]" was last string printed on terminal.

    May I ask you, what in my latest memory map looks isn't correct?

  • Use external memory map similar to /dvr_rdk/mcfw/src_bios6/cfg/ti816x/config_2G.bld.

    There are numerous issues with your memory map but essentially all VIDEO_M3 and VPSS_M3 code and data sections should be within 0x8000_0000 to 0xA000_0000.

    Also Video M3 and VPSS M3 cannot access any memory beyond 0xC000_0000 address. Which means you can have only LINUX, TILER and REMOTE_HEAP beyond 0xC000_0000 address.

    I am also attaching the /dvr_rdk/mcfw/src_bios6/cfg/ti814x folder. Compare the files with your codebase and merge in any changes that are missing 0045.ti814x.zip

    When compiling make sure you compile with TI816X_2G_DDR define enabled. This is defined for 816x. You will have to enable it for 814x as well.

     

    Reproduced below

    /* FIRST + SECOND 512MB */
    var SR1_SIZE                   = 278 * MB;
    var VIDEO_M3_CODE_SIZE         = 3   * MB;
    var VIDEO_M3_BSS_SIZE          = 15  * MB;
    var VIDEO_M3_DATA_SIZE         = 3   * MB;
    var DSS_M3_CODE_SIZE           = 2   * MB;
    var DSS_M3_BSS_SIZE            = 20  * MB;
    var DSS_M3_DATA_SIZE           = 6   * MB;
    var DSP_CODE_SIZE              = 1   * MB;
    var DSP_DATA_SIZE              = 24  * MB;
    var SR2_FRAME_BUFFER_SIZE      = 640  * MB;
    var VIDEO_M3_EXCEPTION_CTX_SIZE = 128*KB;
    var VPSS_M3_EXCEPTION_CTX_SIZE  = 128*KB;
    var SR0_SIZE                    = 22 * MB + 768 * KB;
    var HDVPSS_DESC_SIZE            = 2  * MB;
    var HDVPSS_SHARED_SIZE          = 2  * MB;
    var NOTIFY_SHARED_SIZE          = 2  * MB;
    var REMOTE_DEBUG_SIZE           = 1  * MB;
    var SHARED_MEMORY_SIZE          = 2  * MB;
    
    /* THIRD 512MB */
    var TILER_SIZE                  = 256 * MB;
    var SR3_FRAME_BUFFER_EXTRA_SIZE     = 256 * MB;
    
    /* LAST 512MB */
    var LINUX_SIZE                  = 512 * MB;
    
    /* first and second 512MB */
    var SR1_ADDR                   = DDR3_ADDR;
    var VIDEO_M3_CODE_ADDR         = SR1_ADDR                        + SR1_SIZE;
    var VIDEO_M3_DATA_ADDR         = VIDEO_M3_CODE_ADDR				 + VIDEO_M3_CODE_SIZE;
    var VIDEO_M3_BSS_ADDR          = VIDEO_M3_DATA_ADDR				 + VIDEO_M3_DATA_SIZE;
    var VIDEO_M3_BSS_MAPPED_ADDR   = (VIDEO_M3_BSS_ADDR - DDR3_ADDR) + DUCATI_WB_WA_ADDR;
    var DSS_M3_CODE_ADDR           = VIDEO_M3_BSS_ADDR				 + VIDEO_M3_BSS_SIZE;
    var DSS_M3_DATA_ADDR           = DSS_M3_CODE_ADDR				 + DSS_M3_CODE_SIZE;
    var DSS_M3_BSS_ADDR            = DSS_M3_DATA_ADDR				 + DSS_M3_DATA_SIZE;
    var DSS_M3_BSS_MAPPED_ADDR     = (DSS_M3_BSS_ADDR - DDR3_ADDR)	 + DUCATI_WB_WA_ADDR;
    var DSP_CODE_ADDR              = DSS_M3_BSS_ADDR				 + DSS_M3_BSS_SIZE;
    var DSP_DATA_ADDR              = DSP_CODE_ADDR					 + DSP_CODE_SIZE;
    var SR2_FRAME_BUFFER_ADDR      = DSP_DATA_ADDR                    + DSP_DATA_SIZE;
    var VIDEO_M3_EXCEPTION_CTX_ADDR = SR2_FRAME_BUFFER_ADDR         + SR2_FRAME_BUFFER_SIZE;
    var VPSS_M3_EXCEPTION_CTX_ADDR  = VIDEO_M3_EXCEPTION_CTX_ADDR   + VIDEO_M3_EXCEPTION_CTX_SIZE;
    var SR0_ADDR                    = VPSS_M3_EXCEPTION_CTX_ADDR    + VPSS_M3_EXCEPTION_CTX_SIZE;
    var HDVPSS_DESC_ADDR            = SR0_ADDR                      + SR0_SIZE;
    var HDVPSS_SHARED_ADDR          = HDVPSS_DESC_ADDR              + HDVPSS_DESC_SIZE;
    var NOTIFY_SHARED_ADDR          = HDVPSS_SHARED_ADDR            + HDVPSS_SHARED_SIZE;
    var REMOTE_DEBUG_ADDR           = NOTIFY_SHARED_ADDR            + NOTIFY_SHARED_SIZE;
    var SHARED_MEMORY_ADDR          = REMOTE_DEBUG_ADDR             + REMOTE_DEBUG_SIZE;
    
    var LINUX_ADDR                  = DDR3_ADDR                     + 1 * GB;
    var SR3_FRAME_BUFFER_EXTRA_ADDR = LINUX_ADDR                    + LINUX_SIZE;
    var TILER_ADDR                  = SR3_FRAME_BUFFER_EXTRA_ADDR   + SR3_FRAME_BUFFER_EXTRA_SIZE;
    

  • Hi Badri,

    ThanX alot. I'll test this map.

    "There are numerous issues with your memory map but essentially all VIDEO_M3 and VPSS_M3 code and data sections should be within 0x8000_0000 to 0xA000_0000."

    Please let me know, is this limitation actual for DSP too? For my algorithm in DSP I need as minimal 128MB of data  memory?

  • C674 doesn't have this limitation.

  • Hi Badri,

    Tried memory map that you propose for me, make uImage with next command:

    "mkimage -A arm -O linux -T kernel -C none -a 0xc0008000 -e 0xc0008000 -n 'Linux-2.6.37' -d arch/arm/boot/zImage uImage",

    kernel booted successfully from high memory adresses, syslink loaded successfully too, but still exist problem with HDVPSS firmware. This last print on console:

    "Attached to slave procId 2.
    Loaded file ../firmware/dvr_rdk_fw_m3vpss_2048M_512M.xem3 on slave procId 2.
    Started slave procId 2.
    After Ipc_loadcallback status [0x00000000]"

    Pay attentiion, board isn't hangs after the problem and I can connect to board via telnet by IP adress.

  • Pls share logs showing entire 2G is accessible with the sequence I mentioned previously. Share the map file and logs from kernel boot onwards.

  • Hi Badri,

    please find attahcment.

    "After Ipc_loadcallback status [0x00000000]" - last string printed on terminal.

    2843.putty.log
    =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2014.07.31 19:46:34 =~=~=~=~=~=~=~=~=~=~=~=
    
    
    U-Boot 2010.06-svn365 (Jul 29 2014 - 11:57:13)
    
    TI8148-GP rev 3.0
    
    L3 clk         : 220MHz
    IVA clk        : 306MHz
    ISS clk        : 400MHz
    DSP clk        : 600MHz
    DSS clk        : 200MHz
    ARM clk        : 720MHz
    DDR clk        : 400MHz
    
    ------------ PLL Settings --------------
    OSC_0_FREQ    : 20MHz
    
    MODENA_N      : 1
    MODENA_M      : 72
    MODENA_M2     : 1
    
    L3_N          : 19
    L3_M          : 880
    L3_M2         : 4
    
    DSP_N         : 19
    DSP_M         : 600
    DSP_M2        : 1
    
    DSS_N         : 19
    DSS_M         : 800
    DSS_M2        : 4
    
    IVA_N         : 19
    IVA_M         : 612
    IVA_M2        : 2
    
    ISS_N         : 19
    ISS_M         : 800
    ISS_M2        : 2
    
    USB_N         : 19
    USB_M         : 960
    USB_M2        : 5
    
    DCO_HS2_MIN   : 500
    DCO_HS2_MAX   : 1000
    DCO_HS1_MIN   : 1000
    DCO_HS1_MAX   : 2000
    SELFREQDCO_HS2   : 2049
    SELFREQDCO_HS1   : 4097
    
    --------- DDR PLL ----------
    DDR_N             : 0x13
    DDR_M             : 0x320
    DDR_M2            : 0x2
    
    ----------EMIF Timings (identical for 0 & 1)-------
    DDR3_EMIF_READ_LATENCY : 0x170209
    DDR3_EMIF_TIM1         : 0xAAAD4DB
    DDR3_EMIF_TIM2         : 0x682F7FDA
    DDR3_EMIF_TIM3         : 0x501F82BF
    DDR3_EMIF_REF_CTRL     : 0xC30
    DDR3_EMIF_SDRAM_CONFIG : 0x61C011B2
    DDR3_EMIF_SDRAM_ZQCR   : 0x50074BE1
    
    ----------SW LEVEL Info (EMIF 0) -------
    DDR3_PHY_RD_DQS_CS0_BYTE0: 0x00000038
    DDR3_PHY_RD_DQS_CS0_BYTE1: 0x00000037
    DDR3_PHY_RD_DQS_CS0_BYTE2: 0x00000032
    DDR3_PHY_RD_DQS_CS0_BYTE3: 0x00000031
    
    DDR3_PHY_WR_DQS_CS0_BYTE0: 0x00000043
    DDR3_PHY_WR_DQS_CS0_BYTE1: 0x00000044
    DDR3_PHY_WR_DQS_CS0_BYTE2: 0x00000053
    DDR3_PHY_WR_DQS_CS0_BYTE3: 0x00000050
    
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE0: 0x000000E4
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE1: 0x00000111
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE2: 0x00000112
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE3: 0x0000013D
    
    DDR3_PHY_WR_DATA_CS0_BYTE0: 0x00000085
    DDR3_PHY_WR_DATA_CS0_BYTE1: 0x00000083
    DDR3_PHY_WR_DATA_CS0_BYTE2: 0x00000085
    DDR3_PHY_WR_DATA_CS0_BYTE3: 0x0000007F
    
    ----------SW LEVEL Info (EMIF 1) -------
    DDR3_PHY_RD_DQS_CS0_BYTE0: 0x0000003A
    DDR3_PHY_RD_DQS_CS0_BYTE1: 0x00000036
    DDR3_PHY_RD_DQS_CS0_BYTE2: 0x00000037
    DDR3_PHY_RD_DQS_CS0_BYTE3: 0x00000033
    
    DDR3_PHY_WR_DQS_CS0_BYTE0: 0x00000049
    DDR3_PHY_WR_DQS_CS0_BYTE1: 0x0000004E
    DDR3_PHY_WR_DQS_CS0_BYTE2: 0x00000054
    DDR3_PHY_WR_DQS_CS0_BYTE3: 0x00000050
    
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE0: 0x000000D3
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE1: 0x000000F7
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE2: 0x00000109
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE3: 0x00000135
    
    DDR3_PHY_WR_DATA_CS0_BYTE0: 0x0000008A
    DDR3_PHY_WR_DATA_CS0_BYTE1: 0x00000080
    DDR3_PHY_WR_DATA_CS0_BYTE2: 0x0000007F
    DDR3_PHY_WR_DATA_CS0_BYTE3: 0x00000085
    
    DRAM:  2 GiB
    NAND:  HW ECC BCH8 Selected
    512 MiB
    Using default environment
    
    The 2nd stage U-Boot will now be auto-loaded
    Please do not interrupt the countdown till Opgal_SCP# prompt if 2nd stage is already flashed
    Hit any key to stop autoboot:  1  0 
    
    NAND read: device 0 offset 0x20000, size 0x40000
     262144 bytes read: OK
    ## Starting application at 0x81000000 ...
    
    
    U-Boot 2010.06-svn365 (Jul 29 2014 - 11:57:59)
    
    TI8148-GP rev 3.0
    
    L3 clk         : 220MHz
    IVA clk        : 306MHz
    ISS clk        : 400MHz
    DSP clk        : 600MHz
    DSS clk        : 200MHz
    ARM clk        : 720MHz
    DDR clk        : 400MHz
    
    ------------ PLL Settings --------------
    OSC_0_FREQ    : 20MHz
    
    MODENA_N      : 1
    MODENA_M      : 72
    MODENA_M2     : 1
    
    L3_N          : 19
    L3_M          : 880
    L3_M2         : 4
    
    DSP_N         : 19
    DSP_M         : 600
    DSP_M2        : 1
    
    DSS_N         : 19
    DSS_M         : 800
    DSS_M2        : 4
    
    IVA_N         : 19
    IVA_M         : 612
    IVA_M2        : 2
    
    ISS_N         : 19
    ISS_M         : 800
    ISS_M2        : 2
    
    USB_N         : 19
    USB_M         : 960
    USB_M2        : 5
    
    DCO_HS2_MIN   : 500
    DCO_HS2_MAX   : 1000
    DCO_HS1_MIN   : 1000
    DCO_HS1_MAX   : 2000
    SELFREQDCO_HS2   : 2049
    SELFREQDCO_HS1   : 4097
    
    --------- DDR PLL ----------
    DDR_N             : 0x13
    DDR_M             : 0x320
    DDR_M2            : 0x2
    
    ----------EMIF Timings (identical for 0 & 1)-------
    DDR3_EMIF_READ_LATENCY : 0x170209
    DDR3_EMIF_TIM1         : 0xAAAD4DB
    DDR3_EMIF_TIM2         : 0x682F7FDA
    DDR3_EMIF_TIM3         : 0x501F82BF
    DDR3_EMIF_REF_CTRL     : 0xC30
    DDR3_EMIF_SDRAM_CONFIG : 0x61C011B2
    DDR3_EMIF_SDRAM_ZQCR   : 0x50074BE1
    
    ----------SW LEVEL Info (EMIF 0) -------
    DDR3_PHY_RD_DQS_CS0_BYTE0: 0x00000038
    DDR3_PHY_RD_DQS_CS0_BYTE1: 0x00000037
    DDR3_PHY_RD_DQS_CS0_BYTE2: 0x00000032
    DDR3_PHY_RD_DQS_CS0_BYTE3: 0x00000031
    
    DDR3_PHY_WR_DQS_CS0_BYTE0: 0x00000043
    DDR3_PHY_WR_DQS_CS0_BYTE1: 0x00000044
    DDR3_PHY_WR_DQS_CS0_BYTE2: 0x00000053
    DDR3_PHY_WR_DQS_CS0_BYTE3: 0x00000050
    
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE0: 0x000000E4
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE1: 0x00000111
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE2: 0x00000112
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE3: 0x0000013D
    
    DDR3_PHY_WR_DATA_CS0_BYTE0: 0x00000085
    DDR3_PHY_WR_DATA_CS0_BYTE1: 0x00000083
    DDR3_PHY_WR_DATA_CS0_BYTE2: 0x00000085
    DDR3_PHY_WR_DATA_CS0_BYTE3: 0x0000007F
    
    ----------SW LEVEL Info (EMIF 1) -------
    DDR3_PHY_RD_DQS_CS0_BYTE0: 0x0000003A
    DDR3_PHY_RD_DQS_CS0_BYTE1: 0x00000036
    DDR3_PHY_RD_DQS_CS0_BYTE2: 0x00000037
    DDR3_PHY_RD_DQS_CS0_BYTE3: 0x00000033
    
    DDR3_PHY_WR_DQS_CS0_BYTE0: 0x00000049
    DDR3_PHY_WR_DQS_CS0_BYTE1: 0x0000004E
    DDR3_PHY_WR_DQS_CS0_BYTE2: 0x00000054
    DDR3_PHY_WR_DQS_CS0_BYTE3: 0x00000050
    
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE0: 0x000000D3
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE1: 0x000000F7
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE2: 0x00000109
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE3: 0x00000135
    
    DDR3_PHY_WR_DATA_CS0_BYTE0: 0x0000008A
    DDR3_PHY_WR_DATA_CS0_BYTE1: 0x00000080
    DDR3_PHY_WR_DATA_CS0_BYTE2: 0x0000007F
    DDR3_PHY_WR_DATA_CS0_BYTE3: 0x00000085
    
    I2C:   ready
    DRAM:  2 GiB
    NAND:  HW ECC BCH8 Selected
    512 MiB
    MMC:   OMAP SD/MMC: 0
                                        
    
    Net:   Detected MACID:7c:66:9d:36:b3:96
    cpsw
    Hit any key to stop autoboot:  3  0 
    Opgal_SCP#
    Opgal_SCP#
    Opgal_SCP#
    Opgal_SCP#
    Opgal_SCP#printenv
    bootdelay=3
    baudrate=115200
    verify=yes
    loadaddr=0x81000000
    ethact=cpsw
    ethaddr=7c:66:9d:36:b3:96
    bootcmd_tftp=tftp 0x81000000 uImage;bootm 0x81000000
    bootcmd_nand=nand read 0x81000000 0x00280000 0x2c0000;bootm 0x81000000
    autoload=no
    rootdelay=5
    filesize=2B682C
    fileaddr=81000000
    dnsip2=10.0.0.34
    bootargs=mem=512M ddr_mem=2048M console=ttyO0,115200n8 root=/dev/nfs rw nfsroot=10.0.0.9:/home/marat/workdir/SmartCore/trunk/target/rfs_814x ip=dhcp vram=24M notifyk.vpssm3_sva=0xbfb00000 vmalloc=476M
    bootfile=uImage2G
    gatewayip=10.0.0.138
    netmask=255.255.255.0
    ipaddr=10.0.0.11
    serverip=10.0.0.9
    dnsip=10.0.0.138
    bootcmd=tftp 0x81000000 uImage2G;bootm 0x81000000
    stdin=serial
    stdout=serial
    stderr=serial
    
    Environment size: 701/131068 bytes
    Opgal_SCP#boot
    Configuring Marvell Phy 88E15xx pre-init errata
    link up on port 0, speed 1000, full duplex
    Using cpsw device
    TFTP from server 10.0.0.9; our IP address is 10.0.0.11
    Filename 'uImage2G'.
    Load address: 0x81000000
    Loading: *#################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     ####################################
    done
    Bytes transferred = 2844712 (0x2b6828)
    ## Booting kernel from Legacy Image at 81000000 ...
       Image Name:   Linux-2.6.37
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2844648 Bytes = 2.7 MiB
       Load Address: c0008000
       Entry Point:  c0008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK
    
    Starting kernel ...
    
    Uncompressing Linux... done, booting the kernel.
    Linux version 2.6.37+ (marat@marat-ubuntu) (gcc version 4.4.1 (Sourcery G++ Lite 2009q3-67) ) #2 Thu Jul 31 19:20:07 IDT 2014
    CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
    CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    Machine: ti8148evm
    vram size = 25165824 at 0x0
    ti81xx_reserve: ### Reserved DDR region @dff00000
    reserved size = 25165824 at 0x0
    FB: Reserving 25165824 bytes SDRAM for VRAM
    Memory policy: ECC disabled, Data cache writeback
    OMAP chip is TI8148 3.0
    SRAM: Mapped pa 0x402f1000 to va 0xfe400000 size: 0xf000
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 123648
    Kernel command line: mem=512M ddr_mem=2048M console=ttyO0,115200n8 root=/dev/nfs rw nfsroot=10.0.0.9:/home/marat/workdir/SmartCore/trunk/target/rfs_814x ip=dhcp vram=24M notifyk.vpssm3_sva=0xbfb00000 vmalloc=476M
    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: 486MB 1MB = 487MB total
    Memory: 488092k/488092k available, 36196k reserved, 68608K highmem
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
        DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
        vmalloc : 0xda800000 - 0xf8000000   ( 472 MB)
        lowmem  : 0xc0000000 - 0xda400000   ( 420 MB)
        pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
        modules : 0xbf000000 - 0xbfe00000   (  14 MB)
          .init : 0xc0008000 - 0xc0042000   ( 232 kB)
          .text : 0xc0042000 - 0xc0556000   (5200 kB)
          .data : 0xc0556000 - 0xc05acb00   ( 347 kB)
    SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    NR_IRQS:407
    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 IRQ400
    Trying to install interrupt handler for IRQ401
    Trying to install interrupt handler for IRQ402
    Trying to install interrupt handler for IRQ403
    Trying to install interrupt handler for IRQ404
    Trying to install interrupt handler for IRQ405
    Trying to install interrupt handler for IRQ406
    Trying to install type control for IRQ407
    Trying to set irq flags for IRQ407
    OMAP clockevent source: GPTIMER1 at 20000000 Hz
    Console: colour dummy device 80x30
    Calibrating delay loop... 719.25 BogoMIPS (lpj=3596288)
    pid_max: default: 32768 minimum: 301
    Security Framework initialized
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    devtmpfs: initialized
    TI81XX: Map 0xdff00000 to 0xfe500000 for dram barrier
    TI81XX: Map 0x40300000 to 0xfe600000 for sram barrier
    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 GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    omap_mux_init: Add partition: #1: core, flags: 4
    clk get on i2c3 fck failed
    Cannot clk_get ck_32
    Debugfs: Only enabling/disabling deep sleep and wakeup timer is supported now
    registered ti81xx_vpss device
    registered ti81xx_vidout device
    registered ti81xx on-chip HDMI device
    registered ti81xx_fb device
    registered ti81xx_vin device
    NSS Crypto DMA hardware revision 1.9 @ IRQ 116
    ti81xx_pcie: Invoking PCI BIOS...
    ti81xx_pcie: Setting up Host Controller...
    ti81xx_pcie: Register base mapped @0xda830000
    ti81xx_pcie: forcing link width - x1
    ti81xx_pcie: Starting PCI scan...
    PCI: bus0: Fast back to back transfers enabled
    ti81xx_pcie: PCI scan done.
    bio: create slab <bio-0> at 0
    vgaarb: loaded
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    USBSS revision 4ea2080b
    registerd cppi-dma Intr @ IRQ 17
    Cppi41 Init Done
    omap_i2c omap_i2c.1: bus 1 rev4.0 at 400 kHz
    I2C: Read failed at pcf8575_cir_enable 274 with error code: -121
    I2C: Transfer failed at pcf8575_cir_enable 281 with error code: -121
    pcf857x: probe of 1-0021 failed with error -121
    regulator: VRTC: 1800 mV 
    regulator: VIO: 1500 mV 
    regulator: VDD1: 600 <--> 1500 mV at 1200 mV 
    regulator: VDD2: 600 <--> 1500 mV at 1200 mV 
    regulator: VDDCTRL: 600 <--> 1400 mV at 1200 mV 
    regulator: LDO1: 1100 <--> 3300 mV at 1800 mV 
    regulator: LDO2: 1100 <--> 3300 mV at 1800 mV 
    regulator: LDO3: 1100 <--> 3300 mV at 3300 mV 
    regulator: LDO4: 1100 <--> 3300 mV at 1800 mV 
    regulator: LDO5: 1100 <--> 3300 mV at 3300 mV 
    regulator: LDO6: 1100 <--> 3300 mV at 3300 mV 
    regulator: LDO7: 1100 <--> 3300 mV at 3300 mV 
    regulator: LDO8: 1100 <--> 3300 mV at 1800 mV 
    tps65910 1-002d: No interrupt support, no core IRQ
    omap_i2c omap_i2c.3: bus 3 rev4.0 at 400 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
    usb2phy: computed values rxcalib(15)DACs(29 11 14)
    usb2phy: override computed values rxcalib(15)DACs(29 11 14)
    usb2phy_config: musb(0) rxcalib done, rxcalib read value 6f6ed776
    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 da81e000 using DMA, IRQ 18
    musb-hdrc musb-hdrc.1: dma type: dma-cppi41
    MUSB controller-1 revision 4ea20800
    usb2phy: computed values rxcalib(15)DACs(22 15 15)
    usb2phy: override computed values rxcalib(15)DACs(22 15 15)
    usb2phy_config: musb(1) rxcalib done, rxcalib read value 6f6b5f7e
    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 da82a800 using DMA, IRQ 19
    NET: Registered protocol family 2
    IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
    TCP established hash table entries: 16384 (order: 5, 131072 bytes)
    TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
    TCP: Hash tables configured (established 16384 bind 16384)
    TCP reno registered
    UDP hash table entries: 256 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    NET: Registered protocol family 1
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    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 819
    alg: No test for stdrng (krng)
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    nss_rng nss_rng: NSS Random Number Generator ver. 2.0
    Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0
    console [ttyO0] enabled
    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
    omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    brd: module loaded
    loop: module loaded
    ahci probe: devid name is ahci
    ahci CAP register dump =0x6726ff80
    Modified ahci CAP register dump =0x6f26ff80
    ahci ahci.0: forcing PORTS_IMPL to 0x1
    ahci: SSS flag set, parallel bus scan disabled
    ahci ahci.0: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    ahci ahci.0: flags: ncq sntf stag pm led clo only pmp pio slum part ccc apst 
    scsi0 : ahci_platform
    ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x100 irq 16
    omap2-nand driver initializing
    ONFI param page 0 valid
    ONFI flash detected
    NAND device: Maf ID: 0x2c, Chip ID: 0xbc (Micron, NAND 512MiB 1,8V 16-bit)
     erasesize: 0x20000, writesize: 2048, oobsize: 64
    omap2-nand: detected x16 NAND flash 
    Creating 7 MTD partitions on "omap2-nand.0":
    0x000000000000-0x000000020000 : "U-Boot-min"
    0x000000020000-0x000000260000 : "U-Boot"
    0x000000260000-0x000000280000 : "U-Boot Env"
    0x000000280000-0x000000580000 : "U-Boot Logo"
    0x000000580000-0x0000009c0000 : "Kernel"
    0x0000009c0000-0x00000d1e0000 : "File System"
    0x00000d1e0000-0x000020000000 : "Reserved"
    davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    davinci_mdio davinci_mdio.0: detected phy mask fffffffe
    davinci_mdio.0: probed
    davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
    CAN device driver interface
    CAN bus driver for Bosch D_CAN controller 1.0
    d_can d_can: d_can device registered (irq=52, irq_obj=53)
    usbcore: registered new interface driver cdc_ether
    usbcore: registered new interface driver dm9601
    usbcore: registered new interface driver cdc_acm
    cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
    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
    ata1: SATA link down (SStatus 0 SControl 300)
    hub 2-0:1.0: over-current change on port 1
    qt602240_ts 1-004a: __qt602240_read_reg: i2c transfer failed
    qt602240_ts: probe of 1-004a failed with error -5
    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
    nss_aes_mod_init: loading NSS AES driver
    nss-aes nss-aes: NSS AES hw accel rev: 3.2 (context 0 @0x41140000)
    nss-aes nss-aes: NSS AES hw accel rev: 3.2 (context 1 @0x41141000)
    nss-aes nss-aes: NSS AES hw accel rev: 3.2 (context 2 @0x411a0000)
    nss-aes nss-aes: NSS AES hw accel rev: 3.2 (context 3 @0x411a1000)
    nss_aes_probe: probe() done
    nss_des_mod_init: loading NSS DES driver
    nss-des nss-des: NSS DES hw accel rev: 2.2 (context 0 @0x41160000)
    nss-des nss-des: NSS DES hw accel rev: 2.2 (context 1 @0x41161000)
    nss_des_probe: probe() done
    nss_sham_mod_init: loading NSS SHA/MD5 driver
    nss-sham nss-sham: NSS SHA/MD5 hw accel rev: 4.03 (context 0 @0x41100000)
    nss-sham nss-sham: NSS SHA/MD5 hw accel rev: 4.03 (context 1 @0x41101000)
    nss-sham nss-sham: NSS SHA/MD5 hw accel rev: 4.03 (context 2 @0x411c0000)
    nss-sham nss-sham: NSS SHA/MD5 hw accel rev: 4.03 (context 3 @0x411c1000)
    nss_sham_probe: probe() done
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    notify_init : notify drivercreated  for  remote proc id 2 at physical Address 0xbfb00000
    usbcore: registered new interface driver snd-usb-audio
    Registered tvp5158 audio codec
    *** Forcing SW CTS!
    asoc: tvp5158-hifi <-> davinci-mcasp.0 mapping ok
    asoc: tlv320aic3x-hifi <-> davinci-mcasp.2 mapping ok
    asoc: HDMI-DAI-CODEC <-> hdmi-dai mapping ok
    ALSA device list:
      #0: TI81XX SOUND0
      #1: TI81XX SOUND1
    TCP cubic registered
    NET: Registered protocol family 17
    can: controller area network core (rev 20090105 abi 8)
    NET: Registered protocol family 29
    can: raw protocol (rev 20090105)
    can: broadcast manager protocol (rev 20090105 t)
    Registering the dns_resolver key type
    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.
    Detected MACID=7c:66:9d:36:b3:96
    omap_rtc omap_rtc: setting system clock to 2014-07-01 00:00:00 UTC (1404172800)
    mmc0: new high speed MMC card at address 0001
    mmcblk0: mmc0:0001 MMC32G 29.5 GiB 
     mmcblk0: unknown partition table
    
    CPSW phy found : id is : 0x1410dd1
    PHY 0:01 not found
    Sending DHCP requests ..
    PHY: 0:00 - Link is Up - 1000/Full
    ., OK
    IP-Config: Got DHCP answer from 0.0.0.0, my address is 10.0.0.11
    IP-Config: Complete:
         device=eth0, addr=10.0.0.11, mask=255.255.255.0, gw=10.0.0.138,
         host=10.0.0.11, domain=, nis-domain=(none),
         bootserver=0.0.0.0, rootserver=10.0.0.9, rootpath=
    VFS: Mounted root (nfs filesystem) on device 0:15.
    devtmpfs: mounted
    Freeing init memory: 232K
    
    INIT: version 2.86 bootingPlease wait: booting...
    Error opening /dev/fb0: No such file or directory
    Starting udev
    udevd (116): /proc/116/oom_adj is deprecated, please use /proc/116/oom_score_adj instead.
    FAT: bogus number of reserved sectors
    VFS: Can't find a valid FAT filesystem on dev mmcblk0.
    EXT3-fs (mmcblk0): error: can't find ext3 filesystem on dev mmcblk0.
    EXT2-fs (mmcblk0): error: can't find an ext2 filesystem on dev mmcblk0.
    FAT: bogus number of reserved sectors
    VFS: Can't find a valid FAT filesystem on dev mmcblk0.
    ISOFS: Unable to identify CD-ROM format.
    Root filesystem already rw, not remounting
    Caching udev devnodes
    Populating dev cache
    ALSA: Restoring mixer settings...
    NOT configuring network interfaces: / is an NFS mount
    Fri Aug 17 21:01:00 UTC 2012
    
    INIT: Entering runlevel: 5Starting system message bus: dbus.
    Starting telnet daemon.
    Starting syslogd/klogd: done
    Starting thttpd.
        __________
       / ___  ___ \
      / / @ \/ @ \ \
      \ \___/\___/ /\
       \____\/____/||
       /     /\\\\\//
       |     |\\\\\\
        \      \\\\\\
         \______/\\\\
          _||_||_
    +-----------------------+
    | http://www.opgal.com  |
    +-----------------------+
    OPGAL SmartCore Board (2014.07)
    
    root@scp:~# cat /proc/meminfo
    MemTotal:         488324 kB
    MemFree:          472100 kB
    Buffers:               0 kB
    Cached:             6816 kB
    SwapCached:            0 kB
    Active:             3352 kB
    Inactive:           4644 kB
    Active(anon):       1300 kB
    Inactive(anon):       76 kB
    Active(file):       2052 kB
    Inactive(file):     4568 kB
    Unevictable:           0 kB
    Mlocked:               0 kB
    HighTotal:         68608 kB
    HighFree:          59944 kB
    LowTotal:         419716 kB
    LowFree:          412156 kB
    SwapTotal:             0 kB
    SwapFree:              0 kB
    Dirty:                 0 kB
    Writeback:             0 kB
    AnonPages:          1208 kB
    Mapped:             1464 kB
    Shmem:               196 kB
    Slab:               4604 kB
    SReclaimable:       1800 kB
    SUnreclaim:         2804 kB
    KernelStack:         432 kB
    PageTables:          172 kB
    NFS_Unstable:          0 kB
    Bounce:                0 kB
    WritebackTmp:          0 kB
    CommitLimit:      244160 kB
    Committed_AS:       5460 kB
    VmallocTotal:     483328 kB
    VmallocUsed:       25632 kB
    VmallocChunk:     450556 kB
    root@scp:~# cd /opt
    root@scp:~# cd /opt/dvr
    root@scp:~# cd /opt/dvr_rdk/ti814
    root@scp:~# cd /opt/dvr_rdk/ti814x/
    root@scp:/opt/dvr_rdk/ti814x# lsmod
    Module                  Size  Used by
    root@scp:/opt/dvr_rdk/ti814x# 
    root@scp:/opt/dvr_rdk/ti814x# 
    root@scp:/opt/dvr_rdk/ti814x# 
    root@scp:/opt/dvr_rdk/ti814x# 
    root@scp:/opt/dvr_rdk/ti814x# 
    root@scp:/opt/dvr_rdk/ti814x# ./init
    root@scp:/opt/dvr_rdk/ti814x# ./init.sh 
    *** Bootargs Validated for mem param ***
    *** Bootargs Validated for notifyk.vpssm3 params ***
    Kernel bootargs validated
    numid=1,iface=MIXER,name='PCM Playback Volume'
      ; type=INTEGER,access=rw---R--,values=2,min=0,max=127,step=0
      : values=127,127
      | dBscale-min=-63.50dB,step=0.50dB,mute=0
     [c6xdsp ] Remote Debug Shared Memory @ 0xbfd00000
     [m3video] Remote Debug Shared Memory @ 0xbfd05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbfd0a040
    SysLink version : 2.20.02.20
    SysLink module created on Date:Jul 31 2014 Time:13:09:43
    Trace enabled
    Trace SetFailureReason enabled
     Setting DMM priority for [DUCATI  ] to [0] ( 0x4e000624 = 0x08000000 )
     Setting DMM priority for [HDVICP0 ] to [2] ( 0x4e000634 = 0x0000000a )
     
     *** TVP5158 probe : START ***
     
     
     I2C (0x5c): 0x08 = 0x51 
     I2C (0x5c): 0x09 = 0x58 
     
     *** TVP5158 probe : END ***
     
    /opt/dvr_rdk/ti814x
    root@scp:/opt/dvr_rdk/ti814x# cat /me  proc/meminfo
    MemTotal:         488324 kB
    MemFree:          464824 kB
    Buffers:               0 kB
    Cached:             8000 kB
    SwapCached:            0 kB
    Active:             3764 kB
    Inactive:           5512 kB
    Active(anon):       1392 kB
    Inactive(anon):       80 kB
    Active(file):       2372 kB
    Inactive(file):     5432 kB
    Unevictable:           0 kB
    Mlocked:               0 kB
    HighTotal:         68608 kB
    HighFree:          53872 kB
    LowTotal:         419716 kB
    LowFree:          410952 kB
    SwapTotal:             0 kB
    SwapFree:              0 kB
    Dirty:                 0 kB
    Writeback:             0 kB
    AnonPages:          1304 kB
    Mapped:             1476 kB
    Shmem:               196 kB
    Slab:               5084 kB
    SReclaimable:       1920 kB
    SUnreclaim:         3164 kB
    KernelStack:         440 kB
    PageTables:          188 kB
    NFS_Unstable:          0 kB
    Bounce:                0 kB
    WritebackTmp:          0 kB
    CommitLimit:      244160 kB
    Committed_AS:       5696 kB
    VmallocTotal:     483328 kB
    VmallocUsed:       35196 kB
    VmallocChunk:     437620 kB
    root@scp:/opt/dvr_rdk/ti814x# 
    root@scp:/opt/dvr_rdk/ti814x# 
    root@scp:/opt/dvr_rdk/ti814x# 
    root@scp:/opt/dvr_rdk/ti814x# lsmod
    Module                  Size  Used by
    syslink               804065  0 
    root@scp:/opt/dvr_rdk/ti814x# 
    root@scp:/opt/dvr_rdk/ti814x# 
    root@scp:/opt/dvr_rdk/ti814x# 
    root@scp:/opt/dvr_rdk/ti814x# 
    root@scp:/opt/dvr_rdk/ti814x# 
    root@scp:/opt/dvr_rdk/ti814x# uname-  -a
    Linux dvr 2.6.37+ #2 Thu Jul 31 19:20:07 IDT 2014 armv7l unknown
    root@scp:/opt/dvr_rdk/ti814x# 
    root@scp:/opt/dvr_rdk/ti814x# 
    root@scp:/opt/dvr_rdk/ti814x# 
    root@scp:/opt/dvr_rdk/ti814x# 
    root@scp:/opt/dvr_rdk/ti814x# 
    root@scp:/opt/dvr_rdk/ti814x# ls  ./load.
    root@scp:/opt/dvr_rdk/ti814x# ./load.sh 
     
    ENV_DDR_MEM =  2048M
    ENV_LINUX_MEM =  512M
    ENV_NOTIFYK_VPSSM3_SVA_ADDR =  0xbfb00000
     
    Attached to slave procId 2.
    Loaded file ../firmware/dvr_rdk_fw_m3vpss_2048M_512M.xem3 on slave procId 2.
    Started slave procId 2.
    After Ipc_loadcallback status [0x00000000]
    

    8360.config_2G.zip

  • Attach the map file. Attach logs showing entire 2G is accessible. Do insmod syslink,ko with TRACEENTER=1 TRACECLASS=4 in addition to TRACE=1 and TRACEFAILURE=1 in init.sh .Also zip and attach the contents of /dvr_rdk/build/dvr_rdk/obj folder.

  • Please se message below

  • Hi Badri,

    please find attached log - load SysLink with additional trace info.

    But TRACECLASS=4 return error:

    "Error! Only 0/1/2/3 supported for TRACECLASS"

    6648.putty.log

  • Hi Badri and Pavel,

    please find attachment:

    config_2G.bld - memory map for compilation

    compilation-mem-map.txt - memory map

    sub-cores-map.zip - sub-cores memory maps

    putty-boot-log.zip - boot log, with additonal trace info.

    After add traceclass=3 to syslink module as parameter I have alotof trace information on my terminal and SysLink module inserted successfully. Buf whern tried to load VPSS firmware I have an endless print on my terminal, so I break the log when log file size reach 15MB.

    2112.compilation-mem-map.txt
    ### REGIONS MAP: ###
     ======== First 512 MB: ================================= 
     ### SR1:                         0x80000000 - 0x91600000
     ### VIDEO_M3_CODE_ADDR:          0x91600000 - 0x91900000
     ### VIDEO_M3_DATA_ADDR:          0x91900000 - 0x91c00000
     ### VIDEO_M3_BSS_ADDR:           0x91c00000 - 0x92b00000
     ### DSS_M3_CODE_ADDR:            0x92b00000 - 0x92d00000
     ### DSS_M3_DATA_ADDR:            0x92d00000 - 0x93300000
     ### DSS_M3_BSS_ADDR:             0x93300000 - 0x94700000
     ======== Second 512 MB: ================================= 
     ### TILER_ADDR:                  0xefffffff - 0xffffffff
     ### SR2_FRAME_BUFFER_ADDR:       0x96000000 - 0xbe000000
     ========= Third 512 MB: ================================== 
     ### LINUX:                       0xc0000000 - 0xe0000000
     ======== Last 512 MB: ================================== 
     ### DSP_CODE_ADDR:               0x94700000 - 0x94800000
     ### DSP_DATA_ADDR:               0x94800000 - 0x96000000
     ### SR0_ADDR:                    0xbe040000 - 0xbf700000
     ### VIDEO_M3_EXCEPTION_CTX_ADDR: 0xbe000000 - 0xbe020000
     ### VPSS_M3_EXCEPTION_CTX_ADDR:  0xbe020000 - 0xbe040000
     ### HDVPSS_DESC_ADDR:            0xbf700000 - 0xbf900000
     ### HDVPSS_SHARED_ADDR:          0xbf900000 - 0xbfb00000
     ### NOTIFY_SHARED_ADDR:          0xbfb00000 - 0xbfd00000
     ### REMOTE_DEBUG_ADDR:           0xbfd00000 - 0xbfdfffff
     ========================================================= 
     ### 
     ========================================================= 
    Generation of Shell script in progress...
    

    7345.config_2G.zip

    7571.putty-boot-log.zip

    7607.sub-cores-map.zip

    Please let me know if you need additonal info.

  • Why is TILER_MEM addr TILER_MEM             efffffff   10000000  00000000  10000000  RWIX

    It should start at 0xE000_0000

    Also the SR3_FRAME_BUFFER_EXTRA_ADDR segemtn is missing. Did you remove it ?

    It looks like some additional BISO configuration is incorrect.

    There will be a large .c file under /dvr_rdk/build/dvr_rdk/obj/ti814x-evm/m3vpss/release/dvr_rdk_configuro/package/cfg/MAIN_APP_m3vpss_pem3.c

    zip and attach the file.

    Also have you tested 2G memory is accessible. As I mentioned use uboot md utility to first write to

    0x8000_0000

    0x8800_0000

    0x9000_0000

    0x9800_0000

    0xA000_0000

    0xA800_0000

    ...

    0xE800_0000

    Make sure you write different values.

    After you have written read back the values and confirm they have not changed.

  • Hi Badri,

    Thanks alot for your reply, I'll go to add missed section and test again.

    Let me know please - are you thinks this u-boot memory configuration is corrected for 2GB:

    int dram_init(void)
    {
        /* Fill up board info */
        gd->bd->bi_dram[0].start = 0x80000000;
        gd->bd->bi_dram[0].size = 0x40000000;

        gd->bd->bi_dram[1].start = 0xC0000000;
        gd->bd->bi_dram[1].size = 0x40000000;

        return 0;
    }


    // define 2GB DDR memory size mapped to both EMIF0 and EMIF1, with 128 bytes interleaving:

    static void config_ti814x_ddr(void)
    {

     ....
        __raw_writel(0x00000000, DMM_LISA_MAP__0);
        __raw_writel(0x00000000, DMM_LISA_MAP__1);
        __raw_writel(0x00000000, DMM_LISA_MAP__2);
        __raw_writel(0x80740300, DMM_LISA_MAP__3);

        while (__raw_readl(DMM_LISA_MAP__0) != 0x00000000);
        while (__raw_readl(DMM_LISA_MAP__1) != 0x00000000);
        while (__raw_readl(DMM_LISA_MAP__2) != 0x00000000);
        while (__raw_readl(DMM_LISA_MAP__3) != 0x80740300);
     ....
    }

  • continued here:

    DM8148. custom board with 2GB DDR. Unhandled exception in M3VIDEO subcore

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/382753.aspx