LS1021a app with less than 512Mbytes RAM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1021a app with less than 512Mbytes RAM

Jump to solution
680 Views
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 Kudos
1 Solution
548 Views
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>;

        };

View solution in original post

0 Kudos
1 Reply
549 Views
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 Kudos