From owner-freebsd-mips@freebsd.org Wed May 10 07:16:32 2017 Return-Path: Delivered-To: freebsd-mips@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 AF2FDD666A0 for ; Wed, 10 May 2017 07:16:32 +0000 (UTC) (envelope-from sgalabov@gmail.com) Received: from mail-wr0-x244.google.com (mail-wr0-x244.google.com [IPv6:2a00:1450:400c:c0c::244]) (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 31377193F for ; Wed, 10 May 2017 07:16:32 +0000 (UTC) (envelope-from sgalabov@gmail.com) Received: by mail-wr0-x244.google.com with SMTP id 6so5742863wrb.1 for ; Wed, 10 May 2017 00:16:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=8hfIxc/+/NHpJMrZAknQT3LKFh/BHonVRlwAxzbuAfA=; b=LYtjxtE3TpT2tcScR1c81GfPOV/AcYRWQPFhGieGWKXPeB5Hjp+5Q30vs87NjSZoPD NtFewcqGGLxjvzxU1k5Hrg1SgU+U8bDjN4wz84mIPS+YIVtZWkerRMOLAQmQ0NbYMd8G BkfzinTdmsFI+E64cVgrAcgO71s0IKe+UVswpRDRV88Y8m8bNrQT/Wg1Sth+D+AA2sdf /llMUtaK8IC25LA9CoPLKCBvKcaBXpb6AllCBoSwOofQUXzXPn/EOkjk0z/rNAydfPuc SyiGVaRYxeJ1eC87sCWThqpzZFhRPtYrFbVm8/31AG7U6VZFAbLobCZHsz93yy6kyPlO Jsxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=8hfIxc/+/NHpJMrZAknQT3LKFh/BHonVRlwAxzbuAfA=; b=Zw6hpx7PopsrURG84b0SK+vJv9K8xHnI0IMe1yWNJ/GyBhq+Ua0g4fIzitsAISW5uP ru2h6lrL675MoNkg/w3ajoA6pIPB/xIpChLEpnvs4Tz00ntiPTpB34OobKZ8X7m2Pu+Q 1CISafd/M028+bzqr7LimfNHZ05QmzD07Dg4zFImXr96X99T+ktPczEGAWMoCUfIslfM 1fvbVpmKAqQMZkXvaROl7EikfYSrYC3zs7BR0tsbcANdUogv91sZTkp60D6R5tjtsEjs lKqQUULvq16M6Ej2sMBsLwwoLPvi3w+HIqmI9ARqqTtECpSGIeqVh3j+s1M7+mEwkrBH t+cQ== X-Gm-Message-State: AODbwcBk34QJnRtIGI/SdpeyFbnpv0WRBiXUrkhiVj5dMBIsdJ/0sdTR OQaqlAL5u003iA== X-Received: by 10.28.214.69 with SMTP id n66mr761353wmg.25.1494400590198; Wed, 10 May 2017 00:16:30 -0700 (PDT) Received: from [192.168.252.71] ([193.178.153.36]) by smtp.gmail.com with ESMTPSA id 130sm3331963wmq.17.2017.05.10.00.16.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 May 2017 00:16:28 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.0 \(3226\)) Subject: Re: onion omega2+ From: Stanislav Galabov In-Reply-To: <8b21a15c-3af8-bdba-cc70-6bd0e3a65f39@wolman.co.uk> Date: Wed, 10 May 2017 10:16:29 +0300 Cc: Stanislav Galabov , Mori Hiroki , Aleksandr Rybalko , "freebsd-mips@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <05065E4E-1D0F-49DE-B14D-D45ECCEA251F@gmail.com> References: <694efc3a-e183-35a1-a0bf-9a9c0d708826@wolman.co.uk> <410144.69078.qm@web101716.mail.ssk.yahoo.co.jp> <128807.28836.qm@web101715.mail.ssk.yahoo.co.jp> <2d555385-8258-fd75-e4a3-a1e59bf86314@wolman.co.uk> <651873.78746.qm@web101702.mail.ssk.yahoo.co.jp> <2c5cd01a-a8d4-3ffa-4e9c-2aad170574c1@wolman.co.uk> <39222.11970.qm@web101719.mail.ssk.yahoo.co.jp> <6f1b2d35-5d17-765a-6138-0ab85455fc09@wolman.co.uk> <5866.49154.qm@web101718.mail.ssk.yahoo.co.jp> <102de390-63ca-a156-2208-bea3d5eea0f9@wolman.co.uk> <541011.41820.qm@web101719.mail.ssk.yahoo.co.jp> <672be258-8fed-6317-1325-f9fccf2646c3@wolman.co.uk> <369335.16286.qm@web101716.mail.ssk.yahoo.co.jp> <711a889d-9701-2441-5c9c-98e0ac607ffb@wolman.co.uk> <456721.9572.qm@web101705.mail.ssk.yahoo.co.jp> <8b21a15c-3af8-bdba-cc70-6bd0e3a65f39@wolman.co.uk> To: Mike Wolman X-Mailer: Apple Mail (2.3226) X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 May 2017 07:16:32 -0000 Hi Mike, Please try setting both the Load Address and the Entry Point to the same = value as you see as Entry point address by using 'readelf -h=E2=80=99 = and try booting again. In your case this would seem to be 0x80001100. Please leave all dts/dtsi files unchanged (as they originally were) for = now. Best wishes, Stanislav > On May 10, 2017, at 04:33, Mike Wolman wrote: >=20 >=20 > I have just tried with clock-frequency change in the 3 places it = appears in mt7628an.dtsi >=20 > But again some thing: >=20 > Omega2 # bootm 0x80800000 > ## Booting image at 80800000 ... > Image Name: FreeBSD > Image Type: MIPS Linux Kernel Image (uncompressed) > Data Size: 5654760 Bytes =3D 5.4 MB > Load Address: 80001000 > Entry Point: 80001100 > Verifying Checksum ... OK > OK > No initrd > ## Transferring control to Linux (at address 80001100) ... > ## Giving linux memsize in MB, 128 >=20 > Starting kernel ... >=20 >=20 > Note: When building kernel i see: >=20 > -------------------------------------------------------------- > >>> stage 3.1: building everything > -------------------------------------------------------------- > converting OMEGA2P.dts -> = /usr/home/mike/omega2/obj/mipsel_ap/mips.mipsel/usr/home/mike/omega2/src/s= ys/MT7628_FDT/OMEGA2P.dtb > = /usr/home/mike/omega2/obj/mipsel_ap/mips.mipsel/usr/home/mike/omega2/src/s= ys/MT7628_FDT/OMEGA2P.dtb: Warning (unit_address_vs_reg): Node = /cpus/cpu@0 has a unit name, but no reg property > = /usr/home/mike/omega2/obj/mipsel_ap/mips.mipsel/usr/home/mike/omega2/src/s= ys/MT7628_FDT/OMEGA2P.dtb: Warning (unit_address_vs_reg): Node = /cpuintc@0 has a unit name, but no reg property > = /usr/home/mike/omega2/obj/mipsel_ap/mips.mipsel/usr/home/mike/omega2/src/s= ys/MT7628_FDT/OMEGA2P.dtb: Warning (unit_address_vs_reg): Node = /pcie@10140000/pcie-bridge has a reg or ranges property, but no unit = name >=20 > Are these just warnings which can be ignored or could they be part of = the problem? >=20 >=20 >=20 > On 10/05/2017 01:50, Mori Hiroki wrote: >> Hi mike >>=20 >> I last idea is uartlite clock-frequency miss. >>=20 >> clock-frequency =3D <50000000>; >>=20 >> But I don't know correct value. >>=20 >>=20 >>=20 >> ----- Original Message ----- >>> From: Mike Wolman >>> To: Mori Hiroki ; Aleksandr Rybalko = >>> Cc: "freebsd-mips@freebsd.org" >>> Date: 2017/5/10, Wed 09:01 >>> Subject: Re: onion omega2+ >>>=20 >>>=20 >>> The new kernel with >>>=20 >>> device uart_ns8250 >>>=20 >>> didnt work >>>=20 >>> On 10/05/2017 00:05, Mori Hiroki wrote: >>>> Hi Mike. >>>>=20 >>>> I seem load address is good. >>>>=20 >>>> I check mt7628an.dtsi file. >>>>=20 >>>> This file uart entry is >>>>=20 >>>> uartlite: uartlite@c00 { >>>> compatible =3D "ns16550a"; >>>> In this case you must add uart_ns8250 device to kernel = configuration. >>>>=20 > _______________________________________________ > freebsd-mips@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to = "freebsd-mips-unsubscribe@freebsd.org"