From owner-freebsd-arm@freebsd.org Fri Mar 31 23:43:11 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 70CCCD27D62 for ; Fri, 31 Mar 2017 23:43:11 +0000 (UTC) (envelope-from jensrasmus@gmail.com) Received: from mail-yb0-x22a.google.com (mail-yb0-x22a.google.com [IPv6:2607:f8b0:4002:c09::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2044DB88 for ; Fri, 31 Mar 2017 23:43:11 +0000 (UTC) (envelope-from jensrasmus@gmail.com) Received: by mail-yb0-x22a.google.com with SMTP id m133so19450436ybb.1 for ; Fri, 31 Mar 2017 16:43:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:reply-to:mail-followup-to :references:mime-version:content-disposition:in-reply-to; bh=cX+wXqhCVAegA/Qxht5+aMIdTKGcRmVUvBqS5mn7jMA=; b=tzF+rTbVnnbaXT2lXMoih8L6vo/MQu5woMmPsHFQ0W7SgMCVjcNbZdL6VVMFcSWDO8 MQ+ZZlXlwGbplGF/DjyPmJTyZR7CZNcMh+vlg7TgIhJmZPKHRNPNTc8LzQrm5xZbnDX4 70MyeMI9nu+6Qvnl/9fjXVFq0Xv1VFsIGFOSUg/YbBJswKmLNBipyXepxxiO41kbkFW/ PcUnMM+qVBo/Kl59+w0DJK/U2aDthQ33O6ChegMNAxwxm4qFK2umrjn1Zhed8QuiRaLi eLO0F5BDs9E5tQalbIcpBCv6c2THgjKu0NJydM/hBgWOiI3JQ5/BGHQ4yzpWZSHzUTCq HJVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:reply-to :mail-followup-to:references:mime-version:content-disposition :in-reply-to; bh=cX+wXqhCVAegA/Qxht5+aMIdTKGcRmVUvBqS5mn7jMA=; b=WN/mzPQgQTiDd3CIJe37cjRtG/Yew/03jc5hxP+oBQ6ff6BEb5QzLAyg30Ar7UlqTP H5vai5cCGo6oj2xq5fPEUMbON0JfhCL8+y6vtVnodagZJJT3qzhzBwqxHVH4jaP3VRfY 4lZYl7DMWHHWw8c+KZ//ZoF7U9JuH2s7T4uPQmeDrCVgGLYCTwUURFTUbrfO+9KmrI6X t+Xaslpm/H02fgFX+fmvh49rL/akvyzkHL97izNfd7HVzaXRBGGYKYHJJdVClTTao6E7 sxd8nytgewWP2wVYto2LVADUrbhJtTyrhh7M+VkZTz6VwEm3Sjo/9TVFxmk+kenLCAj7 tpSQ== X-Gm-Message-State: AFeK/H32/OnY03uYrQ/j+OzaXCz9Mc2moGNdmkRKdOoLDl28CZMc1DwWzvbTCj6JvunwHQ== X-Received: by 10.37.86.5 with SMTP id k5mr4084460ybb.66.1491003789462; Fri, 31 Mar 2017 16:43:09 -0700 (PDT) Received: from jrl.uk.to (cm-84.211.229.154.getinternet.no. [84.211.229.154]) by smtp.gmail.com with ESMTPSA id y187sm2675346ywe.49.2017.03.31.16.43.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 31 Mar 2017 16:43:08 -0700 (PDT) Date: Sat, 1 Apr 2017 01:42:16 +0200 From: Rasmus Liland To: Jan Sieka , freebsd-arm Subject: Re: DB-88F6XXX kernel on 88F6281_A0 (GoFlex Net) Message-ID: <20170331234216.GA16657@jrl.uk.to> Reply-To: Rasmus Liland Mail-Followup-To: Jan Sieka , freebsd-arm References: <20170330232907.GA21389@jrl.uk.to> <888745.43951.qm@web101706.mail.ssk.yahoo.co.jp> <20170331094127.GA29618@jrl.uk.to> <20170331111538.GB31398@jrl.uk.to> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170331111538.GB31398@jrl.uk.to> X-GPG-Key-Server: http://pgp.mit.edu X-GPG-Key-FingerPrint: DD51 6042 15B2 DC18 B546 B847 9807 9AF9 3DFD 5DF7 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Mar 2017 23:43:11 -0000 On 2017-03-31 13:15 +0200, Rasmus Liland wrote: > On 2017-03-31 12:45 +0200, Jan Sieka wrote: > > How much memory (RAM) do you have on your board? > > > > I'm recalling that sometimes when we tried to load FreeBSD > > kernel under the wrong address we were overwriting the U-Boot > > in the RAM thus we observed stalled tftp load. So the > > question is what is the address under which the U-Boot is > > copied to the memory on your board. > > U-Boot announces the amount of DRAM to 128MiB, and 256MiB of > NAND. Is there any U-boot command I can run to show some of the > memory mapping to determine the new addresses? Unable to calculate the addresses myself, I found in U-boot already stated address variables of Linux kernel /boot/uImage and ramdisk /uInitrd to be respecively addr_kern=0x680000, and addr_rd=0x1100000, which is an offset of 5568KiB. As stated earlier, it is possible to load kernel.bin from address 0x600000, perhaps 0x680000 is just enough. Will try this, reporting back in some hours. /Rasmus