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.

Problem about dm8168 ramdisk filesystem boot param when use 2g ddr



Hi all:

I develop on dm8168 board use dvrrdk4.0, and i use ramdisk file system 

and now i want to use 2048M ddr for my application,

but when i set the boot params like follow ramdisk(32M) boot:

setenv bootargs 'mem=512M console=ttyO2,115200n8 root=/dev/nfs rw nfsroot=root=/dev/ram0 rw initrd=0x82000000,40M ramdisk_size=450000 ip=192.168.1.101:192.168.1.175:192.168.1.1:255.255.255.0::eth0:on vram=20M notifyk.vpssm3_sva=0xbfb00000 vmalloc=476M ddr_mem=2048M earlyprintk'

it fails when i set initrd=0xC0000000 it boots,but load.sh run error,

How to set the boot params then?

I have set the uImage boot from 0xc0008000 ,

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

as NFS is like follow which works ok
setenv bootargs 'mem=512M console=ttyO2,115200n8 root=/dev/nfs rw nfsroot=192.168.1.175:/root/nfs_target/rfs_816x ip=192.168.1.101:192.168.1.175:192.168.1.1:255.255.255.0::eth0:on vram=20M notifyk.vpssm3_sva=0xbfb00000 vmalloc=476M ddr_mem=2048M earlyprintk'

best regards

xavier

  • Xavier,

    Xavier said:
    ramdisk_size=450000

    Can you try with ramdisk_size=45000?

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

    TI8168_EVM# setenv bootargs 'mem=200M console=ttyO2,115200n8 root=/dev/ram0 initrd=0x82000000,40M 
    ramdisk_size=45000 ip=dhcp' TI8168_EVM# bootm 0x81000000

    Regards,
    Pavel