|
本帖最后由 soloforce 于 2013-10-19 08:40 编辑
刷了lubuntu-desktop-card-20130909显示只有1G内存;后来刷成自己定制的debian linux,仍旧只有1G。
root@CubieBoard:~# free -m
total used free shared buffers cached
Mem: 907 28 878 0 2 11
-/+ buffers/cache: 14 892
Swap: 0 0 0
root@CubieBoard:~# cat /proc/meminfo
MemTotal: 928872 kB
MemFree: 899760 kB
Buffers: 2660 kB
Cached: 11456 kB
试图把.fex文件中内存容量已经设置成2G,结果无效
[dram_para]
dram_baseaddr = 0x40000000
dram_clk = 480
dram_type = 3
dram_rank_num = 1
dram_chip_density = 8192
dram_io_width = 16
dram_bus_width = 32
dram_cas = 9
dram_zq = 0x7f
dram_odt_en = 0
dram_size = 2048
莫非是1G的版本?抑或是Uboot的问题?
U-Boot SPL 2013.10-rc2-08400-g8a4621c (Oct 18 2013 - 20:56:51)
Board: Cubietruck
DRAM: 1024 MiB
CPU: 960000000Hz, AXI/AHB/APB: 3/2/2
spl: not an uImage at 1600
U-Boot 2013.10-rc2-08400-g8a4621c (Oct 18 2013 - 20:56:51) Allwinner Technology
CPU: Allwinner A20 (SUN7I)
Board: Cubietruck
I2C: ready
DRAM: 1 GiB
MMC: SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net: emac
Hit any key to stop autoboot: 0
再试试2013-10-15的lubuntu-nand, 终于看到2G的内存了。。。
linaro@cubietruck:~$ free -m
total used free shared buffers cached
Mem: 1825 358 1466 0 17 234
-/+ buffers/cache: 107 1718
Swap: 0 0 0
linaro@cubietruck:~$ cat /proc/meminfo
MemTotal: 1869184 kB
MemFree: 1507180 kB
|
|