<clever>
exactly what the boot rom does at every step, and all the optional things
<clever>
We reply to PC with VID: 0a5c PID: 0x2763 (Pi 1 or Pi 2) or 0x2764 (Pi 3)
<clever>
gchristensen: you should see it in lsusb once its ready to boot, even if the software is missing
<Thra11>
clever: I was wondering whether as a workaround for the python ctypes issue, we could have some sort of flag which says, 'do not build this package on a machine which is running armv6l/armv7l on aarch64'.
<clever>
Thra11: for kexec, it tries to use 64bit opcodes with a 32bit gcc, and fails hard
<clever>
Thra11: the real pain point with python, is that it auto-detects failure, and then silently disables ctypes support
<clever>
and then setuptools fails, because python lacks ctypes support
<clever>
both can likely be fixed with the right configure flags, to stop auto-detection
<Thra11>
clever: Is there a way to explicitly enable ctypes, so that the failure fails the build?
<clever>
ive not looked at the python configure to see if thats possible
<clever>
you could also just test for ctypes in post-install, so the build fails anyways
<clever>
a second related problem, is building v6 code on a v7 cpu
<clever>
the gcc is capable of both, so a "v6 only" gcc can still generate "v7 only" code
<clever>
so it doesnt fail at all, and just winds up creating v7 binaries
<clever>
this is a setup hook that will cause builds to fail when that occurs
<FRidh>
still need to look deeper into python's _sysconfigdata*.py and how to generate it correctly
<FRidh>
using it in cross also does not function yet
<gchristensen>
I'm going to just install rasbian and then install nix from there
orivej has joined #nixos-aarch64
FRidh has quit [Quit: Konversation terminated!]
orivej has quit [Ping timeout: 268 seconds]
t184256 has left #nixos-aarch64 [#nixos-aarch64]
t184256 has joined #nixos-aarch64
t184256 has left #nixos-aarch64 ["Disconnected: Replaced by new connection"]
t184256 has joined #nixos-aarch64
t184256 has left #nixos-aarch64 [#nixos-aarch64]
t184256 has joined #nixos-aarch64
wildtrees has joined #nixos-aarch64
ryantrinkle has quit [Ping timeout: 246 seconds]
<gchristensen>
so nixos is booting and DHCPs
<gchristensen>
but the console doesn't work
<gchristensen>
I mounted the image's sda1 and edited extlinux/extlinux.conf, adding console=ttyS0,115200n8 to the APPEND line and no dice -- console output ends at Starting kernel ...