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.

How can i set 2G DDR3

Hi,

How can i set 2G DDR3 ?

i checked config_2G.bld(src_bios6/cfg/ti816x/ ) file and read ti install guide.

but m3 is not start.

Pls will you recommand me a  config_2G.bld's bootargs setting? (may i use vmalloc?)

i modified like this.

1. Rules.make DDR_MEM := DDR_MEM_2048M

2. setenv bootargs 'mem=468M

console=ttyO2,115200n8 root=/dev/nfs rw rootfstype=jffs2
nfsroot=192.168.1.200:/home/work/netra/dvr/rfs
ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}::eth0:off vram=20M
notifyk.vpssm3_sva=0xBEE00000'

my env is DVRRDK3.0.0.0

  • Can you share the full log. Also have you made any changes to config_2G.bld.

  • Thanks for your reply Narayanan.

    it's my u-boot log and initialization log

    /opt/dvr # cat /proc/cmdline 
    mem=468M console=ttyO2,115200n8 root=/dev/ram0 ramdisk_size=83388608 ro initrd=0x82000000,8M ramdisk=83388608 ip=off vram=20M notifyk.vpssm3_sva=0xBEE00000
    
    
    
    export RDK_LINUX_MEM="512M"
    export NOTIFYK_VPSSM3_SVA_ADDR="0xbee00000"
    export REMOTE_DEBUG_ADDR="0xbf000000"
    export HDVPSS_SHARED_MEM="0xbec00000"
    export HDVPSS_SHARED_SIZE="2097152"
    /opt/dvr # insmod /opt/dvr/drv/syslink.ko TRACE=1 TRACEFAILURE=1 
    SysLink version : 2.10.02.17
    SysLink module created on Date:Oct 24 2012 Time:09:17:49
    Trace enabled
    Trace SetFailureReason enabled
    /opt/dvr # /opt/dvr/bin/sys_pri.out --dmm-pri-set DUCATI 0
    i.out --dmm-pri-set HDVICP1 2
    /opt/dvr/bin/sys_pri.out --dmm-pri-set HDVICP2 2
     Setting DMM priority for [DUCATI  ] to [0] ( 0x4e000624 = 0x08000000 )
    /opt/dvr # /opt/dvr/bin/sys_pri.out --dmm-pri-set HDVICP0 2
     Setting DMM priority for [HDVICP0 ] to [2] ( 0x4e000634 = 0x0000000a )
    /opt/dvr # /opt/dvr/bin/sys_pri.out --dmm-pri-set HDVICP1 2
     Setting DMM priority for [HDVICP1 ] to [2] ( 0x4e000634 = 0x000a0000 )
    /opt/dvr # /opt/dvr/bin/sys_pri.out --dmm-pri-set HDVICP2 2
     Setting DMM priority for [HDVICP2 ] to [2] ( 0x4e000634 = 0x00a00000 )
    /opt/dvr # /opt/dvr/bin/fw_load.out startup VPSS-M3 /opt/dvr/bin/dvr_rdk_fw_m3vp
    ss.xem3
    Attached to slave procId 2.
    Loaded file /opt/dvr/bin/dvr_rdkBUG: 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.xem3 ------------[ cut here ]------------
    on slave procId WARNING: at arch/arm/mm/ioremap.c:211 __arm_ioremap_pfn_caller+0x58/0x190()
    2.
    Started slavModules linked in:e procId 2.
     syslink
    Backtrace: 
    [<80049b7c>] (dump_backtrace+0x0/0x10c) from [<803fda4c>] (dump_stack+0x18/0x1c)
     r7:00000000 r6:8004d634 r5:804b1d18 r4:000000d3
    [<803fda34>] (dump_stack+0x0/0x1c) from [<8006ce78>] (warn_slowpath_common+0x54/0x6c)
    [<8006ce24>] (warn_slowpath_common+0x0/0x6c) from [<8006ceb4>] (warn_slowpath_null+0x24/0x2c)
     r9:00000002 r8:00000000 r7:7f03608c r6:00088000 r5:15000000
    r4:00000002
    [<8006ce90>] (warn_slowpath_null+0x0/0x2c) from [<8004d634>] (__arm_ioremap_pfn_caller+0x58/0x190)
    [<8004d5dc>] (__arm_ioremap_pfn_caller+0x0/0x190) from [<8004d7f0>] (__arm_ioremap_caller+0x64/0x6c)
    [<8004d78c>] (__arm_ioremap_caller+0x0/0x6c) from [<8005faac>] (omap_ioremap+0x60/0x64)
     r6:00000002 r5:15000000 r4:88000000
    [<8005fa4c>] (omap_ioremap+0x0/0x64) from [<7f03608c>] (MemoryOS_map+0x1f0/0x3a8 [syslink])
     r7:9b987e28 r6:00000001 r5:9b987d48 r4:9d891000
    [<7f035e9c>] (MemoryOS_map+0x0/0x3a8 [syslink]) from [<7f004594>] (_ProcMgr_map+0x1cc/0x4ac [syslink])
     r8:9b987e28 r7:9b987e28 r6:00000001 r5:a0040000 r4:9dace000
    [<7f0043c8>] (_ProcMgr_map+0x0/0x4ac [syslink]) from [<7f004990>] (ProcMgr_map+0x11c/0x1b4 [syslink])
    [<7f004874>] (ProcMgr_map+0x0/0x1b4 [syslink]) from [<7f019954>] (Platform_loadCallback+0x4a0/0x7a0 [syslink])
    [<7f0194b4>] (Platform_loadCallback+0x0/0x7a0 [syslink]) from [<7f04d418>] (Ipc_control+0x68/0x14c [syslink])
    [<7f04d3b0>] (Ipc_control+0x0/0x14c [syslink]) from [<7f0868f0>] (IpcDrv_drvioctl+0x68/0x298 [syslink])
     r7:00000004 r6:7f0fa8ac r5:c014f497 r4:7e8f6bbc
    [<7f086888>] (IpcDrv_drvioctl+0x0/0x298 [syslink]) from [<800d677c>] (vfs_ioctl+0x28/0x44)
     r6:00000004 r5:9ad33580 r4:00000000
    [<800d6754>] (vfs_ioctl+0x0/0x44) from [<800d6e8c>] (do_vfs_ioctl+0x500/0x540)
    [<800d698c>] (do_vfs_ioctl+0x0/0x540) from [<800d6f24>] (sys_ioctl+0x58/0x7c)
    [<800d6ecc>] (sys_ioctl+0x0/0x7c) from [<80045da0>] (ret_fast_syscall+0x0/0x30)
     r8:80045f48 r7:00000036 r6:0007e2b4 r5:c014f497 r4:7e8f6bbc
    ---[ end trace ee1832f3518a0292 ]---
    After Ipc_loadcallback status [0x00000000]
    After Ipc_startcallback status [0x097d2000]
    
    

    ARM clk: 1000MHz
    DDR clk: 796MHz
    HDVICP clk: 600MHz
    L3 Fast clk: 560MHz
    HDVPSS clk: 280MHz
    Ducati M3 clk: 280MHz
    
    I2C:   ready
    DRAM:  2 GiB
    NAND:  HW ECC BCH8 Selected
    128 MiB
    MMC:   OMAP SD/MMC: 0
    Net:   Ethernet PHY: GENERIC @ 0x01
    DaVinci EMAC
    Hit any key to stop autoboot:  0 
    UBOOT # printenv
    bootcmd=nand read 0x81000000 0x00000000 0x32000;nand read 0x81000000 0x00280000 0x300000;logo on 0x81000000 0xa0000000 0x81600000 40 60;nand read 0x82000000 0x000
    bootdelay=1
    baudrate=115200
    ethaddr=00:17:BD:00:00:00
    eth1addr=xx:xx:xx:xx:xx:xx
    autoload=no
    netmask=255.255.255.0
    ntpserverip=192.168.1.231
    timeoffset=32400
    ethact=DaVinci EMAC
    ipaddr=192.168.0.205
    gatewayip=192.168.0.1
    serverip=192.168.0.2
    bootargs=mem=468M console=ttyO2,115200n8 root=/dev/ram0 ramdisk_size=83388608 ro initrd=0x82000000,8M ramdisk=83388608 ip=off vram=20M notifyk.vpssm3_sva=0xBEE000
    stdin=serial
    stdout=serial
    stderr=serial
    hwver=00:00
    ver=U-Boot 2010.06 (Oct 24 2012 - 12:45:35)
    
    Environment size: 712/8188 bytes
    
    

    UBOOT # boot
    
    NAND read: device 0 offset 0x0, size 0x32000
    [is_image_validate]enter
    [is_image_validate]isValidate:1 leave
     204800 bytes read: OK
    
    NAND read: device 0 offset 0x280000, size 0x300000
     3145728 bytes read: OK
    VPDMA Firmware Version = 0x4d0001b2
    
    NAND read: device 0 offset 0x9c0000, size 0x800000
    [is_image_validate]enter
    [is_image_validate]isValidate:1 leave
     8388608 bytes read: OK
    do_nandboot offset: 0x00580000, addr: 0x81000000
    
    Loading from nand0, offset 0x580000
       Image Name:   Linux-2.6.37
       Created:      2012-10-24   0:17:09 UTC
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2741692 Bytes = 2.6 MiB
       Load Address: 80008000
       Entry Point:  80008000
    Automatic boot of image at addr 0x81000000 ...
    ## Booting kernel from Legacy Image at 81000000 ...
       Image Name:   Linux-2.6.37
       Created:      2012-10-24   0:17:09 UTC
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2741692 Bytes = 2.6 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK
    
    Starting kernel ...
    
    Linux version 2.6.37 (linux@linux-laptop) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #1 Wed Oct 24 09:17:02 KST 2012
    CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
    CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    Machine: ti8168_dvr
    vram size = 20971520 at 0x0
    reserved size = 20971520 at 0x0
    FB: Reserving 20971520 bytes SDRAM for VRAM
    Memory policy: ECC disabled, Data cache writeback
    OMAP chip is TI8168 2.0
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 113752
    Kernel command line: mem=468M console=ttyO2,115200n8 root=/dev/ram0 ramdisk_size=83388608 ro initrd=0x82000000,8M ramdisk=83388608 ip=off vram=20M notifyk.vpssm30
    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: 448MB = 448MB total
    Memory: 440512k/440512k available, 38720k reserved, 0K highmem
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
        DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
        vmalloc : 0x9d800000 - 0xf8000000   (1448 MB)
        lowmem  : 0x80000000 - 0x9d400000   ( 468 MB)
        pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
        modules : 0x7f000000 - 0x7fe00000   (  14 MB)
          .init : 0x80008000 - 0x8003b000   ( 204 kB)
          .text : 0x8003b000 - 0x8052d000   (5064 kB)
          .data : 0x8052e000 - 0x80577480   ( 294 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 27000000 Hz
    Console: colour dummy device 80x30
    Calibrating delay loop... 999.42 BogoMIPS (lpj=4997120)
    pid_max: default: 32768 minimum: 301
    Security Framework initialized
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    devtmpfs: initialized
    omap_voltage_early_init: voltage driver support not added
    regulator: core version 0.5
    regulator: dummy: 
    NET: Registered protocol family 16
    omap_voltage_domain_lookup: Voltage driver init not yet happened.Faulting!
    omap_voltage_add_dev: VDD specified does not exist!
    OMAP GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    omap_mux_init: Add partition: #1: core, flags: 0
    3-wired eeprom init done. (H/W ver:00)
    _omap_mux_get_by_name: Could not find signal i2c2_scl.i2c2_scl
    _omap_mux_get_by_name: Could not find signal i2c2_sda.i2c2_sda
    pm_dbg_init: only OMAP3 supported
    registered ti81xx_vpss device
    registered ti81xx_vidout device
    registered ti81xx on-chip HDMI device
    registered ti81xx_fb device
    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 4ea20809
    registerd cppi-dma Intr @ IRQ 17
    Cppi41 Init Done
    omap_i2c omap_i2c.1: bus 1 rev4.0 at 400 kHz
    omap_i2c omap_i2c.2: bus 2 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
    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 9d81e000 using DMA, IRQ 18
    musb-hdrc musb-hdrc.1: dma type: dma-cppi41
    MUSB controller-1 revision 4ea20800
    musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
    usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb2: Product: MUSB HDRC host driver
    usb usb2: Manufacturer: Linux 2.6.37 musb-hcd
    usb usb2: SerialNumber: musb-hdrc.1
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    musb-hdrc musb-hdrc.1: USB Host mode controller at 9d828800 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.
    Trying to unpack rootfs image as initramfs...
    rootfs image is not initramfs (no cpio magic); looks like an initrd
    Freeing initrd memory: 8192K
    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.
    fuse init (API version 7.15)
    SGI XFS with security attributes, no debug enabled
    msgmni has been set to 876
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0
    omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    console [ttyO2] enabled
    brd: module loaded
    loop: module loaded
    ahci ahci.0: forcing PORTS_IMPL to 0x3
    ahci ahci.0: AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl platform mode
    ahci ahci.0: flags: ncq sntf pm led clo only pmp pio slum part ccc 
    scsi0 : ahci_platform
    scsi1 : ahci_platform
    ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x100 irq 16
    ata2: SATA max UDMA/133 irq_stat 0x00400040, connection status changed irq 16
    omap2-nand driver initializing
    NAND device: Maf ID: 0xec, Chip ID: 0xf1 (Samsung, )
     erasesize: 0x20000, writesize: 2048, oobsize: 64
    Creating 12 MTD partitions on "omap2-nand.0":
    0x000000000000-0x000000240000 : "U-Boot"
    0x000000240000-0x000000280000 : "U-Boot Env"
    0x000000280000-0x000000580000 : "U-Boot Logo"
    0x000000580000-0x0000009c0000 : "Kernel"
    0x0000009c0000-0x0000011c0000 : "File System"
    0x0000011c0000-0x0000031c0000 : "APP"
    0x0000031c0000-0x000003600000 : "Kernel Ex"
    0x000003600000-0x000003e00000 : "File System Ex"
    0x000003e00000-0x000005e00000 : "APP Ex"
    0x000005e00000-0x000006000000 : "INI"
    0x000006000000-0x000006200000 : "LOG"
    0x000006200000-0x000008000000 : "Reserved"
    davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    davinci_mdio davinci_mdio.0: detected phy mask fffffffd
    davinci_mdio.0: probed
    davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
    usbcore: registered new interface driver cdc_ether
    usbcore: registered new interface driver dm9601
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    mice: PS/2 mouse device common for all mice
    usb 2-1: new low speed USB device using musb-hdrc and address 2
    rtc-ds1307 1-0068: rtc core: registered ds1337 as rtc0
    omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc1
    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
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    notify_init : notify drivercreated  for  remote proc id 2 at physical Address 0xbee00000
    usbcore: registered new interface driver snd-usb-audio
    Registered tvp5158 audio codec
    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
    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.
    davinci_emac_probe: using random MAC addr: 42:4b:1d:77:c4:b6
    davinci_emac_probe: using random MAC addr: 5a:cf:20:d7:92:a2
    rtc-ds1307 1-0068: setting system clock to 2012-10-24 13:16:33 UTC (1351084593)
    mmc0: new high speed SD card at address 0002
    mmcblk0: mmc0:0002 00000 1.88 GiB (ro)
     mmcblk0: p1 p2
    usb 2-1: New USB device found, idVendor=062a, idProduct=0000
    usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    input: HID 062a:0000 as /devices/platform/omap/ti81xx-usbss/musb-hdrc.1/usb2/2-1/2-1:1.0/input/input0
    generic-usb 0003:062A:0000.0001: input: USB HID v1.10 Mouse [HID 062a:0000] on usb-musb-hdrc.1-1/input0
    ata1: SATA link down (SStatus 0 SControl 300)
    ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    ata2.15: Port Multiplier 1.2, 0x197b:0x3215 r0, 5 ports, feat 0x5/0xf
    ------ vendor: 0x197b, devid: 0x3215
    ata2.00: hard resetting link
    ata2.00: SATA link down (SStatus 0 SControl 320)
    ata2.01: hard resetting link
    ata2.01: SATA link up 3.0 Gbps (SStatus 123 SControl 320)
    ata2.02: hard resetting link
    ata2.02: SATA link down (SStatus 0 SControl 320)
    ata2.03: hard resetting link
    ata2.03: SATA link down (SStatus 0 SControl 320)
    ata2.04: hard resetting link
    ata2.04: SATA link down (SStatus 0 SControl 320)
    ata2.01: ATA-8: ST3500312CS, SC13, max UDMA/133
    ata2.01: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32)
    ata2.01: configured for UDMA/133
    ata2: EH complete
    scsi 1:1:0:0: Direct-Access     ATA      ST3500312CS      SC13 PQ: 0 ANSI: 5
    sd 1:1:0:0: Attached scsi generic sg0 type 0
    sd 1:1:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
    sd 1:1:0:0: [sda] Write Protect is off
    sd 1:1:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
     sda: sda1 sda2 sda3
    sd 1:1:0:0: [sda] Attached SCSI disk
    RAMDISK: gzip image found at block 0
    EXT3-fs: barriers not enabled
    kjournald starting.  Commit interval 5 seconds
    EXT3-fs (ram0): mounted filesystem with writeback data mode
    VFS: Mounted root (ext3 filesystem) readonly on device 1:0.
    devtmpfs: mounted
    Freeing init memory: 204K
    Setting the hostname to dm816xdvr
    Mounting filesystems
    EXT3-fs (ram0): using internal journal
    Running sysctl
    Setting up networking on loopback device: 
    Setting up networking on eth0: 
    davinci_mdio davinci_mdio.0: resetting idled controller
    net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, id=2430d91)
    Adding static route for default gateway to 192.168.0.1: 
    Setting nameserver to 168.126.63.1 in /etc/resolv.conf: 
    Starting inetd: 
    
    login[109]: root login on 'ttyO2'
    Welcome root login
    tdvr service not running
    FAT: bogus number of reserved sectors
    VFS: Can't find a valid FAT filesystem on dev sda.
    FAT: bogus number of FAT structure
    VFS: Can't find a valid FAT filesystem on dev sda1.
    FwUpdate >>> not insert USB
    ECC failed: 0
    ECC corrected: 0
    Number of bad blocks: 1
    Number of bbt blocks: 0
    Block size 131072, page size 2048, OOB size 64
    Dumping data starting at 0x00000000 and ending at 0x02000000...
    PHY: 0:01 - Link is Up - 100/Full
    mount: mounting /dev/loop0 on /opt/dvr failed: Invalid argument
    SECOND APPLICATION
    umount: can't umount /opt/dvr: Invalid argument
    ECC failed: 0
    ECC corrected: 0
    Number of bad blocks: 0
    Number of bbt blocks: 0
    Block size 131072, page size 2048, OOB size 64
    Dumping data starting at 0x00000000 and ending at 0x02000000...
    

    and when i set DDR_MEM := DDR_MEM_2048M , builded u-boot is not work. 

    thus currently i'm using 1024M build u-boot (only change bootargs)

    Thanks.

    Regargs.

    CHO

  • Can you share the config_2G.bld you are using.

    Also have you done memory test on the 2G from uboot to confirm memory is accessible

  • Hi Narayanan.

     I attached bld file .

    8080.config_2G.pdf

  • This config.bld is incompatible with your your kernel bootargs.

    Config.bld allocates only 128M for linux .

    You will have to modify your bootargs as

    mem=128M mem=340M@0xC0000000

    Are you going for 2G memory map to increase linux size or do you require more frame buffer memory

  • HI Narayanan.

    it works good.Thank you. 

    after 2G memory map, UI response time is very fast.

    when i showing the menu, menu display takes 2~3 second previously, but current it takes 0.5 seconds.

    and switching live , playback is more fast.

    I have a another question, 

    340M is used In the second segment .

    is it right that  120M+ 340M memory is used for linux userspace and extra 460M memory is used  for linux kernel space ?

    current my env.

    cat /proc/meminfo 

    MemTotal: 448896 kB

    VmallocTotal: 565248 kB

  • The total memory available to linux = 128M + 340 M = 468M. This is for both user + kernel space. Of 468M , 20 M is allocated for vram (for fbdev) so 448M is net available. This is the total lowmem available with usual 3:1 split between user:kernel space.

  • Thanks for your answer.

    as you mentioned above, now available memory is 448M ?

    and extra 460M memory is not available?

    when i change "mem=128M mem=440M@0xC0000000" , then there is available memory 548M ? is is right?


    Thank You.

    Regards. 

  • Yes that is correct.