From owner-freebsd-arm@freebsd.org Fri Mar 31 11:16:31 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 6BA35D278F8 for ; Fri, 31 Mar 2017 11:16:31 +0000 (UTC) (envelope-from jensrasmus@gmail.com) Received: from mail-lf0-x229.google.com (mail-lf0-x229.google.com [IPv6:2a00:1450:4010:c07::229]) (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 E135CDFA for ; Fri, 31 Mar 2017 11:16:30 +0000 (UTC) (envelope-from jensrasmus@gmail.com) Received: by mail-lf0-x229.google.com with SMTP id x137so42132613lff.3 for ; Fri, 31 Mar 2017 04:16:30 -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=XQZ/N0eZF9v7E/oscLRa09diLRlJwaCib1kKJ4LW2+E=; b=NCva+v0o9XmF4q4jqXGu+M40QcB0rpvKF/+F7u5sdf9AW2R2Y5Lml5LDr64ER99BcB hyHaX32OiyShpvumLmz7G1dr7uwTxMVVwcmv5864KoX1Mv0oC2aF8UuRdFeqiESENNOi 6z+7D1hd9MD9ajktwqNyge2mmSHEBkCZ3QOe094claxVmORMchjQ0cBio4vcR9MCOgkA H8/V1LJDOkJVS+UBLuQ3Lhk7tc+PHuOBQp4lXWaz+zTk1wyYwHFDe4+mu7eQGwZzYDMS dn+m/t4bfrtz0PSQezmlCxa7vqmf0LHgrVavYBJN2z1dhBOB7onmHNWUSAxYUuFayTAj fz0g== 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=XQZ/N0eZF9v7E/oscLRa09diLRlJwaCib1kKJ4LW2+E=; b=Fr9GCI8uvtI+eo1z41SvUsicNduGnwKROiKaPlfwe8Iho+CEZuT7Q6qrONAKShA7D+ 71CUxHlR1QQ7u1TtVh7DdeGEKget8uJ4u66uG9/0cgGBuz9yg4TNHykmIu+7XKe+mKMd MUKQcRmG9qJiOf4drz4J047nHhu9oh2PZ/odmJOocis2XwWMcdcBGSdSTwTjsh5Jourv 5RhMn6giMWGFxRrsVXdmHZshjfqVuAn52/bMfUZaUAiqYtKCdF/5JbtphfopJwRgJhK9 x2C0KgNWhN6HuP1myZhEJuIRITE5Vs6Vjj+5P02hqqwRgGyoSYM/a4aRJ6pU176o/6Q0 l+1g== X-Gm-Message-State: AFeK/H1Y1WeBg2HNR2Zl6agcHU/eA/suIjtYT6xcPXJMaIrjyCatGS+KNRxfVfx1rHovKw== X-Received: by 10.25.242.73 with SMTP id d9mr933032lfk.89.1490958989092; Fri, 31 Mar 2017 04:16:29 -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 c5sm874141lfk.51.2017.03.31.04.16.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 31 Mar 2017 04:16:28 -0700 (PDT) Date: Fri, 31 Mar 2017 13:15:38 +0200 From: Rasmus Liland To: Jan Sieka , freebsd-arm Subject: Re: DB-88F6XXX kernel on 88F6281_A0 (GoFlex Net) Message-ID: <20170331111538.GB31398@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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-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 11:16:31 -0000 On 2017-03-31 12:45 +0200, Jan Sieka wrote: > Hello! > > The .dts file is included in the kernel config file. Look here > in the line 8: > https://svnweb.freebsd.org/base/releng/10.3/sys/arm/conf/DB-88F6XXX?view=markup Hello! Yes, it seems the dts file is specified at line 97, and the std.db88f6xxx is at line 8. Perhaps these need to be modified, yes. > 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? I looked around and at least found the commands cmp, md, and bdinfo, perhaps they are useful: | Marvell>> help | bdinfo - print Board Info structure | cmp - memory compare | md - memory display | Marvell>> cmp | cmp - memory compare | | Usage: | cmp [.b, .w, .l] addr1 addr2 count | Marvell>> md | md - memory display | | Usage: | md [.b, .w, .l] address [# of objects] | Marvell>> bdinfo | arch_number = 0x00000C11 | env_t = 0x00000000 | boot_params = 0x00000100 | DRAM bank = 0x00000000 | -> start = 0x00000000 | -> size = 0x08000000 | DRAM bank = 0x00000001 | -> start = 0x00000000 | -> size = 0x00000000 | DRAM bank = 0x00000002 | -> start = 0x00000000 | -> size = 0x00000000 | DRAM bank = 0x00000003 | -> start = 0x00000000 | -> size = 0x00000000 /Rasmus