From owner-freebsd-mips@freebsd.org Mon Nov 13 22:52:34 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 7CF56DD96A0 for ; Mon, 13 Nov 2017 22:52:34 +0000 (UTC) (envelope-from kg365@hermes.cam.ac.uk) Received: from ppsw-42.csi.cam.ac.uk (ppsw-42.csi.cam.ac.uk [131.111.8.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3F13F22C1 for ; Mon, 13 Nov 2017 22:52:33 +0000 (UTC) (envelope-from kg365@hermes.cam.ac.uk) X-Cam-AntiVirus: no malware found X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus Received: from mail-qk0-f176.google.com ([209.85.220.176]:49011) by ppsw-42.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.158]:587) with esmtpsa (PLAIN:kg365) (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1eENah-000M1N-84 (Exim 4.89) for freebsd-mips@freebsd.org (return-path ); Mon, 13 Nov 2017 22:52:31 +0000 Received: by mail-qk0-f176.google.com with SMTP id a142so21852121qkb.5 for ; Mon, 13 Nov 2017 14:52:31 -0800 (PST) X-Gm-Message-State: AJaThX45DI94biiITJQBKG9RHhZjhnJd2XlsXooJ+wFOe/tB2XhB3ELT VqAtZhQiLYmr1FEjxqHuoPlK/YIqxDT9SZoMFHU= X-Google-Smtp-Source: AGs4zMYqT3pJGFv1c5hFB4djRqfIXP8q9K+47oXa56yqw5Jvcon3FxFVKSw6yIXaSEpbjcpfAfaTFKYoEVffrAz5qCo= X-Received: by 10.55.221.212 with SMTP id u81mr16367392qku.174.1510613550671; Mon, 13 Nov 2017 14:52:30 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.153.1 with HTTP; Mon, 13 Nov 2017 14:52:10 -0800 (PST) From: Khilan Gudka Date: Mon, 13 Nov 2017 22:52:10 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: fabs(-0.0) returns -0.0 To: freebsd-mips@freebsd.org Sender: Khilan Gudka Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Nov 2017 22:52:34 -0000 Hi, The implementation of fabs(3) for MIPS (at least) appears to not be giving the right answer for when -0 is passed, as it returns -0 instead of +0. The implementation of fabs is: double fabs(double x) { if (x < 0) return -x; return x; } The if-test fails for -0 and thus it is returned. Is this a known issue? A simple fix would be to return x+0.0 instead of just x. The implication of this is that other functions which rely on fabs, such as hypot, also return -0. For example, hypot(-0.0, 0.0) returns -0 instead of +0. Thanks, Khilan From owner-freebsd-mips@freebsd.org Tue Nov 14 15:58:06 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 D0305DD49A7 for ; Tue, 14 Nov 2017 15:58:06 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from mail.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AAB146368C for ; Tue, 14 Nov 2017 15:58:06 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from ralph.baldwin.cx (c-73-231-226-104.hsd1.ca.comcast.net [73.231.226.104]) by mail.baldwin.cx (Postfix) with ESMTPSA id B7FCB10A8BC; Tue, 14 Nov 2017 10:58:05 -0500 (EST) From: John Baldwin To: freebsd-mips@freebsd.org Subject: Re: fabs(-0.0) returns -0.0 Date: Mon, 13 Nov 2017 17:43:51 -0800 Message-ID: <2687660.XtxPXlZaqn@ralph.baldwin.cx> User-Agent: KMail/4.14.10 (FreeBSD/11.1-STABLE; KDE/4.14.30; amd64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mail.baldwin.cx); Tue, 14 Nov 2017 10:58:05 -0500 (EST) X-Virus-Scanned: clamav-milter 0.99.2 at mail.baldwin.cx X-Virus-Status: Clean X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2017 15:58:06 -0000 On Monday, November 13, 2017 10:52:10 PM Khilan Gudka wrote: > Hi, > > The implementation of fabs(3) for MIPS (at least) appears to not be giving > the right answer for when -0 is passed, as it returns -0 instead of +0. The > implementation of fabs is: > > double fabs(double x) { > if (x < 0) > return -x; > return x; > } > > The if-test fails for -0 and thus it is returned. Is this a known issue? A > simple fix would be to return x+0.0 instead of just x. > > The implication of this is that other functions which rely on fabs, such as > hypot, also return -0. For example, hypot(-0.0, 0.0) returns -0 instead of > +0. The C version of fabs() for 32-bit arm has the same misimplementation btw. All other architectures implement fabs in assembly in libc. -- John Baldwin From owner-freebsd-mips@freebsd.org Tue Nov 14 22:50:19 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 907FADDFD13 for ; Tue, 14 Nov 2017 22:50:19 +0000 (UTC) (envelope-from landon@landonf.org) Received: from smtp.office.plausible.coop (static-108-51-93-21.washdc.fios.verizon.net [108.51.93.21]) by mx1.freebsd.org (Postfix) with ESMTP id 75BE47299D for ; Tue, 14 Nov 2017 22:50:18 +0000 (UTC) (envelope-from landon@landonf.org) Received: from [172.16.51.10] (unknown [172.16.51.10]) by smtp.office.plausible.coop (Postfix) with ESMTPSA id 6D96450801E for ; Tue, 14 Nov 2017 14:50:11 -0800 (PST) Date: Tue, 14 Nov 2017 15:50:08 -0700 From: Landon J Fuller Subject: MIPS INTRNG changes To: freebsd-mips@freebsd.org Message-Id: <1510699808.25350.3@smtp.office.plausible.coop> X-Mailer: geary/0.10.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2017 22:50:19 -0000 Howdy - To support nested INTRNG interrupt controllers on non-FDT MIPS targets, I've implemented a replacement for the cpu_establish_[hard|soft]intr() workaround introduced in r305527 (D7692); I'll be commiting this in three days unless anyone objects: https://reviews.freebsd.org/D12385 Background: Since non-FDT INTRNG targets do not have an equivalent to OFW_BUS_MAP_INTR(), it is necessary for the MIPS nexus driver to implicitly establish INTRNG interrupt mappings on behalf of child devices. The workaround introduced in r305527 implements this as follows, on non-FDT INTRNG MIPS targets: - mips/nexus.c assumes that all bus interrupt requests are for a MIPS interrupt managed by mips/mips_pic.c - Call mips_pic's cpu_create_intr_map() from nexus_activate_resource() to allocate a new interrupt mapping on-demand. - Call mips_pic's cpu_get_irq_resource() from nexus_setup_intr() to fetch a shared IRQ struct resource for the MIPS interrupt. In addition to assuming that all IRQs are owned by mips_pic, on-demand IRQ mapping in the BUS_ACTIVATE_RESOURCE() path produces some unexpected behavior: - Any child bus that uses bus_generic_rl_alloc_resource() or resource_list_alloc() to implement BUS_ALLOC_RESOURCE() will update the child device's resource list entry to reference the newly mapped IRQ -- but only if the resource is allocated with the RF_ACTIVE flag, resulting in BUS_ACTIVATE_RESOURCE() being called from BUS_ALLOC_RESOURCE() before the resource_list_entry update is performed. - BUS_ACTIVATE_RESOURCE() is itself not resource_list-aware; if RF_ACTIVE is not set during allocation, and bus_activate_resource() is instead called directly, the child's resource list entry will _not_ updated to the newly mapped IRQ. Since the resource_list_entry _may_ be updated to reference the IRQ mapping, IRQs mappings implicitly created in nexus_activate_resource() cannot be implicitly unmapped in nexus_deactivate_resource() and must be leaked, as references to the mapping may remain in a child's resource_list_entry. Rather than performing on-demand mapping during resource activation, my changes preemptively produce (on non-FDT targets) a set of IRQ mappings for all MIPS IRQs in nexus_attach(), using a fixed range of INTRNG IRQ assignments (0-7) that may be statically referenced by child devices. With D12385, the mips nexus behavior will now be: - On non-FDT MIPS INTRNG targets, produce a set of fixed MIPS IRQ mappings in nexus_attach() for the MIPS IRQ range. - On all MIPS INTRNG targets, call mips_pic_activate_intr() from nexus_activate_resource() to perform activation; this will either perform mips_pic-specific activation if the IRQ is found in mips_pic' table of MIPS IRQ mappings, or will call intr_activate_irq() for IRQs not managed by mips_pic (e.g. IRQs mapped by a child PIC). - On all MIPS INTRNG targets, call mips_pic_deactivate_intr() from nexus_deactivate_resource(); this will either perform mips_pic-specific deactivation, or call intr_deactivate_irq() for IRQs not managed by mips_pic. Cheers, Landon From owner-freebsd-mips@freebsd.org Wed Nov 15 14:23:29 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 6E8DCDDE30F for ; Wed, 15 Nov 2017 14:23:29 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh603-vm3.bullet.mail.ssk.yahoo.co.jp (nh603-vm3.bullet.mail.ssk.yahoo.co.jp [182.22.90.44]) by mx1.freebsd.org (Postfix) with SMTP id 1F4866CDCD for ; Wed, 15 Nov 2017 14:23:28 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [182.22.66.106] by nh603.bullet.mail.ssk.yahoo.co.jp with NNFMP; 15 Nov 2017 14:23:22 -0000 Received: from [182.22.91.131] by t604.bullet.mail.ssk.yahoo.co.jp with NNFMP; 15 Nov 2017 14:23:22 -0000 Received: from [127.0.0.1] by omp604.mail.ssk.yahoo.co.jp with NNFMP; 15 Nov 2017 14:23:22 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 45407.88648.bm@omp604.mail.ssk.yahoo.co.jp Received: (qmail 98103 invoked by uid 60001); 15 Nov 2017 14:23:21 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1510755801; bh=A4w/tE/LhGMpfQCvHT3pwuAO50CLPaJTVqsFVO57I7c=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=l6VOO672CZcCTYO5UMS0qCPQ73UeM7ZmgvKM38MtK0Ye7dSfwhZP74hleIQqH6SozunE/BS7EzONm0sJxA9ifNVPz5brtVK71wXSVC4pIiUX2mGZhurCMSUP6bQ/jo8p/0rNm9vcLleWSNWkgMCXUr9v93bcESYNRh6GdRckSBo= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=tfVnX5iQZxx2/wbijNQuOh5tgWHI+Jt+TEIQEahwUEt/mLnIrJMxAlpMiwIVq6uy18PFf2ZoEITXTxUv7trUDferffXAsvdvu+CpAd4E5h03kvJBid2F97x+aI7B88Y26XkPxLz1aumK3yxG1gVMNTm16lH9VceU3SUk5Y4tUig=; Message-ID: <742722.83866.qm@web101707.mail.ssk.yahoo.co.jp> X-YMail-OSG: gpdI6igVM1nPKZ98RRYrRJcgK8Z_ZqWbffLW79KGxJQQCTFQ4NZtMVptLoXIzL30eq.bivEuL3or8WH6XGN7RftdYqUUxjJmQ9YjWIgWQZhik5m5pQmQSVs4fbKEYzrP08cuW2J8Hly3yqSEP525cYcnUvf_YMxVopUp8dpSeEtWdN7Q4VV3DIChe6FD8VSIYnSgjK1xfuNgDEi_4t1Z5j7gAI5ilcND05Z53oDCXOMFxXnhruYZZ671k6qS8urvfDsuC88M0WYbC4nJOEGva9ZGc8Nvpv3s8vNhDJTlOCjSQYYUyEjLjcbsJ9YLsZArhyqf5X6q_rmS3sq_wG3b5ovlVzD_NGTywvFeTNgOL_QYYe_7DN92uKSxwieeB7UboOg12VzAmCvkZBu.icovEiyC_TVxQTDg4iS9aMVfenkZZjNoxmr0T7aObI1dYTS7CgJwDrqyda2tAvCmvCCYFto8s58H3UqgSNRbGCAuAijcDUGgiNkx9uEe0bYCNHIAvqRErCQY06ExS4hTk.ak3RTHX7e550tBmhE.S1AMabWHsSGibFYYtKejotzCQfMKbn4YRlSfnQE40PynHVHp1ad6QOpMDYGCSRdUq6NIG_MpAw-- Received: from [203.165.91.75] by web101707.mail.ssk.yahoo.co.jp via HTTP; Wed, 15 Nov 2017 23:23:21 JST X-Mailer: YahooMailWebService/0.8.111_74 X-YMail-JAS: BS2yY5QVM1lHBMcKwTTITDYotRFb4kPzdrfwnE15htW.DIt1yiW0UjiIrH9N0rhQm.YEcqx6oEf0bnyduWIhnBj7lEHnv2NHOXITcomNuwJnWJwKp6BoUiPV5Kd_jDDuIm0k References: <1510699808.25350.3@smtp.office.plausible.coop> Date: Wed, 15 Nov 2017 23:23:21 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: Re: MIPS INTRNG changes To: Landon J Fuller , "freebsd-mips@freebsd.org" In-Reply-To: <1510699808.25350.3@smtp.office.plausible.coop> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Nov 2017 14:23:29 -0000 Hi=0A=0Asys/mips/atheros/ar531x/ is non-FDT and INTERNG.=0A=0AI will check = this patch on real cpu tomorrow.=0A=0AHiroki Mori=A0=0A=0A=0A----- Original= Message -----=0A> From: Landon J Fuller =0A> To: free= bsd-mips@freebsd.org=0A> Cc: =0A> Date: 2017/11/15, Wed 07:50=0A> Subject: = MIPS INTRNG changes=0A> =0A> Howdy -=0A> =0A> To support nested INTRNG inte= rrupt controllers on non-FDT MIPS targets, I've=0A> implemented a replaceme= nt for the cpu_establish_[hard|soft]intr() workaround=0A> introduced in r30= 5527 (D7692); I'll be commiting this in three days unless=0A> anyone object= s:=0A> =0A> https://reviews.freebsd.org/D12385=0A> =0A> Background:=0A> =0A= > Since non-FDT INTRNG targets do not have an equivalent to OFW_BUS_MAP_INT= R(),=0A> it is necessary for the MIPS nexus driver to implicitly establish = INTRNG=0A> interrupt mappings on behalf of child devices.=0A> =0A> The work= around introduced in r305527 implements this as follows, on non-FDT=0A> INT= RNG MIPS targets:=0A> =0A> - mips/nexus.c assumes that all bus interrupt re= quests are for a MIPS=0A> =A0 interrupt managed by mips/mips_pic.c=0A> - Ca= ll mips_pic's cpu_create_intr_map() from nexus_activate_resource() to=0A> = =A0 allocate a new interrupt mapping on-demand.=0A> - Call mips_pic's cpu_g= et_irq_resource() from nexus_setup_intr() to fetch a=0A> =A0 shared IRQ str= uct resource for the MIPS interrupt.=0A> =0A> In addition to assuming that = all IRQs are owned by mips_pic, on-demand IRQ=0A> mapping in the BUS_ACTIVA= TE_RESOURCE() path produces some unexpected behavior:=0A> =0A> - Any child = bus that uses bus_generic_rl_alloc_resource() or =0A> resource_list_alloc()= =0A> to implement BUS_ALLOC_RESOURCE() will update the child device's resou= rce=0A> list entry to reference the newly mapped IRQ -- but only if the res= ource is=0A> allocated with the RF_ACTIVE flag, resulting in BUS_ACTIVATE_R= ESOURCE() being=0A> called from BUS_ALLOC_RESOURCE() before the resource_li= st_entry update is=0A> performed.=0A> - BUS_ACTIVATE_RESOURCE() is itself n= ot resource_list-aware; if RF_ACTIVE is=0A> not set during allocation, and = bus_activate_resource() is instead called=0A> directly, the child's resourc= e list entry will _not_ updated to the newly=0A> mapped IRQ.=0A> =0A> Since= the resource_list_entry _may_ be updated to reference the IRQ mapping, =0A= > IRQs=0A> mappings implicitly created in nexus_activate_resource() cannot = be implicitly=0A> unmapped in nexus_deactivate_resource() and must be leake= d, as references to=0A> the mapping may remain in a child's resource_list_e= ntry.=0A> =0A> Rather than performing on-demand mapping during resource act= ivation, my changes=0A> preemptively produce (on non-FDT targets) a set of = IRQ mappings for all MIPS=0A> IRQs in nexus_attach(), using a fixed range o= f INTRNG IRQ assignments (0-7) that=0A> may be statically referenced by chi= ld devices.=0A> =0A> With D12385, the mips nexus behavior will now be:=0A> = =0A> - On non-FDT MIPS INTRNG targets, produce a set of fixed MIPS IRQ mapp= ings=0A> =A0 in nexus_attach() for the MIPS IRQ range.=0A> - On all MIPS IN= TRNG targets, call mips_pic_activate_intr() from=0A> =A0 nexus_activate_res= ource() to perform activation; this will either perform=0A> =A0 mips_pic-sp= ecific activation if the IRQ is found in mips_pic' table of=0A> =A0 MIPS IR= Q mappings, or will call intr_activate_irq() for IRQs not managed by=0A> = =A0 mips_pic (e.g. IRQs mapped by a child PIC).=0A> - On all MIPS INTRNG ta= rgets, call mips_pic_deactivate_intr() from=0A> =A0 nexus_deactivate_resour= ce(); this will either perform mips_pic-specific=0A> =A0 deactivation, or c= all intr_deactivate_irq() for IRQs not managed by=0A> =A0 mips_pic.=0A> =0A= > Cheers,=0A> Landon=0A> =0A> _____________________________________________= __=0A> freebsd-mips@freebsd.org mailing list=0A> https://lists.freebsd.org/= mailman/listinfo/freebsd-mips=0A> To unsubscribe, send any mail to =0A> "fr= eebsd-mips-unsubscribe@freebsd.org"=0A> From owner-freebsd-mips@freebsd.org Wed Nov 15 19:47:54 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 D3DDDDE5511 for ; Wed, 15 Nov 2017 19:47:54 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-it0-x22f.google.com (mail-it0-x22f.google.com [IPv6:2607:f8b0:4001:c0b::22f]) (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 90EC677CE4 for ; Wed, 15 Nov 2017 19:47:54 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-it0-x22f.google.com with SMTP id 72so3134345itl.5 for ; Wed, 15 Nov 2017 11:47:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=aEjvYxwj3kArZ0LuoV9kwxyWBXpyUG2mP+g7+uGCAOk=; b=SjSk/TqqhnVUmEMjVpHpENNchh2JKFv5rJ2hHabR0j1hYI1H6LOr/5wO7RHUCOWd/f FdImZ7DFbGH21FyaLN1UCbQaFONHxNJO4P5L4E8v/PO+S59lMOLuXpoVz3vniA2crZwm hg6dHZ24s+Vc9xnjrjXrnMNDapDjgvw8YOg2LH0IY1A0kDY725MbbKKbiYQ5q3GsB7OB cEe9AQ8Xi6+b502V66vPXGYG4oZXqiNF14FGPhPz5+ag1PvQ3GZRgkGEQavMsYrkcx4N 9F66sXvjhftmBqrECRddrloED45Wrqfq0a9zjeRB2nUtgxDpqPRfTerQ412abRCGcNmN P/GA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=aEjvYxwj3kArZ0LuoV9kwxyWBXpyUG2mP+g7+uGCAOk=; b=mqsq9Qqvy0bmsxqZ90KiTADg7q7Y+ITPZYFIGP9zL/AsZM3k2Q1q9KJGhpjM2CfOk7 DfqjAH9Um5ARsl2iw7tiGNOquRN8VE72jRBt2+Mf/5jrdbPSQ07woZEKpnkcRXL0S0zk HV+3l39vPEnhFAt4LmmHMpsPm4Nby9z3y/pwx2LbAP/hUfNLeEvO12nKk45qwc8BcQ9f yfqCAY4ejBnPoqbRSMYUltJRLTEOGvm6a5VZuIBuY1LH2dsGyfs1CuxL8SEhIPooAj0T +wu1hrO7QAdp2IGWRNVsM1VPlDW8WfTcXFAiQWkZ0mN5+mmWS90W69Ivw8gtSv6JPCGk DHbg== X-Gm-Message-State: AJaThX4WJGgOqbhfhQYG5ZlGmK/owStDIbYjx97zHe2GZrMQYRbCcgzt gEIxHabCy2H7Wa77qyu8YqcVri9TIG1H/RL5jhVPFA== X-Google-Smtp-Source: AGs4zMYLzhfwxYv+QFloc7O1dhIb8guwpc7mgdgyX7L6yDLO2kxsZdWDGPsuZqJsv1AbBmD94ESrCfWo1YDqheKPQc4= X-Received: by 10.36.36.19 with SMTP id f19mr21421493ita.96.1510775273986; Wed, 15 Nov 2017 11:47:53 -0800 (PST) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 10.107.14.208 with HTTP; Wed, 15 Nov 2017 11:47:33 -0800 (PST) In-Reply-To: <14ba3e3f-4172-a09b-8cba-385400b23ca8@wolman.co.uk> References: <694efc3a-e183-35a1-a0bf-9a9c0d708826@wolman.co.uk> <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> <05065E4E-1D0F-49DE-B14D-D45ECCEA251F@gmail.com> <2b8211f6-9f42-0f11-678f-a2ed830b2430@wolman.co.uk> <8b7d4ebb-0048-11d7-9743-7eb6b38e9335@wolman.co.uk> <14ba3e3f-4172-a09b-8cba-385400b23ca8@wolman.co.uk> From: Ed Maste Date: Wed, 15 Nov 2017 14:47:33 -0500 X-Google-Sender-Auth: GDO04auWJnd7pcKoDtgUbEYHgSY Message-ID: Subject: Re: onion omega2+ To: Mike Wolman Cc: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Nov 2017 19:47:54 -0000 On 11 May 2017 at 19:45, Mike Wolman wrote: > > I have put together a little how to and uploaded an kernel image + default > mfsroot > > https://github.com/sysadminmike/freebsd-onion-omega2-build Hi Mike, I have a University of Waterloo co-op student working for the FreeBSD Foundation. Zak's trying out FreeBSD on a number of embedded boards, including an Onion Omega 2 that I have here. He tried replicating your result, but we've not had success yet. We tried the kernel image from your github repo, and it looks our Omega2 doesn't successfully transfer out of U-Boot; the red LED doesn't turn off, and what seems to be final U-Boot messages aren't printed. Excerpts from our attempt: Board: Onion Omega2 APSoC DRAM: 128 MB relocate_code Pointer at: 87f60000 flash manufacture id: c2, device id 20 19 find flash: MX25L25635E *** Warning - bad CRC, using default environment ============================================ Onion Omega2 UBoot Version: 4.3.0.3 -------------------------------------------- ... Option [1] selected. 1: System Enter Boot Command Line Interface. U-Boot 1.1.3 (Oct 18 2016 - 17:29:05) Omega2 # usb reset (Re)start USB... ... Omega2 # fatload usb 0:1 0x80800000 kernel.MT7628_FDT.lzma.uImage * * Reading file "kernel.MT7628_FDT.lzma.uImage" * **************************************************************** ****** ************************************************************************************************************************* ************************************************************ * FAT: 1144975 Bytes read Omega2 # bootm 0x80800000^M ## Booting image at 80800000 ... Image Name: FreeBSD Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1144911 Bytes = 1.1 MB Load Address: 80001100 Entry Point: 80001100 Verifying Checksum ... OK Uncompressing Kernel Image ... OK No initrd ## Transferring control to Linux (at address 80001100) ... [EOT] I know Allan Jude has an OnionOmega2 or two as well, and he's going to give it a try soon. Any other FreeBSD/mips folks have suggestions to test? From owner-freebsd-mips@freebsd.org Wed Nov 15 20:55:51 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 C0695DE7239 for ; Wed, 15 Nov 2017 20:55:51 +0000 (UTC) (envelope-from mike@wolman.co.uk) Received: from avasout07.plus.net (avasout07.plus.net [84.93.230.235]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5B7FC7BA06 for ; Wed, 15 Nov 2017 20:55:50 +0000 (UTC) (envelope-from mike@wolman.co.uk) Received: from [192.168.3.50] ([80.229.66.11]) by smtp with ESMTP id F4foeAXnmBcPOF4fpeysdj; Wed, 15 Nov 2017 20:52:41 +0000 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.2 cv=Kf6iiUQD c=1 sm=1 tr=0 a=sNOkzuqjfbpz3c/qSHODpA==:117 a=sNOkzuqjfbpz3c/qSHODpA==:17 a=IkcTkHD0fZMA:10 a=UmSUZ3ptAAAA:8 a=NEAV23lmAAAA:8 a=OyfE2iRfyHiD94MPxEMA:9 a=Z1wE6fiYg6dMKnvS:21 a=T0D3iTMcdHTJ_vau:21 a=QEXdDO2ut3YA:10 a=FyGKTEvU35uc88vWBdgE:22 Subject: Re: onion omega2+ To: Ed Maste Cc: "freebsd-mips@freebsd.org" References: <694efc3a-e183-35a1-a0bf-9a9c0d708826@wolman.co.uk> <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> <05065E4E-1D0F-49DE-B14D-D45ECCEA251F@gmail.com> <2b8211f6-9f42-0f11-678f-a2ed830b2430@wolman.co.uk> <8b7d4ebb-0048-11d7-9743-7eb6b38e9335@wolman.co.uk> <14ba3e3f-4172-a09b-8cba-385400b23ca8@wolman.co.uk> From: Mike Wolman Message-ID: <1d99151e-7a67-2fce-4254-6b36b8daa5a8@wolman.co.uk> Date: Wed, 15 Nov 2017 20:52:38 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB X-CMAE-Envelope: MS4wfP/F27M5bMK1INmbwBbQFEA9hKnE60dcYAsZXvFXYfw4gZ1jSONhMVaLqG6fQjW6T+6vneWY03pAh+epkSoMuG+hJOxpeCklCpys8Y2TDBVIymJa3lve RpFPoQoRioMFMc2mHQLmRUAPx/Z5YaA3pi/j/y4m67R63y/Lg1spKhDI X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Nov 2017 20:55:51 -0000 On 15/11/2017 19:47, Ed Maste wrote: > On 11 May 2017 at 19:45, Mike Wolman wrote: >> I have put together a little how to and uploaded an kernel image + default >> mfsroot >> >> https://github.com/sysadminmike/freebsd-onion-omega2-build > Hi Mike, > > I have a University of Waterloo co-op student working for the FreeBSD > Foundation. Zak's trying out FreeBSD on a number of embedded boards, > including an Onion Omega 2 that I have here. He tried replicating your > result, but we've not had success yet. > > We tried the kernel image from your github repo, and it looks our > Omega2 doesn't successfully transfer out of U-Boot; the red LED > doesn't turn off, and what seems to be final U-Boot messages aren't > printed. > > Excerpts from our attempt: > > Board: Onion Omega2 APSoC DRAM: 128 MB > relocate_code Pointer at: 87f60000 > flash manufacture id: c2, device id 20 19 > find flash: MX25L25635E > *** Warning - bad CRC, using default environment > > ============================================ > Onion Omega2 UBoot Version: 4.3.0.3 > -------------------------------------------- > ... > Option [1] selected. > > 1: System Enter Boot Command Line Interface. > > U-Boot 1.1.3 (Oct 18 2016 - 17:29:05) > Omega2 # usb reset > (Re)start USB... > ... > Omega2 # fatload usb 0:1 0x80800000 kernel.MT7628_FDT.lzma.uImage > * > * > Reading file "kernel.MT7628_FDT.lzma.uImage" > * > **************************************************************** > ****** > ************************************************************************************************************************* > ************************************************************ > * > FAT: 1144975 Bytes read > Omega2 # bootm 0x80800000^M > ## Booting image at 80800000 ... > Image Name: FreeBSD > Image Type: MIPS Linux Kernel Image (lzma compressed) > Data Size: 1144911 Bytes = 1.1 MB > Load Address: 80001100 > Entry Point: 80001100 > Verifying Checksum ... OK > Uncompressing Kernel Image ... OK > No initrd > ## Transferring control to Linux (at address 80001100) ... > > [EOT] > > I know Allan Jude has an OnionOmega2 or two as well, and he's going to > give it a try soon. Any other FreeBSD/mips folks have suggestions to > test? Hi Ed, Im not sure why the boot didnt continue for you - i had a fair bit of trouble getting things going initially with the load address and entry point stuff but those settings worked for me - but the looks of things you have done everything as I did - im not sure why you cant get it to go any further - tbh I think after various randomish attempts and hints from the mips list found the correct load address. I ran into some other problems with what I had planned for the omega2 and unsupported bits so have put it aside for the time being so dont have the build vm I was using to create the mips rootfs but maybe worth a go from scratch with a current version of the freebsd src? Just checking are your trying this on the Omega2 or the Omega2Plus? Also I was using a ral (editmax) wifi usb dongle and a usb hub - I cant remember if I removed the usb memory key before booting but maybe worth messing with usb devices after loading stuff from the memory key and before booting. Also I seem to recall messing with the serial console perhaps - maybe restart you serial terminal emulator perhaps something funny there at boot? am pretty sure the dts stuff setup the console on the correct com port and didnt need to mess with that and i got console output from kernel boot start. Sorry to be a bit vague but I havent messed with this for a little while now. Mike. From owner-freebsd-mips@freebsd.org Thu Nov 16 00:15:12 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 667DFDEFA20 for ; Thu, 16 Nov 2017 00:15:12 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh501-vm11.bullet.mail.kks.yahoo.co.jp (nh501-vm11.bullet.mail.kks.yahoo.co.jp [183.79.56.141]) by mx1.freebsd.org (Postfix) with SMTP id E30C46422F for ; Thu, 16 Nov 2017 00:15:11 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [183.79.100.141] by nh501.bullet.mail.kks.yahoo.co.jp with NNFMP; 16 Nov 2017 00:15:04 -0000 Received: from [183.79.100.132] by t504.bullet.mail.kks.yahoo.co.jp with NNFMP; 16 Nov 2017 00:15:04 -0000 Received: from [127.0.0.1] by omp501.mail.kks.yahoo.co.jp with NNFMP; 16 Nov 2017 00:15:04 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 864325.12638.bm@omp501.mail.kks.yahoo.co.jp Received: (qmail 14523 invoked by uid 60001); 16 Nov 2017 00:15:04 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1510791304; bh=qi7cUs7L0bmEXpLslw52GipAJE2qk2sQYCsThpweVNY=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=NhEvMfs8u1MWMPKeOIfn+zyYXK4TmCwcXs+kZmofTXk+oEhRa1+8U+k/5aEKNm7g/HTmgQrYK8QXJzY1YG92c/di8abLPr+kSAnyz7/OgciexfCh7AByplo7VJWahEJXIV8NA1EuNMCxTYwikAW24ujjhsQz12nKhqjLpD3CNFI= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=l3VUVjGOqyQOYT4mvRKYWkeStNqYOE54PhwdcRFEIl/g0cDvTs3KjF0GAdX0kHAnOW8mGPaQSakSw4gTc1cOYuDKHKpTIAavdvarAbOR4+ahytoNoNLds6nQZF1KPi85R46KzVp9G060dGmzpebnzxzGAoTnOOiVBjrZpcPrXG4=; Message-ID: <506753.3523.qm@web101712.mail.ssk.yahoo.co.jp> X-YMail-OSG: wBd4Se0VM1llQnL2c_Qq6byxgQmCUXFiTA5y6qO8BAv1UEqA10uH1S2nDHImT6c06V_9a9jE3OIaSukQUrw7gti9tXmKfV2XaqaI.wipUqTifeHiidYKsaFNY5d5MBhTtIFr6qNmycCuvFx62GPPeUa7hf62ZqTHh4JSBOXB_quLw1st89i86igjq0rA.D.wmJ1yipuC.WqyrTM2b9BBIAseeQoP7PWlWljgwUfW_lQhP6lqLgnsaCdg9ERuaDiLa4AWStiLQpnhamWt1FVMqtDGxQXmQ8.ZOAPWOZU1kt9Ya20GhL51sICfEV2Mr0CupaPHlJ3YgGXZhWLVSsG.Vd_hpwx9DG.a34Q_xe3AmrRIAq6JKNl.4up_YQMALQ_wqDbpMzF7LZi_9wc.M8UcrqjXPmSlc1U5CoUE3M64sluG_YNcB0M7WGmlyJ8u894ggQDbnLxyGCdmyjAo6NZ0OGXgFxyszSzuQQztbiE_nDbOdjUGNCQRtf25DyqZ8DNCfj2iij1W9SuwcAV3RlZESA0n_Q3RXV.17QYkYRk_NR3JjyIb3fud4R7vGK2otVqZawU7K1TpB6JAzSf.p303qeD6QXd6lepN0C7WPZshsM4XZg-- Received: from [203.165.91.75] by web101712.mail.ssk.yahoo.co.jp via HTTP; Thu, 16 Nov 2017 09:15:03 JST X-Mailer: YahooMailWebService/0.8.111_74 X-YMail-JAS: yW.sfQAVM1mSm6tUEgA2FEqamxu.2TQmWkclqlYBf6M8WHDQd6b0LtLRgOabp_7UrpDMKUZ8Zb_dvBnbVUo_s9R59MXAr_t0FsDQWINV1ym_bUSv5iHdP51dR4E1MwWdUuzW References: <1510699808.25350.3@smtp.office.plausible.coop> <742722.83866.qm@web101707.mail.ssk.yahoo.co.jp> Date: Thu, 16 Nov 2017 09:15:03 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: Re: MIPS INTRNG changes To: Landon J Fuller , "freebsd-mips@freebsd.org" In-Reply-To: <742722.83866.qm@web101707.mail.ssk.yahoo.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Nov 2017 00:15:12 -0000 Hi=0A=0AWork fine this patch.=0A=0AI checked this.=0A=0ACorega CG-WLCVR54AG= =A0AR5312=A0=0ANec WR1200=A0AR5315=0A=0AThanks=0A=0AHiroki Mori=0A=0A=0A---= -- Original Message -----=0A> From: Mori Hiroki =0A>= To: Landon J Fuller ; "freebsd-mips@freebsd.org" =0A> Cc: =0A> Date: 2017/11/15, Wed 23:23=0A> Subject= : Re: MIPS INTRNG changes=0A> =0A> Hi=0A> =0A> sys/mips/atheros/ar531x/ is = non-FDT and INTERNG.=0A> =0A> I will check this patch on real cpu tomorrow.= =0A> =0A> Hiroki Mori=A0=0A> =0A> =0A> ----- Original Message -----=0A>>=A0= =A0From: Landon J Fuller =0A>>=A0=A0To: freebsd-mips@f= reebsd.org=0A>>=A0=A0Cc: =0A>>=A0=A0Date: 2017/11/15, Wed 07:50=0A>>=A0=A0S= ubject: MIPS INTRNG changes=0A>> =0A>>=A0=A0Howdy -=0A>> =0A>>=A0=A0To supp= ort nested INTRNG interrupt controllers on non-FDT MIPS targets, =0A> I've= =0A>>=A0=A0implemented a replacement for the cpu_establish_[hard|soft]intr(= ) =0A> workaround=0A>>=A0=A0introduced in r305527 (D7692); I'll be commitin= g this in three days =0A> unless=0A>>=A0=A0anyone objects:=0A>> =0A>>=A0=A0= https://reviews.freebsd.org/D12385=0A>> =0A>>=A0=A0Background:=0A>> =0A>>= =A0=A0Since non-FDT INTRNG targets do not have an equivalent to =0A> OFW_BU= S_MAP_INTR(),=0A>>=A0=A0it is necessary for the MIPS nexus driver to implic= itly establish INTRNG=0A>>=A0=A0interrupt mappings on behalf of child devic= es.=0A>> =0A>>=A0=A0The workaround introduced in r305527 implements this as= follows, on non-FDT=0A>>=A0=A0INTRNG MIPS targets:=0A>> =0A>>=A0=A0- mips/= nexus.c assumes that all bus interrupt requests are for a MIPS=0A>>=A0=A0= =A0 interrupt managed by mips/mips_pic.c=0A>>=A0=A0- Call mips_pic's cpu_cr= eate_intr_map() from nexus_activate_resource() =0A> to=0A>>=A0=A0=A0 alloca= te a new interrupt mapping on-demand.=0A>>=A0=A0- Call mips_pic's cpu_get_i= rq_resource() from nexus_setup_intr() to =0A> fetch a=0A>>=A0=A0=A0 shared = IRQ struct resource for the MIPS interrupt.=0A>> =0A>>=A0=A0In addition to = assuming that all IRQs are owned by mips_pic, on-demand IRQ=0A>>=A0=A0mappi= ng in the BUS_ACTIVATE_RESOURCE() path produces some unexpected =0A> behavi= or:=0A>> =0A>>=A0=A0- Any child bus that uses bus_generic_rl_alloc_resource= () or =0A>>=A0=A0resource_list_alloc()=0A>>=A0=A0to implement BUS_ALLOC_RES= OURCE() will update the child device's =0A> resource=0A>>=A0=A0list entry t= o reference the newly mapped IRQ -- but only if the resource is=0A>>=A0=A0a= llocated with the RF_ACTIVE flag, resulting in BUS_ACTIVATE_RESOURCE() =0A>= being=0A>>=A0=A0called from BUS_ALLOC_RESOURCE() before the resource_list_= entry update is=0A>>=A0=A0performed.=0A>>=A0=A0- BUS_ACTIVATE_RESOURCE() is= itself not resource_list-aware; if RF_ACTIVE =0A> is=0A>>=A0=A0not set dur= ing allocation, and bus_activate_resource() is instead called=0A>>=A0=A0dir= ectly, the child's resource list entry will _not_ updated to the =0A> newly= =0A>>=A0=A0mapped IRQ.=0A>> =0A>>=A0=A0Since the resource_list_entry _may_ = be updated to reference the IRQ =0A> mapping, =0A>>=A0=A0IRQs=0A>>=A0=A0map= pings implicitly created in nexus_activate_resource() cannot be =0A> implic= itly=0A>>=A0=A0unmapped in nexus_deactivate_resource() and must be leaked, = as references =0A> to=0A>>=A0=A0the mapping may remain in a child's resourc= e_list_entry.=0A>> =0A>>=A0=A0Rather than performing on-demand mapping duri= ng resource activation, my =0A> changes=0A>>=A0=A0preemptively produce (on = non-FDT targets) a set of IRQ mappings for all =0A> MIPS=0A>>=A0=A0IRQs in = nexus_attach(), using a fixed range of INTRNG IRQ assignments (0-7) =0A> th= at=0A>>=A0=A0may be statically referenced by child devices.=0A>> =0A>>=A0= =A0With D12385, the mips nexus behavior will now be:=0A>> =0A>>=A0=A0- On n= on-FDT MIPS INTRNG targets, produce a set of fixed MIPS IRQ mappings=0A>>= =A0=A0=A0 in nexus_attach() for the MIPS IRQ range.=0A>>=A0=A0- On all MIPS= INTRNG targets, call mips_pic_activate_intr() from=0A>>=A0=A0=A0 nexus_act= ivate_resource() to perform activation; this will either perform=0A>>=A0=A0= =A0 mips_pic-specific activation if the IRQ is found in mips_pic' table =0A= > of=0A>>=A0=A0=A0 MIPS IRQ mappings, or will call intr_activate_irq() for = IRQs not managed =0A> by=0A>>=A0=A0=A0 mips_pic (e.g. IRQs mapped by a chil= d PIC).=0A>>=A0=A0- On all MIPS INTRNG targets, call mips_pic_deactivate_in= tr() from=0A>>=A0=A0=A0 nexus_deactivate_resource(); this will either perfo= rm mips_pic-specific=0A>>=A0=A0=A0 deactivation, or call intr_deactivate_ir= q() for IRQs not managed by=0A>>=A0=A0=A0 mips_pic.=0A>> =0A>>=A0=A0Cheers,= =0A>>=A0=A0Landon=0A>> =0A>>=A0=A0_________________________________________= ______=0A>>=A0=A0freebsd-mips@freebsd.org mailing list=0A>>=A0=A0https://li= sts.freebsd.org/mailman/listinfo/freebsd-mips=0A>>=A0=A0To unsubscribe, sen= d any mail to =0A>>=A0=A0"freebsd-mips-unsubscribe@freebsd.org"=0A>> =0A> _= ______________________________________________=0A> freebsd-mips@freebsd.org= mailing list=0A> https://lists.freebsd.org/mailman/listinfo/freebsd-mips= =0A> To unsubscribe, send any mail to =0A> "freebsd-mips-unsubscribe@freebs= d.org"=0A> From owner-freebsd-mips@freebsd.org Thu Nov 16 00:37:58 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 CF53ADF0044 for ; Thu, 16 Nov 2017 00:37:58 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-it0-x22b.google.com (mail-it0-x22b.google.com [IPv6:2607:f8b0:4001:c0b::22b]) (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 8E94D64D60 for ; Thu, 16 Nov 2017 00:37:58 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-it0-x22b.google.com with SMTP id n134so3912088itg.1 for ; Wed, 15 Nov 2017 16:37:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=8zDNlgZjEdsEl3Mc+R2QnZw3wLTnl6BJ3wmmwTPhGWY=; b=gu3sMJFcUa0ScGCmBd3shLCHduEwu+bkktsiiIzhuiStYUnXw02vN00jTLAt2DbX9j 36J1FHjiiS9+Izf4UmkG5UEkfzrMidF6STAZB1U0nLT29+/8XlX+oWM5XeAKDyfowqZu wZSamFwmj/6QUyLsxpvrqvYmoVdfYSdWHKVIXNHwWpK9rf08nX94VBERYPb0HPhfGkCX 7d/bYflV87uF3FmalEDU1hmztioEHLphEPtYtCMNgYQQRfQCIA7wwMeX7R3iBkYwwzc+ 4JWuow2bcorTrMBp08UtHvJgLS2GJFLeYZPjAICaRqCDBNPHZrWURnOvya25nmyalA/P 0RFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=8zDNlgZjEdsEl3Mc+R2QnZw3wLTnl6BJ3wmmwTPhGWY=; b=ltR/9JVYYAKhYgwFkP9j3a9Jp9tFDPL5/7Z1wBYqQlJKSJtwcxO1KZgjezS8MNo2Dz Rtm5ZvDjFHejJzpcO9BmLyEAC9cLcLh81P2pS6KMMJjQracKpBt7LOjph7TBJZt+VZL+ fQMcbHWAeKV/nIRg0DR+gyTuBN1yDHpR3CtQDP1chrbNewn0NNCERVqSFTxR4ZO6zo+f LcDSJd1pS7uJsU3nt7pzwdJ6vbU0UfVscaX78KT+mOIw0mqTWgaYP3Vk3uhmSnOQWRvm pJHI4HIqLgaJ+4zXMoXHmDCguo4bpT7OnNrWg/NbsFLoitKS2MRECZ7Z8N42F00+B5rF +dtg== X-Gm-Message-State: AJaThX5V0qealuLG/yExlYqA1tIwxP/9bZC/VqDxXmByWHBQdVjgSqQr +mXYbMJrTGimw9JzuQ6WJg/lrIUPV3pF8FBnv90Cqg== X-Google-Smtp-Source: AGs4zMYMVDvFEjE1IXGeppTJYpmaLlWdNev1NcaYuYP1CBApjugGPmnl/LQYUoqJzzpjlHJU+Is/A2eB+uwWhjf/teQ= X-Received: by 10.36.36.19 with SMTP id f19mr342830ita.96.1510792677865; Wed, 15 Nov 2017 16:37:57 -0800 (PST) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 10.107.14.208 with HTTP; Wed, 15 Nov 2017 16:37:37 -0800 (PST) In-Reply-To: <1d99151e-7a67-2fce-4254-6b36b8daa5a8@wolman.co.uk> References: <694efc3a-e183-35a1-a0bf-9a9c0d708826@wolman.co.uk> <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> <05065E4E-1D0F-49DE-B14D-D45ECCEA251F@gmail.com> <2b8211f6-9f42-0f11-678f-a2ed830b2430@wolman.co.uk> <8b7d4ebb-0048-11d7-9743-7eb6b38e9335@wolman.co.uk> <14ba3e3f-4172-a09b-8cba-385400b23ca8@wolman.co.uk> <1d99151e-7a67-2fce-4254-6b36b8daa5a8@wolman.co.uk> From: Ed Maste Date: Wed, 15 Nov 2017 19:37:37 -0500 X-Google-Sender-Auth: aGqowNMOhRRpnSAgwY-cpgmdVso Message-ID: Subject: Re: onion omega2+ To: Mike Wolman Cc: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Nov 2017 00:37:58 -0000 On 15 November 2017 at 15:52, Mike Wolman wrote: > > Im not sure why the boot didnt continue for you - i had a fair bit of > trouble getting things going initially with the load address and entry point > stuff but those settings worked for me - but the looks of things you have > done everything as I did - im not sure why you cant get it to go any further > - tbh I think after various randomish attempts and hints from the mips list > found the correct load address. Ok, hopefully some others can give this a try on another Omega 2 (2+). > Just checking are your trying this on the Omega2 or the Omega2Plus? Also I > was using a ral (editmax) wifi usb dongle and a usb hub - I cant remember if > I removed the usb memory key before booting but maybe worth messing with usb > devices after loading stuff from the memory key and before booting. Ok, we can certainly give that a try. It should be an Omega2Plus; I got it with the Kickstarter maker kit From owner-freebsd-mips@freebsd.org Thu Nov 16 10:47:16 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 EFA1EDD8DF3 for ; Thu, 16 Nov 2017 10:47:16 +0000 (UTC) (envelope-from ray@ddteam.net) Received: from mail-ua0-x22c.google.com (mail-ua0-x22c.google.com [IPv6:2607:f8b0:400c:c08::22c]) (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 9F70975B28 for ; Thu, 16 Nov 2017 10:47:16 +0000 (UTC) (envelope-from ray@ddteam.net) Received: by mail-ua0-x22c.google.com with SMTP id 108so13166687uaf.2 for ; Thu, 16 Nov 2017 02:47:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ddteam-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=2QihrmAaLREC0skk8AHqvq9blUdtcc9CZuP1Cldz51s=; b=qUA0KKQ0Dzmw4Ji0L3/hQq7raWFxgYW8OeECDXnc5Jg/1+zSwiDdvpE4HpOKtlv+xa 6Sz1SvfLWQoWdPuDmiE3GSpuxk4dKeI+xUCO6/l2Sp4N1VV3oPL6dM+NadTBPW2LxbQr mFJaQFHvFHOn2R9LpIdii2ht46P6h1Pv+sniIse+LbcaJAwee2kAEGOKvXo/j150+XK3 Z8ScAhN+9UoaZgtKJDmz66Bl94+egFEXSVUC8Dr0muMncsVuyH02cKJiZupFh4ufNyoO FHB7yM7Tai5TduVJGPGazXMrbXt6Csd5M3RGpzN/tk5FiqRLtRDBwl3dCrJQ0Nh3Xp/1 G46g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=2QihrmAaLREC0skk8AHqvq9blUdtcc9CZuP1Cldz51s=; b=iJDyHWzAiZz8Lewc4l03AozwgwkwOd2l706Z3QGdIyz6VEW7mxTLTlqUiezF069tCN D/FoM0RcPCtQMDOC9wox9Ns8zcaNUcybFLl0Mox2f3SOlY1Ldu2fK9kVdxkqBDVcGh0u 3W2nFfFac7ft0L9vPqGaxbhcCREFdPE9awONIcoiiSNA+v/M9KyeLOydlp7e5HVPaM6A 3shb30/hyb58U2sVehv93mfRrIyI+tPWOUY18e/Eu1o7zpFhcaKpBsnMm6TapEEtHsjk PoFWAOKnh49untEXr9c0OXV2p5o5LssSLiBv8VdLq33xfbgD+k9jHRJ9NsP+z2jtrGEJ yF4A== X-Gm-Message-State: AJaThX7MUrKNgsL5wilGfyvwMnQ7W75Pef2WlbYnFR4Y7Pu+wIMvgHJ7 YTJrgwj5kAxoZbsP31EeBw+Humec19K+GQ1BJdqkMQ== X-Google-Smtp-Source: AGs4zMauIS0na9tBotPsMFpAuGmQWud9+cHDaM6F7V+8/cS4M6sPLr3ZLnT3z6WRkUCbY39z0OzVoZg0X1IxcLdFlhI= X-Received: by 10.159.62.204 with SMTP id n12mr907460uaj.85.1510829235628; Thu, 16 Nov 2017 02:47:15 -0800 (PST) MIME-Version: 1.0 Received: by 10.159.55.202 with HTTP; Thu, 16 Nov 2017 02:47:14 -0800 (PST) In-Reply-To: References: <694efc3a-e183-35a1-a0bf-9a9c0d708826@wolman.co.uk> <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> <05065E4E-1D0F-49DE-B14D-D45ECCEA251F@gmail.com> <2b8211f6-9f42-0f11-678f-a2ed830b2430@wolman.co.uk> <8b7d4ebb-0048-11d7-9743-7eb6b38e9335@wolman.co.uk> <14ba3e3f-4172-a09b-8cba-385400b23ca8@wolman.co.uk> <1d99151e-7a67-2fce-4254-6b36b8daa5a8@wolman.co.uk> From: Aleksandr Rybalko Date: Thu, 16 Nov 2017 12:47:14 +0200 Message-ID: Subject: Re: onion omega2+ To: Ed Maste Cc: Mike Wolman , "freebsd-mips@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Nov 2017 10:47:17 -0000 Hi guys! Ed, please check kernel entry point from ELF binary. Some time ago I noticed that offset may vary, IIRC it was between 0x100 and 0x120. But did not get time to resolve it. So problem can be just wrong entry point address. Thanks! 2017-11-16 2:37 GMT+02:00 Ed Maste : > On 15 November 2017 at 15:52, Mike Wolman wrote: > > > > Im not sure why the boot didnt continue for you - i had a fair bit of > > trouble getting things going initially with the load address and entry > point > > stuff but those settings worked for me - but the looks of things you have > > done everything as I did - im not sure why you cant get it to go any > further > > - tbh I think after various randomish attempts and hints from the mips > list > > found the correct load address. > > Ok, hopefully some others can give this a try on another Omega 2 (2+). > > > Just checking are your trying this on the Omega2 or the Omega2Plus? Also > I > > was using a ral (editmax) wifi usb dongle and a usb hub - I cant > remember if > > I removed the usb memory key before booting but maybe worth messing with > usb > > devices after loading stuff from the memory key and before booting. > > Ok, we can certainly give that a try. It should be an Omega2Plus; I > got it with the Kickstarter maker kit > _______________________________________________ > 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" > -- WBW ------- Rybalko Aleksandr From owner-freebsd-mips@freebsd.org Fri Nov 17 09:22:08 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 2C186DBF53F for ; Fri, 17 Nov 2017 09:22:08 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh503-vm1.bullet.mail.kks.yahoo.co.jp (nh503-vm1.bullet.mail.kks.yahoo.co.jp [183.79.56.187]) by mx1.freebsd.org (Postfix) with SMTP id AE98580A92 for ; Fri, 17 Nov 2017 09:22:06 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [183.79.100.141] by nh503.bullet.mail.kks.yahoo.co.jp with NNFMP; 17 Nov 2017 09:22:05 -0000 Received: from [183.79.100.136] by t504.bullet.mail.kks.yahoo.co.jp with NNFMP; 17 Nov 2017 09:22:05 -0000 Received: from [127.0.0.1] by omp505.mail.kks.yahoo.co.jp with NNFMP; 17 Nov 2017 09:22:05 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 602970.83190.bm@omp505.mail.kks.yahoo.co.jp Received: (qmail 36251 invoked by uid 60001); 17 Nov 2017 09:22:05 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1510910525; bh=I9GOjnLHTsj0k789oCBEkeFgzSxvAQXxL/WeYX5etjU=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=DKIy8oXAKzLvo08iMibuzh+eCCiSGYUxY1v4AoGYfsTKkinMZ5hd1R/vxozzB8CNfEY14vAPPz7N2pSPTp+2f9YvUhinEdGZrgYw0b/10S972P3bTePdh3Q//EDK7GKPkd22YCocruoVR9ozUNcSDvxpDeeWvhADk+vMJFV8K4s= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=MzhYk7lBGqyTFbNE+1AH3sAs6oRiGbJdkiA6XYxSlgFHhzGwjBv9YMix39bOOO4Wi62LWc9U+WUbOIq1a93lEN3/1yR/XiwyOac1Kt5dQG//TzBqE1zF1KZqBvvlMrOfy1aYalIpWeI23wXY7juTYVQzvonrSqFp1ITb/zfnwT4=; Message-ID: <261400.26015.qm@web101702.mail.ssk.yahoo.co.jp> X-YMail-OSG: aYIR2IQVM1mQWNKivE86TNst0w3WXSSyGrr29gSWfgCGreLOsKxZ5ErQbbiWdJvSu1AcGhmN7AZ5j1UNRqMyE749fycClzRKbOhN8w1NC5YqFJkP.3eGVC8yagw0Do3QWLdDID86JWvYZB.rdh98Ayfri.5PvwCjWt2TXj8OJr6.rUuSzQDbYHpGbAnK6TZcajKevGqM9ovHSnKHSSeAGQQNZZ6d6NPqbDnIoeX8F4hox7X8ZcRcA0FPClwSmFILLVPiYhUkHR.UzrwGf_defT.gkPBeJHa4sAh8TVOc3PjWqeq34z_iAIMpSqmh0j3GfRUpcCw9NtcoP3Xc5UI3HVWiVD.OUqb571Exm98PLRTDImUwP8YDc3hyR3L4vjXXUHY09FtAMa2o_sXfmIPgWXpbs7fhU7QoNJJl291IxHcxs.nivfWxERVK8u3mrAU.5Sq6FcACQlTFOsaAQMZGVVe0MDfEiUQKnXIyqn12bamwjBxFtYX1NrJixeFR5NA0GZinTzTptSoEdckAQgXUKNFULGv4o5tt3lKxBJn7dzDY2IoWNcIdbX1Vf_hTOrQKRaiBEETAWDWX4h5wTN0K6Q1u_.vBobkdCoVcJgS_tg-- Received: from [203.165.91.75] by web101702.mail.ssk.yahoo.co.jp via HTTP; Fri, 17 Nov 2017 18:22:04 JST X-Mailer: YahooMailWebService/0.8.111_74 X-YMail-JAS: KdjxlGYVM1kOdestD5XGa7YoG.E7m_J7D4mD8CSldBp.7.HcL0d1lu5zxigQAW93HY_Hqnzc7AOG8ZqNG2LpZCVotRcxyJZ2YT4orN9HvsruosWNS2qMNjqcUpq02iVFtw9x Date: Fri, 17 Nov 2017 18:22:04 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: ZRouter compatible 12CURRENT now To: "freebsd-mips@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Nov 2017 09:22:08 -0000 Hi.=0A=0AI make ZRouter compatible 12CURRENT.=0A=0Ahttps://github.com/ZRout= er/ZRouter=0A=0A=0AAlso may be can build 11STABLE.=0A=0A=0AZRouter advantag= e is support many=0Atype of firmware=A0image. And ZRouter=0Ais very easy bu= ild image.=0A=0AI add same profile ex. mruby, dump1090...=0A=0AOnly maintai= n xSmall profile.=0A=0AIf you have interest, please try.=0A=0ARegards=0A=0A= Hiroki Mori=0A From owner-freebsd-mips@freebsd.org Fri Nov 17 11:35:35 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 2179BDC1CAA for ; Fri, 17 Nov 2017 11:35:35 +0000 (UTC) (envelope-from ray@ddteam.net) Received: from mail-ua0-x234.google.com (mail-ua0-x234.google.com [IPv6:2607:f8b0:400c:c08::234]) (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 D4DA96387C for ; Fri, 17 Nov 2017 11:35:34 +0000 (UTC) (envelope-from ray@ddteam.net) Received: by mail-ua0-x234.google.com with SMTP id u13so1207520uaf.6 for ; Fri, 17 Nov 2017 03:35:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ddteam-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Kz0kC56z5uDJC4uD2ANdSk5B7a3kmyysCv1a4qYtxnc=; b=j15eoGtnB/T+UT8FhmFEn17CsJwefAvX1CNNagHE+OWcdbqsG39VDU52tshO5i1IsI pzmDQkg+pjpNWO5vmLLVAEAH2DPjgMvT9nhjXIt1vhve0ojQPjkF6+xDCnhonBcx+zMV ZEApyYwBz54gsxobWqmZOU1KfSOZ+ef497SHzDPouoGF94HRR7UpJBu/LhB5k3kPHpqO 91PaSZhCWwUfXm5slacrvAvRsRtpd3hR5lnIemg/pP2s2fxIw+ptXIzMZuC26JnjK/vj NZdFzb4SqcIbyarBAdvBpeGHPAKuNvbHl3ggAV3tbE99Ywre6gfS8AX4NGk9zWvDSTBk 32nQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Kz0kC56z5uDJC4uD2ANdSk5B7a3kmyysCv1a4qYtxnc=; b=cbAId1K4SzsABJXlNUn1H67OR6fFaDNZqVaTKqxhWHoQWe0CAhXPI3BpPgXauIWUbw FAN6QLyEFvUtCbCEFMQ0TlcCItaHTEJVNPrQMreQtqTmQtsy9rewoPzSi/4K4d7ZJWi7 vF7L8dQt969MkYbFUBc9Sgy8L+syiKZwIkqWEwQeIclNn524ePXQAL6aj03BUBTMbrPD Q2pMlfgKFMvnGZIeCI63KKRz4BPrCb9rjQ1aNqTD29RASxZVJ1P7Vxa83lsDptB1nVOB t4+CAevRDY+wcNSOqK9IyNH7EkNEur6/oXktKGAflvyR+vckGEQt5vgHVDgISFdGR+HB Aoqg== X-Gm-Message-State: AJaThX4MSHPzDJ8Ul0nRdAUvfxVcgwMXQBUaME34NlEQwZAg1fWMX16S kfzkr0YVW/EWWB3NDWJRqmr4FNwDGTSqD0+7ky/ZCQ== X-Google-Smtp-Source: AGs4zMYPcvbC1oSrvTFbyf9t2SE7KuiGAqwXfgyJp5d10gfletTRpnbo/CwTlEqoXkImyUYO6AInCx1Wh1izJiD1lLY= X-Received: by 10.159.35.161 with SMTP id 30mr4216327uao.44.1510918533706; Fri, 17 Nov 2017 03:35:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.159.58.195 with HTTP; Fri, 17 Nov 2017 03:35:33 -0800 (PST) In-Reply-To: <261400.26015.qm@web101702.mail.ssk.yahoo.co.jp> References: <261400.26015.qm@web101702.mail.ssk.yahoo.co.jp> From: Aleksandr Rybalko Date: Fri, 17 Nov 2017 13:35:33 +0200 Message-ID: Subject: Re: ZRouter compatible 12CURRENT now To: Mori Hiroki Cc: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Nov 2017 11:35:35 -0000 Thank you, Hiroki! 2017-11-17 11:22 GMT+02:00 Mori Hiroki : > Hi. > > I make ZRouter compatible 12CURRENT. > > https://github.com/ZRouter/ZRouter > > > Also may be can build 11STABLE. > > > ZRouter advantage is support many > type of firmware image. And ZRouter > is very easy build image. > > I add same profile ex. mruby, dump1090... > > Only maintain xSmall profile. > > If you have interest, please try. > > Regards > > Hiroki Mori > > _______________________________________________ > 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" > -- WBW ------- Rybalko Aleksandr From owner-freebsd-mips@freebsd.org Fri Nov 17 17:44:00 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 2B1A0DDF893 for ; Fri, 17 Nov 2017 17:44:00 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io0-x22d.google.com (mail-io0-x22d.google.com [IPv6:2607:f8b0:4001:c06::22d]) (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 DB7096EF68 for ; Fri, 17 Nov 2017 17:43:59 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-io0-x22d.google.com with SMTP id v21so9551337ioi.4 for ; Fri, 17 Nov 2017 09:43:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=bgPnX3e/2X4rQqM+FChOUlB/tJzNfFgrl3Q0esARqQw=; b=gqpM1/3ZHFeivKKaOEb43bFu/3DgyYFrgkqhyMq/u3AU5cc1U6SAErK3EngOviqQQx osTAjywZw8kxCOcKnlfLvMXBob/+HYjtLHja0Wa+2IvzVXWctLWBgnmiIzy5wsTR7kzH uKJnv9cFpFk8vvSb9ciohpmFSyy5eLMaqnj9Y9M9sN4sllGjy2XoDELWYXAxukUPJb1K RhTmt0L8cBzNiKFgYZQMTMMMk8kVzWzAWTw211EpJEeJZy8QFN5mnVJ6g7dyRbniT5zz ErHzkEBwtUESCo8c1zCifYQ6Gghx/OVJxi+hDXQBRNpykKZtHVXqTqm7EQMXpju+ez8H /+TA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=bgPnX3e/2X4rQqM+FChOUlB/tJzNfFgrl3Q0esARqQw=; b=VNl0a3P7NeroaVSteHUn9bZ+PoNG+68PtZmlK/AzmHdTCniCeIOtFwacAr1o+Eyv+8 N7/q0dEvDupJ0HLTk7t81e8/OE9cmqu1yJDt8SARU/NGuiUIY8zqshulOwTsA052EZHI 9uu+IO1NsNaJErzoXk13iXpAASKe0oSPHzrAdSlCnzXpPHPC09826GPigIcPl18osES/ l+CzHb6FBjTdcHmTp1adAN5Eo+fXPqh+Tb1Wr9BSCbUWy54+gkGFWV2FrJbMgmxne5qe bgGfgDL55shQ9B4GVhH1NkoN1dpahuLnQchZ6JYUJicgOZfsPF2rJVugTLiYCMtM++Fi RmgA== X-Gm-Message-State: AJaThX44rAI5wVkX7cn6+qKlESF9yhDJH8XkySNlW72pAcK98Lc2fURI dHVmHuXIPTbxgx2uYVfwfgc0e61SSvan8eC2bNNcDA== X-Google-Smtp-Source: AGs4zMbB8aooBvCJ+mxMJGfTqRUjRUvWb/Ax086ILJoq+M0zffnCTkqpo7jTisuOybHw1oiVvtyj0v9FvC+JBnygkFk= X-Received: by 10.107.133.94 with SMTP id h91mr3604442iod.208.1510940639073; Fri, 17 Nov 2017 09:43:59 -0800 (PST) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 10.107.14.208 with HTTP; Fri, 17 Nov 2017 09:43:38 -0800 (PST) In-Reply-To: References: <694efc3a-e183-35a1-a0bf-9a9c0d708826@wolman.co.uk> <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> <05065E4E-1D0F-49DE-B14D-D45ECCEA251F@gmail.com> <2b8211f6-9f42-0f11-678f-a2ed830b2430@wolman.co.uk> <8b7d4ebb-0048-11d7-9743-7eb6b38e9335@wolman.co.uk> <14ba3e3f-4172-a09b-8cba-385400b23ca8@wolman.co.uk> <1d99151e-7a67-2fce-4254-6b36b8daa5a8@wolman.co.uk> From: Ed Maste Date: Fri, 17 Nov 2017 12:43:38 -0500 X-Google-Sender-Auth: 5m3OjqLy1co-txZz6btZpJEBj9c Message-ID: Subject: Re: onion omega2+ To: Aleksandr Rybalko Cc: Mike Wolman , "freebsd-mips@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Nov 2017 17:44:00 -0000 On 16 November 2017 at 05:47, Aleksandr Rybalko wrote: > Hi guys! > > Ed, please check kernel entry point from ELF binary. > Some time ago I noticed that offset may vary, IIRC it was between 0x100 and > 0x120. > But did not get time to resolve it. > So problem can be just wrong entry point address. I will check, although Zak tried (without success) using the existing image from Mike's GitHub repo. From owner-freebsd-mips@freebsd.org Sat Nov 18 12:56:11 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 82213DBAB56 for ; Sat, 18 Nov 2017 12:56:11 +0000 (UTC) (envelope-from ray@ddteam.net) Received: from mail-vk0-x22b.google.com (mail-vk0-x22b.google.com [IPv6:2607:f8b0:400c:c05::22b]) (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 34DEE6ECA5 for ; Sat, 18 Nov 2017 12:56:11 +0000 (UTC) (envelope-from ray@ddteam.net) Received: by mail-vk0-x22b.google.com with SMTP id b7so3187060vkh.12 for ; Sat, 18 Nov 2017 04:56:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ddteam-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=shbfTVTbytx8he4+yAn/6hcZK91UG/BfGy83cSy1Dg8=; b=Pjhwda6eoIOxLV+eDIY0YnE9f4x6fVNf20iUN90eCFZlgeyWkHcYP+0N0+Bu1fP7A3 jvCAWBdjVCCgO4Ior+85MSxnonDj7qAhCUg1P8VJ8qDj0YcReBO9hddhzaBh0rSHid4S 9RtWGKgAqToui33RUZJcRQ1TNwQgncV5D+M33BLf+G6/J95eNC+eRKycuMsTwoVzXDOZ 3wnX8mbY4jQyIfcxT8cJmFhfkAmKIvLdHMLCM/919KqoN4Mh4Pc1vnbErsJCK6okvOoA +5rfZKwI3oRKdpctlV3H9p95rlU/tkzDUBHPmsV+gestlLSIQOqh3satgAfyeyjH7m0e qLBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=shbfTVTbytx8he4+yAn/6hcZK91UG/BfGy83cSy1Dg8=; b=fjfoEiIDwS1YzOsmFNGh7GyYbUNUSHjhvmTATOf7r+t+KUARIdIUy8k+CENPlPh37c YT6YwpMoi2FthY3SWPdwHpLQM/HhYCtrBN1vfla++diIshQukkEPXWSI9UtQ0f+p1Ugk s5iui484vaMRy7rRyG7/kIG0IRH92puFgnqHkufuU/U6CCtRlUlDli0nSWEDnMcB6ELd RV3h30cfzOpSyn2Q4cNQfuMRc/f+nlOqjCJsp1VWyqtsmhsICm1L5T+hiC8a6/yYaY6y vLkV54KHaGewaPYUJcN6aMs6wWbx8C8CNXTOX3QOPECOgyagiMo62cHsWglVF5Xhvhdw ieSw== X-Gm-Message-State: AJaThX4RGC1JvmkEkuLEgoZgh8sVYaM6No47Er+q1wXcTjuxdAlQimoi 7WlIQ/OilrnQN8n8uWyAcjCGNhpHdMWszuVFdZg1fw== X-Google-Smtp-Source: AGs4zMZStXW4lY9cghCu1AtptW+JkWKNkZfht+DKPeurwKXPckB1PFtDUQ+KDXN0ii6jWSK/Wyvga7A0TxUdtQGG424= X-Received: by 10.31.155.74 with SMTP id d71mr4083994vke.94.1511009770187; Sat, 18 Nov 2017 04:56:10 -0800 (PST) MIME-Version: 1.0 Received: by 10.176.20.211 with HTTP; Sat, 18 Nov 2017 04:56:09 -0800 (PST) In-Reply-To: References: <694efc3a-e183-35a1-a0bf-9a9c0d708826@wolman.co.uk> <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> <05065E4E-1D0F-49DE-B14D-D45ECCEA251F@gmail.com> <2b8211f6-9f42-0f11-678f-a2ed830b2430@wolman.co.uk> <8b7d4ebb-0048-11d7-9743-7eb6b38e9335@wolman.co.uk> <14ba3e3f-4172-a09b-8cba-385400b23ca8@wolman.co.uk> <1d99151e-7a67-2fce-4254-6b36b8daa5a8@wolman.co.uk> From: Aleksandr Rybalko Date: Sat, 18 Nov 2017 14:56:09 +0200 Message-ID: Subject: Re: onion omega2+ To: Ed Maste Cc: Mike Wolman , "freebsd-mips@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Nov 2017 12:56:11 -0000 If it will not help, then I usually start from beginning :) implementing simple putc for UART and simple printf. Then look where it die in machdep :) 2017-11-17 19:43 GMT+02:00 Ed Maste : > On 16 November 2017 at 05:47, Aleksandr Rybalko wrote: > > Hi guys! > > > > Ed, please check kernel entry point from ELF binary. > > Some time ago I noticed that offset may vary, IIRC it was between 0x100 > and > > 0x120. > > But did not get time to resolve it. > > So problem can be just wrong entry point address. > > I will check, although Zak tried (without success) using the existing > image from Mike's GitHub repo. > -- WBW ------- Rybalko Aleksandr