开发包版本:DVRRDK3.5, 8168芯片,板子是公司自己生产。
1G DDR 时, 启动板子、加载内核以及运行程序都没有任何问题。最近公司想升级为2G 内存,所以我按照install文档修改rules.make文件,以及修改uboot启动参数。新修改的参数为:
setenv bootargs 'console=ttyO2,115200n8 noinitrd mem=512M rootdelay=5 root=/dev/nfs nfsroot=192.168.1.91:/home/work/dm8168/DVRRDK_03.50.00.05/target/rfs_816x, rw ip=192.168.1.92:192.168.1.109:192.168.1.254:255.255.0.0::eth0:off vram=20M notifyk.vpssm3_sva=0xbfb00000 stdin=serial ddr_mem=2048M vmalloc=476M'
板子可以启动了,但是在执行init.sh以及load.sh时,都无法执行,下面是错误信息:
root@dm816x:/opt/dvr_rdk/ti816x# sh init.sh *** Bootargs Validated for mem param *** *** Bootargs Validated for notifyk.vpssm3 params *** *** This RDK version requires LINUX_BASE_ADDRESS=0xc0000000.Recompile uImage *** Cmd to rebuild uImage@0xc0000000:mkimage -A arm -O linux -T kernel -C none -a 0xc0008000 -e 0xc0008000 -n 'Linux-2.6.37' -d arch/arm/boot/zImage uImage Refer processors.wiki.ti.com/.../DM816x_AM389x_PSP_User_Guide Kernel bootargs mismatch.!!!!ABORTING!!!
于是我又按照网上查到的资料,将内核起始地址改为C0000000, 使用命令为:
mkimage -A arm -O linux -T kernel -C none -a 0xc0008000 -e 0xc0008000 -n 'Linux-2.6.37' -d arch/arm/boot/zImage uImage
重新生成uImage, 重启板子以后出现了下面这种情况,无法继续往下运行了。
Load address: 0x81000000 Loading: T ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################### done Bytes transferred = 2590672 (0x2787d0) ## Booting kernel from Legacy Image at 81000000 ... Image Name: Linux-2.6.37 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2590608 Bytes = 2.5 MiB Load Address: c0008000 Entry Point: c0008000 Verifying Checksum ... OK
Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel.
我参考了其他帖子,但是我还是无法解决这个问题。请专家帮忙看一下这个问题,多谢。
另外,是否3.5的DVRRDK包不支持2G的DDR?
