9front - general discussion about 9front
 help / color / mirror / Atom feed
From: "Frank D. Engel, Jr." <fde101@fjrhome.net>
To: 9front@9front.org
Subject: Re: [9front] 9front on spim
Date: Mon, 4 Jul 2022 20:00:02 -0400	[thread overview]
Message-ID: <e0de078a-1b2e-b451-0974-85c7cce1a493@fjrhome.net> (raw)
In-Reply-To: <4838A219717B21C66038618289A970D9@eigenstate.org>

For reference, I am actually doing the build from an arm64 system 
(Raspberry Pi) and getting "up to date" when running sysupdate, and when 
I cd /sys/src then objtype=spim mk all I am getting a bunch of the 
typical working stuff followed by variations of the following at the end:


pcc -c -Fw -D_POSIX_SOURCE -D_PLAN9_SOURCE -I. ../../../libc/9sys/idn.c
cpp: /sys/include/ape/fmt.h:26 ./libc.h:21 ctime.c:1 Could not find 
include file <stdarg.h>
pcc: 0c: cpp 201201: error
mk: pcc -c -Fw ...  : exit status=rc 201186: pcc 201193: 0c: cpp 201201: 
error<eof> not a function
<eof> syntax error, last name: ex

cpp: /sys/include/ape/fmt.h:26 ./libc.h:21 ../../../libc/9sys/idn.c:2 
Could not find include file <stdarg.h>
cpp: /sys/include/ape/fmt.h:26 ./libc.h:21 ../../../libc/port/crypt.c:11 
Could not find include file <stdarg.h>
pcc: 0c: cpp 201197: error
pcc: 0c: cpp 201200: error
cpp: /sys/include/ape/fmt.h:26 ./libc.h:21 
../../../libc/port/getfields.c:2 Could not find include file <stdarg.h>
<eof> syntax error, last name: Rune
<eof> not a function
<eof> syntax error, last name: ext
pcc: 0c: cpp 201204: error
mk: for (i in ...  : exit status=rc 201180: rc 201182: mk 201183: error
mk: cd lib mk all  : exit status=rc 201174: mk 201176: error
mk: mk lib.all mk ...  : exit status=rc 201171: mk 201173: error
mk: date for (i ...  : exit status=rc 200132: rc 201169: mk 201170: error
glenda@brains1% <eof> not a function
<eof> syntax error, last name: runestrstr



On 7/4/22 7:21 PM, ori@eigenstate.org wrote:
> Quoth adventures in9 <adventuresin9@gmail.com>:
>> I'll make this a separate thread for anyone who wants to talk about spim
>> specifically.
>>
>> I saw spim mentioned in the Port Status thread.  I haven't had any trouble
>> building for spim, and some of the missing parts might just be because it
>> is building off code stored in "mips" but does it with with the "spim"
>> compiler, which is really just a script with the mips compiler set with a
>> little-endian flag.
>>
>> As for hardware, I've been using the Onion Omega 2.  I've also found
>> several Chinese router boards that also use the MT7688.  I have got it to
>> start booting on the Onion, but haven't finished it up yet.  I haven't
>> touched it in a couple months, but what I have done so far is here:
>>
>> https://github.com/adventuresin9/9front-mt7688
>>
>> I'm pretty sure the Loongson and Ingenic mips chips are also little endian,
>> so there are a few systems out there that would use spim.
>>
>> My goal was to use the Onion Omega 2 kits to set up i2c sensors and control
>> lights and such around my house.  I also got a MT7688 based router, to make
>> a 9front based wifi router with.  And a MT7621 based router, which is
>> similar but dual core.
>>
>> So, if anyone wants to help, I do have some little endian mips hardware to
>> test on.
> Awesome. Please send patches when you're ready!
>
>


  reply	other threads:[~2022-07-05  0:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-04 23:15 adventures in9
2022-07-04 23:21 ` ori
2022-07-05  0:00   ` Frank D. Engel, Jr. [this message]
2022-07-05  0:40     ` adventures in9
2022-07-05 10:08       ` Frank D. Engel, Jr.
2022-07-05  0:11 ` Lyndon Nerenberg (VE7TFX/VE6BBM)
     [not found]   ` <CAPfmpJCxTjii5D5DAOPhYqW7scN=OjKfJ0MsMkFJx6gS_MsLaw@mail.gmail.com>
2022-07-05  1:07     ` Fwd: " adventures in9
2022-07-05 19:56       ` Lyndon Nerenberg (VE7TFX/VE6BBM)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e0de078a-1b2e-b451-0974-85c7cce1a493@fjrhome.net \
    --to=fde101@fjrhome.net \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).