From owner-freebsd-mips@freebsd.org Sun Feb 5 11:49:18 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 DF329CD0183 for ; Sun, 5 Feb 2017 11:49:18 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh501-vm9.bullet.mail.kks.yahoo.co.jp (nh501-vm9.bullet.mail.kks.yahoo.co.jp [183.79.56.139]) by mx1.freebsd.org (Postfix) with SMTP id 1011D1B4A for ; Sun, 5 Feb 2017 11:49:17 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [183.79.100.138] by nh501.bullet.mail.kks.yahoo.co.jp with NNFMP; 05 Feb 2017 11:46:53 -0000 Received: from [183.79.101.63] by t501.bullet.mail.kks.yahoo.co.jp with NNFMP; 05 Feb 2017 11:46:52 -0000 Received: from [127.0.0.1] by omp507.mail.kks.yahoo.co.jp with NNFMP; 05 Feb 2017 11:46:52 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 956234.41467.bm@omp507.mail.kks.yahoo.co.jp Received: (qmail 81938 invoked by uid 60001); 5 Feb 2017 11:46:52 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1486295212; bh=1f8utgt4hHPvqj0ZWFduUCpP+YynHnpca4m6GPc7bHI=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=F9Iv7NT19ubdZekFXRwBkugRiD25rP3rg9k7kqkyiJmF1Uu9CcoRESyiW3L3cQEA0RI1tzKJ5kJkiiAif2JthSdw4p78WfFKs5Op+CXWxrodKOuRocLmk4q7U6obKT/M4ixE9rXmtvgoSh3D/IuA5b5pesrhsxRWX/jjNWjLEn8= 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; b=ANCnNCs5f4APi0yzJlEJH0KRIJMENt+FB7kg4gEPEJVue/wDY6SuFghE6fxq70oeg/yjbn0SJ8UsDij1xLfK2iR1x+bKR6hVJnBe1geoqVr7rsW3murQqsQ+aGyfs0Y75G5ovsVyXf/QU9fCy+Y94o2rxp/9+ToM40oJjDxY5Mc=; Message-ID: <535571.78998.qm@web101715.mail.ssk.yahoo.co.jp> X-YMail-OSG: CTtOONUVM1lUDfARDuuCIQTIslSKmtnxd0SDxi4Sw8.jTt6mXhs7JKufVZJt8Q0PAKDLXTjSLBbZf63zKBtayyjyv3x9HYJlWwTR4v1cZgFowvA8SMGc2yOy58ViSpk2uLPvwSi1jCM.8V6qBK57eWglUSyx3iG.4ApFk0ufQSp38gMILNyrmqsCxJ.9ILHd25HnFaqpyU3ly3n9F.qF4wTzjo86xnaCHTknwFppuN23rPDcCAsQK_q5w_bwOnf8pr51aNnl9QhFcxJDu6XTGitz5n3LnJAswbOhh58.wPiHcpoP6Fd_MPGVDJAyb82hBvYEi7FA6XDWtjqiFa9.1mFlaAV1Ea0j3pxaf6yCrJkhOd6CANqO_.wceah9fGzGCVAUxeCf7DGmcmm8jd_MCRk639xHp1UIVDJCDGyjIA3LeJL3OEp9h6b6DxfBhIx7Zhy04dx26Fj61oJn38tFNRcbvkmfDIugsubyxaTBlA9mbUu_Pd.7phh0MC6s8GZmgl335JPJUVe.kAUuq4Tc7H3LlOqeUK2mSqa4W1WqP2TjqGOI9sqYMBNujxF03MDiZ0RfWl8cO8b2LST6pA-- Received: from [110.134.192.208] by web101715.mail.ssk.yahoo.co.jp via HTTP; Sun, 05 Feb 2017 20:46:52 JST X-Mailer: YahooMailWebService/0.8.111_70 X-YMail-JAS: xJV5ZAYVM1nc0bsJK1eAbibo_dEcpjN4J6mCFk8i8zQhWeF0WOzZYu22ASwtmeBrd55qSyzNyUoP2J0zATN142ZGTJdtj88J3VP4KDDmw82NxoeGboCdBIAy1rH_aYe5I4B1 Date: Sun, 5 Feb 2017 20:46:52 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: build error at ntp To: "freebsd-mips@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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: Sun, 05 Feb 2017 11:49:19 -0000 Hi.=0A=0AI have build error on ntp command. I mistake=A0some thing ?=0A=0A= =3D=3D=3D> usr.sbin/ntp/libntp (all)=0Acc -isystem /storage/home/hiroki/obj= //storage/home/hiroki/zrouter/tmp//mips.mips=0Ael/storage/home/hiroki/freeb= sd/tmp/usr/include -L/storage/home/hiroki/obj//stora=0Age/home/hiroki/zrout= er/tmp//mips.mipsel/storage/home/hiroki/freebsd/tmp/usr/lib=A0=0A-B/storage= /home/hiroki/obj//storage/home/hiroki/zrouter/tmp//mips.mipsel/storage=0A/h= ome/hiroki/freebsd/tmp/usr/lib --sysroot=3D/storage/home/hiroki/obj//storag= e/hom=0Ae/hiroki/zrouter/tmp//mips.mipsel/storage/home/hiroki/freebsd/tmp -= B/storage/hom=0Ae/hiroki/obj//storage/home/hiroki/zrouter/tmp//mips.mipsel/= storage/home/hiroki/f=0Areebsd/tmp/usr/bin=A0 -O -pipe -I/storage/home/hiro= ki/freebsd/usr.sbin/ntp/libntp/=0A../../../contrib/ntp/include=A0 -I/storag= e/home/hiroki/freebsd/usr.sbin/ntp/libntp=0A/../../../contrib/ntp/lib/isc/i= nclude=A0 -I/storage/home/hiroki/freebsd/usr.sbin/n=0Atp/libntp/../../../co= ntrib/ntp/lib/isc/unix/include=A0 -I/storage/home/hiroki/free=0Absd/usr.sbi= n/ntp/libntp/../../../contrib/ntp/lib/isc/pthreads/include=A0 -I/storag=0Ae= /home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/sntp/libopts= =A0 -I/=0Astorage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../lib/libc= /mipsel=A0 -I/sto=0Arage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../l= ib/libedit/edit=A0 -I/stora=0Age/home/hiroki/freebsd/usr.sbin/ntp/libntp/..= /=A0 -I/storage/home/hiroki/freebsd/u=0Asr.sbin/ntp/libntp/ -DHAVE_BSD_NICE= -DHAVE_STDINT_H -G0 -EL -msoft-float =A0 -DSYS=0A_FREEBSD -DPARSE -DHAVE_C= ONFIG_H=A0 -DNDEBUG -MD=A0 -MF.depend.systime.o -MTsystime.=0Ao -std=3Dgnu9= 9 -Wno-pointer-sign =A0 =A0 -c /storage/home/hiroki/freebsd/usr.sbin/ntp/= =0Alibntp/../../../contrib/ntp/libntp/systime.c -o systime.o=0Acc -isystem = /storage/home/hiroki/obj//storage/home/hiroki/zrouter/tmp//mips.mips=0Ael/s= torage/home/hiroki/freebsd/tmp/usr/include -L/storage/home/hiroki/obj//stor= a=0Age/home/hiroki/zrouter/tmp//mips.mipsel/storage/home/hiroki/freebsd/tmp= /usr/lib=A0=0A-B/storage/home/hiroki/obj//storage/home/hiroki/zrouter/tmp//= mips.mipsel/storage=0A/home/hiroki/freebsd/tmp/usr/lib --sysroot=3D/storage= /home/hiroki/obj//storage/hom=0Ae/hiroki/zrouter/tmp//mips.mipsel/storage/h= ome/hiroki/freebsd/tmp -B/storage/hom=0Ae/hiroki/obj//storage/home/hiroki/z= router/tmp//mips.mipsel/storage/home/hiroki/f=0Areebsd/tmp/usr/bin=A0 -O -p= ipe -I/storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/=0A../../../contrib/= ntp/include=A0 -I/storage/home/hiroki/freebsd/usr.sbin/ntp/libntp=0A/../../= ../contrib/ntp/lib/isc/include=A0 -I/storage/home/hiroki/freebsd/usr.sbin/n= =0Atp/libntp/../../../contrib/ntp/lib/isc/unix/include=A0 -I/storage/home/h= iroki/free=0Absd/usr.sbin/ntp/libntp/../../../contrib/ntp/lib/isc/pthreads/= include=A0 -I/storag=0Ae/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../c= ontrib/ntp/sntp/libopts=A0 -I/=0Astorage/home/hiroki/freebsd/usr.sbin/ntp/l= ibntp/../../../lib/libc/mipsel=A0 -I/sto=0Arage/home/hiroki/freebsd/usr.sbi= n/ntp/libntp/../../../lib/libedit/edit=A0 -I/stora=0Age/home/hiroki/freebsd= /usr.sbin/ntp/libntp/../=A0 -I/storage/home/hiroki/freebsd/u=0Asr.sbin/ntp/= libntp/ -DHAVE_BSD_NICE -DHAVE_STDINT_H -G0 -EL -msoft-float =A0 -DSYS=0A_F= REEBSD -DPARSE -DHAVE_CONFIG_H=A0 -DNDEBUG -MD=A0 -MF.depend.a_md5encrypt.o= -MTa_m=0Ad5encrypt.o -std=3Dgnu99 -Wno-pointer-sign =A0 =A0 -c /storage/ho= me/hiroki/freebsd/usr=0A.sbin/ntp/libntp/../../../contrib/ntp/libntp/a_md5e= ncrypt.c -o a_md5encrypt.o=0AIn file included from /storage/home/hiroki/obj= //storage/home/hiroki/zrouter/tmp/=0A/mips.mipsel/storage/home/hiroki/freeb= sd/tmp/usr/include/openssl/evp.h:70,=0A=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 f= rom /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../=0Acontrib/nt= p/include/libssl_compat.h:23,=0A=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from /st= orage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../=0Acontrib/ntp/libnt= p/a_md5encrypt.c:14:=0A/storage/home/hiroki/obj//storage/home/hiroki/zroute= r/tmp//mips.mipsel/storage/h=0Aome/hiroki/freebsd/tmp/usr/include/openssl/o= ssl_typ.h:132: error: conflicting ty=0Apes for 'EVP_MD_CTX'=0A/storage/home= /hiroki/freebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/include/nt=0Ap_md5= .h:25: error: previous declaration of 'EVP_MD_CTX' was here=0AIn file inclu= ded from /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../=0Acontr= ib/ntp/include/libssl_compat.h:23,=0A=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 fro= m /storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../=0Acontrib/ntp/= libntp/a_md5encrypt.c:14:=0A/storage/home/hiroki/obj//storage/home/hiroki/z= router/tmp//mips.mipsel/storage/h=0Aome/hiroki/freebsd/tmp/usr/include/open= ssl/evp.h:594: error: expected ')' before=0A=A0',' token=0A/storage/home/hi= roki/obj//storage/home/hiroki/zrouter/tmp//mips.mipsel/storage/h=0Aome/hiro= ki/freebsd/tmp/usr/include/openssl/evp.h:595: error: expected declaratio=0A= n specifiers or '...' before '(' token=0A/storage/home/hiroki/obj//storage/= home/hiroki/zrouter/tmp//mips.mipsel/storage/h=0Aome/hiroki/freebsd/tmp/usr= /include/openssl/evp.h:595: error: conflicting types f=0Aor '_libmd_MD5Upda= te'=0A/storage/home/hiroki/obj//storage/home/hiroki/zrouter/tmp//mips.mipse= l/storage/h=0Aome/hiroki/freebsd/tmp/usr/include/sys/md5.h:46: error: previ= ous declaration of=A0=0A'_libmd_MD5Update' was here=0A/storage/home/hiroki/= obj//storage/home/hiroki/zrouter/tmp//mips.mipsel/storage/h=0Aome/hiroki/fr= eebsd/tmp/usr/include/openssl/evp.h:602: error: expected ')' before=0A=A0',= ' token=0A/storage/home/hiroki/obj//storage/home/hiroki/zrouter/tmp//mips.m= ipsel/storage/h=0Aome/hiroki/freebsd/tmp/usr/include/openssl/evp.h:603: err= or: expected identifier=0A=A0or '(' before 'do'=0A/storage/home/hiroki/obj/= /storage/home/hiroki/zrouter/tmp//mips.mipsel/storage/h=0Aome/hiroki/freebs= d/tmp/usr/include/openssl/evp.h:603: error: expected identifier=0A=A0or '('= before 'while'=0AIn file included from /storage/home/hiroki/freebsd/usr.sb= in/ntp/libntp/../../../=0Acontrib/ntp/include/libssl_compat.h:23,=0A=A0=A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 from /storage/home/hiroki/freebsd/usr.sbin/ntp/= libntp/../../../=0Acontrib/ntp/libntp/a_md5encrypt.c:14:=0A/storage/home/hi= roki/obj//storage/home/hiroki/zrouter/tmp//mips.mipsel/storage/h=0Aome/hiro= ki/freebsd/tmp/usr/include/openssl/evp.h:716:27: error: macro "EVP_md5"=A0= =0Apassed 1 arguments, but takes just 0=0A/storage/home/hiroki/freebsd/usr.= sbin/ntp/libntp/../../../contrib/ntp/libntp/a_m=0Ad5encrypt.c: In function = 'MD5authencrypt':=0A/storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../= ../contrib/ntp/libntp/a_m=0Ad5encrypt.c:39: warning: passing argument 1 of = '_libmd_MD5Init' from incompatibl=0Ae pointer type=0A/storage/home/hiroki/f= reebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/a_m=0Ad5encrypt.c:45= : warning: passing argument 2 of '_libmd_MD5Update' makes integer=A0=0Afrom= pointer without a cast=0A/storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/= ../../../contrib/ntp/libntp/a_m=0Ad5encrypt.c:45: error: too many arguments= to function '_libmd_MD5Update'=0A/storage/home/hiroki/freebsd/usr.sbin/ntp= /libntp/../../../contrib/ntp/libntp/a_m=0Ad5encrypt.c:46: warning: passing = argument 2 of '_libmd_MD5Update' makes integer=A0=0Afrom pointer without a = cast=0A/storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../contrib/nt= p/libntp/a_m=0Ad5encrypt.c:46: error: too many arguments to function '_libm= d_MD5Update'=0A/storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../co= ntrib/ntp/libntp/a_m=0Ad5encrypt.c:47: warning: passing argument 2 of '_lib= md_MD5Final' from incompatib=0Ale pointer type=0A/storage/home/hiroki/freeb= sd/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/a_m=0Ad5encrypt.c: In fu= nction 'MD5authdecrypt':=0A/storage/home/hiroki/freebsd/usr.sbin/ntp/libntp= /../../../contrib/ntp/libntp/a_m=0Ad5encrypt.c:82: warning: passing argumen= t 1 of '_libmd_MD5Init' from incompatibl=0Ae pointer type=0A/storage/home/h= iroki/freebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/a_m=0Ad5encry= pt.c:88: warning: passing argument 2 of '_libmd_MD5Update' makes integer=A0= =0Afrom pointer without a cast=0A/storage/home/hiroki/freebsd/usr.sbin/ntp/= libntp/../../../contrib/ntp/libntp/a_m=0Ad5encrypt.c:88: error: too many ar= guments to function '_libmd_MD5Update'=0A/storage/home/hiroki/freebsd/usr.s= bin/ntp/libntp/../../../contrib/ntp/libntp/a_m=0Ad5encrypt.c:89: warning: p= assing argument 2 of '_libmd_MD5Update' makes integer=A0=0Afrom pointer wit= hout a cast=0A/storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../../../con= trib/ntp/libntp/a_m=0Ad5encrypt.c:89: error: too many arguments to function= '_libmd_MD5Update'=0A/storage/home/hiroki/freebsd/usr.sbin/ntp/libntp/../.= ./../contrib/ntp/libntp/a_m=0Ad5encrypt.c:90: warning: passing argument 2 o= f '_libmd_MD5Final' from incompatib=0Ale pointer type=0A/storage/home/hirok= i/freebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/a_m=0Ad5encrypt.c= : In function 'addr2refid':=0A/storage/home/hiroki/freebsd/usr.sbin/ntp/lib= ntp/../../../contrib/ntp/libntp/a_m=0Ad5encrypt.c:128: warning: passing arg= ument 1 of '_libmd_MD5Init' from incompatib=0Ale pointer type=0A/storage/ho= me/hiroki/freebsd/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/a_m=0Ad5e= ncrypt.c:135: warning: passing argument 2 of '_libmd_MD5Update' makes integ= er=0A=A0from pointer without a cast=0A/storage/home/hiroki/freebsd/usr.sbin= /ntp/libntp/../../../contrib/ntp/libntp/a_m=0Ad5encrypt.c:135: error: too m= any arguments to function '_libmd_MD5Update'=0A/storage/home/hiroki/freebsd= /usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/a_m=0Ad5encrypt.c:137: war= ning: passing argument 2 of '_libmd_MD5Final' from incompati=0Able pointer = type=0A*** Error code 1=0A=0AStop.=0Abmake[4]: stopped in /storage/home/hir= oki/freebsd/usr.sbin/ntp/libntp=0A*** Error code 1=0A=0AStop.=0Abmake[3]: s= topped in /storage/home/hiroki/freebsd=0A*** Error code 1=0A=0AStop.=0Abmak= e[2]: stopped in /storage/home/hiroki/freebsd=0A*** Error code 1=0A=0AStop.= =0Amake[1]: stopped in /storage/home/hiroki/freebsd=0A*** Error code 1=0A= =0AStop.=0Amake: stopped in /storage/home/hiroki/zrouter From owner-freebsd-mips@freebsd.org Mon Feb 6 03:50:05 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 DD31FCD29C9 for ; Mon, 6 Feb 2017 03:50:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 CC8EB151B for ; Mon, 6 Feb 2017 03:50:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v163o5lE015962 for ; Mon, 6 Feb 2017 03:50:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-mips@FreeBSD.org Subject: [Bug 216831] [PATCH] sys/mips/cavium/octeon_machdep.c: add cavium octeon 'bootoctlinux' boot argument support Date: Mon, 06 Feb 2017 03:50:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-mips@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Mon, 06 Feb 2017 03:50:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216831 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-mips@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-mips@freebsd.org Mon Feb 6 13:39: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 A5AD8CD1BC8 for ; Mon, 6 Feb 2017 13:39:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 950F2362 for ; Mon, 6 Feb 2017 13:39:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v16DdWmV011336 for ; Mon, 6 Feb 2017 13:39:32 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-mips@FreeBSD.org Subject: [Bug 216831] [PATCH] sys/mips/cavium/octeon_machdep.c: add cavium octeon 'bootoctlinux' boot argument support Date: Mon, 06 Feb 2017 13:39:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kan@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-mips@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Mon, 06 Feb 2017 13:39:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216831 Alexander Kabaev changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kan@FreeBSD.org --- Comment #1 from Alexander Kabaev --- There's parse-bootarg in mtk_machdep.c and jz4780_machdep.c that parses fill 'boothowto' switch set. Maybe one we can get this consolidated somehow and = make use in your code too, if bootolclinux can accept --like arguments directly? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-mips@freebsd.org Tue Feb 7 01:07:13 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 D14FCCD23D0 for ; Tue, 7 Feb 2017 01:07:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 C07B118D6 for ; Tue, 7 Feb 2017 01:07:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v1717DZB025017 for ; Tue, 7 Feb 2017 01:07:13 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-mips@FreeBSD.org Subject: [Bug 216831] [PATCH] sys/mips/cavium/octeon_machdep.c: add cavium octeon 'bootoctlinux' boot argument support Date: Tue, 07 Feb 2017 01:07:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: northwoodlogic.free@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-mips@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Tue, 07 Feb 2017 01:07:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216831 --- Comment #2 from Dave Rush --- 'bootoctlinux' passes any supplied arguments verbatim into the machdep code. Specifying boothowto flags via short args as suggested will work. When I get some time in a few days I'll rework the patch to behave more like mtk_machdep.c. If someone suggests where a generic boothowto flag parser function should go besides cut & pasted into the octeon_machdep.c source I can look into it. Although, I was trying to be as non-intrusive as possible with this patch. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-mips@freebsd.org Tue Feb 7 23:32:10 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 B4F13CD526F for ; Tue, 7 Feb 2017 23:32:10 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh505-vm3.bullet.mail.kks.yahoo.co.jp (nh505-vm3.bullet.mail.kks.yahoo.co.jp [183.79.57.105]) by mx1.freebsd.org (Postfix) with SMTP id 486E111A6 for ; Tue, 7 Feb 2017 23:32:09 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [183.79.100.140] by nh505.bullet.mail.kks.yahoo.co.jp with NNFMP; 07 Feb 2017 23:28:55 -0000 Received: from [183.79.100.132] by t503.bullet.mail.kks.yahoo.co.jp with NNFMP; 07 Feb 2017 23:28:55 -0000 Received: from [127.0.0.1] by omp501.mail.kks.yahoo.co.jp with NNFMP; 07 Feb 2017 23:28:55 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 486400.48451.bm@omp501.mail.kks.yahoo.co.jp Received: (qmail 97036 invoked by uid 60001); 7 Feb 2017 23:28:55 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1486510135; bh=+cbE//4okhr+F64yXbDx94TJn8vQW2oKzngadd1RQqM=; 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=osxclmyyQxck+y6lrCX9//VcudIeDjkkIviLv8GNFiwTzlB3S6kniNr4uaFdMuIFajyNvs7QML+xHgU6oOlEu7sTPEF6X9wmvoVymBBPxTC1WM3vlYg1t+xcBelB4RQIUJkbP/V0iZXnrsiSCA4ixcmf8gLTbc6DY4WgQvgE1ts= 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=ruNNKTrtP50KyBV4/XyOKt+SJJwry4HAdDfiyqO3csDA/0Gnui04kAOOhSpcU6kfeR9SJGBAEogj0TS8R/1F29WE9LzKALHuYffjbzj/3KqvTIykJ0FcgNnhZyCg2ATg2KqeAPvruKU1FtuRPmZHbN82HPZcE3+GhOWU688HhnY=; Message-ID: <108182.74391.qm@web101702.mail.ssk.yahoo.co.jp> X-YMail-OSG: cCzPlWsVM1kDNVMpPyR11OowAxLkX4yh8zK2Afzx0kWs3x11DlE4iMFuhjo1KdO8fbt9RrTWDJ2C0e30po_VX28twFZwHxp8PMxIiw8bgEl4v.cGN8E4apFuoSYGo4OLjN5YQXPqJYtMrYiXg1YTtlsDg4dLxCB46CGoUC.ziCYW5wbccoee3nGg7M0zkoMWfTfmsPqYd0JTtLiDgNKen_4srUZ29_Mu1s7se1HhblErhh4_SDPNqTPh1gX1pR8g2aWlFdvodHGd0YkOY1Nu1R3uNNtRjY_raR9TMg2cqrHI8.ZbkvtU9Iy..641TvCYZBFI25IZt3iY._l0uttX8uXN4MqHDo46AtQKlOQNeIrdVD5LMcXAO6loO3zfGYimbEVtRq1IaYGzANkbyI6opgXm2_O6eI6Rj2fpgYkTndS1ZxdIvqyDHAzLMdJW4VuUus480csZ5CGgNgiKnaoAgkjAYXdJbw4qBYv8IXI6JK1XMq0AXG84zEj06WuLDMackIHenfISxd2nZ5k6rWAWLfnsPPDGZeRBJIomwRTGR4G7HoMocSUu2.WfDRXCTTrk6REh80D7Et3em_bo2RMvfzeNkW4bBKOUaj3LmJcOOMtdfVCVWL5AKahp1QCsgJyc Received: from [110.134.192.208] by web101702.mail.ssk.yahoo.co.jp via HTTP; Wed, 08 Feb 2017 08:28:54 JST X-Mailer: YahooMailWebService/0.8.111_70 X-YMail-JAS: jUa1ktQVM1mwXv0sWs3.k8svGolIlIMs9XmUvQyBooA0D4t6iUfaYvI4Y.jaWLR7uhEWbVx3mnDgyqVIuedqJv_u20mARmQrrW9fh0iD67Kvoo9zwSBval3ylWzxLQT_gDuy References: <632017.92175.qm@web101706.mail.ssk.yahoo.co.jp> <805328.90571.qm@web101707.mail.ssk.yahoo.co.jp> Date: Wed, 8 Feb 2017 08:28:54 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: Re: kld problem at Atheros AR9132 To: "freebsd-mips@freebsd.org" In-Reply-To: <805328.90571.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.23 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Feb 2017 23:32:10 -0000 Hi=0A=0AI still have this problem. I use workaround by old objcopy command.= =0AIt's unconvenient.=0A=0A"link_elf_lookup_symbol: missing symbol hash tab= le" at boot log indicate=0Athis problem.=0A=0ACopyright (c) 1992-2017 The F= reeBSD Project.=0ACopyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1= 992, 1993, 1994=0A=A0 =A0 =A0 =A0 The Regents of the University of Californ= ia. All rights reserved.=0AFreeBSD is a registered trademark of The FreeBSD= Foundation.=0AFreeBSD 12.0-CURRENT #2 50b7905(rt_patch)-dirty: Tue Feb=A0 = 7 22:10:26 JST 2017=0A=A0 =A0 hiroki@microserver:/storage/home/hiroki/obj/s= torage/home/hiroki/zrouter/tmp/=0Amips.mips/storage/home/hiroki/freebsd/sys= /Buffalo_WZR-HP-G301NH mips=0Agcc version 4.2.1 20070831 patched [FreeBSD]= =0APreloaded elf kernel "kernel" at 0x804332a0.=0Alink_elf_lookup_symbol: m= issing symbol hash table=0Alink_elf_lookup_symbol: missing symbol hash tabl= e=0Areal memory=A0 =3D 67108864 (65536K bytes)=0A=0A=0A----- Original Messa= ge -----=0A>From: Mori Hiroki =0A>To: "freebsd-mips@= freebsd.org" =0A>Date: 2016/9/23, Fri 22:52=0A>S= ubject: Re: kld problem at Atheros AR9132=0A> =0A>Hi.=0A>=0A>Still I have t= his problem. Dose any one have this problem=0A>process to kernel use by obj= copy for u-boot.=0A>=0A>I=A0doubt this is big endian issue.=0A>=0A>My AR231= x port have no problem. Because of redboot not need=0A>obycopy=A0process.= =0A>=0A>Regards.=0A>=0A>Hiroki Mori=0A>=0A>----- Original Message -----=0A>= >From: Mori Hiroki =0A>>To: "freebsd-mips@freebsd.or= g" =0A>>Date: 2016/4/25, Mon 17:41=0A>>Subject: = kld problem at Atheros AR9132=0A>> =0A>>Hi=0A>>=0A>>I build=A0Atheros AR913= 2 kernel by head source. I have problem that is=0A>>can't load kld module. = RT3050 have no problem same source. I do=A0=0A>>delete old object and full = build but still have problem.=0A>>=0A>># kldload -v ufs=0A>>linker_load_fil= e: trying to load /boot/kernel/ufs.ko=0A>>=0A>>linker_make_file: new file, = filename=3D'ufs.ko' for pathname=3D'/boot/kernel/ufs.ko'=0A>>linker_file_ad= d_dependency: adding kernel as dependency for ufs.ko=0A>>KLD ufs.ko: depend= s on kernel - not available or version mismatch=0A>>=0A>>linker_file_unload= : lf->refs=3D1=0A>>linker_file_unload: file is unloading, informing modules= =0A>>linker_file_unload: lf->refs=3D2=0A>>linker_load_file: trying to load = /boot/kernel/ufs.ko=0A>>linker_load_file: Unsupported file type=0A>>kldload= : an error occurred while loading the module. Please check dmesg(8) for m= =0A>>ore details.=0A>>=0A>>If you have advice, please let me know.=0A>>=0A>= >Thanks=0A>>=0A>>Hiroki Mori=0A>>__________________________________________= _____=0A>>freebsd-mips@freebsd.org mailing list=0A>>https://lists.freebsd.o= rg/mailman/listinfo/freebsd-mips=0A>>To unsubscribe, send any mail to "free= bsd-mips-unsubscribe@freebsd.org"=0A>>=0A>>=0A>>=0A>_______________________= ________________________=0A>freebsd-mips@freebsd.org mailing list=0A>https:= //lists.freebsd.org/mailman/listinfo/freebsd-mips=0A>To unsubscribe, send a= ny mail to "freebsd-mips-unsubscribe@freebsd.org"=0A>=0A>=0A> From owner-freebsd-mips@freebsd.org Wed Feb 8 22:02:49 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 CC7F2CD4116 for ; Wed, 8 Feb 2017 22:02:49 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) (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 63E6318C for ; Wed, 8 Feb 2017 22:02:49 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wm0-x233.google.com with SMTP id v186so63662689wmd.0 for ; Wed, 08 Feb 2017 14:02:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=MIYsbTVBc5hUzivOQKIAlcuu2+nFZ5VY4ad0ax0dorA=; b=HbZdz8kQJPUeZVE2ruC52UHdwI//Yt/8aaF15jceeesmKcocJxdKzDP6IM/75KBNIS uuKMTXO03rLdmEGqKPYvotEb5W8PBUiI4lbF1Bc2y1UcbQ1WRdwXfml5RY1a/YBMsrMu nnYV6qnn8sKcVGdKWNWhx+j1KD3lBd4z11Z7+Qzw5zyUbfg12onfiTK17llw2vntY4bL v/05o9xX/IX6KXcTEVLYNynUz8ohxFxps+OIX9m7UHlMK8NfBfFFFe9aTJ8I/WlKqV0V rxzg8QM18dqr1fCESlSvQopnZ3lI4Br2ZwjhxMm3yXgnZMMMaWAM5OnPR8hE5oUR9CWu 0V2A== 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=MIYsbTVBc5hUzivOQKIAlcuu2+nFZ5VY4ad0ax0dorA=; b=rzUXfHuPg31r54TMGSHl4K7EleXNVP0DmQ6QVHDxOjYMacnR9QaiQ79hE4DT7W8tw9 tL4LmhhGwvmotMcdMOIOlEEN4uasZ9odIU3bRO3CQrLffD4XwwpvEb6z0JqXbrAlgayI OImYZtblk7Z76AXePVGiPK3kNxr7NDiB0bTtgIpQYjkexaoT8hmZbwZNwXzglH6vzmRO nB4qh8UXFD6O7tECaGNb3xvl/u88pzlMazfAt695Ya7t7VpH4cs4HgLseXoLBdqdq6Z7 aVr+Z8+qme5wOykwv0vKx6N8bE9FAdJTJCEPBAkHbHiMwCavjRxDBctUwTg750iALuGi q8yA== X-Gm-Message-State: AMke39lk8Z37Icur/7MeQ7tBs0zaxQw+K2s0v6mPezSvo/3/lzIKjjVsgOdc8oNkiCL02HcH7lZaS46hSPvkvQ== X-Received: by 10.28.58.204 with SMTP id h195mr19305026wma.116.1486591367659; Wed, 08 Feb 2017 14:02:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.82.162 with HTTP; Wed, 8 Feb 2017 14:02:46 -0800 (PST) In-Reply-To: <108182.74391.qm@web101702.mail.ssk.yahoo.co.jp> References: <632017.92175.qm@web101706.mail.ssk.yahoo.co.jp> <805328.90571.qm@web101707.mail.ssk.yahoo.co.jp> <108182.74391.qm@web101702.mail.ssk.yahoo.co.jp> From: Adrian Chadd Date: Wed, 8 Feb 2017 14:02:46 -0800 Message-ID: Subject: Re: kld problem at Atheros AR9132 To: Mori Hiroki Cc: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 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, 08 Feb 2017 22:02:49 -0000 How are you building that again? I know my way of doing it always outputs elf kernels. -a On 7 February 2017 at 15:28, Mori Hiroki wrote: > Hi > > I still have this problem. I use workaround by old objcopy command. > It's unconvenient. > > "link_elf_lookup_symbol: missing symbol hash table" at boot log indicate > this problem. > > Copyright (c) 1992-2017 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 12.0-CURRENT #2 50b7905(rt_patch)-dirty: Tue Feb 7 22:10:26 JST 2017 > hiroki@microserver:/storage/home/hiroki/obj/storage/home/hiroki/zrouter/tmp/ > mips.mips/storage/home/hiroki/freebsd/sys/Buffalo_WZR-HP-G301NH mips > gcc version 4.2.1 20070831 patched [FreeBSD] > Preloaded elf kernel "kernel" at 0x804332a0. > link_elf_lookup_symbol: missing symbol hash table > link_elf_lookup_symbol: missing symbol hash table > real memory = 67108864 (65536K bytes) > > > ----- Original Message ----- >>From: Mori Hiroki >>To: "freebsd-mips@freebsd.org" >>Date: 2016/9/23, Fri 22:52 >>Subject: Re: kld problem at Atheros AR9132 >> >>Hi. >> >>Still I have this problem. Dose any one have this problem >>process to kernel use by objcopy for u-boot. >> >>I doubt this is big endian issue. >> >>My AR231x port have no problem. Because of redboot not need >>obycopy process. >> >>Regards. >> >>Hiroki Mori >> >>----- Original Message ----- >>>From: Mori Hiroki >>>To: "freebsd-mips@freebsd.org" >>>Date: 2016/4/25, Mon 17:41 >>>Subject: kld problem at Atheros AR9132 >>> >>>Hi >>> >>>I build Atheros AR9132 kernel by head source. I have problem that is >>>can't load kld module. RT3050 have no problem same source. I do >>>delete old object and full build but still have problem. >>> >>># kldload -v ufs >>>linker_load_file: trying to load /boot/kernel/ufs.ko >>> >>>linker_make_file: new file, filename='ufs.ko' for pathname='/boot/kernel/ufs.ko' >>>linker_file_add_dependency: adding kernel as dependency for ufs.ko >>>KLD ufs.ko: depends on kernel - not available or version mismatch >>> >>>linker_file_unload: lf->refs=1 >>>linker_file_unload: file is unloading, informing modules >>>linker_file_unload: lf->refs=2 >>>linker_load_file: trying to load /boot/kernel/ufs.ko >>>linker_load_file: Unsupported file type >>>kldload: an error occurred while loading the module. Please check dmesg(8) for m >>>ore details. >>> >>>If you have advice, please let me know. >>> >>>Thanks >>> >>>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" >>> >>> >>> >>_______________________________________________ >>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" >> >> >> > _______________________________________________ > 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" From owner-freebsd-mips@freebsd.org Fri Feb 10 02:10: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 6DB04CD8D6D for ; Fri, 10 Feb 2017 02:10:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 42DF612A9 for ; Fri, 10 Feb 2017 02:10:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v1A2AG8b043554 for ; Fri, 10 Feb 2017 02:10:16 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-mips@FreeBSD.org Subject: [Bug 216831] [PATCH] sys/mips/cavium/octeon_machdep.c: add cavium octeon 'bootoctlinux' boot argument support Date: Fri, 10 Feb 2017 02:10:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: northwoodlogic.free@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-mips@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Fri, 10 Feb 2017 02:10:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216831 Dave Rush changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179652|0 |1 is obsolete| | --- Comment #3 from Dave Rush --- Created attachment 179816 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D179816&action= =3Dedit reworked cavium octeon 'bootoctlinux' argument support patch The patch has been reworked to support single letter boot flags and factors= out the code that sets bits in the boothowto variable. Other machdep code that needs to set boothowto flags can pass the "-" argument it gets f= rom the boot loader into the new "boothowto_parse" function. These are a few examples on how I use this on my edgerouter lite. Boot normally from U-Boot: Octeon ubnt_e100# bootoctlinux ${loadaddr} coremask=3D0x3 Boot to single user mode: Octeon ubnt_e100# bootoctlinux ${loadaddr} coremask=3D0x3 -s Specify kernel environment variables: Octeon ubnt_e100# bootoctlinux ${loadaddr} coremask=3D0x3 vfs.root.mountfrom=3Dufs:/dev/da0s2a foo=3Dbar Combination of boot flags and kenv: Octeon ubnt_e100# bootoctlinux ${loadaddr} coremask=3D0x3 vfs.root.mountfrom=3Dufs:/dev/da0s2a -s --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-mips@freebsd.org Fri Feb 10 03:35: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 1DEC1CD9AA4 for ; Fri, 10 Feb 2017 03:35:32 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh604-vm8.bullet.mail.ssk.yahoo.co.jp (nh604-vm8.bullet.mail.ssk.yahoo.co.jp [182.22.90.65]) by mx1.freebsd.org (Postfix) with SMTP id 994871574 for ; Fri, 10 Feb 2017 03:35:30 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [182.22.66.104] by nh604.bullet.mail.ssk.yahoo.co.jp with NNFMP; 10 Feb 2017 03:35:20 -0000 Received: from [182.22.91.129] by t602.bullet.mail.ssk.yahoo.co.jp with NNFMP; 10 Feb 2017 03:35:20 -0000 Received: from [127.0.0.1] by omp602.mail.ssk.yahoo.co.jp with NNFMP; 10 Feb 2017 03:35:20 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 811564.22536.bm@omp602.mail.ssk.yahoo.co.jp Received: (qmail 74277 invoked by uid 60001); 10 Feb 2017 03:35:20 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1486697720; bh=8lU+wE+J5jNX0EnHeP44h3coq1FK1uNt+3+BSwVMZMM=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=PQbozTOFrzOIKiYdwZ4E/6Tad22t/6REodElCLI+D8CtWlrqxfE2qMrYbDwQWKGTIbpIG3vvTPFFkIT62qe0DeyGI4LNhFnk9t2xf0E+OkDPqSm63zgi1wvinqooS0q4FuLAyO6x6dlkPqkrf9h8QzKBD1r795zq6okudeCQCzU= 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:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=mt6ecPIWI4r6u83cWP2hMK2vYspXXv7FdYq7KMZRzw9c05HGfwhyxymnCprYfFbeeeOnRPl7qOw2X62uwKJH1h2fySmqh1WXzOHmfzXgoJznikVHj8ourw74aiIIY4kisWvXlYpk05Sh5HMowgn+rIEgT4Pw3TB4oSDI0L8NaAk=; Message-ID: <623774.68843.qm@web101719.mail.ssk.yahoo.co.jp> X-YMail-OSG: F3.2psEVM1leVFkOwK25JXUqBKCW1pmLY5y7ae5SLUTNG1buKAKcvjY2Cb73VlwkZ7YGwIuGvXLUFXIi6OeYHD6hOwMNoNdxM44scPqlaqDzjeYIkrobDYQPd7hBjtwabtKjj4yEaWxj_cAuLeelXOcQ72icT6HizRmfQBK1jhiUd.TzZwqtSL9y7fQX6NwKmVTPVBEfg6jf0rN8yQtigY2iZf2ryQxIl1wneeIEZpIGMTKOFhDHncPYJ2lh8gWxVQY5PKvgNmxTli9gf25lIiA2jqPbAzRV244XikZk_29HE9uIn2ado.SricNEiGSZdEd0cy4g84AGBDIih3oE7Jox7AXZ0SK6Kx8EHa38vYyPWFKiL76q9meTu6mk9uAjvNpRP0BGXkUNIh4.a5HCINm3ra0M0NqZ.rs9EJUO_UTeO6it4Lg1Ff8tZfsDolrVoWSJjPIHQz4HDCEUAqej08PYbInMw8gelc1YxFzfJMcsoXS0G9XMirDBwtjAv6XPvjp4EJ6TDFhF0m5y8XiYE5b.YSLx1mRxCKzrD1vrb2EB.fzxY8vqg5Zv53uqRxM20pFws2Y7yG8rOOKjpzExntIdWMW3Zpe.EHRIwzMHVYYbTPIhsRnzGDmFp9hIkA-- Received: from [110.134.195.30] by web101719.mail.ssk.yahoo.co.jp via HTTP; Fri, 10 Feb 2017 12:35:20 JST X-Mailer: YahooMailWebService/0.8.111_70 X-YMail-JAS: EU3Ir.UVM1k4TuWikcYldJpw2PWdC4xE6UHiQw06eppivtez4VAe6eskqlp3HJ3.UB4ihAD2r6WhkmaeWZzg_9K1d2xtvuCMMrVqw_yXx1djV8qDGGhhbUDFYj6sz7pi2J5w References: <632017.92175.qm@web101706.mail.ssk.yahoo.co.jp> <805328.90571.qm@web101707.mail.ssk.yahoo.co.jp> <108182.74391.qm@web101702.mail.ssk.yahoo.co.jp> Date: Fri, 10 Feb 2017 12:35:20 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: Re: kld problem at Atheros AR9132 To: Adrian Chadd Cc: "freebsd-mips@freebsd.org" In-Reply-To: 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.23 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Feb 2017 03:35:32 -0000 Hi.=0A=0AI use ZRouter build system. This tools build ELF kernel first by b= uildkernel.=0AThen ELF kernel convert to kbin by use objcopy command.=A0=0A= =0AELF -> kbin -> LZMA -> U-BOOT -> block pad=0A=0Amicroserver % file Buffa= lo_WZR-HP-G301NH_kernel*=0ABuffalo_WZR-HP-G301NH_kernel: =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ELF 32-bit MSB executable,=0A=A0MIPS, MIPS3= 2 version 1 (FreeBSD), dynamically linked, interpreter /red/herring,=0A=A0n= ot stripped=0ABuffalo_WZR-HP-G301NH_kernel.kbin:=A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 data=0ABuffalo_WZR-HP-G301NH_kernel.kbin.oldlzma:=A0 =A0 =A0 = =A0 =A0 =A0 LZMA compressed data, non-=0Astreamed, size 4127856=0ABuffalo_W= ZR-HP-G301NH_kernel.kbin.oldlzma.uboot:=A0 =A0 =A0 u-boot legacy uImage, Fr= ee=0ABSD Kernel Image, Linux/MIPS, OS Kernel Image (lzma), 1250861 bytes, W= ed Feb=A0 8=A0=0A02:46:30 2017, Load Address: 0x80001100, Entry Point: 0x80= 001100, Header CRC: 0x=0AB20327B9, Data CRC: 0x670E041D=0ABuffalo_WZR-HP-G3= 01NH_kernel.kbin.oldlzma.uboot.sync: u-boot legacy uImage, Free=0ABSD Kerne= l Image, Linux/MIPS, OS Kernel Image (lzma), 1250861 bytes, Wed Feb=A0 8=A0= =0A02:46:30 2017, Load Address: 0x80001100, Entry Point: 0x80001100, Header= CRC: 0x=0AB20327B9, Data CRC: 0x670E041D=0A=0AOld U-Boot can't boot ELF=A0= kernel dirctory.=0A=0AThis is good command.=0A=0Amicroserver % objcopy -V= =0AGNU objcopy 2.17.50 [FreeBSD] 2007-07-03=0ACopyright 2007 Free Software = Foundation, Inc.=0AThis program is free software; you may redistribute it u= nder the terms of=0Athe GNU General Public License.=A0=A0This program has a= bsolutely no warranty.=0A=0A=0A=0A----- Original Message -----=0A> From: Ad= rian Chadd =0A> To: Mori Hiroki =0A> Cc: "freebsd-mips@freebsd.org" =0A> Date= : 2017/2/9, Thu 07:02=0A> Subject: Re: kld problem at Atheros AR9132=0A> = =0A> How are you building that again? I know my way of doing it always=0A> = outputs elf kernels.=0A> =0A> =0A> -a=0A> =0A> =0A> On 7 February 2017 at 1= 5:28, Mori Hiroki wrote:=0A>>=A0=A0Hi=0A>> =0A>>=A0= =A0I still have this problem. I use workaround by old objcopy command.=0A>>= =A0=A0It's unconvenient.=0A>> =0A>>=A0=A0"link_elf_lookup_symbol: missing s= ymbol hash table" at boot log =0A> indicate=0A>>=A0=A0this problem.=0A>> = =0A>>=A0=A0Copyright (c) 1992-2017 The FreeBSD Project.=0A>>=A0=A0Copyright= (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994=0A>> =A0 = =A0 =A0 =A0=A0=A0The Regents of the University of California. All rights re= served.=0A>>=A0=A0FreeBSD is a registered trademark of The FreeBSD Foundati= on.=0A>>=A0=A0FreeBSD 12.0-CURRENT #2 50b7905(rt_patch)-dirty: Tue Feb=A0 7= 22:10:26 JST =0A> 2017=0A>> =A0 =A0 =0A> hiroki@microserver:/storage/home/= hiroki/obj/storage/home/hiroki/zrouter/tmp/=0A>>=A0=A0mips.mips/storage/hom= e/hiroki/freebsd/sys/Buffalo_WZR-HP-G301NH mips=0A>>=A0=A0gcc version 4.2.1= 20070831 patched [FreeBSD]=0A>>=A0=A0Preloaded elf kernel "kernel" at 0x80= 4332a0.=0A>>=A0=A0link_elf_lookup_symbol: missing symbol hash table=0A>>=A0= =A0link_elf_lookup_symbol: missing symbol hash table=0A>>=A0=A0real memory= =A0 =3D 67108864 (65536K bytes)=0A>> =0A>> =0A>>=A0=A0----- Original Messag= e -----=0A>>> From: Mori Hiroki =0A>>> To: "freebsd-= mips@freebsd.org" =0A> =0A>>> Date: 2016/9/23, Fr= i 22:52=0A>>> Subject: Re: kld problem at Atheros AR9132=0A>>> =0A>>> Hi.= =0A>>> =0A>>> Still I have this problem. Dose any one have this problem=0A>= >> process to kernel use by objcopy for u-boot.=0A>>> =0A>>> I doubt this i= s big endian issue.=0A>>> =0A>>> My AR231x port have no problem. Because of= redboot not need=0A>>> obycopy process.=0A>>> =0A>>> Regards.=0A>>> =0A>>>= Hiroki Mori=0A>>> =0A>>> ----- Original Message -----=0A>>>> From: Mori Hi= roki =0A>>>> To: "freebsd-mips@freebsd.org" =0A> =0A>>>> Date: 2016/4/25, Mon 17:41=0A>>>> Subject: k= ld problem at Atheros AR9132=0A>>>> =0A>>>> Hi=0A>>>> =0A>>>> I build Ather= os AR9132 kernel by head source. I have problem that is=0A>>>> can't load k= ld module. RT3050 have no problem same source. I do=0A>>>> delete old objec= t and full build but still have problem.=0A>>>> =0A>>>> # kldload -v ufs=0A= >>>> linker_load_file: trying to load /boot/kernel/ufs.ko=0A>>>> =0A>>>> li= nker_make_file: new file, filename=3D'ufs.ko' for =0A> pathname=3D'/boot/ke= rnel/ufs.ko'=0A>>>> linker_file_add_dependency: adding kernel as dependency= for ufs.ko=0A>>>> KLD ufs.ko: depends on kernel - not available or version= mismatch=0A>>>> =0A>>>> linker_file_unload: lf->refs=3D1=0A>>>> linker_fil= e_unload: file is unloading, informing modules=0A>>>> linker_file_unload: l= f->refs=3D2=0A>>>> linker_load_file: trying to load /boot/kernel/ufs.ko=0A>= >>> linker_load_file: Unsupported file type=0A>>>> kldload: an error occurr= ed while loading the module. Please check =0A> dmesg(8) for m=0A>>>> ore de= tails.=0A>>>> =0A>>>> If you have advice, please let me know.=0A>>>> =0A>>>= > Thanks=0A>>>> =0A>>>> Hiroki Mori=0A>>>> ________________________________= _______________=0A>>>> freebsd-mips@freebsd.org mailing list=0A>>>> https:/= /lists.freebsd.org/mailman/listinfo/freebsd-mips=0A>>>> To unsubscribe, sen= d any mail to =0A> "freebsd-mips-unsubscribe@freebsd.org"=0A>>>> =0A>>>> = =0A>>>> =0A>>> _______________________________________________=0A>>> freebs= d-mips@freebsd.org mailing list=0A>>> https://lists.freebsd.org/mailman/lis= tinfo/freebsd-mips=0A>>> To unsubscribe, send any mail to =0A> "freebsd-mip= s-unsubscribe@freebsd.org"=0A>>> =0A>>> =0A>>> =0A>>=A0=A0_________________= ______________________________=0A>>=A0=A0freebsd-mips@freebsd.org mailing l= ist=0A>>=A0=A0https://lists.freebsd.org/mailman/listinfo/freebsd-mips=0A>>= =A0=A0To unsubscribe, send any mail to =0A> "freebsd-mips-unsubscribe@freeb= sd.org"=0A> From owner-freebsd-mips@freebsd.org Sat Feb 11 20:51:56 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 8E9BCCDBE2F for ; Sat, 11 Feb 2017 20:51:56 +0000 (UTC) (envelope-from digit9@digit9.co.in) Received: from digit9.co.in (unknown [IPv6:2a01:4f8:201:82ac::2]) (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 6093F1FA1 for ; Sat, 11 Feb 2017 20:51:56 +0000 (UTC) (envelope-from digit9@digit9.co.in) Received: by digit9.co.in (Postfix, from userid 10000) id 4040C11892F5; Sun, 12 Feb 2017 02:21:39 +0530 (IST) To: freebsd-mips@freebsd.org Subject: Account Status: On hold X-PHP-Originating-Script: 10000:12.php From: AppleID Message-Id: <20170211205139.4040C11892F5@digit9.co.in> Date: Sun, 12 Feb 2017 02:21:39 +0530 (IST) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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: Sat, 11 Feb 2017 20:51:56 -0000