Re: new NetBSD port for Tile-GX processor
Adding some more context, Tile CPUs are marked for removal from the Linux kernel. It would be great to see it supported by NetBSD, at least as long as we could use qemu. http://lkml.iu.edu/hypermail/linux/kernel/1804.1/06654.html On 16.04.2018 19:20, Diana Eichert wrote: > I know I'm resurrecting this from the dead, however I just noticed > on Portwell website CAT-8020 - Network Security Appliance is a > Tile-GX system and wondered if support for Tile-GX was ever commited to > NetBSD. > > g.day > > diana > > > On Wed, 31 Oct 2012, toru nishimura wrote: > >> Hi, all, >> >> I and our team in Sanctum Networks have been making NetBSD port >> for Tile-GX 64bit multi-core processor and it now has reached to the >> stage running a single user mode shell. We will continue our efforts >> to fulfill the device drivers and SMP capabilities. We are planning to >> publish the code when it gets mature enough for public use. >> >> Toru Nishimura / Sanctum Networks, Bangalore India / nisim...@netbsd.org >> >> --- >> Type t in 3 seconds to run thorough POST tests, q to run quick tests... >> Thorough POST tests will be run. >> msh0 0123 msh1 0123 >> (0,0) Tilera Hypervisor, version 4.0.2.145127 (source dist) 2012-10-26 >> 19:37:50 >> (0,0) Built by girish on Wed Oct 31 20:01:10 2012 from >> /home/girish/NetBSD/hvc/netbsd.hvc, /home/girish/NetBSD with >> CHIP_VERSION=10 CHIP_WIDTH=6 CHIP_HEIGHT=6 WATCHDOG=1 >> Symbols table: PA 0xc8_0038 - 0x3_63a8 >> Strings table: PA 0xcc_0038 - 0x2_3608 >> Hello NetBSD/tile! >> Topology: 6,6 @ 0,0 (cpumask= 0xf) >> Physical memory map: >> Memory [0] 0 / 1fc00 @ cntrl# 0 >> Memory [1] 40 / 2 @ cntrl# 1 >> Virtual memory map: >> Memory [0] 0 / 200 >> Memory [1] fe00 / 1fc >> Memory [2] 8000 / 8000 >> Memory layout: >> 0x0200 = MEM_HOLE_BEGIN >> 0xfe00 = MEM_HOLE_END >> 0x0200 = HALF_VA_SPACE >> 0xfe00 = VM_MIN_KERNEL_ADDRESS >> 0xfff4 = VM_MAX_KERNEL_ADDRESS >> 0xfff4 = FIXADDR_BASE >> 0xfff5 = FIXADDR_TOP >> 0xfff5 = HMAP0_BASE >> 0xfff6 = HMAP0_TOP >> 0xfff6 = HMAP1_BASE >> 0xfff7 = HMAP1_TOP >> 0xfff7 = MEM_SV_START >> 0xfff8 = MEM_HV_START >> FIXMAP: >> 0xfff4 0xfff5 fixmap >> 0xfff5 0xfff7 huge memory >> ASID map: >> ASID Range [0] 0 / 255 >> command=
Re: lang/swi-prolog-lite : lighter still
Leonardo Taccari writes: > [...] > Mmh, at least for bash I think that it was only needed because in > older versions probably `dotfiles/edit' was installed and needed > bash, but it doesn't seem no longer true for 6.6.6! > [...] Whoops, sorry, I am wrong, at least library/prolog_pack.pl needs bash.
Re: lang/swi-prolog-lite : lighter still
Hello Kathe, Kathe writes: > can the swi-prolog-lite package be made even more lighter? > i saw http://pkgsrc.se/lang/swi-prolog-lite and wondered > if it's dependence on bash, gmp and readline can be removed. > thanks. Mmh, at least for bash I think that it was only needed because in older versions probably `dotfiles/edit' was installed and needed bash, but it doesn't seem no longer true for 6.6.6! Regarding gmp and readline, probably it's a good idea to have them by default but we can add PKG_OPTIONS so they can be disabled. The attached patch should address that but I've only slighty tested it! (probably the part about `bash' is safe to commit, while the part about options probably need a look to other swi-prolog packages as well). swi-prolog-lite: Avoid no longer needed bash and add `gmp' and `readline' options - bash was used for `dotfiles/edit' script but the script seems no longer present in 6.6.6. - Add `gmp' and `readline' PKG_OPTIONS, both enabled by default. Index: Makefile === RCS file: /cvsroot/pkgsrc/lang/swi-prolog-lite/Makefile,v retrieving revision 1.25 diff -u -p -r1.25 Makefile --- Makefile 18 Aug 2015 07:31:01 - 1.25 +++ Makefile 17 Apr 2018 10:09:00 - @@ -1,6 +1,6 @@ # $NetBSD: Makefile,v 1.25 2015/08/18 07:31:01 wiz Exp $ -PKGREVISION= 2 +PKGREVISION= 3 .include "Makefile.common" PKGNAME= swi-prolog-lite-${SWIPLVERS} @@ -13,8 +13,7 @@ CONFIGURE_DIRS= src CONFIGURE_ENV+= PL=swi-prolog CONFIGURE_ENV+= PLARCH=${MACHINE_GNU_PLATFORM} # make PLIST consistent -USE_TOOLS+= gmake bash:run -REPLACE_BASH+= dotfiles/edit +USE_TOOLS+= gmake .include "../../mk/bsd.prefs.mk" @@ -32,9 +31,9 @@ REPLACE_FILES.swipl+= library/dialect/si TEST_TARGET= check +.include "options.mk" + .include "../../devel/ncurses/buildlink3.mk" # uses rl_event_hook() interface -.include "../../devel/readline/buildlink3.mk" -.include "../../devel/gmp/buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" Index: buildlink3.mk === RCS file: /cvsroot/pkgsrc/lang/swi-prolog-lite/buildlink3.mk,v retrieving revision 1.12 diff -u -p -r1.12 buildlink3.mk --- buildlink3.mk 18 Aug 2015 07:31:01 - 1.12 +++ buildlink3.mk 17 Apr 2018 10:09:00 - @@ -9,9 +9,16 @@ BUILDLINK_API_DEPENDS.swi-prolog-lite+= BUILDLINK_ABI_DEPENDS.swi-prolog-lite+= swi-prolog-lite>=6.6.6nb2 BUILDLINK_PKGSRCDIR.swi-prolog-lite?= ../../lang/swi-prolog-lite +pkgbase := swi-prolog +.include "../../mk/pkg-build-options.mk" + .include "../../devel/ncurses/buildlink3.mk" +.if !empty(PKG_BUILD_OPTIONS.swi-prolog:Mreadline) .include "../../devel/readline/buildlink3.mk" +.endif +#.if !empty(PKG_BUILD_OPTIONS.swi-prolog:Mgmp) #.include "../../devel/gmp/buildlink3.mk" ? +#.endif .endif # SWI_PROLOG_LITE_BUILDLINK3_MK BUILDLINK_TREE+= -swi-prolog-lite Index: options.mk === RCS file: options.mk diff -N options.mk --- /dev/null 1 Jan 1970 00:00:00 - +++ options.mk 17 Apr 2018 10:09:00 - @@ -0,0 +1,21 @@ +# $NetBSD$ + +PKG_OPTIONS_VAR= PKG_OPTIONS.swi-prolog +PKG_SUPPORTED_OPTIONS= gmp readline +PKG_SUGGESTED_OPTIONS= gmp readline + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mgmp) +CONFIGURE_ARGS+= --with-gmp +.include "../../devel/gmp/buildlink3.mk" +.else +CONFIGURE_ARGS+= --without-gmp +.endif + +.if !empty(PKG_OPTIONS:Mreadline) +CONFIGURE_ARGS+= --with-readline +.include "../../devel/readline/buildlink3.mk" +.else +CONFIGURE_ARGS+= --without-readline +.endif
Re: lang/swi-prolog-lite : lighter still
neither do i have the skills, nor the knowledge. :( > From bounces-netbsd-users-owner-kathe=sdf@netbsd.org Tue Apr 17 09:39:49 > 2018 > From: Benny Siegert> Subject: Re: lang/swi-prolog-lite : lighter still > To: ka...@sdf.org > Cc: netbsd-users@netbsd.org > Sender: netbsd-users-ow...@netbsd.org > > Would you be willing to submit a patch and send a PR? > > On Tue, Apr 17, 2018 at 10:05 AM Kathe wrote: > > > can the swi-prolog-lite package be made even more lighter? > > i saw http://pkgsrc.se/lang/swi-prolog-lite and wondered > > if it's dependence on bash, gmp and readline can be removed. > > thanks. > > > > -- > Benny >
Re: lang/swi-prolog-lite : lighter still
Would you be willing to submit a patch and send a PR? On Tue, Apr 17, 2018 at 10:05 AM Kathewrote: > can the swi-prolog-lite package be made even more lighter? > i saw http://pkgsrc.se/lang/swi-prolog-lite and wondered > if it's dependence on bash, gmp and readline can be removed. > thanks. -- Benny
lang/swi-prolog-lite : lighter still
can the swi-prolog-lite package be made even more lighter? i saw http://pkgsrc.se/lang/swi-prolog-lite and wondered if it's dependence on bash, gmp and readline can be removed. thanks.