From tinderbox at freebsd.org Mon Oct 12 13:29:00 2009 From: tinderbox at freebsd.org (FreeBSD Tinderbox) Date: Mon Oct 12 13:29:17 2009 Subject: [head tinderbox] failure on mips/mips Message-ID: <200910121328.n9CDSxCG092752@freebsd-current.sentex.ca> TB --- 2009-10-12 12:49:04 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-10-12 12:49:04 - starting HEAD tinderbox run for mips/mips TB --- 2009-10-12 12:49:04 - cleaning the object tree TB --- 2009-10-12 12:49:14 - cvsupping the source tree TB --- 2009-10-12 12:49:14 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/mips/mips/supfile TB --- 2009-10-12 12:49:39 - building world TB --- 2009-10-12 12:49:39 - MAKEOBJDIRPREFIX=/obj TB --- 2009-10-12 12:49:39 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-10-12 12:49:39 - TARGET=mips TB --- 2009-10-12 12:49:39 - TARGET_ARCH=mips TB --- 2009-10-12 12:49:39 - TZ=UTC TB --- 2009-10-12 12:49:39 - __MAKE_CONF=/dev/null TB --- 2009-10-12 12:49:39 - cd /src TB --- 2009-10-12 12:49:39 - /usr/bin/make -B buildworld >>> World build started on Mon Oct 12 12:49:39 UTC 2009 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] /src/sbin/ifconfig/ifieee80211.c:2634: warning: passing argument 1 of 'memcmp' makes pointer from integer without a cast /src/sbin/ifconfig/ifieee80211.c:2636: warning: passing argument 1 of 'memcmp' makes pointer from integer without a cast /src/sbin/ifconfig/ifieee80211.c:2638: warning: passing argument 1 of 'memcmp' makes pointer from integer without a cast /src/sbin/ifconfig/ifieee80211.c:2639: warning: passing argument 1 of 'memcmp' makes pointer from integer without a cast /src/sbin/ifconfig/ifieee80211.c:2641: warning: passing argument 1 of 'memcmp' makes pointer from integer without a cast /src/sbin/ifconfig/ifieee80211.c:2642: warning: passing argument 1 of 'memcmp' makes pointer from integer without a cast /src/sbin/ifconfig/ifieee80211.c:2644: warning: passing argument 1 of 'memcmp' makes pointer from integer without a cast /src/sbin/ifconfig/ifieee80211.c:2645: warning: passing argument 1 of 'memcmp' makes pointer from integer without a cast *** Error code 1 Stop in /src/sbin/ifconfig. *** Error code 1 Stop in /src/sbin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-10-12 13:28:59 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-10-12 13:28:59 - ERROR: failed to build world TB --- 2009-10-12 13:28:59 - 1713.18 user 395.52 system 2395.04 real http://tinderbox.des.no/tinderbox-head-HEAD-mips-mips.full From tinderbox at freebsd.org Mon Oct 12 19:07:00 2009 From: tinderbox at freebsd.org (FreeBSD Tinderbox) Date: Mon Oct 12 19:07:17 2009 Subject: [head tinderbox] failure on mips/mips Message-ID: <200910121906.n9CJ6xjP097300@freebsd-current.sentex.ca> TB --- 2009-10-12 18:51:26 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-10-12 18:51:26 - starting HEAD tinderbox run for mips/mips TB --- 2009-10-12 18:51:26 - cleaning the object tree TB --- 2009-10-12 18:51:32 - cvsupping the source tree TB --- 2009-10-12 18:51:32 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/mips/mips/supfile TB --- 2009-10-12 18:51:57 - building world TB --- 2009-10-12 18:51:57 - MAKEOBJDIRPREFIX=/obj TB --- 2009-10-12 18:51:57 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-10-12 18:51:57 - TARGET=mips TB --- 2009-10-12 18:51:57 - TARGET_ARCH=mips TB --- 2009-10-12 18:51:57 - TZ=UTC TB --- 2009-10-12 18:51:57 - __MAKE_CONF=/dev/null TB --- 2009-10-12 18:51:57 - cd /src TB --- 2009-10-12 18:51:57 - /usr/bin/make -B buildworld >>> World build started on Mon Oct 12 18:51:58 UTC 2009 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries [...] cc -fpic -DPIC -O -pipe -EL -msoft-float -G0 -mno-dsp -mabicalls -I/src/kerberos5/lib/libgssapi_krb5/../../../crypto/heimdal/lib/gssapi -I/src/kerberos5/lib/libgssapi_krb5/../../../crypto/heimdal/lib/gssapi/krb5 -I/src/kerberos5/lib/libgssapi_krb5/../../../crypto/heimdal/lib/krb5 -I/src/kerberos5/lib/libgssapi_krb5/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/lib/libgssapi_krb5/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/src/kerberos5/lib/libgssapi_krb5/../../include -std=gnu99 -c /src/kerberos5/lib/libgssapi_krb5/../../../crypto/heimdal/lib/gssapi/krb5/wrap.c -o wrap.So cc -fpic -DPIC -O -pipe -EL -msoft-float -G0 -mno-dsp -mabicalls -I/src/kerberos5/lib/libgssapi_krb5/../../../crypto/heimdal/lib/gssapi -I/src/kerberos5/lib/libgssapi_krb5/../../../crypto/heimdal/lib/gssapi/krb5 -I/src/kerberos5/lib/libgssapi_krb5/../../../crypto/heimdal/lib/krb5 -I/src/kerberos5/lib/libgssapi_krb5/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/lib/libgssapi_krb5/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/src/kerberos5/lib/libgssapi_krb5/../../include -std=gnu99 -c /src/kerberos5/lib/libgssapi_krb5/gss_krb5.c -o gss_krb5.So /src/kerberos5/lib/libgssapi_krb5/gss_krb5.c: In function 'gsskrb5_extract_authz_data_from_sec_context': /src/kerberos5/lib/libgssapi_krb5/gss_krb5.c:591: warning: implicit declaration of function 'der_get_oid' /src/kerberos5/lib/libgssapi_krb5/gss_krb5.c:601: warning: implicit declaration of function 'der_free_oid' /src/kerberos5/lib/libgssapi_krb5/gss_krb5.c:614: warning: implicit declaration of function 'der_length_oid' /src/kerberos5/lib/libgssapi_krb5/gss_krb5.c:622: warning: implicit declaration of function 'der_put_oid' make: don't know how to make /obj/mips/src/tmp/usr/lib/libgssapi.a. Stop *** Error code 2 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-10-12 19:06:59 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-10-12 19:06:59 - ERROR: failed to build world TB --- 2009-10-12 19:06:59 - 664.40 user 150.72 system 932.48 real http://tinderbox.des.no/tinderbox-head-HEAD-mips-mips.full From tinderbox at freebsd.org Tue Oct 13 00:02:38 2009 From: tinderbox at freebsd.org (FreeBSD Tinderbox) Date: Tue Oct 13 00:02:56 2009 Subject: [head tinderbox] failure on mips/mips Message-ID: <200910130002.n9D02beC015527@freebsd-current.sentex.ca> TB --- 2009-10-12 23:46:57 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-10-12 23:46:57 - starting HEAD tinderbox run for mips/mips TB --- 2009-10-12 23:46:57 - cleaning the object tree TB --- 2009-10-12 23:47:00 - cvsupping the source tree TB --- 2009-10-12 23:47:00 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/mips/mips/supfile TB --- 2009-10-12 23:47:23 - building world TB --- 2009-10-12 23:47:23 - MAKEOBJDIRPREFIX=/obj TB --- 2009-10-12 23:47:23 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-10-12 23:47:23 - TARGET=mips TB --- 2009-10-12 23:47:23 - TARGET_ARCH=mips TB --- 2009-10-12 23:47:23 - TZ=UTC TB --- 2009-10-12 23:47:23 - __MAKE_CONF=/dev/null TB --- 2009-10-12 23:47:23 - cd /src TB --- 2009-10-12 23:47:23 - /usr/bin/make -B buildworld >>> World build started on Mon Oct 12 23:47:23 UTC 2009 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries [...] cc -fpic -DPIC -O -pipe -EL -msoft-float -G0 -mno-dsp -mabicalls -I/src/kerberos5/lib/libgssapi_krb5/../../../crypto/heimdal/lib/gssapi -I/src/kerberos5/lib/libgssapi_krb5/../../../crypto/heimdal/lib/gssapi/krb5 -I/src/kerberos5/lib/libgssapi_krb5/../../../crypto/heimdal/lib/krb5 -I/src/kerberos5/lib/libgssapi_krb5/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/lib/libgssapi_krb5/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/src/kerberos5/lib/libgssapi_krb5/../../include -std=gnu99 -c /src/kerberos5/lib/libgssapi_krb5/../../../crypto/heimdal/lib/gssapi/krb5/wrap.c -o wrap.So cc -fpic -DPIC -O -pipe -EL -msoft-float -G0 -mno-dsp -mabicalls -I/src/kerberos5/lib/libgssapi_krb5/../../../crypto/heimdal/lib/gssapi -I/src/kerberos5/lib/libgssapi_krb5/../../../crypto/heimdal/lib/gssapi/krb5 -I/src/kerberos5/lib/libgssapi_krb5/../../../crypto/heimdal/lib/krb5 -I/src/kerberos5/lib/libgssapi_krb5/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/lib/libgssapi_krb5/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/src/kerberos5/lib/libgssapi_krb5/../../include -std=gnu99 -c /src/kerberos5/lib/libgssapi_krb5/gss_krb5.c -o gss_krb5.So /src/kerberos5/lib/libgssapi_krb5/gss_krb5.c: In function 'gsskrb5_extract_authz_data_from_sec_context': /src/kerberos5/lib/libgssapi_krb5/gss_krb5.c:591: warning: implicit declaration of function 'der_get_oid' /src/kerberos5/lib/libgssapi_krb5/gss_krb5.c:601: warning: implicit declaration of function 'der_free_oid' /src/kerberos5/lib/libgssapi_krb5/gss_krb5.c:614: warning: implicit declaration of function 'der_length_oid' /src/kerberos5/lib/libgssapi_krb5/gss_krb5.c:622: warning: implicit declaration of function 'der_put_oid' make: don't know how to make /obj/mips/src/tmp/usr/lib/libgssapi.a. Stop *** Error code 2 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-10-13 00:02:37 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-10-13 00:02:37 - ERROR: failed to build world TB --- 2009-10-13 00:02:37 - 663.36 user 153.65 system 940.77 real http://tinderbox.des.no/tinderbox-head-HEAD-mips-mips.full From tinderbox at freebsd.org Tue Oct 13 04:27:21 2009 From: tinderbox at freebsd.org (FreeBSD Tinderbox) Date: Tue Oct 13 04:27:38 2009 Subject: [head tinderbox] failure on mips/mips Message-ID: <200910130427.n9D4RKUj037271@freebsd-current.sentex.ca> TB --- 2009-10-13 04:11:34 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-10-13 04:11:34 - starting HEAD tinderbox run for mips/mips TB --- 2009-10-13 04:11:34 - cleaning the object tree TB --- 2009-10-13 04:11:37 - cvsupping the source tree TB --- 2009-10-13 04:11:37 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/mips/mips/supfile TB --- 2009-10-13 04:12:04 - building world TB --- 2009-10-13 04:12:04 - MAKEOBJDIRPREFIX=/obj TB --- 2009-10-13 04:12:04 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-10-13 04:12:04 - TARGET=mips TB --- 2009-10-13 04:12:04 - TARGET_ARCH=mips TB --- 2009-10-13 04:12:04 - TZ=UTC TB --- 2009-10-13 04:12:04 - __MAKE_CONF=/dev/null TB --- 2009-10-13 04:12:04 - cd /src TB --- 2009-10-13 04:12:04 - /usr/bin/make -B buildworld >>> World build started on Tue Oct 13 04:12:05 UTC 2009 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries [...] cc -fpic -DPIC -O -pipe -EL -msoft-float -G0 -mno-dsp -mabicalls -I/src/kerberos5/lib/libgssapi_krb5/../../../crypto/heimdal/lib/gssapi -I/src/kerberos5/lib/libgssapi_krb5/../../../crypto/heimdal/lib/gssapi/krb5 -I/src/kerberos5/lib/libgssapi_krb5/../../../crypto/heimdal/lib/krb5 -I/src/kerberos5/lib/libgssapi_krb5/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/lib/libgssapi_krb5/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/src/kerberos5/lib/libgssapi_krb5/../../include -std=gnu99 -c /src/kerberos5/lib/libgssapi_krb5/../../../crypto/heimdal/lib/gssapi/krb5/wrap.c -o wrap.So cc -fpic -DPIC -O -pipe -EL -msoft-float -G0 -mno-dsp -mabicalls -I/src/kerberos5/lib/libgssapi_krb5/../../../crypto/heimdal/lib/gssapi -I/src/kerberos5/lib/libgssapi_krb5/../../../crypto/heimdal/lib/gssapi/krb5 -I/src/kerberos5/lib/libgssapi_krb5/../../../crypto/heimdal/lib/krb5 -I/src/kerberos5/lib/libgssapi_krb5/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/lib/libgssapi_krb5/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/src/kerberos5/lib/libgssapi_krb5/../../include -std=gnu99 -c /src/kerberos5/lib/libgssapi_krb5/gss_krb5.c -o gss_krb5.So /src/kerberos5/lib/libgssapi_krb5/gss_krb5.c: In function 'gsskrb5_extract_authz_data_from_sec_context': /src/kerberos5/lib/libgssapi_krb5/gss_krb5.c:591: warning: implicit declaration of function 'der_get_oid' /src/kerberos5/lib/libgssapi_krb5/gss_krb5.c:601: warning: implicit declaration of function 'der_free_oid' /src/kerberos5/lib/libgssapi_krb5/gss_krb5.c:614: warning: implicit declaration of function 'der_length_oid' /src/kerberos5/lib/libgssapi_krb5/gss_krb5.c:622: warning: implicit declaration of function 'der_put_oid' make: don't know how to make /obj/mips/src/tmp/usr/lib/libgssapi.a. Stop *** Error code 2 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-10-13 04:27:19 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-10-13 04:27:19 - ERROR: failed to build world TB --- 2009-10-13 04:27:19 - 664.61 user 152.35 system 945.26 real http://tinderbox.des.no/tinderbox-head-HEAD-mips-mips.full From asientrade at freenet.de Thu Oct 15 13:41:38 2009 From: asientrade at freenet.de (daniel) Date: Thu Oct 15 13:42:08 2009 Subject: Twitter-endlich Geldverdienen-kostenlos und sofort startklar Message-ID: <20091015154148C92806FB53$8F624DBEE5@DANIELPC> ?Offers stand below as an English available Hallo- ??????????????????????????????????????? verdiene endlich Geld durch Twitterwenn ein Twitter Account vorhanden sein sollte dann gehts sofort los mit Verdienen.sollte keine Account vorhanden sein dann einfach alles kostenlos erstellen und verdienen.?mit besten Empfehlungen eure Danielleichter kann man sein ?Geld nicht verdienen- alles kostenlos wenn sie einen Twitteraccount haben.Also schnell handel-bei weiterem Interesse und lust an gratis produkten einfach kurz anmelden-oder abmelden-- danke??Anmelden?????? ?Abmelden?24 Std. Blitzangebot?nur begrenzt f?r?24 Stunden aktiv danach ausverkauft--- http://www.affiliateverkaufen.de/blitzangebot.html???? 10,-?(The Logo Creator hilft beim Erstellen qualitativ hochwertiger Logos. Ganz nach dem Motto "Your Logo is your business" gestaltet der Nutzer mit diesem Programm Blickf?nger f?r Webseiten)?(?bersetzen Sie ganz einfach und mit wenigen Klicks Texte oder sogar komplette Webseiten in 31 Sprachen. )nur 28,-??oder Aktionspreis 30,-??? f?r Logocreator v5 und PDF-Converter 6.0 dt.?Oder m?chten sie lieber effektiv heute noch Geld verdienen und Zahlungen wenn m?glich sofort erwirtschaften-?? dann mit diesem angebot was f?r mich selbstbehauptet das beste ?berhaupt war und ist--Geld durch Emails verdienen-aber keine centbetr?ge sondern sofort 10-20,-? sofort-zahlung innerhalb weniger minuten, ich habe zur zeit zwischen 5 und 20 Kunden pro tag (weltweit) bei einem verdienst pro email von ca. 15,-? und ich betreibe keinerlei werbung oder verkaufe durchs telefon nein die Kunden kommen zu mir und ich verdiene sehr gut-aber lesen sie selbst wenn ihr interesse noch vorhanden ist weiter im Angebot 2.erfolgreiches Handeln w?nsche ich auf diesem Wege-bei weiteren Interessen k?nnen sie sichwiederholt eintragen um weitere Angebote und Gratis Geschenke zu erhalten........................(oder Abmelden).... Anmelden???? Abmelden ?Hello- finally earn money by Twitterthen immediately feels wrong with earning if a Twitter account should be available. no-one should account be available simply then everything free of charge make and earn. with best recommendations yours Danielone can more easily money not earning everything be ' free if they have a Twitteraccount. -therefore act fast simply registering or cancelling at broader interest and desire at free products briefly, thank youBookingCancelling24 hour lightning supply?sold off according to that actively for 24 hours only restrictedly - http://www.affiliateverkaufen.de/blitzangebot.html 10. ? (A The logo Creator helps to make high-quality logos. According to the motto "Your logo is your business" the user completely forms with this programme eye-catcher for web pages.) ? (Translate texts or even complete web pages for only simply and a few clicks into 31 languages.) only 28. ? or special-offer price 30. ? for Logocreator v5 and PDF-Converter of 6.0 dt. -or they would rather, today, still earn money effectively and immediately gain payments if possible? with this supply did but no cent amounts what was self claimed for me the best at all and is? I have 10-20,- ? immediately payment within less minutes, between 5 and 20 customers per day (worldwide) at an income per e-mail from approx. 15. ? at the moment by the telephone the customers no come to me and I earn very well and I operate no advertising or sell but read them even if their interest is still further existing in the supply 2. Angebot 2.I wish on this at broader interests be able to do them himself a successful action waystyping repeated ........................ in to receive further offers and free presents. (or cancel ) ..... Booking? Cancelling???? From alancyang at gmail.com Fri Oct 16 21:54:58 2009 From: alancyang at gmail.com (alan yang) Date: Fri Oct 16 21:55:04 2009 Subject: Cavium port In-Reply-To: <290865fd0910141545p770d3c27gbc24f7c01f8e7ed3@mail.gmail.com> References: <290865fd0910131105i6daa9a17y5f6fe2a4447d7233@mail.gmail.com> <20091013.164542.1251853681.imp@bsdimp.com> <290865fd0910132051l6a4a6280id401cab8ef5a1c0c@mail.gmail.com> <20091013.220451.1649859237.imp@bsdimp.com> <290865fd0910141545p770d3c27gbc24f7c01f8e7ed3@mail.gmail.com> Message-ID: <290865fd0910161428g45ab74a0x272c9b9674c9d5fd@mail.gmail.com> Hello, I checked out from svn repo the project/mips and try to build kernel for OCTEON, but ran into the following errors. Wonder any readme available describes procedures, appreciate people could shed some light. Thanks in advance. --- tsu# config OCTEON1 Kernel build directory is ../compile/OCTEON1 Don't forget to do ``make cleandepend && make depend'' Fujitsu# cd ../compile/OCTEON1/ Fujitsu# make cleandepend rm -f .depend machine cd ../../../modules; MAKEOBJDIRPREFIX=/usr/home/alan/genova/mips/sys/mips/compile/OCTEON1/modules KMODDIR=/boot/kernel MODULES_OVERRIDE="""" DEBUG_FLAGS="-g" MACHINE=mips MACHINE_ARCH=mips KERNBUILDDIR="/usr/home/alan/genova/mips/sys/mips/compile/OCTEON1" SYSDIR="/usr/home/alan/genova/mips/sys/mips/compile/OCTEON1/../../.." make cleandepend Fujitsu# make depend machine -> ../../../mips/include cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I../../.. -I../../../contrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf -I../../../dev/ath -I../../../dev/ath/ath_hal -I../../../contrib/ngatm -I../../../dev/twa -I../../../gnu/fs/xfs/FreeBSD -I../../../gnu/fs/xfs/FreeBSD/support -I../../../gnu/fs/xfs -I../../../contrib/opensolaris/compat -I../../../dev/cxgb -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -EB -fno-pic -mno-abicalls -G0 -EB -march=mips64 -mabi=64 -msoft-float -ffreestanding ../../../mips/mips/genassym.c cc: unrecognized option '-EB' cc: unrecognized option '-G0' cc: unrecognized option '-EB' cc1: error: unrecognized command line option "-mno-abicalls" cc1: error: unrecognized command line option "-mabi=64" ../../../mips/mips/genassym.c:1: error: bad value (mips64) for -march= switch ../../../mips/mips/genassym.c:1: error: bad value (mips64) for -mtune= switch *** Error code 1 On Wed, Oct 14, 2009 at 3:45 PM, alan yang wrote: > Thanks Warner for the link, i checkout the project mips from svn repo, > and wonder is there any readme like for procedures to build/run on > CN8560 base eval board as the target. > > Thanks for shedding the light... > > > On Tue, Oct 13, 2009 at 9:04 PM, M. Warner Losh wrote: >> In message: <290865fd0910132051l6a4a6280id401cab8ef5a1c0c@mail.gmail.com> >> ? ? ? ? ? ?alan yang writes: >> : Hi, Warner, >> : >> : Thanks for the info. ?I wonder this port could be transferred, to >> : allow me to participate and continue ..., i know this is quite naive >> : and don't know will this have issue. >> >> The current port is in the svn repo under projects/mips. >> >> Warner >> >> : On Tue, Oct 13, 2009 at 3:45 PM, M. Warner Losh wrote: >> : > In message: <290865fd0910131105i6daa9a17y5f6fe2a4447d7233@mail.gmail.com> >> : > ? ? ? ? ? ?alan yang writes: >> : > : last email thread is about 1 year ago, and i wonder if things changed >> : > : that would allow your code to be available and / or provide some >> : > : guidance on porting... >> : > >> : > Cavium released a port to me earlier this year. ?It is substantially >> : > similar to the port I started from that I referred to in this post. >> : > I've been making good progress, but the efforts have been stalled by >> : > my job search... >> : > >> : > Warner >> : > >> : > >> : > : many thanks!! >> : > : >> : > : On Thu, Oct 9, 2008 at 12:52 PM, M. Warner Losh wrote: >> : > : > In message: <86068e730810091235q3f41b5a3w4dbc38fb23164483@mail.gmail.com> >> : > : > ? ? ? ? ? ?"Jerry Toung" writes: >> : > : > : On Wed, Oct 8, 2008 at 7:54 PM, M. Warner Losh wrote: >> : > : > : >> : > : > : > >> : > : > : > >> : > : > : > >> : > : > : > The issues aren't technical, but the short version is that I've not >> : > : > : > received permission from the copyright owner to release the code. >> : > : > : > >> : > : > : > >> : > : > : > Hi Warner, >> : > : > : are you able to run the build on FreeBSD or is it cross-built ? >> : > : > >> : > : > Both, although the version I'm running now is cross-built. ?I'll be >> : > : > doing native builds soon enough... >> : > : > >> : > : > : what version of your FreeBSD is running on CN38xx ? >> : > : > >> : > : > FreeBSD -current as of Tuesday. ?Prior versions of -current have >> : > : > worked as well. >> : > : > >> : > : > Warner >> : > : > _______________________________________________ >> : > : > freebsd-mips@freebsd.org mailing list >> : > : > http://lists.freebsd.org/mailman/listinfo/freebsd-mips >> : > : > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" >> : > : > >> : > : >> : > : >> : > >> : >> : >> > From imp at bsdimp.com Fri Oct 16 22:30:20 2009 From: imp at bsdimp.com (M. Warner Losh) Date: Fri Oct 16 22:30:26 2009 Subject: Cavium port In-Reply-To: <290865fd0910161428g45ab74a0x272c9b9674c9d5fd@mail.gmail.com> References: <20091013.220451.1649859237.imp@bsdimp.com> <290865fd0910141545p770d3c27gbc24f7c01f8e7ed3@mail.gmail.com> <290865fd0910161428g45ab74a0x272c9b9674c9d5fd@mail.gmail.com> Message-ID: <20091016.162454.-10324602.imp@bsdimp.com> Looks like you are trying to use the old-school way of building the kernel (which is what I do all the time). Problem is that you need to have the right compilers in your path to do this. Here's what I do: setenv TARGET mips setenv TARGET_BIG_ENDIAN t make kernel-toolchain make buildkernel KERNCONF=OCTEON1 and then to do an incremental build: make buildkernel KERNFAST=OCTEON1 I should turn this into a readme file. Warner In message: <290865fd0910161428g45ab74a0x272c9b9674c9d5fd@mail.gmail.com> alan yang writes: : Hello, : : I checked out from svn repo the project/mips and try to build kernel : for OCTEON, but ran into the following errors. Wonder any readme : available describes procedures, appreciate people could shed some : light. : : Thanks in advance. : --- : : tsu# config OCTEON1 : Kernel build directory is ../compile/OCTEON1 : Don't forget to do ``make cleandepend && make depend'' : Fujitsu# cd ../compile/OCTEON1/ : Fujitsu# make cleandepend : rm -f .depend machine : cd ../../../modules; : MAKEOBJDIRPREFIX=/usr/home/alan/genova/mips/sys/mips/compile/OCTEON1/modules : KMODDIR=/boot/kernel MODULES_OVERRIDE="""" DEBUG_FLAGS="-g" : MACHINE=mips MACHINE_ARCH=mips : KERNBUILDDIR="/usr/home/alan/genova/mips/sys/mips/compile/OCTEON1" : SYSDIR="/usr/home/alan/genova/mips/sys/mips/compile/OCTEON1/../../.." : make cleandepend : Fujitsu# make depend : machine -> ../../../mips/include : cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs : -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline : -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc : -I. -I../../.. -I../../../contrib/altq -I../../../contrib/ipfilter : -I../../../contrib/pf -I../../../dev/ath -I../../../dev/ath/ath_hal : -I../../../contrib/ngatm -I../../../dev/twa : -I../../../gnu/fs/xfs/FreeBSD -I../../../gnu/fs/xfs/FreeBSD/support : -I../../../gnu/fs/xfs -I../../../contrib/opensolaris/compat : -I../../../dev/cxgb -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include : opt_global.h -finline-limit=8000 --param inline-unit-growth=100 : --param large-function-growth=1000 -EB -fno-pic -mno-abicalls -G0 -EB : -march=mips64 -mabi=64 -msoft-float -ffreestanding : ../../../mips/mips/genassym.c : cc: unrecognized option '-EB' : cc: unrecognized option '-G0' : cc: unrecognized option '-EB' : cc1: error: unrecognized command line option "-mno-abicalls" : cc1: error: unrecognized command line option "-mabi=64" : ../../../mips/mips/genassym.c:1: error: bad value (mips64) for -march= switch : ../../../mips/mips/genassym.c:1: error: bad value (mips64) for -mtune= switch : *** Error code 1 : : : : On Wed, Oct 14, 2009 at 3:45 PM, alan yang wrote: : > Thanks Warner for the link, i checkout the project mips from svn repo, : > and wonder is there any readme like for procedures to build/run on : > CN8560 base eval board as the target. : > : > Thanks for shedding the light... : > : > : > On Tue, Oct 13, 2009 at 9:04 PM, M. Warner Losh wrote: : >> In message: <290865fd0910132051l6a4a6280id401cab8ef5a1c0c@mail.gmail.com> : >> ? ? ? ? ? ?alan yang writes: : >> : Hi, Warner, : >> : : >> : Thanks for the info. ?I wonder this port could be transferred, to : >> : allow me to participate and continue ..., i know this is quite naive : >> : and don't know will this have issue. : >> : >> The current port is in the svn repo under projects/mips. : >> : >> Warner : >> : >> : On Tue, Oct 13, 2009 at 3:45 PM, M. Warner Losh wrote: : >> : > In message: <290865fd0910131105i6daa9a17y5f6fe2a4447d7233@mail.gmail.com> : >> : > ? ? ? ? ? ?alan yang writes: : >> : > : last email thread is about 1 year ago, and i wonder if things changed : >> : > : that would allow your code to be available and / or provide some : >> : > : guidance on porting... : >> : > : >> : > Cavium released a port to me earlier this year. ?It is substantially : >> : > similar to the port I started from that I referred to in this post. : >> : > I've been making good progress, but the efforts have been stalled by : >> : > my job search... : >> : > : >> : > Warner : >> : > : >> : > : >> : > : many thanks!! : >> : > : : >> : > : On Thu, Oct 9, 2008 at 12:52 PM, M. Warner Losh wrote: : >> : > : > In message: <86068e730810091235q3f41b5a3w4dbc38fb23164483@mail.gmail.com> : >> : > : > ? ? ? ? ? ?"Jerry Toung" writes: : >> : > : > : On Wed, Oct 8, 2008 at 7:54 PM, M. Warner Losh wrote: : >> : > : > : : >> : > : > : > : >> : > : > : > : >> : > : > : > : >> : > : > : > The issues aren't technical, but the short version is that I've not : >> : > : > : > received permission from the copyright owner to release the code. : >> : > : > : > : >> : > : > : > : >> : > : > : > Hi Warner, : >> : > : > : are you able to run the build on FreeBSD or is it cross-built ? : >> : > : > : >> : > : > Both, although the version I'm running now is cross-built. ?I'll be : >> : > : > doing native builds soon enough... : >> : > : > : >> : > : > : what version of your FreeBSD is running on CN38xx ? : >> : > : > : >> : > : > FreeBSD -current as of Tuesday. ?Prior versions of -current have : >> : > : > worked as well. : >> : > : > : >> : > : > Warner : >> : > : > _______________________________________________ : >> : > : > freebsd-mips@freebsd.org mailing list : >> : > : > http://lists.freebsd.org/mailman/listinfo/freebsd-mips : >> : > : > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" : >> : > : > : >> : > : : >> : > : : >> : > : >> : : >> : : >> : > : _______________________________________________ : freebsd-mips@freebsd.org mailing list : http://lists.freebsd.org/mailman/listinfo/freebsd-mips : To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" : : From alancyang at gmail.com Sat Oct 17 01:01:49 2009 From: alancyang at gmail.com (alan yang) Date: Sat Oct 17 01:01:56 2009 Subject: Cavium port In-Reply-To: <20091016.162454.-10324602.imp@bsdimp.com> References: <20091013.220451.1649859237.imp@bsdimp.com> <290865fd0910141545p770d3c27gbc24f7c01f8e7ed3@mail.gmail.com> <290865fd0910161428g45ab74a0x272c9b9674c9d5fd@mail.gmail.com> <20091016.162454.-10324602.imp@bsdimp.com> Message-ID: <290865fd0910161801x35bbdcd2hd77626d4dfe2465a@mail.gmail.com> thanks Warner! got that. the buildkernel failed on some files due to warning of cast pointer and -Werror flag. wonder how to remove -Werror, should regen toolchain / Makefile... ? thanks again!! On Fri, Oct 16, 2009 at 3:24 PM, M. Warner Losh wrote: > Looks like you are trying to use the old-school way of building the > kernel (which is what I do all the time). ?Problem is that you need to > have the right compilers in your path to do this. > > Here's what I do: > > setenv TARGET mips > setenv TARGET_BIG_ENDIAN t > make kernel-toolchain > make buildkernel KERNCONF=OCTEON1 > > and then to do an incremental build: > > make buildkernel KERNFAST=OCTEON1 > > I should turn this into a readme file. > > Warner > > > > In message: <290865fd0910161428g45ab74a0x272c9b9674c9d5fd@mail.gmail.com> > ? ? ? ? ? ?alan yang writes: > : Hello, > : > : I checked out from svn repo the project/mips and try to build kernel > : for OCTEON, but ran into the following errors. ?Wonder any readme > : available describes procedures, appreciate people could shed some > : light. > : > : Thanks in advance. > : --- > : > : tsu# config OCTEON1 > : Kernel build directory is ../compile/OCTEON1 > : Don't forget to do ``make cleandepend && make depend'' > : Fujitsu# cd ../compile/OCTEON1/ > : Fujitsu# make cleandepend > : rm -f .depend machine > : cd ../../../modules; > : MAKEOBJDIRPREFIX=/usr/home/alan/genova/mips/sys/mips/compile/OCTEON1/modules > : KMODDIR=/boot/kernel MODULES_OVERRIDE="""" DEBUG_FLAGS="-g" > : MACHINE=mips MACHINE_ARCH=mips > : KERNBUILDDIR="/usr/home/alan/genova/mips/sys/mips/compile/OCTEON1" > : SYSDIR="/usr/home/alan/genova/mips/sys/mips/compile/OCTEON1/../../.." > : make ?cleandepend > : Fujitsu# make depend > : machine -> ../../../mips/include > : cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs > : -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > : -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc > : -I. -I../../.. -I../../../contrib/altq -I../../../contrib/ipfilter > : -I../../../contrib/pf -I../../../dev/ath -I../../../dev/ath/ath_hal > : -I../../../contrib/ngatm -I../../../dev/twa > : -I../../../gnu/fs/xfs/FreeBSD -I../../../gnu/fs/xfs/FreeBSD/support > : -I../../../gnu/fs/xfs -I../../../contrib/opensolaris/compat > : -I../../../dev/cxgb -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include > : opt_global.h -finline-limit=8000 --param inline-unit-growth=100 > : --param large-function-growth=1000 -EB -fno-pic -mno-abicalls -G0 -EB > : -march=mips64 -mabi=64 -msoft-float -ffreestanding > : ../../../mips/mips/genassym.c > : cc: unrecognized option '-EB' > : cc: unrecognized option '-G0' > : cc: unrecognized option '-EB' > : cc1: error: unrecognized command line option "-mno-abicalls" > : cc1: error: unrecognized command line option "-mabi=64" > : ../../../mips/mips/genassym.c:1: error: bad value (mips64) for -march= switch > : ../../../mips/mips/genassym.c:1: error: bad value (mips64) for -mtune= switch > : *** Error code 1 > : > : > : > : On Wed, Oct 14, 2009 at 3:45 PM, alan yang wrote: > : > Thanks Warner for the link, i checkout the project mips from svn repo, > : > and wonder is there any readme like for procedures to build/run on > : > CN8560 base eval board as the target. > : > > : > Thanks for shedding the light... > : > > : > > : > On Tue, Oct 13, 2009 at 9:04 PM, M. Warner Losh wrote: > : >> In message: <290865fd0910132051l6a4a6280id401cab8ef5a1c0c@mail.gmail.com> > : >> ? ? ? ? ? ?alan yang writes: > : >> : Hi, Warner, > : >> : > : >> : Thanks for the info. ?I wonder this port could be transferred, to > : >> : allow me to participate and continue ..., i know this is quite naive > : >> : and don't know will this have issue. > : >> > : >> The current port is in the svn repo under projects/mips. > : >> > : >> Warner > : >> > : >> : On Tue, Oct 13, 2009 at 3:45 PM, M. Warner Losh wrote: > : >> : > In message: <290865fd0910131105i6daa9a17y5f6fe2a4447d7233@mail.gmail.com> > : >> : > ? ? ? ? ? ?alan yang writes: > : >> : > : last email thread is about 1 year ago, and i wonder if things changed > : >> : > : that would allow your code to be available and / or provide some > : >> : > : guidance on porting... > : >> : > > : >> : > Cavium released a port to me earlier this year. ?It is substantially > : >> : > similar to the port I started from that I referred to in this post. > : >> : > I've been making good progress, but the efforts have been stalled by > : >> : > my job search... > : >> : > > : >> : > Warner > : >> : > > : >> : > > : >> : > : many thanks!! > : >> : > : > : >> : > : On Thu, Oct 9, 2008 at 12:52 PM, M. Warner Losh wrote: > : >> : > : > In message: <86068e730810091235q3f41b5a3w4dbc38fb23164483@mail.gmail.com> > : >> : > : > ? ? ? ? ? ?"Jerry Toung" writes: > : >> : > : > : On Wed, Oct 8, 2008 at 7:54 PM, M. Warner Losh wrote: > : >> : > : > : > : >> : > : > : > > : >> : > : > : > > : >> : > : > : > > : >> : > : > : > The issues aren't technical, but the short version is that I've not > : >> : > : > : > received permission from the copyright owner to release the code. > : >> : > : > : > > : >> : > : > : > > : >> : > : > : > Hi Warner, > : >> : > : > : are you able to run the build on FreeBSD or is it cross-built ? > : >> : > : > > : >> : > : > Both, although the version I'm running now is cross-built. ?I'll be > : >> : > : > doing native builds soon enough... > : >> : > : > > : >> : > : > : what version of your FreeBSD is running on CN38xx ? > : >> : > : > > : >> : > : > FreeBSD -current as of Tuesday. ?Prior versions of -current have > : >> : > : > worked as well. > : >> : > : > > : >> : > : > Warner > : >> : > : > _______________________________________________ > : >> : > : > freebsd-mips@freebsd.org mailing list > : >> : > : > http://lists.freebsd.org/mailman/listinfo/freebsd-mips > : >> : > : > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" > : >> : > : > > : >> : > : > : >> : > : > : >> : > > : >> : > : >> : > : >> > : > > : _______________________________________________ > : freebsd-mips@freebsd.org mailing list > : http://lists.freebsd.org/mailman/listinfo/freebsd-mips > : To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" > : > : > From alancyang at gmail.com Sat Oct 17 01:56:22 2009 From: alancyang at gmail.com (alan yang) Date: Sat Oct 17 01:56:28 2009 Subject: Cavium port In-Reply-To: <290865fd0910161801x35bbdcd2hd77626d4dfe2465a@mail.gmail.com> References: <20091013.220451.1649859237.imp@bsdimp.com> <290865fd0910141545p770d3c27gbc24f7c01f8e7ed3@mail.gmail.com> <290865fd0910161428g45ab74a0x272c9b9674c9d5fd@mail.gmail.com> <20091016.162454.-10324602.imp@bsdimp.com> <290865fd0910161801x35bbdcd2hd77626d4dfe2465a@mail.gmail.com> Message-ID: <290865fd0910161856l3d988d0bqf4c600bd76b37037@mail.gmail.com> seems to find the place: kern.pre.mk file to comment out WERROR as a work around and redo buildkernel. On Fri, Oct 16, 2009 at 6:01 PM, alan yang wrote: > thanks Warner! ?got that. > > the buildkernel failed on some files due to warning of cast pointer > and -Werror flag. ?wonder how to remove -Werror, should regen > toolchain / Makefile... ? > > thanks again!! > > On Fri, Oct 16, 2009 at 3:24 PM, M. Warner Losh wrote: >> Looks like you are trying to use the old-school way of building the >> kernel (which is what I do all the time). ?Problem is that you need to >> have the right compilers in your path to do this. >> >> Here's what I do: >> >> setenv TARGET mips >> setenv TARGET_BIG_ENDIAN t >> make kernel-toolchain >> make buildkernel KERNCONF=OCTEON1 >> >> and then to do an incremental build: >> >> make buildkernel KERNFAST=OCTEON1 >> >> I should turn this into a readme file. >> >> Warner >> >> >> >> In message: <290865fd0910161428g45ab74a0x272c9b9674c9d5fd@mail.gmail.com> >> ? ? ? ? ? ?alan yang writes: >> : Hello, >> : >> : I checked out from svn repo the project/mips and try to build kernel >> : for OCTEON, but ran into the following errors. ?Wonder any readme >> : available describes procedures, appreciate people could shed some >> : light. >> : >> : Thanks in advance. >> : --- >> : >> : tsu# config OCTEON1 >> : Kernel build directory is ../compile/OCTEON1 >> : Don't forget to do ``make cleandepend && make depend'' >> : Fujitsu# cd ../compile/OCTEON1/ >> : Fujitsu# make cleandepend >> : rm -f .depend machine >> : cd ../../../modules; >> : MAKEOBJDIRPREFIX=/usr/home/alan/genova/mips/sys/mips/compile/OCTEON1/modules >> : KMODDIR=/boot/kernel MODULES_OVERRIDE="""" DEBUG_FLAGS="-g" >> : MACHINE=mips MACHINE_ARCH=mips >> : KERNBUILDDIR="/usr/home/alan/genova/mips/sys/mips/compile/OCTEON1" >> : SYSDIR="/usr/home/alan/genova/mips/sys/mips/compile/OCTEON1/../../.." >> : make ?cleandepend >> : Fujitsu# make depend >> : machine -> ../../../mips/include >> : cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs >> : -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline >> : -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc >> : -I. -I../../.. -I../../../contrib/altq -I../../../contrib/ipfilter >> : -I../../../contrib/pf -I../../../dev/ath -I../../../dev/ath/ath_hal >> : -I../../../contrib/ngatm -I../../../dev/twa >> : -I../../../gnu/fs/xfs/FreeBSD -I../../../gnu/fs/xfs/FreeBSD/support >> : -I../../../gnu/fs/xfs -I../../../contrib/opensolaris/compat >> : -I../../../dev/cxgb -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include >> : opt_global.h -finline-limit=8000 --param inline-unit-growth=100 >> : --param large-function-growth=1000 -EB -fno-pic -mno-abicalls -G0 -EB >> : -march=mips64 -mabi=64 -msoft-float -ffreestanding >> : ../../../mips/mips/genassym.c >> : cc: unrecognized option '-EB' >> : cc: unrecognized option '-G0' >> : cc: unrecognized option '-EB' >> : cc1: error: unrecognized command line option "-mno-abicalls" >> : cc1: error: unrecognized command line option "-mabi=64" >> : ../../../mips/mips/genassym.c:1: error: bad value (mips64) for -march= switch >> : ../../../mips/mips/genassym.c:1: error: bad value (mips64) for -mtune= switch >> : *** Error code 1 >> : >> : >> : >> : On Wed, Oct 14, 2009 at 3:45 PM, alan yang wrote: >> : > Thanks Warner for the link, i checkout the project mips from svn repo, >> : > and wonder is there any readme like for procedures to build/run on >> : > CN8560 base eval board as the target. >> : > >> : > Thanks for shedding the light... >> : > >> : > >> : > On Tue, Oct 13, 2009 at 9:04 PM, M. Warner Losh wrote: >> : >> In message: <290865fd0910132051l6a4a6280id401cab8ef5a1c0c@mail.gmail.com> >> : >> ? ? ? ? ? ?alan yang writes: >> : >> : Hi, Warner, >> : >> : >> : >> : Thanks for the info. ?I wonder this port could be transferred, to >> : >> : allow me to participate and continue ..., i know this is quite naive >> : >> : and don't know will this have issue. >> : >> >> : >> The current port is in the svn repo under projects/mips. >> : >> >> : >> Warner >> : >> >> : >> : On Tue, Oct 13, 2009 at 3:45 PM, M. Warner Losh wrote: >> : >> : > In message: <290865fd0910131105i6daa9a17y5f6fe2a4447d7233@mail.gmail.com> >> : >> : > ? ? ? ? ? ?alan yang writes: >> : >> : > : last email thread is about 1 year ago, and i wonder if things changed >> : >> : > : that would allow your code to be available and / or provide some >> : >> : > : guidance on porting... >> : >> : > >> : >> : > Cavium released a port to me earlier this year. ?It is substantially >> : >> : > similar to the port I started from that I referred to in this post. >> : >> : > I've been making good progress, but the efforts have been stalled by >> : >> : > my job search... >> : >> : > >> : >> : > Warner >> : >> : > >> : >> : > >> : >> : > : many thanks!! >> : >> : > : >> : >> : > : On Thu, Oct 9, 2008 at 12:52 PM, M. Warner Losh wrote: >> : >> : > : > In message: <86068e730810091235q3f41b5a3w4dbc38fb23164483@mail.gmail.com> >> : >> : > : > ? ? ? ? ? ?"Jerry Toung" writes: >> : >> : > : > : On Wed, Oct 8, 2008 at 7:54 PM, M. Warner Losh wrote: >> : >> : > : > : >> : >> : > : > : > >> : >> : > : > : > >> : >> : > : > : > >> : >> : > : > : > The issues aren't technical, but the short version is that I've not >> : >> : > : > : > received permission from the copyright owner to release the code. >> : >> : > : > : > >> : >> : > : > : > >> : >> : > : > : > Hi Warner, >> : >> : > : > : are you able to run the build on FreeBSD or is it cross-built ? >> : >> : > : > >> : >> : > : > Both, although the version I'm running now is cross-built. ?I'll be >> : >> : > : > doing native builds soon enough... >> : >> : > : > >> : >> : > : > : what version of your FreeBSD is running on CN38xx ? >> : >> : > : > >> : >> : > : > FreeBSD -current as of Tuesday. ?Prior versions of -current have >> : >> : > : > worked as well. >> : >> : > : > >> : >> : > : > Warner >> : >> : > : > _______________________________________________ >> : >> : > : > freebsd-mips@freebsd.org mailing list >> : >> : > : > http://lists.freebsd.org/mailman/listinfo/freebsd-mips >> : >> : > : > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" >> : >> : > : > >> : >> : > : >> : >> : > : >> : >> : > >> : >> : >> : >> : >> : >> >> : > >> : _______________________________________________ >> : freebsd-mips@freebsd.org mailing list >> : http://lists.freebsd.org/mailman/listinfo/freebsd-mips >> : To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" >> : >> : >> > From alancyang at gmail.com Sat Oct 17 02:02:02 2009 From: alancyang at gmail.com (alan yang) Date: Sat Oct 17 02:02:09 2009 Subject: Cavium port In-Reply-To: <290865fd0910161856l3d988d0bqf4c600bd76b37037@mail.gmail.com> References: <20091013.220451.1649859237.imp@bsdimp.com> <290865fd0910141545p770d3c27gbc24f7c01f8e7ed3@mail.gmail.com> <290865fd0910161428g45ab74a0x272c9b9674c9d5fd@mail.gmail.com> <20091016.162454.-10324602.imp@bsdimp.com> <290865fd0910161801x35bbdcd2hd77626d4dfe2465a@mail.gmail.com> <290865fd0910161856l3d988d0bqf4c600bd76b37037@mail.gmail.com> Message-ID: <290865fd0910161902y626f8375m5d46881f4883c1ec@mail.gmail.com> but ran into another failure, wonder there is a quick work around: --- -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/home/alan/genova/mips/sys -I/usr/home/alan/genova/mips/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -EB -fno-pic -mno-abicalls -G0 -EB -march=mips64 -mabi=64 -msoft-float -ffreestanding /usr/home/alan/genova/mips/sys/mips/mips/trap.c /usr/home/alan/genova/mips/sys/mips/mips/trap.c:1063: error: conflicting types for 'MipsEmulateBranch' ./machine/md_var.h:51: error: previous declaration of 'MipsEmulateBranch' was here *** Error code 1 On Fri, Oct 16, 2009 at 6:56 PM, alan yang wrote: > seems to find the place: ?kern.pre.mk file to comment out WERROR as a > work around and redo buildkernel. > > On Fri, Oct 16, 2009 at 6:01 PM, alan yang wrote: >> thanks Warner! ?got that. >> >> the buildkernel failed on some files due to warning of cast pointer >> and -Werror flag. ?wonder how to remove -Werror, should regen >> toolchain / Makefile... ? >> >> thanks again!! >> >> On Fri, Oct 16, 2009 at 3:24 PM, M. Warner Losh wrote: >>> Looks like you are trying to use the old-school way of building the >>> kernel (which is what I do all the time). ?Problem is that you need to >>> have the right compilers in your path to do this. >>> >>> Here's what I do: >>> >>> setenv TARGET mips >>> setenv TARGET_BIG_ENDIAN t >>> make kernel-toolchain >>> make buildkernel KERNCONF=OCTEON1 >>> >>> and then to do an incremental build: >>> >>> make buildkernel KERNFAST=OCTEON1 >>> >>> I should turn this into a readme file. >>> >>> Warner >>> >>> >>> >>> In message: <290865fd0910161428g45ab74a0x272c9b9674c9d5fd@mail.gmail.com> >>> ? ? ? ? ? ?alan yang writes: >>> : Hello, >>> : >>> : I checked out from svn repo the project/mips and try to build kernel >>> : for OCTEON, but ran into the following errors. ?Wonder any readme >>> : available describes procedures, appreciate people could shed some >>> : light. >>> : >>> : Thanks in advance. >>> : --- >>> : >>> : tsu# config OCTEON1 >>> : Kernel build directory is ../compile/OCTEON1 >>> : Don't forget to do ``make cleandepend && make depend'' >>> : Fujitsu# cd ../compile/OCTEON1/ >>> : Fujitsu# make cleandepend >>> : rm -f .depend machine >>> : cd ../../../modules; >>> : MAKEOBJDIRPREFIX=/usr/home/alan/genova/mips/sys/mips/compile/OCTEON1/modules >>> : KMODDIR=/boot/kernel MODULES_OVERRIDE="""" DEBUG_FLAGS="-g" >>> : MACHINE=mips MACHINE_ARCH=mips >>> : KERNBUILDDIR="/usr/home/alan/genova/mips/sys/mips/compile/OCTEON1" >>> : SYSDIR="/usr/home/alan/genova/mips/sys/mips/compile/OCTEON1/../../.." >>> : make ?cleandepend >>> : Fujitsu# make depend >>> : machine -> ../../../mips/include >>> : cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs >>> : -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline >>> : -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc >>> : -I. -I../../.. -I../../../contrib/altq -I../../../contrib/ipfilter >>> : -I../../../contrib/pf -I../../../dev/ath -I../../../dev/ath/ath_hal >>> : -I../../../contrib/ngatm -I../../../dev/twa >>> : -I../../../gnu/fs/xfs/FreeBSD -I../../../gnu/fs/xfs/FreeBSD/support >>> : -I../../../gnu/fs/xfs -I../../../contrib/opensolaris/compat >>> : -I../../../dev/cxgb -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include >>> : opt_global.h -finline-limit=8000 --param inline-unit-growth=100 >>> : --param large-function-growth=1000 -EB -fno-pic -mno-abicalls -G0 -EB >>> : -march=mips64 -mabi=64 -msoft-float -ffreestanding >>> : ../../../mips/mips/genassym.c >>> : cc: unrecognized option '-EB' >>> : cc: unrecognized option '-G0' >>> : cc: unrecognized option '-EB' >>> : cc1: error: unrecognized command line option "-mno-abicalls" >>> : cc1: error: unrecognized command line option "-mabi=64" >>> : ../../../mips/mips/genassym.c:1: error: bad value (mips64) for -march= switch >>> : ../../../mips/mips/genassym.c:1: error: bad value (mips64) for -mtune= switch >>> : *** Error code 1 >>> : >>> : >>> : >>> : On Wed, Oct 14, 2009 at 3:45 PM, alan yang wrote: >>> : > Thanks Warner for the link, i checkout the project mips from svn repo, >>> : > and wonder is there any readme like for procedures to build/run on >>> : > CN8560 base eval board as the target. >>> : > >>> : > Thanks for shedding the light... >>> : > >>> : > >>> : > On Tue, Oct 13, 2009 at 9:04 PM, M. Warner Losh wrote: >>> : >> In message: <290865fd0910132051l6a4a6280id401cab8ef5a1c0c@mail.gmail.com> >>> : >> ? ? ? ? ? ?alan yang writes: >>> : >> : Hi, Warner, >>> : >> : >>> : >> : Thanks for the info. ?I wonder this port could be transferred, to >>> : >> : allow me to participate and continue ..., i know this is quite naive >>> : >> : and don't know will this have issue. >>> : >> >>> : >> The current port is in the svn repo under projects/mips. >>> : >> >>> : >> Warner >>> : >> >>> : >> : On Tue, Oct 13, 2009 at 3:45 PM, M. Warner Losh wrote: >>> : >> : > In message: <290865fd0910131105i6daa9a17y5f6fe2a4447d7233@mail.gmail.com> >>> : >> : > ? ? ? ? ? ?alan yang writes: >>> : >> : > : last email thread is about 1 year ago, and i wonder if things changed >>> : >> : > : that would allow your code to be available and / or provide some >>> : >> : > : guidance on porting... >>> : >> : > >>> : >> : > Cavium released a port to me earlier this year. ?It is substantially >>> : >> : > similar to the port I started from that I referred to in this post. >>> : >> : > I've been making good progress, but the efforts have been stalled by >>> : >> : > my job search... >>> : >> : > >>> : >> : > Warner >>> : >> : > >>> : >> : > >>> : >> : > : many thanks!! >>> : >> : > : >>> : >> : > : On Thu, Oct 9, 2008 at 12:52 PM, M. Warner Losh wrote: >>> : >> : > : > In message: <86068e730810091235q3f41b5a3w4dbc38fb23164483@mail.gmail.com> >>> : >> : > : > ? ? ? ? ? ?"Jerry Toung" writes: >>> : >> : > : > : On Wed, Oct 8, 2008 at 7:54 PM, M. Warner Losh wrote: >>> : >> : > : > : >>> : >> : > : > : > >>> : >> : > : > : > >>> : >> : > : > : > >>> : >> : > : > : > The issues aren't technical, but the short version is that I've not >>> : >> : > : > : > received permission from the copyright owner to release the code. >>> : >> : > : > : > >>> : >> : > : > : > >>> : >> : > : > : > Hi Warner, >>> : >> : > : > : are you able to run the build on FreeBSD or is it cross-built ? >>> : >> : > : > >>> : >> : > : > Both, although the version I'm running now is cross-built. ?I'll be >>> : >> : > : > doing native builds soon enough... >>> : >> : > : > >>> : >> : > : > : what version of your FreeBSD is running on CN38xx ? >>> : >> : > : > >>> : >> : > : > FreeBSD -current as of Tuesday. ?Prior versions of -current have >>> : >> : > : > worked as well. >>> : >> : > : > >>> : >> : > : > Warner >>> : >> : > : > _______________________________________________ >>> : >> : > : > freebsd-mips@freebsd.org mailing list >>> : >> : > : > http://lists.freebsd.org/mailman/listinfo/freebsd-mips >>> : >> : > : > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" >>> : >> : > : > >>> : >> : > : >>> : >> : > : >>> : >> : > >>> : >> : >>> : >> : >>> : >> >>> : > >>> : _______________________________________________ >>> : freebsd-mips@freebsd.org mailing list >>> : http://lists.freebsd.org/mailman/listinfo/freebsd-mips >>> : To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" >>> : >>> : >>> >> > From imp at bsdimp.com Sun Oct 18 15:30:06 2009 From: imp at bsdimp.com (M. Warner Losh) Date: Sun Oct 18 15:34:26 2009 Subject: Cavium port In-Reply-To: <290865fd0910161902y626f8375m5d46881f4883c1ec@mail.gmail.com> References: <290865fd0910161801x35bbdcd2hd77626d4dfe2465a@mail.gmail.com> <290865fd0910161856l3d988d0bqf4c600bd76b37037@mail.gmail.com> <290865fd0910161902y626f8375m5d46881f4883c1ec@mail.gmail.com> Message-ID: <20091018.092442.329271515.imp@bsdimp.com> In message: <290865fd0910161902y626f8375m5d46881f4883c1ec@mail.gmail.com> alan yang writes: : but ran into another failure, wonder there is a quick work around: : --- : -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs : -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline : -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc : -I. -I/usr/home/alan/genova/mips/sys : -I/usr/home/alan/genova/mips/sys/contrib/altq -D_KERNEL : -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common : -finline-limit=8000 --param inline-unit-growth=100 --param : large-function-growth=1000 -EB -fno-pic -mno-abicalls -G0 -EB : -march=mips64 -mabi=64 -msoft-float -ffreestanding : /usr/home/alan/genova/mips/sys/mips/mips/trap.c : /usr/home/alan/genova/mips/sys/mips/mips/trap.c:1063: error: : conflicting types for 'MipsEmulateBranch' : ./machine/md_var.h:51: error: previous declaration of : 'MipsEmulateBranch' was here : *** Error code 1 Hmmm... Looks like there were some changes that were stomped on by the latest MFC. We'll have to investigate why that was... In the mean time, I've restored them and fixed a few new issues and committed the results. You can at least build OCTEON1 now. I've not tried to run it, and I'd expect that it will die somewhere in the context switch for the first task, if not sooner.... Warner : On Fri, Oct 16, 2009 at 6:56 PM, alan yang wrote: : > seems to find the place: ?kern.pre.mk file to comment out WERROR as a : > work around and redo buildkernel. : > : > On Fri, Oct 16, 2009 at 6:01 PM, alan yang wrote: : >> thanks Warner! ?got that. : >> : >> the buildkernel failed on some files due to warning of cast pointer : >> and -Werror flag. ?wonder how to remove -Werror, should regen : >> toolchain / Makefile... ? : >> : >> thanks again!! : >> : >> On Fri, Oct 16, 2009 at 3:24 PM, M. Warner Losh wrote: : >>> Looks like you are trying to use the old-school way of building the : >>> kernel (which is what I do all the time). ?Problem is that you need to : >>> have the right compilers in your path to do this. : >>> : >>> Here's what I do: : >>> : >>> setenv TARGET mips : >>> setenv TARGET_BIG_ENDIAN t : >>> make kernel-toolchain : >>> make buildkernel KERNCONF=OCTEON1 : >>> : >>> and then to do an incremental build: : >>> : >>> make buildkernel KERNFAST=OCTEON1 : >>> : >>> I should turn this into a readme file. : >>> : >>> Warner : >>> : >>> : >>> : >>> In message: <290865fd0910161428g45ab74a0x272c9b9674c9d5fd@mail.gmail.com> : >>> ? ? ? ? ? ?alan yang writes: : >>> : Hello, : >>> : : >>> : I checked out from svn repo the project/mips and try to build kernel : >>> : for OCTEON, but ran into the following errors. ?Wonder any readme : >>> : available describes procedures, appreciate people could shed some : >>> : light. : >>> : : >>> : Thanks in advance. : >>> : --- : >>> : : >>> : tsu# config OCTEON1 : >>> : Kernel build directory is ../compile/OCTEON1 : >>> : Don't forget to do ``make cleandepend && make depend'' : >>> : Fujitsu# cd ../compile/OCTEON1/ : >>> : Fujitsu# make cleandepend : >>> : rm -f .depend machine : >>> : cd ../../../modules; : >>> : MAKEOBJDIRPREFIX=/usr/home/alan/genova/mips/sys/mips/compile/OCTEON1/modules : >>> : KMODDIR=/boot/kernel MODULES_OVERRIDE="""" DEBUG_FLAGS="-g" : >>> : MACHINE=mips MACHINE_ARCH=mips : >>> : KERNBUILDDIR="/usr/home/alan/genova/mips/sys/mips/compile/OCTEON1" : >>> : SYSDIR="/usr/home/alan/genova/mips/sys/mips/compile/OCTEON1/../../.." : >>> : make ?cleandepend : >>> : Fujitsu# make depend : >>> : machine -> ../../../mips/include : >>> : cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs : >>> : -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline : >>> : -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc : >>> : -I. -I../../.. -I../../../contrib/altq -I../../../contrib/ipfilter : >>> : -I../../../contrib/pf -I../../../dev/ath -I../../../dev/ath/ath_hal : >>> : -I../../../contrib/ngatm -I../../../dev/twa : >>> : -I../../../gnu/fs/xfs/FreeBSD -I../../../gnu/fs/xfs/FreeBSD/support : >>> : -I../../../gnu/fs/xfs -I../../../contrib/opensolaris/compat : >>> : -I../../../dev/cxgb -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include : >>> : opt_global.h -finline-limit=8000 --param inline-unit-growth=100 : >>> : --param large-function-growth=1000 -EB -fno-pic -mno-abicalls -G0 -EB : >>> : -march=mips64 -mabi=64 -msoft-float -ffreestanding : >>> : ../../../mips/mips/genassym.c : >>> : cc: unrecognized option '-EB' : >>> : cc: unrecognized option '-G0' : >>> : cc: unrecognized option '-EB' : >>> : cc1: error: unrecognized command line option "-mno-abicalls" : >>> : cc1: error: unrecognized command line option "-mabi=64" : >>> : ../../../mips/mips/genassym.c:1: error: bad value (mips64) for -march= switch : >>> : ../../../mips/mips/genassym.c:1: error: bad value (mips64) for -mtune= switch : >>> : *** Error code 1 : >>> : : >>> : : >>> : : >>> : On Wed, Oct 14, 2009 at 3:45 PM, alan yang wrote: : >>> : > Thanks Warner for the link, i checkout the project mips from svn repo, : >>> : > and wonder is there any readme like for procedures to build/run on : >>> : > CN8560 base eval board as the target. : >>> : > : >>> : > Thanks for shedding the light... : >>> : > : >>> : > : >>> : > On Tue, Oct 13, 2009 at 9:04 PM, M. Warner Losh wrote: : >>> : >> In message: <290865fd0910132051l6a4a6280id401cab8ef5a1c0c@mail.gmail.com> : >>> : >> ? ? ? ? ? ?alan yang writes: : >>> : >> : Hi, Warner, : >>> : >> : : >>> : >> : Thanks for the info. ?I wonder this port could be transferred, to : >>> : >> : allow me to participate and continue ..., i know this is quite naive : >>> : >> : and don't know will this have issue. : >>> : >> : >>> : >> The current port is in the svn repo under projects/mips. : >>> : >> : >>> : >> Warner : >>> : >> : >>> : >> : On Tue, Oct 13, 2009 at 3:45 PM, M. Warner Losh wrote: : >>> : >> : > In message: <290865fd0910131105i6daa9a17y5f6fe2a4447d7233@mail.gmail.com> : >>> : >> : > ? ? ? ? ? ?alan yang writes: : >>> : >> : > : last email thread is about 1 year ago, and i wonder if things changed : >>> : >> : > : that would allow your code to be available and / or provide some : >>> : >> : > : guidance on porting... : >>> : >> : > : >>> : >> : > Cavium released a port to me earlier this year. ?It is substantially : >>> : >> : > similar to the port I started from that I referred to in this post. : >>> : >> : > I've been making good progress, but the efforts have been stalled by : >>> : >> : > my job search... : >>> : >> : > : >>> : >> : > Warner : >>> : >> : > : >>> : >> : > : >>> : >> : > : many thanks!! : >>> : >> : > : : >>> : >> : > : On Thu, Oct 9, 2008 at 12:52 PM, M. Warner Losh wrote: : >>> : >> : > : > In message: <86068e730810091235q3f41b5a3w4dbc38fb23164483@mail.gmail.com> : >>> : >> : > : > ? ? ? ? ? ?"Jerry Toung" writes: : >>> : >> : > : > : On Wed, Oct 8, 2008 at 7:54 PM, M. Warner Losh wrote: : >>> : >> : > : > : : >>> : >> : > : > : > : >>> : >> : > : > : > : >>> : >> : > : > : > : >>> : >> : > : > : > The issues aren't technical, but the short version is that I've not : >>> : >> : > : > : > received permission from the copyright owner to release the code. : >>> : >> : > : > : > : >>> : >> : > : > : > : >>> : >> : > : > : > Hi Warner, : >>> : >> : > : > : are you able to run the build on FreeBSD or is it cross-built ? : >>> : >> : > : > : >>> : >> : > : > Both, although the version I'm running now is cross-built. ?I'll be : >>> : >> : > : > doing native builds soon enough... : >>> : >> : > : > : >>> : >> : > : > : what version of your FreeBSD is running on CN38xx ? : >>> : >> : > : > : >>> : >> : > : > FreeBSD -current as of Tuesday. ?Prior versions of -current have : >>> : >> : > : > worked as well. : >>> : >> : > : > : >>> : >> : > : > Warner : >>> : >> : > : > _______________________________________________ : >>> : >> : > : > freebsd-mips@freebsd.org mailing list : >>> : >> : > : > http://lists.freebsd.org/mailman/listinfo/freebsd-mips : >>> : >> : > : > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" : >>> : >> : > : > : >>> : >> : > : : >>> : >> : > : : >>> : >> : > : >>> : >> : : >>> : >> : : >>> : >> : >>> : > : >>> : _______________________________________________ : >>> : freebsd-mips@freebsd.org mailing list : >>> : http://lists.freebsd.org/mailman/listinfo/freebsd-mips : >>> : To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" : >>> : : >>> : : >>> : >> : > : _______________________________________________ : freebsd-mips@freebsd.org mailing list : http://lists.freebsd.org/mailman/listinfo/freebsd-mips : To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" : : From alancyang at gmail.com Tue Oct 20 17:22:21 2009 From: alancyang at gmail.com (alan yang) Date: Tue Oct 20 17:22:28 2009 Subject: Cavium port In-Reply-To: <20091018.092442.329271515.imp@bsdimp.com> References: <290865fd0910161801x35bbdcd2hd77626d4dfe2465a@mail.gmail.com> <290865fd0910161856l3d988d0bqf4c600bd76b37037@mail.gmail.com> <290865fd0910161902y626f8375m5d46881f4883c1ec@mail.gmail.com> <20091018.092442.329271515.imp@bsdimp.com> Message-ID: <290865fd0910201022h6bfd82cev7fac4294f1e89004@mail.gmail.com> Thanks Warner: updated the source tree, now can build OCTEON1. Will try to run it... On Sun, Oct 18, 2009 at 8:24 AM, M. Warner Losh wrote: > In message: <290865fd0910161902y626f8375m5d46881f4883c1ec@mail.gmail.com> > ? ? ? ? ? ?alan yang writes: > : but ran into another failure, wonder there is a quick work around: > : --- > : -c -O -pipe ?-std=c99 -g -Wall -Wredundant-decls -Wnested-externs > : -Wstrict-prototypes ?-Wmissing-prototypes -Wpointer-arith -Winline > : -Wcast-qual ?-Wundef -Wno-pointer-sign -fformat-extensions -nostdinc > : -I. -I/usr/home/alan/genova/mips/sys > : -I/usr/home/alan/genova/mips/sys/contrib/altq -D_KERNEL > : -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common > : -finline-limit=8000 --param inline-unit-growth=100 --param > : large-function-growth=1000 ?-EB -fno-pic -mno-abicalls -G0 -EB > : -march=mips64 -mabi=64 -msoft-float -ffreestanding > : /usr/home/alan/genova/mips/sys/mips/mips/trap.c > : /usr/home/alan/genova/mips/sys/mips/mips/trap.c:1063: error: > : conflicting types for 'MipsEmulateBranch' > : ./machine/md_var.h:51: error: previous declaration of > : 'MipsEmulateBranch' was here > : *** Error code 1 > > Hmmm... ?Looks like there were some changes that were stomped on by > the latest MFC. ?We'll have to investigate why that was... ?In the > mean time, I've restored them and fixed a few new issues and committed > the results. ?You can at least build OCTEON1 now. ?I've not tried to > run it, and I'd expect that it will die somewhere in the context > switch for the first task, if not sooner.... > > Warner > > From lihong at ieee.org Mon Oct 26 04:05:59 2009 From: lihong at ieee.org (Eric) Date: Mon Oct 26 04:06:38 2009 Subject: Add Wistron RPAA-82 board support Message-ID: <1256528272.31398.28.camel@localhost> Hi I added my ar7161 board support last weekend. It's flash is come from Spansion. -- Best Regards, Eric L. Chen -------------- next part -------------- A non-text attachment was scrubbed... Name: patch-mips-spiflash.diff Type: text/x-patch Size: 9707 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-mips/attachments/20091026/f9492757/patch-mips-spiflash.bin From thompsa at FreeBSD.org Mon Oct 26 05:27:03 2009 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Oct 26 05:27:08 2009 Subject: Add Wistron RPAA-82 board support In-Reply-To: <1256528272.31398.28.camel@localhost> References: <1256528272.31398.28.camel@localhost> Message-ID: <20091026051144.GA89831@citylink.fud.org.nz> On Mon, Oct 26, 2009 at 11:37:52AM +0800, Eric wrote: > Hi > I added my ar7161 board support last weekend. > It's flash is come from Spansion. This is great. Oleksandr has also just added write support which will conflict/duplicate some of your changes so have a look and merge any outstanding changes you have made (s25fl128 support). http://svn.freebsd.org/viewvc/base?view=revision&revision=198465 cheers, Andrew From lihong at ieee.org Mon Oct 26 05:34:08 2009 From: lihong at ieee.org (Eric) Date: Mon Oct 26 05:34:14 2009 Subject: Add Wistron RPAA-82 board support In-Reply-To: <20091026051144.GA89831@citylink.fud.org.nz> References: <1256528272.31398.28.camel@localhost> <20091026051144.GA89831@citylink.fud.org.nz> Message-ID: <1256535242.31398.32.camel@localhost> On Mon, 2009-10-26 at 18:11 +1300, Andrew Thompson wrote: > On Mon, Oct 26, 2009 at 11:37:52AM +0800, Eric wrote: > > Hi > > I added my ar7161 board support last weekend. > > It's flash is come from Spansion. > > This is great. Oleksandr has also just added write support which will > conflict/duplicate some of your changes so have a look and merge any > outstanding changes you have made (s25fl128 support). > > http://svn.freebsd.org/viewvc/base?view=revision&revision=198465 > > cheers, > Andrew At first, I have my own write support, then I saw hit commit today. So this patch already merged his commit. -- Best Regards, Eric L. Chen -------------- next part -------------- A non-text attachment was scrubbed... Name: patch-mips-spiflash.diff Type: text/x-patch Size: 9707 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-mips/attachments/20091026/c29fb7bf/patch-mips-spiflash.bin From lihong at ieee.org Tue Oct 27 02:13:46 2009 From: lihong at ieee.org (Eric) Date: Tue Oct 27 02:13:53 2009 Subject: Add Wistron RPAA-82 board support In-Reply-To: <1256535242.31398.32.camel@localhost> References: <1256528272.31398.28.camel@localhost> <20091026051144.GA89831@citylink.fud.org.nz> <1256535242.31398.32.camel@localhost> Message-ID: <1256609620.31398.40.camel@localhost> On Mon, 2009-10-26 at 13:34 +0800, Eric wrote: > On Mon, 2009-10-26 at 18:11 +1300, Andrew Thompson wrote: > > On Mon, Oct 26, 2009 at 11:37:52AM +0800, Eric wrote: > > > Hi > > > I added my ar7161 board support last weekend. > > > It's flash is come from Spansion. > > > > This is great. Oleksandr has also just added write support which will > > conflict/duplicate some of your changes so have a look and merge any > > outstanding changes you have made (s25fl128 support). > > > > http://svn.freebsd.org/viewvc/base?view=revision&revision=198465 > > > > cheers, > > Andrew > > At first, I have my own write support, then I saw hit commit today. > So this patch already merged his commit. > It seems work well on my board. I can put both OpenWrt and FreeBSD on the same board. The only problem for FreeBSD is that FreeBSD kernel has no dedicated entry address. OpenWrt put 'j kernel_entry' at load address, so it no need to change redboot config after firmware upgrade. ===================== RedBoot ========================== RedBoot(tm) bootstrap and debug environment [ROMRAM] Non-certified release, version v1.0 - built 12:26:39, May 18 2009 Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc. Board: RPAA-82 RAM: 0x80000000-0x84000000, [0x80051290-0x80fe1000] available FLASH: 0xbf000000 - 0xbfff0000, 256 blocks of 0x00010000 bytes each. == Executing boot script in 3.000 seconds - enter ^C to abort ^C RedBoot> fis list Name FLASH addr Mem addr Length Entry point RedBoot 0xBF000000 0xBF000000 0x00040000 0x00000000 vmlinux.bin.l7 0xBF040000 0x80060000 0x00100000 0x80060000 rootfs 0xBF140000 0xBF140000 0x00400000 0x00000000 fbsd-kern 0xBF540000 0x80060000 0x00200000 0x800976C0 fbsd-root 0xBF740000 0xBF740000 0x00800000 0x00000000 fbsd-data 0xBFF40000 0xBFF40000 0x000A0000 0x00000000 FIS directory 0xBFFE0000 0xBFFE0000 0x0000F000 0x00000000 RedBoot config 0xBFFEF000 0xBFFEF000 0x00001000 0x00000000 ===================== FreeBSD ========================== Tue Oct 27 01:58:42 UTC 2009 FreeBSD/mips (ar71xx) (ttyu0) login: root Oct 27 01:59:09 ar71xx login: ROOT LOGIN (root) ON ttyu0 Copyright (c) 1992-2009 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. # df -h Filesystem Size Used Avail Capacity Mounted on /dev/redboot/fbsd-root.uzip 48M 30M 14M 69% / devfs 1.0K 1.0K 0B 100% /dev /dev/redboot/fbsd-data 528K 7.5K 478K 2% /flash /dev/md0 3.6M 144K 3.2M 4% /var # mount /dev/redboot/fbsd-root.uzip on / (ufs, local, noatime, read-only) devfs on /dev (devfs, local) /dev/redboot/fbsd-data on /flash (ufs, local, noatime) /dev/md0 on /var (ufs, local) From gonzo at freebsd.org Thu Oct 29 06:21:42 2009 From: gonzo at freebsd.org (Oleksandr Tymoshenko) Date: Thu Oct 29 06:22:42 2009 Subject: Add Wistron RPAA-82 board support In-Reply-To: <1256535242.31398.32.camel@localhost> References: <1256528272.31398.28.camel@localhost> <20091026051144.GA89831@citylink.fud.org.nz> <1256535242.31398.32.camel@localhost> Message-ID: <4AE92D94.2070700@freebsd.org> Eric wrote: > On Mon, 2009-10-26 at 18:11 +1300, Andrew Thompson wrote: >> On Mon, Oct 26, 2009 at 11:37:52AM +0800, Eric wrote: >>> Hi >>> I added my ar7161 board support last weekend. >>> It's flash is come from Spansion. >> This is great. Oleksandr has also just added write support which will >> conflict/duplicate some of your changes so have a look and merge any >> outstanding changes you have made (s25fl128 support). >> >> http://svn.freebsd.org/viewvc/base?view=revision&revision=198465 >> >> cheers, >> Andrew > > At first, I have my own write support, then I saw hit commit today. > So this patch already merged his commit. There are some excessive code in the patch. e.g. GEOM will take care for use that data offset and size are sector-size aligned/multiple. So I reworked your patch a little bit: http://people.freebsd.org/~gonzo/mips/mx25.diff Could you, please, test it and let me know if it works for you. Thanks!