From owner-freebsd-mips@freebsd.org Mon Nov 27 11:58: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 666DCDFEF39 for ; Mon, 27 Nov 2017 11:58:16 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh503-vm5.bullet.mail.kks.yahoo.co.jp (nh503-vm5.bullet.mail.kks.yahoo.co.jp [183.79.56.191]) by mx1.freebsd.org (Postfix) with SMTP id EDD3B6DE05 for ; Mon, 27 Nov 2017 11:58:15 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [183.79.100.141] by nh503.bullet.mail.kks.yahoo.co.jp with NNFMP; 27 Nov 2017 11:56:01 -0000 Received: from [183.79.100.133] by t504.bullet.mail.kks.yahoo.co.jp with NNFMP; 27 Nov 2017 11:56:01 -0000 Received: from [127.0.0.1] by omp502.mail.kks.yahoo.co.jp with NNFMP; 27 Nov 2017 11:56:01 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 488120.90793.bm@omp502.mail.kks.yahoo.co.jp Received: (qmail 13007 invoked by uid 60001); 27 Nov 2017 11:56:01 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1511783761; bh=yttIb50t454fwh+c+6DZUnNPF7J8gXVp4lE9hP7KtqY=; 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=Yjfsbz7ZFU94qzJcyFvpQwTaeScGe8UbwJMzdpUjQo4m6MSmgBcZ7PgiF5sKkjrxhY0v1v53sd4SqQdeqrBMt+sJy17RGH0cwZh8EKDH6Bxcd5otDAnD3jRISrhKngppJ8UmdOnLv3KFWb7A4hzoyx5PRX//wRaUygNFmwK36yQ= 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=upZJXQglngIoc4/Th/dBXvPkNKW6IALetAkfMqpMPbgiq+o84dBDPIQmScdbQsGzYUbcF2UQkD6vuVbJDJUxUDvaiJqaRZyA/R/4YkumYC88A7YhgypWqyAU9JJEb3upJlEYIXN+ql57kXaP0Pg61ju86JI5+V++g9S0rJXtOmg=; Message-ID: <129336.4485.qm@web101707.mail.ssk.yahoo.co.jp> X-YMail-OSG: Etyq5JcVM1kpwCLL4_uJLKXj5A7pTqHOokuBYuWGJ1PY6AQepz4b8UXyYRXHhQI4XbWWy8UsDdtcVIi9XMR3_3RmVpRf8OaO4R6kx7GEPYe.wXq0LAeYPvcHhbB8QUnnVUGDGNpmxaP3q6xg2ItGjUdy90fIlQlRMC07Lkh0KcQ4kuqaeBWosBlq2OZNRFAMMoNr3yukZZs3GegcDDCbWt56gDt8KjwQC2T5Wk4xvcMTN3LRg_Lai63_cqpW9qDYB66rzC1.9wT3tOB1BO6AagWon8j1xMrgHF4FL65vTDqqcKnLySUBHHLZJqh5VdP6FmJfnVCh7c2WlsYXu1XCXsarDSieK5XYt8VeEP2lbGpVcUSW8CPhBZq2tQYTpJ1mWfJ4Im3LdatCxHiEjfGxyJtAFDYgvdKaeGhXotaU9BeYMcZnyGWoWNxmEEkxgVEtCa8kgEsBOKYe6C39Uf_zw4sLABJX1J8JghmZKqTpPTpTWY4oeA99fZv6jRtQo_E43.zl75E83L16YrG6evn0q3xMckLk4EhNPz34Ji1nd_sGAjiCvbfrm7YyEnYqAVM4T7xdW7SCu.dI0wQs80XKV05.8eqn6peThfmNKwiqIjM- Received: from [203.165.91.75] by web101707.mail.ssk.yahoo.co.jp via HTTP; Mon, 27 Nov 2017 20:56:00 JST X-Mailer: YahooMailWebService/0.8.111_74 X-YMail-JAS: F3XR3hoVM1lVGeZl_KQgXTXhLAA4EEPV7fsxzYBVxiDKvVRVKYe_QwYuHFCVdDxHCEDep59yhPlbJtS7SvP5XX.myHECiCchZ2sNT5bVI3RG49Gs2L.HT3xxdISGuKGf7IgT Date: Mon, 27 Nov 2017 20:56:00 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: reboot -r on mips 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: Mon, 27 Nov 2017 11:58:16 -0000 Hi.=0A=0AI found reboot -r today. I try this function on my Atheros AR9.=0A= =0A# df=0AFilesystem =A0 =A0 =A0 =A0 =A0 1K-blocks=A0 Used Avail Capacity= =A0 Mounted on=0A/dev/map/rootfs.uzip =A0 =A0 29220 29220 =A0 =A0 0 =A0 100= %=A0 =A0 /=0Adevfs=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 1 =A0 =A0= 1 =A0 =A0 0 =A0 100%=A0 =A0 /dev=0A/dev/md0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 7543 =A0 111=A0 6829 =A0 =A0 2%=A0 =A0 /tmp=0A:/tmp/etc =A0 =A0= =A0 =A0 36763 29331=A0 6829=A0 =A0 81%=A0 =A0 /etc=0A# kenv vfs.root.mount= from=3Dcd9660:da0=0Avfs.root.mountfrom=3D"cd9660:da0"=0A# reboot -r=0A.=0AT= rying to mount root from cd9660:da0 []...=0A=0A...=0A=0Alogin: root=0APassw= ord:=0A=0A...=0A=0A# df=0AFilesystem =A0 =A0 =A0 1K-blocks=A0 Used Avail Ca= pacity=A0 Mounted on=0Ada0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 29220 29220 = =A0 =A0 0 =A0 100%=A0 =A0 /=0Adevfs=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = 1 =A0 =A0 1 =A0 =A0 0 =A0 100%=A0 =A0 /dev=0A/dev/md1=A0 =A0 =A0 =A0 =A0 = =A0 =A0 7543=A0 =A0 95=A0 6845 =A0 =A0 1%=A0 =A0 /tmp=0A:/tmp/etc = =A0 =A0 36763 29315=A0 6845=A0 =A0 81%=A0 =A0 /etc=0A#=A0=0A=0A=0A=0AWork f= ine. Grate.=0A=0AThis function make complete flash update method.=0A=0AThan= ks=0A=0AHiroki Mori From owner-freebsd-mips@freebsd.org Mon Nov 27 12:17:26 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 AA285DFFBA5 for ; Mon, 27 Nov 2017 12:17:26 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 451D66EA7A for ; Mon, 27 Nov 2017 12:17:25 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id vARCHGqV064538 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 27 Nov 2017 13:17:17 +0100 (CET) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: yamori813@yahoo.co.jp Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id vARCH6UM020105 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Mon, 27 Nov 2017 19:17:06 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: reboot -r on mips To: Mori Hiroki , "freebsd-mips@freebsd.org" References: <129336.4485.qm@web101707.mail.ssk.yahoo.co.jp> From: Eugene Grosbein Message-ID: <5A1C0240.8000102@grosbein.net> Date: Mon, 27 Nov 2017 19:17:04 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <129336.4485.qm@web101707.mail.ssk.yahoo.co.jp> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00, LOCAL_FROM, RDNS_NONE autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains * 1.9 RDNS_NONE Delivered to internal network by a host with no rDNS X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net 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, 27 Nov 2017 12:17:26 -0000 27.11.2017 18:56, Mori Hiroki пишет: > Hi. > > I found reboot -r today. I try this function on my Atheros AR9. [skip] > This function make complete flash update method. Yes, it's great. Also, look at https://lists.freebsd.org/pipermail/freebsd-mips/2016-February/004431.html From owner-freebsd-mips@freebsd.org Tue Nov 28 07:40:40 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 89B20DFCC23 for ; Tue, 28 Nov 2017 07:40:40 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh605-vm11.bullet.mail.ssk.yahoo.co.jp (nh605-vm11.bullet.mail.ssk.yahoo.co.jp [182.22.90.84]) by mx1.freebsd.org (Postfix) with SMTP id 0E0A77A061 for ; Tue, 28 Nov 2017 07:40:39 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [182.22.66.104] by nh605.bullet.mail.ssk.yahoo.co.jp with NNFMP; 28 Nov 2017 07:38:12 -0000 Received: from [182.22.91.132] by t602.bullet.mail.ssk.yahoo.co.jp with NNFMP; 28 Nov 2017 07:38:12 -0000 Received: from [127.0.0.1] by omp605.mail.ssk.yahoo.co.jp with NNFMP; 28 Nov 2017 07:38:12 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 566705.84530.bm@omp605.mail.ssk.yahoo.co.jp Received: (qmail 28930 invoked by uid 60001); 28 Nov 2017 07:38:12 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1511854692; bh=m224sEG5sxYdaRJJ8sdVC7QNAs5fcKeP1PNLaTiQjiI=; 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=BMPgO2aEom4m5wCn59Ktug/Fn1jtuFNXi7NyMUbYZw4KMksUweGOZ64rkRpPzF6KAxSgDHu1N2fzBLNI3Jdd+xnHE+JyYTSjaPZSe/qnIE8CehTFKk0cLsPINuZNqTcSmlc0CuQTpSJBm6s8DLISQzOHTImmvZdyKIqNpaB2vo4= 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=jeyEXfOQK3MuSDt7Ci320A5TQVd0v2xVCzUK2Z4GTAO4XACrU/Rbj9xyq88/gCeUeu3JOa+795clTpQzDdziuTCGK46xhvZV5IlKmeLtqIT5vckIGJd9RvSmyT5nTDR2BTN/0gCbcROA89txzUsthZKEk68Zi5p4maNooDH0z1A=; Message-ID: <409601.10493.qm@web101716.mail.ssk.yahoo.co.jp> X-YMail-OSG: _GVrUDsVM1nH2nRQ54qFP_qY2Qv9Rf1wifE6VeD.botwtVWwn79X8Vxkpc.hZLg88xvcKFTpQFthvVPSAkUQ9J31YlE6r2NYS1p6lJ9HGzDaby3vdAHOL4D5e42gloGo_zRcUqGD0RcTlD7LXzPjMBkfXpKKOVnRY2HIAzJCTYlqiZNM5AJEA_MKM7LaFL8jBW6hgTlbBHp_qZYBSUKG_R_JKGTbUPTcV3sACo0TPfbEl7blSz_r229do.KIO2Ix6_yDIVsahIttHapnr_wouBmKllFXpyMqJ0_iJ9KOm7O.GblN6OtY_IcF0bJk20qoUuQqRg1SBWtMmXW..rC1nDDOyRvCkeTvh.WPormLCa0pDg24XjllyzCJSMUYUBag42aj6O6Tvek6IFTMQf4aVAmXdWtTrjo903NDJntSb8Swalw0V2R4NOu9B1SKBM8NGES4uJ3H4.3sErgWALE73YIVtAp.dy.Wan0leKx7afb6DZ7UvgpnZ_Wt9F6oiAvC_86l_PEPhL1t6WgskPIrZJhPp3YKi8HUTkDg_2bskMUztF1OOirw_9yRB8ASDO8niJ9hZxihd8tpL_7E.K2p_FGs.E9u9OXlAuNOozSG7XUJOA-- Received: from [203.165.91.75] by web101716.mail.ssk.yahoo.co.jp via HTTP; Tue, 28 Nov 2017 16:38:11 JST X-Mailer: YahooMailWebService/0.8.111_74 X-YMail-JAS: Iev6s1gVM1mzEUlOboaZ5oai9U._RHWr05YU.cvpLgmrJEBFQ_TfpeHfrKgznGYgSS1KptIhhUnKPKJUlpeBXqTpFlpNue.mXH4i4Oolj7NlqgTt.YFLWmCR1phv6nF0527a References: <129336.4485.qm@web101707.mail.ssk.yahoo.co.jp> <5A1C0240.8000102@grosbein.net> Date: Tue, 28 Nov 2017 16:38:11 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: Re: reboot -r on mips To: Eugene Grosbein , "freebsd-mips@freebsd.org" In-Reply-To: <5A1C0240.8000102@grosbein.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 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: Tue, 28 Nov 2017 07:40:40 -0000 Hi=0A=0AThanks for your advice. I missing your mail.=0A=0AI use ZRouter bui= ld system. This build use md file system at /tmp.=0A=0ABut small(10M) than = 8M flash upgrade. Then I do this way.=0A=0A1. nomal boot process=0A=0A2. se= t kenv to prepareupgrade=3D1=0A=0A3. reboot -r=0A=0A4. if set=C2=A0prepareu= pgrade then=C2=A0delete old md and make big(16M) md in rc.=0A=0A5. make min= imum rootfs in md and save new image by tftp.=0A=0A6. reboot -r=0A=0A7. ima= ge to flash by dd=0A=0A8.=C2=A0kill -INT 1=0A=0AThanks again.=0A=0AHiroki M= ori=0A=0A----- Original Message -----=0A> From: Eugene Grosbein =0A> To: Mori Hiroki ; "freebsd-mips@freebs= d.org" =0A> Cc: =0A> Date: 2017/11/27, Mon 21:17= =0A> Subject: Re: reboot -r on mips=0A> =0A> 27.11.2017 18:56, Mori Hiroki = =D0=BF=D0=B8=D1=88=D0=B5=D1=82:=0A>> Hi.=0A>> =0A>> I found reboot -r tod= ay. I try this function on my Atheros AR9.=0A> =0A> [skip]=0A> =0A>> This = function make complete flash update method.=0A> =0A> Yes, it's great. Also,= look at =0A> https://lists.freebsd.org/pipermail/freebsd-mips/2016-Februar= y/004431.html=0A> From owner-freebsd-mips@freebsd.org Wed Nov 29 11:43:24 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 A2CB6E4FE44 for ; Wed, 29 Nov 2017 11:43:24 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh501-vm13.bullet.mail.kks.yahoo.co.jp (nh501-vm13.bullet.mail.kks.yahoo.co.jp [183.79.56.143]) by mx1.freebsd.org (Postfix) with SMTP id 4A210709DB for ; Wed, 29 Nov 2017 11:43:23 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [183.79.100.140] by nh501.bullet.mail.kks.yahoo.co.jp with NNFMP; 29 Nov 2017 11:41:23 -0000 Received: from [183.79.100.137] by t503.bullet.mail.kks.yahoo.co.jp with NNFMP; 29 Nov 2017 11:41:23 -0000 Received: from [127.0.0.1] by omp506.mail.kks.yahoo.co.jp with NNFMP; 29 Nov 2017 11:41:23 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 414359.98376.bm@omp506.mail.kks.yahoo.co.jp Received: (qmail 49706 invoked by uid 60001); 29 Nov 2017 11:41:23 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1511955683; bh=bP4uWh6gUHHko+aVllm4IeU6wQ4k+leAvFneE7C2TDE=; 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=E+k5AIihhl5cX/VmsDTIkggPtjwR/KaeVnJQ+uclf2enm9tfbuMD+T0Rj8D5OT1G01lQ12l9o8jy6/pnzA5ZgXJWJLOxy6MAYI7A9lO8NzZFsSVhL2/u0aYYuMv6V4z0gRy1lHriL6fm09/k6ueo41OAVqY0vquRhHzfNkZCaB4= 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=hI6Sf943avmtg+w5Nb7Yrsy82YEo5E2djl2UqV+F+Hq6xArE3nlDfD2Qo7GekrBPlGJcJVZzjIOoVP9tMa5CxDDRDKkTbbdcX6JBTNDUwM8xekD7FR3E7BK0b328zEWUjEJchwsxFZx621CQ7APZDpA8GDRNfzTZeLkqfzgjUEA=; Message-ID: <115897.36610.qm@web101713.mail.ssk.yahoo.co.jp> X-YMail-OSG: zULnxb0VM1mZiscnFmhWrJsqE6cYmRAJipUBEOjVDbrTefu0JRCLXh.gK_8Q1jZpTut0DknvPf5vXsnoNKpOsiZjOEY6LJlASv8HQ3e1VUYkz2hs_Nk2Wm2tAzF1KLMnNWQs_gKdbs30pUbWgHWiy_j66SpfQwBRKzwPJoshQ.zVtiDwE6iymzYyzrq1va9l93gQjZtMm8yD_iqdJcfDg.s3O07HIcZCsY9ooZFrTPV7Mdi7Sgv9qpU3c.24h.PZh9UcJV9i3fA.8nCS5jv1S8qiqIWEXNJJ_Y2Fl46gQdFBYBVVHU369TxpMgOICH0wnDJsFjTKzukoAmw6JCyYhLkdujj5nYuKRkiM.GXwVD3CBu1jV5LRmxLT.9wkgHmAxDdaiUzgjXEVC8i1eoEobvne58A0eUQhvLQEbxvPzT3_P9BHAQV0FJgrawRH3oOAhMBrZ4X5H4oN4E5QxqGCwi7OQ6279GBz9Ry6pDqhJnblfnNdSJ_n9O366SIR3D.pF1Za1FS.1CfF3Bm2lmSQBwldZ21FTf0n9Ljy832uisC7YfPRV5nl58Y0ebRhvPCcdo8dZEUQHXbB4Zg0UCbN3D9hv5rs.vg8sNesciGIRDt0VQ-- Received: from [203.165.91.75] by web101713.mail.ssk.yahoo.co.jp via HTTP; Wed, 29 Nov 2017 20:41:23 JST X-Mailer: YahooMailWebService/0.8.111_74 X-YMail-JAS: 3JD4QBIVM1mx7HRp9t7Ku_LWAHM1_sbwCT_AQR8W8nyRaz7vRS7wPw0ncfYzguJA._qInxBxPAbBSB.5a3xidkFeUk_n3u5_8t7Fad3Q63PhN0eUO.pQKY0foefYNC_IZPwT References: <129336.4485.qm@web101707.mail.ssk.yahoo.co.jp> <5A1C0240.8000102@grosbein.net> <409601.10493.qm@web101716.mail.ssk.yahoo.co.jp> Date: Wed, 29 Nov 2017 20:41:23 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: Re: reboot -r on mips To: Eugene Grosbein , "freebsd-mips@freebsd.org" In-Reply-To: <409601.10493.qm@web101716.mail.ssk.yahoo.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 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, 29 Nov 2017 11:43:24 -0000 Hi=0A=0AI found new method at upgrade. That is use pipe.=0A=0AThis is upgra= de script. This method only use 6MByte md=0Aany size flash.=0A=0A#!/bin/sh= =0A=0AZBOARD=3D`uname -i`=0A=0A. /etc/upgrade.conf=0A=0Acd /tmp=0Amkdir bin= =0Amkdir sbin=0Amkdir libexec=0Amkdir dev=0Amkdir lib=0Amkdir etc=0Amkdir -= p usr/bin=0Acp /sbin/init sbin/=0Acp /bin/sh bin/=0Acp /bin/dd bin/=0Acp /b= in/kill bin/=0Acp /libexec/ld-elf.so.1 libexec/=0Acp /etc/login.conf.db etc= /=0Acp /usr/bin/tftp usr/bin/=0Acp /lib/libedit.so.7 lib/=0Acp /lib/libncur= sesw.so.8 lib/=0Acp /lib/libc.so.7 lib/=0Amkfifo flashpipe=0A=0Akenv vfs.ro= ot.mountfrom=3D"ufs:md0"=0A=0A#echo ${ZBOARD}.zimage=0A=0Aecho "#!/bin/sh" = > etc/rc=0Aecho "dd if=3D/flashpipe of=3D${UPGRADEDEV} obs=3D${UPGRADEBS} c= onv=3Dosync &" >> etc/rc=0Aecho "echo =C2=A5"bin=0Aget ${ZBOARD}.zimage /fl= ashpipe=0Aquit=C2=A5" | tftp ${UPGRADETFTP} 69" >> etc/rc=0Aecho "kill -INT= 1" >> etc/rc=0Achmod a+x etc/rc=0A=0Areboot -r=0A=0AHiroki Mori=0A=0A-----= Original Message -----=0A> From: Mori Hiroki =0A> T= o: Eugene Grosbein ; "freebsd-mips@freebsd.org" =0A> Cc: =0A> Date: 2017/11/28, Tue 16:38=0A> Subject: R= e: reboot -r on mips=0A> =0A> Hi=0A> =0A> Thanks for your advice. I missing= your mail.=0A> =0A> I use ZRouter build system. This build use md file sys= tem at /tmp.=0A> =0A> But small(10M) than 8M flash upgrade. Then I do this = way.=0A> =0A> 1. nomal boot process=0A> =0A> 2. set kenv to prepareupgrade= =3D1=0A> =0A> 3. reboot -r=0A> =0A> 4. if set=C2=A0prepareupgrade then=C2= =A0delete old md and make big(16M) md in rc.=0A> =0A> 5. make minimum rootf= s in md and save new image by tftp.=0A> =0A> 6. reboot -r=0A> =0A> 7. image= to flash by dd=0A> =0A> 8.=C2=A0kill -INT 1=0A> =0A> Thanks again.=0A> =0A= > Hiroki Mori=0A> =0A> ----- Original Message -----=0A>>=C2=A0=C2=A0From: E= ugene Grosbein =0A>>=C2=A0=C2=A0To: Mori Hiroki ; =0A> "freebsd-mips@freebsd.org" =0A>>=C2=A0=C2=A0Cc: =0A>>=C2=A0=C2=A0Date: 2017/11/27, Mon 21:17=0A>>=C2= =A0=C2=A0Subject: Re: reboot -r on mips=0A>> =0A>>=C2=A0=C2=A027.11.2017 18= :56, Mori Hiroki =D0=BF=D0=B8=D1=88=D0=B5=D1=82:=0A>>> =C2=A0 Hi.=0A>>> =0A= >>> =C2=A0 I found reboot -r today. I try this function on my Atheros AR9.= =0A>> =0A>>=C2=A0=C2=A0[skip]=0A>> =0A>>> =C2=A0 This function make complet= e flash update method.=0A>> =0A>>=C2=A0=C2=A0Yes, it's great. Also, look at= =0A>>=C2=A0=C2=A0https://lists.freebsd.org/pipermail/freebsd-mips/2016-Feb= ruary/004431.html=0A>> =0A> _______________________________________________= =0A> freebsd-mips@freebsd.org mailing list=0A> https://lists.freebsd.org/ma= ilman/listinfo/freebsd-mips=0A> To unsubscribe, send any mail to =0A> "free= bsd-mips-unsubscribe@freebsd.org"=0A>