LS1021a app with less than 512Mbytes RAM

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LS1021a app with less than 512Mbytes RAM

ソリューションへジャンプ
704件の閲覧回数
erdani80
Contributor III

Hi,

We are developing a custom board that will have only 128Mbytes DDR3L RAM memory. We got the board booting uboot but when booting linux it is not working. The clock we are using is a 100MHz differential clock.

I just took the tower dev kit, removed the resistors frm the clocking circuit so that the config matches my board. In the RCW I config the DDR3 clock to use the differential one and I am able to boot from the SD card After this I just tried booting linux modifying the mem parameter in the kernel command line and as soon as I use a value lower than 512M the kernel stops booting.

Is there any minimum requierement for booting linux in this platform?

Thanks,

Daniel,

0 件の賞賛
1 解決策
572件の閲覧回数
erdani80
Contributor III

OK, I was able to answer myself.

Both uboot and the dts file for the board must have the same value in the memory size configuration:

In uboot :

#define PHYS_SDRAM_SIZE             (128u * 1024 * 1024)

In the dts file:

memory@80000000 {

                device_type = "memory";

                reg = <0x0 0x80000000 0x0 0x8000000>;

        };

元の投稿で解決策を見る

0 件の賞賛
1 返信
573件の閲覧回数
erdani80
Contributor III

OK, I was able to answer myself.

Both uboot and the dts file for the board must have the same value in the memory size configuration:

In uboot :

#define PHYS_SDRAM_SIZE             (128u * 1024 * 1024)

In the dts file:

memory@80000000 {

                device_type = "memory";

                reg = <0x0 0x80000000 0x0 0x8000000>;

        };

0 件の賞賛