User Details
- User Since
- Jun 6 2018, 11:31 PM (335 w, 3 h)
Mar 21 2022
Looks good to me on inspection. That was always something annoying about trying to configure the PCI bus on ppce500 in qemu. Things should be a lot easier to work with now, before this, we had to manually assign slots high enough.
May 7 2021
Final powerpc changes:
May 5 2021
Finalized boostraps for powerpc uploaded to my public_distfiles on freefall.
May 4 2021
Note: I have the bootstrap side working for 32 bit powerpc, been holding off on submitting it though because I haven't successfully gotten a full lang/rust build out of it yet (problems with linking.) I did upstream the obligatory openssl-src-rs crate changes needed to bootstrap though at https://github.com/alexcrichton/openssl-src-rs/commit/9cc3301e6168237d2b466cb92d5535e0a6252c51 .
May 1 2021
It ended up being not entirely necessary due to the linker behavior of forcing required sections into whatever segment is a natural fit for them, unless we explicitly break it with /DISCARD/.
Apr 27 2021
Apr 20 2021
Rebase against latest code.
Updating comments
Apr 12 2021
Apr 8 2021
Retested powerpc/powerpcspe. Still good.
Oh! So it's not a contract between libc and rtld, it's just internal functionality that is used in both static libc as well as rtld, so it ends up being hidden visibility and just a common piece of code that both happen to pull in. Makes sense to me now.
Testing libexec/rtld-elf, lib/csu, lib/libthr on powerpc*.
Apr 7 2021
Apr 5 2021
Apr 1 2021
BTW I got a second PS3 in the mail today so I now have the ability to test both a modern OtherOS++ (Rebug 4.86.1) setup and a classic OtherOS on OFW 2.80 setup.
I haven't had any luck doing raw kernel loads on mine. Are you trying with ELFv1 or ELFv2 kernels? I can't get either 12.2 or -current kernels to load properly, is there some special petitboot version you are using with yours?
- Fix bug in host_open error path
- Fix linker script problems
Mar 31 2021
I did a full test run with the updated version of this patch in (among others) and it worked fine.
Mar 30 2021
OK. Tested on POWER9.
Mar 29 2021
OK PowerPC
Mar 28 2021
Mar 27 2021
Mar 23 2021
Mar 12 2021
Mar 11 2021
- s/frozen/freeze/
- Add G5 handling for "platform function that is just a GPIO write" style timebase control like PowerMac11,2.
Mar 9 2021
...
timebase-enable: 00 00 00 73
Yep. 0x73 is the "expected" value for this. It is the GPIO base offset of 0x6a plus the offset to the timebase control of 0x9. As far as I know, that's how all G4s are wired, but we respect the property in case there is a model out there that is wired differently.
Mar 8 2021
Mar 6 2021
Mar 5 2021
Confirmed that I can still install on powerpc64le in qemu with this change, and that the empty /boot/efi directory exists again.
Mar 1 2021
Feb 25 2021
Feb 18 2021
Should be good for HEAD.
Feb 15 2021
Universe build went fine.
Feb 12 2021
Confirmed correct on an nvidia-based powerbook g4.
Feb 11 2021
One possible problem with your assumptions is that arbitray cores may be GUARDed out for a given boot. So some cores may exist but be offline due to being deconfig'd during IPL. I'm not sure whether that would have an effect on this or not. The IPL logic will always deconfig the entire core, and therefore the entire thread/smt group when there is a fault entry. So the domains might have differing numbers of online cores.
On a deca-core POWER8 (SMT-8):
Since jhibbits tried for Talos II already, I will try on TYAN POWER8 instead.
Feb 10 2021
Will try this on Talos II.
Feb 9 2021
Feb 7 2021
Feb 4 2021
Looks good.
Feb 2 2021
Dec 30 2020
Manually closing. Phab didn't pick up on the commit message due to a glitch in the documentation.
Yes please.
Dec 25 2020
Dec 13 2020
Dec 12 2020
Addressing review comments.
Dec 5 2020
I'm fine with it on readthrough, I just hadn't gotten around to the actual tests. If it broke anything in powerpc land, it should be easy to fix. Thanks for tidying up the procedure annotations!