From owner-freebsd-arm@FreeBSD.ORG Sat Oct 1 22:33:18 2011 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 E8DFC1065687 for ; Sat, 1 Oct 2011 22:33:17 +0000 (UTC) (envelope-from lists.br@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id A283B8FC0A for ; Sat, 1 Oct 2011 22:33:17 +0000 (UTC) Received: by ywp17 with SMTP id 17so3139118ywp.13 for ; Sat, 01 Oct 2011 15:33:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=OgJTu3HE+WVTZ7G/Uw8RluqVofuhDVkgzgWvVV1RLMQ=; b=iXniXuck7fU2Hlm/RsNQDWy7sd19kCusZ3JCFiczEuVxycOAkXRMmfq5PMyTv1BsxE EIvT4h/egvFrL2EwDRX2V2fqseev6FLfj+ZAjBXZo3nUekAq51jINbk52FZUuH8e/3TQ iE0XYRl7McSM/06BWNi+R0urQd57cXjbXqDts= Received: by 10.236.9.101 with SMTP id 65mr81411926yhs.11.1317506938422; Sat, 01 Oct 2011 15:08:58 -0700 (PDT) Received: from [192.168.0.53] ([187.120.139.136]) by mx.google.com with ESMTPS id y79sm10919212yhg.23.2011.10.01.15.08.56 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 01 Oct 2011 15:08:57 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Luiz Otavio O Souza In-Reply-To: <4E86D41D.1070908@swin.edu.au> Date: Sat, 1 Oct 2011 19:08:53 -0300 Content-Transfer-Encoding: quoted-printable Message-Id: References: <4E782686.6070500@smartfruit.com> <20110920160544.b8d6d969.ray@dlink.ua> <20110920173523.4043c0be.ray@dlink.ua> <4E85949F.1000004@swin.edu.au> <4E85D39F.1010606@smartfruit.com> <4E86D41D.1070908@swin.edu.au> To: mrossi@swin.edu.au X-Mailer: Apple Mail (2.1084) Cc: freebsd-arm@freebsd.org Subject: Re: GlobalScale DreamPlug + FreeBSD 8.2 release 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: Sat, 01 Oct 2011 22:33:18 -0000 On Oct 1, 2011, at 5:49 AM, Mattia Rossi wrote: >>>=20 >>> I don't know.. it just doesn't work for me. >>>=20 >>> U-Boot 2011.06-02334-g8f495d9-dirty (Mar 28 2011 - 05:21:06) >>> Marvell-DreamPlug >>>=20 >>> SoC: Kirkwood 88F6281_A0 >>> DRAM: 512 MiB >>> SF: Detected MX25L1606 with page size 256, total 1 MiB >>> In: serial >>> Out: serial >>> Err: serial >>> Net: egiga0, egiga1 >>> 88E1121 Initialized on egiga0 >>> 88E1121 Initialized on egiga1 >>> Hit any key to stop autoboot: 0 >>> Marvell>> set ipaddr 192.168.12.80 >>> Marvell>> set serverip 192.168.12.81 >>> Marvell>> tftpboot 0x900000 kernel.bin >>> No link on egiga0 >>> Using egiga1 device >>> TFTP from server 192.168.12.81; our IP address is 192.168.12.80 >>> Filename 'kernel.bin'. >>> Load address: 0x900000 >>> Loading: >>> ################################################################# >>> ################################################################# >>> ################################################################# >>> ################################### >>> done >>> Bytes transferred =3D 3366392 (335df8 hex) >>> Marvell>> go 0x900000 >>> ## Starting application at 0x00900000 ... >>>=20 >>>=20 >>> And there it just hangs. >>> Kernel compiled with: >>> KERNCONF=3DDB-88F6XXX >>> TARGET=3Darm >>> TARGET_ARCH=3Darm >>>=20 >>> Help? >>>=20 >>> Mat >>>=20 >>=20 >> I have luck with SheevaPlug based kernel config. >> Here is the kernel config file I'm using. It's based on SheevaPlug. >> You probably need to adjust the root FS, network protocol. >>=20 >> Good luck. >>=20 >=20 > Thanks Naoyuki, >=20 > I've tried the KERNCONF you sent me, but still no luck. >=20 > I had to add the following line to get it to compile though: >=20 > options FDT >=20 > Hope that didn't kill it. >=20 > The kernel still hangs after i tell uboot to go to 0x900000 >=20 > This is weird. >=20 > Mat Hi Mat, This is not so weird, you probably need to find the correct entry point = for the kernel you've built. You can find it with the following commands (please adapt it to your = environment): # cd /your/current/build/sources/ # make ${MAKEFLAGS} kernel-toolchain # make ${MAKEFLAGS} buildenv Entering world for mipseb:mips # nm /data/tftpboot/ar7240/boot/kernel/kernel | grep " _start" 80050100 T _start So in this case i need to load the load the kernel at 0x80050000 and = then start it with 'go 0x80050100'. (this kernel was built with = KERNLOADADDR=3D0x80050000: http://pastebin.com/A1d06Eqe). Regards, Luiz=