From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-yw0-x22e.google.com ([2607:f8b0:4002:c05::22e]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c2ueG-0007E4-RK for barebox@lists.infradead.org; Sat, 05 Nov 2016 06:40:17 +0000 Received: by mail-yw0-x22e.google.com with SMTP id i145so8969446ywg.2 for ; Fri, 04 Nov 2016 23:39:55 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20161104071821.jqrhtfmgz3432527@pengutronix.de> References: <20161104071821.jqrhtfmgz3432527@pengutronix.de> From: Jose Luis Zabalza Date: Sat, 5 Nov 2016 07:39:53 +0100 Message-ID: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: Configure RAM size on iMX53 board To: barebox@lists.infradead.org Thanks Sascha, but something I do wrong I tried set fixed size to 512M, but neither works. With these changes does not work or 512MB board or 1GB board. ======================== #include #include #include #include #include #include void __naked barebox_arm_reset_vector(void) { imx5_cpu_lowlevel_init(); arm_setup_stack(MX53_IRAM_BASE_ADDR + MX53_IRAM_SIZE - 8); // imx53_barebox_entry(NULL); barebox_arm_entry(MX53_CSD0_BASE_ADDR,SZ_512M,NULL); } ========================================= ============================ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include ........ other device init functions ...... static int myboard_init(void) { imx_esdctl_disable(); arm_add_mem_device("ram0", MX53_CSD0_BASE_ADDR, SZ_512M); return 0; } core_initcall(myboard_init); ======================================== Thanks in advanced. _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox