<samueldr>
I'm a kernel build away from having pine64-lts (and sopine baseboard) working almost cleanly with nixos unstable
<samueldr>
and the kernel is 4.15-rc2 upstream
<Dezgeg>
cool
<Dezgeg>
did you manage to build the bootloader as well?
<samueldr>
u-boot upstream
<samueldr>
with one tweak
<samueldr>
right now, it uses (for u-boot) a dts named "sun50i-a64-pine64-plus", which is enough for u-boot's purposes
<samueldr>
but the kernel has sun50i-a64-sopine-baseboard, the pine64-plus won't boot
<samueldr>
to make it work, I'm copying the pine64-plus file and naming it spine-baseboard, and changing the CONFIG_DEFAULT_DEVICE_TREE in the defconfig for sopine baseboard
<samueldr>
is there any other way to make it use u-boot's pine64 dts file, but make it load sopine-baseboard when loading the kernel? (automatically, at build time)
<samueldr>
oh, and 4.15 is needed for ethernet support, otherwise it works well enough to boot (via serial, haven't looked if hdmi works)
<samueldr>
I am quite pleased with how nixos handles building all that
<Dezgeg>
probably it's for the u-boot people to figure out how to set the fdtfile env variable depending on the hardware