本帖最后由 一只耳朵怪 于 2018-5-31 10:57 编辑
ti的大神你们好:
在uboot中设置启动参数setenv bootargs 'mem=48M ,会指定内存大小,但是我的DDR显示的内存为DRAM: 128 MB,我想修改指定内存48M,发现不传参数或改变48M的值都无法启动系统,
提示:
DM365 IPNC :>setenv bootargs 'mem=64M console=ttyS1,115200n8 noinitrd ip=192.168.1.168:192.168.1.46:192.168.1.1:255.255.255.0:::off rw ubi.mtd=3,2048 rootfstype=ubifs root=ubi0:rootfs cmemk.phys_start=0x83000000 cmemk.phys_end=0x88000000 cmemk.phys_start_1=0x00001000 cmemk.phys_end_1=0x00008000 cmemk.pools_1=1x28672 cmemk.allowOverlap=1 cmemk.useHeapIfPoolUnavailable=1 nohz=off highres=off clocksource=acpi_pm lpj=1077248 eth=20:8D:6F:00:00:10 quiet'
DM365 IPNC :>saveenv
Saving Environment to NAND...
Erasing Nand...
Erasing at 0x300000 -- 100% complete.
Writing to Nand... done
DM365 IPNC :>boot
Loading from NAND 128MiB 3,3V 8-bit, offset 0x500000
Image Name: Linux-2.6.37_IPNC_DM365_5.1.0
Image Type:
ARM Linux Kernel Image (uncompressed)
Data Size: 3448160 Bytes = 3.3 MB
Load Address: 80008000
Entry Point: 80008000
## Booting kernel from Legacy Image at 80700000 ...
Image Name: Linux-2.6.37_IPNC_DM365_5.1.0
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3448160 Bytes = 3.3 MB
Load Address: 80008000
Entry Point: 80008000
Loading Kernel Image ... OK
OK
Starting kernel ...
[ 0.347779] DRV: Module install successful
[ 0.347815] DRV: Module built on Aug 4 2015 15:46:18
[ 0.354359] CMEMK Error: Failed to request_mem_region(0x83000000, 83886080)
[ 0.836289] Error: Driver 'davinci-mcbsp' is already registered, aborting...
INIT: version 2.86 booting
坐等回复,谢谢