From owner-freebsd-arm@FreeBSD.ORG Tue Jun 29 08:57:23 2010 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70FC61065670 for ; Tue, 29 Jun 2010 08:57:23 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id 3E6088FC1A for ; Tue, 29 Jun 2010 08:57:22 +0000 (UTC) Received: from compute2.internal (compute2.internal [10.202.2.42]) by gateway1.messagingengine.com (Postfix) with ESMTP id 9AFDE107A8C; Tue, 29 Jun 2010 04:57:22 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Tue, 29 Jun 2010 04:57:22 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=date:from:to:cc:subject:message-id:in-reply-to:references:mime-version:content-type:content-transfer-encoding; s=smtpout; bh=vuWs0urWyOJFe3EFZoQ+MDL26FU=; b=ONChNjpPx3HSkzxxH8goKEWeSO5htxo9Phuu/oLViGDSRLATzT2YRTZYO17i9CydyyAxOBwwXKHb5g8I7BS9kqNWeuw/bghvy8fH2uXq6g0fhJU/pMzgibaQ2fxg+QbOrXTroJfkT+4TOUisrkIcKkTqxHB0HXX/WYzC/6nUXvk= X-Sasl-enc: C2a6912OidASeI89HzyhBhaR9+XWbpRdGsn5Rmd5At4C 1277801841 Received: from bender (201.244.69.111.dynamic.snap.net.nz [111.69.244.201]) by mail.messagingengine.com (Postfix) with ESMTPA id E90E949DCF6; Tue, 29 Jun 2010 04:57:20 -0400 (EDT) Date: Tue, 29 Jun 2010 20:57:41 +1200 From: Andrew Turner To: Ho Van Than Message-ID: <20100629205741.4c72ff8f@bender> In-Reply-To: References: <4C28B426.8050703@globaledgesoft.com> <20100629093417.2d696824@bender> <4C297B66.1020200@globaledgesoft.com> <20100629180756.40313ead@bender> <4C299426.7000402@globaledgesoft.com> <20100629190016.6b9e8b61@bender> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.18.7; i386-portbld-freebsd8.0) X-Pirate: Arrrr Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org, Ravindra Subject: Re: Porting FreeBSD-S3c2410 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jun 2010 08:57:23 -0000 On Tue, 29 Jun 2010 14:59:27 +0700 Ho Van Than wrote: ... > 4. Make image (That command I using Linux OS) > mkimage -A arm -O freebsd -T kernel -C none -a 30008000 -e 300080e0 > -n "FreeBSD" -d kernel kernel.boot This looks correct. You will need to adjust KERNPHYSADDR in sys/arm/s3c2xx0/std.ln2410sbc to 0x30008000 and KERNVIRTADDR to 0xc0008000 if you are using this address. ... > utu-bootloader=>>>bootm > ## Booting image at 30000000 ... > Image Name: FreeBSD > Created: 2010-06-29 7:25:23 UTC > Image Type: ARM Unknown OS Kernel Image (uncompressed) > Data Size: 3312563 Bytes = 3.2 MB > Load Address: 30008000 > Entry Point: 30008000 The entry point is wrong, it should 0x300080e0. Are you booting the same kernel you built above? The entry points are different. Andrew -- Andrew Turner WhiteQueue Consulting http://whitequeue.com/ Custom FreeBSD and Linux development