tinygo icon indicating copy to clipboard operation
tinygo copied to clipboard

RPI3 baremetal trying to be a good tinygo citizen

Open iansmith opened this issue 5 years ago • 9 comments

@aykevl @jadr2ddude

Ok, I tried to take in all the suggestions about organization and it resulted in this.

I still have two questions about how to get this integrated "right":

  • I am getting undefined symbol errors of _bss_start and _bss_end when I try compile anything that uses this target. I pretty much mimicked the code in another target (fe310) and in runtime_rpi3 (line 108) you can see that I am defining these symbols. I also have these being set in rpi3.ld so I thought I did all the things...

  • What is the correct way to "hook up" to the garbage collector? Is it going to work with 64bit pointers and integers?

iansmith avatar Sep 28 '19 21:09 iansmith

The garbage collector should work. It gets the pointer size by checking the size of the type of heapStart. It should be able to find the globals I think.

niaow avatar Sep 28 '19 21:09 niaow

OK, so is this PR meant to replace #584 completely? If so perhaps that PR should be closed.

deadprogram avatar Oct 10 '19 07:10 deadprogram

H @iansmith looks like this PR is getting close to landing. Any chance you might be able to address the last remaining feedback that was provided by @aykevl soon? We have a new release this week, would be great to include this PR.

Thanks!

deadprogram avatar Oct 14 '19 15:10 deadprogram

@iansmith please note that I switched the branch for this PR to dev can you please rebase against that branch? Thank you.

deadprogram avatar Oct 14 '19 16:10 deadprogram

I am sorry guys, I have JUST started a new job (monday) and I'm not sure how much free time I will have before this weekend.

On Mon, Oct 14, 2019 at 12:01 PM Ron Evans [email protected] wrote:

@iansmith https://github.com/iansmith please note that I switched the branch for this PR to dev can you please rebase against that branch? Thank you.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tinygo-org/tinygo/pull/599?email_source=notifications&email_token=AABYGQJTJ5WBZ4VLWVFN6GTQOSJVNA5CNFSM4I3PVN72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBFLCEI#issuecomment-541765905, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABYGQMIXW6QIA4SDMOJBQ3QOSJVNANCNFSM4I3PVN7Q .

--

[email protected] Je suis Marxiste—tendance Groucho.

iansmith avatar Oct 15 '19 16:10 iansmith

Pinging to hopefully re-up with intentions of helping it land in time for the next release... :)

deadprogram avatar Nov 11 '19 08:11 deadprogram

Greetings, I am on the lookout for RPI3/4 baremetal solutions for tinygo and came across this. It appears to be stalled :(

Can anyone say if there are other places to look for support in this regard [or] was this PR our only hope?

Thanks in advance,

-DF

davidpfarrell avatar Feb 03 '20 19:02 davidpfarrell

Yeah, it's stalled. I just haven't had time to really put many cycles into it.

If you want to push it forward, I can probably review PRs and test on RPI3 and so forth,

sorry, ian

--

[email protected] Je suis Marxiste—tendance Groucho.

iansmith avatar Feb 05 '20 00:02 iansmith

FYI: I have started looking at this to see if I can help get Ian's work over the finish line.

tmclane avatar Aug 19 '20 16:08 tmclane