From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mout.gmx.net ([212.227.15.19]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UMvqj-00088B-3f for barebox@lists.infradead.org; Tue, 02 Apr 2013 07:41:46 +0000 Received: from 3capp-gmx-bs47.server.lan ([172.19.170.99]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0MDBbe-1UQHM51Hrg-00Gb44 for ; Tue, 02 Apr 2013 09:41:37 +0200 MIME-Version: 1.0 Message-ID: From: =?UTF-8?Q?=22Breixo_L=C3=B3pez_Garc=C3=ADa=22?= Date: Tue, 2 Apr 2013 09:41:37 +0200 (CEST) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============5077954419212304795==" Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Problems with the Load a new kernel image To: barebox@lists.infradead.org --===============5077954419212304795== Content-Type: text/html; charset=UTF-8
Hy Community,
 
I have been trying to boot in the phyCORE-AM335x board the preempt_rt kernel from OSELAS (https://www.osadl.org/Profile-of-system-in-rack-7-slot-5.qa-profile-r7s5.0.html#kernel).
 
I can compile the kernel propertly but when I do the boot Issue appears in the Target console:
 
 barebox 2012.11.0 #1 Thu Mar 28 10:25:26 CET 2013                              
                                                                               
                                                                               
Board: Phytec phyCORE-AM335x                                                   
m25p m25p0: found s25fl064k, expected w25q64                                   
m25p m25p0: s25fl064k (8192 Kbytes)                                            
omap-hsmmc omap-hsmmc0: registered as omap-hsmmc0                              
mci mci0: registered disk0                                                     
probe buswidth                                                                 
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xdc (Micron NAND 512MiB 3,3V 8-bit
), page size: 2048, OOB size: 64                                               
miibus0: probed                                                                
malloc space: 0x80b00000 -> 0x80ffffff (size  5 MB)                            
stack space:  0x80af8000 -> 0x80b00000 (size 32 kB)                            
running /env/bin/init...                                                       
                                                                               
Hit any key to stop autoboot:  3                                               
barebox@Phytec phyCORE-AM335x:/ boot -k tftp -r net                            
do_tftpb: /.tftp_tmp_path/linuximage -> /image                                 
100Mbps full duplex link detected
                                      #################################################################      
        #################################################################      
        #################################################################      
        #################################################################      
        ############write: Out of memory           
     
I have changed the barebox's property malloc_size of the barebox because the image is >4MB and I supposed that the problem was     that the kernel is out of the reserver area for kernel in the RAM (tftp mode) before it is saved in the flash but without successful. What is the real Issue that doesn't allow to boot propertly the kernel
 
The kernel that is used:
$ ls -l /tftpboot
insgesamt 40872
-rw-r--r-- 1 root root   293912 Mär 28 10:44 barebox-image
-rw-r--r-- 1 sst  sst   4964864 Apr  2 09:35 linuximage
-rw-r--r-- 1 root root  5034776 Apr  2 09:34 linuximage5.1M
-rw-r--r-- 1 root root  3366056 Feb 12 15:23 linuximage.bank
-rw-r--r-- 1 root root 28180480 Feb 11 11:31 root.ubi
-rw-r--r-- 1 root root       12 Feb  4 11:51 text
 
file /tftpboot/linuximage
/tftpboot/linuximage: u-boot legacy uImage, Linux-3.2.40-rt60, Linux/ARM, OS Kernel Image (Not compressed), 4964800 bytes, Wed Mar 27 16:16:08 2013, Load Address: 0x80008000, Entry Point: 0x80008000, Header CRC: 0x2C7C1529, Data CRC: 0xF2A50FC5
 
I am using:
> -Toolchain:OSELAS.toolchain-2011.11.3
> -ptxdist: version 2012.03.0
 
 
Any help are welcome, I am voerlooking something and I do not sure what
 
-Regard
 
Breixo
    
--===============5077954419212304795== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox --===============5077954419212304795==--