From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mout.gmx.net ([212.227.17.22]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1UKo5p-0005p2-R1 for ptxdist@pengutronix.de; Wed, 27 Mar 2013 12:00:35 +0100 Received: from 3capp-gmx-bs25.server.lan ([172.19.170.77]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0Lzmgv-1UgLKU458F-014zD6 for ; Wed, 27 Mar 2013 12:00:25 +0100 MIME-Version: 1.0 Message-ID: From: =?UTF-8?Q?=22Breixo_L=C3=B3pez_Garc=C3=ADa=22?= Date: Wed, 27 Mar 2013 12:00:25 +0100 (CET) Subject: [ptxdist] Problem boot PREEMPT_RT kernel Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0537319828==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de --===============0537319828== 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
 
I can compile propertly the kernel, but when I do the boot in the board, the following Issue appears in the target console:
 
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
 
Ther kernel image is 4,8MB and I suppose that is out of the reserver area for kernel in the RAM (tftp mode) before it is saved in the flash. Where I can change the value of the started address  or it is other Issue.
 
I am using:
-Toolchain:OSELAS.toolchain-2011.11.3
-ptxdist: version 2012.03.0
 
Whit the kernel boot through TFTP and the filesystem NFS:
 
barebox config.
 
!/bin/sh
machine=pcm051
user=
# use 'dhcp' to do dhcp in barebox and in kernel
# use 'none' if you want to skip kernel ip autoconfiguration
#ip=dhcp
# or set your networking parameters here
eth0.ipaddr=192.168.3.11
eth0.netmask=255.255.255.0
eth0.gateway=192.168.3.1
eth0.serverip=192.168.3.58
# can be either 'tftp', 'disk', 'nor' or 'nand'
kernel_loc=nand
# can be either 'disk', 'net', 'nand' or 'initrd'
rootfs_loc=net
# can be either 'jffs2' 'ext3' or 'ubifs'
rootfs_type=ext3
rootfsimage=root-$machine.$rootfs_type
 
# The image type of the kernel.
kernelimage_type=uimage
kernelimage=linuximage
if [ -n $user ]; then
        kernelimage="$user"-"$kernelimage"
        nfsroot="$eth0.serverip:/opt/phyCORE-AM335x-PD12.1.0/NFS/"
        rootfsimage="$user"-"$rootfsimage"
else
        nfsroot="$eth0.serverip:/opt/phyCORE-AM335x-PD12.1.0/NFS/"
fi
autoboot_timeout=3
bootargs="console=ttyO0,115200"

#Flash
nand_parts="128k(xload),128k(xload_backup1),128k(xload_backup2),128k(xload_backu
nor_parts="128k(xload),512k(barebox),128k(bareboxenv),4M(kernel),-(root)"
rootfs_mtdblock_nand="12,2048"
nand_device="omap2-nand.0"
nor_device="spi_flash"
rootfs_part_linux_dev=mmcblk0p2
kernel_part=disk0.0
# set a fancy prompt (if support is compiled in)
PS1="\e[1;32mbarebox@\e[1;31m\h:\w\e[0m "
#Displays
#bootargs="$bootargs da8xx_fb.panel_name=PV_PD050VL1"
#bootargs="$bootargs da8xx_fb.panel_name=PV_PD104SLF"
#bootargs="$bootargs da8xx_fb.panel_name=PV_PM070WL4"
bootargs="$bootargs da8xx_fb.panel_name=PV_PM070WL4"
 
 
Thanks for your time
 
-Regards
 
Breixo
--===============0537319828== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============0537319828==--