01:00
orivej has quit [Ping timeout: 260 seconds]
06:11
orivej has joined #nixos-aarch64
10:48
orivej has quit [Ping timeout: 268 seconds]
11:08
orivej has joined #nixos-aarch64
11:13
orivej has quit [Ping timeout: 245 seconds]
11:35
orivej has joined #nixos-aarch64
16:06
<
shad >
samueldr: I take your are the maintainer of the Pine A64-LTS wiki page (as well as the board of course), am I right ?
16:07
<
samueldr >
(though it's been months since I touched the board!)
16:07
<
shad >
I think I might help about a "[testing needed]" part of the page
16:07
<
shad >
"Though untested, this should mean that the Baseboard "Model A" will work with NixOS"
16:08
<
shad >
the baseboard model A, this is the first batch of pine64 with 512 MB, 1GB or 2GB of RAM?
16:08
<
shad >
I have the 1GB model
16:09
<
samueldr >
AFAIK the A64-LTS only has been available with 2GB of RAM
16:09
<
samueldr >
and the non-LTS A64, while related, is pretty different to the A64-LTS
16:10
<
shad >
I think it was expected, but I'm not too sure, but the "sopine-u-boot-sunxi-with-spl.bin built by Dezgeg.", does not make the board boot
16:10
<
shad >
(although I found another u-boot prebuild that works)
16:10
<
samueldr >
hmm, do you have the serial output for the whole boot?
16:11
<
shad >
Here is the error message (pasting here because it is only 3 lines)
16:11
<
shad >
U-Boot SPL 2018.03 (Mar 13 2018 - 12:02:19 +0000)DRAM: 0 MiB### ERROR ### Please RESET the board ###
16:11
<
shad >
(it was 3 lines, I messed up my copy/paste)
16:12
<
samueldr >
I think I misunderstood what you said initially
16:13
<
shad >
I guess I don't know what the "model A is"
16:14
<
samueldr >
the model A is a board to plug a SOPINE module in, seen at the bottom of the last page I linked
16:14
<
shad >
samueldr: yes, I have a non-LTS board
16:14
<
samueldr >
[12:10:54] <samueldr> and the non-LTS A64, while related, is pretty different to the A64-LTS
16:14
<
shad >
I guess I got confused
16:15
<
samueldr >
the A64 (non-LTS) is (confusingly enough) not closely related to the A64-LTS
16:15
<
shad >
I thought "model A" somehow refered to the A64 non-TLS
16:15
<
samueldr >
yeah, the confusion's not unexpected imho
16:16
<
shad >
alright, now, it is pretty clear for me: I can't help you with the "testing needed"
16:16
<
samueldr >
don't worry, you probably could help with building a working u-boot for the A64 (non-LTS) :)
16:18
<
shad >
Well, as of now, I have a booting system with the u-boot I stoled from apritzel, but I have yet to check if all the devices are working
16:19
<
Dezgeg >
I wonder how apritzel's images are different than what we build
16:20
<
samueldr >
Dezgeg: iirc, they're not the same u-boot defconfig
16:20
<
samueldr >
PINE A64 != PINE A64-LTS
16:20
<
shad >
most likely, yes
16:20
<
Dezgeg >
it says 'make pine64_plus_defconfig' there
16:20
<
samueldr >
Dezgeg: I'd wager that "only" doing a pine64_plus build of u-boot would work
16:21
orivej has quit [Ping timeout: 256 seconds]
16:21
<
Dezgeg >
such thing doesn't exist
16:22
<
Dezgeg >
but he does have quite a bunch of his ongoing work on top of that, so maybe some of that fixes it
16:23
<
samueldr >
uh, at cf71338ee7a1dc16f13a4f1b89f32c624210df45 I have a pine64_plus_defconfig
16:23
<
samueldr >
(that's an older checkout obviously)
16:24
<
shad >
I could test later on various u-boot builds, if I have time
16:25
<
samueldr >
hm, and it's on master too?
16:25
<
Dezgeg >
or mail him
16:25
<
Dezgeg >
I mean pine64_plus_defconfig is the only thing that exists
16:26
* samueldr
must be missing something obvious
16:47
<
samueldr >
hmmm, unless I'm
*really* missing something, pine64_plus is already in nixpkgs??
16:55
<
Dezgeg >
oh right I got confused, yes that's the correct one, it was sopine-u-boot-sunxi-with-spl.bin that failed (and of course isn't expected to work)
16:56
<
samueldr >
for the record, I did nothing special with the u-boot build, that's from nixos-unstable, built on nixos-unstable freshly updated
16:56
Sonarpulse has joined #nixos-aarch64
18:41
<
flokli >
Dezgeg: did you do any more tinkering with qemu, ubott and arm? ;-)
18:49
<
grw >
builds are broken on unstable-small, right?
18:49
<
grw >
/nix/store/j7d4mr0ikv974ig7yzhknpsq288js4bs-binutils-2.30/bin/ld: arch/arm64/kernel/head.o: relocation R_AARCH64_ABS32 against `_kernel_offset_le_lo32' can not be used when making a shared object
18:59
<
Dezgeg >
I got stuck on qemu-aarch64
19:03
<
grw >
thats from kernel but something similar on uboot, perhaps others
19:04
<
Dezgeg >
that's binutils probably
19:06
<
grw >
there are a few binutils changes, guess i will try to bisect
19:16
<
Dezgeg >
the version bump most likely
19:17
<
Dezgeg >
there's an bugzilla bug as first google hit
19:30
<
grw >
ah nice! will test the fix
19:36
<
grw >
presumably we can revert "systemd: disable EFI support on AArch64" too
19:55
<
shad >
samueldr: I dd'd the untrusted blob you provided me on my sdcard, and it still boots
19:57
<
shad >
samueldr: how did you build it?
19:57
* samueldr
cheekily
19:57
<
samueldr >
using nixpkgs :)
19:57
<
samueldr >
nix-build -A pkgs.ubootPine64
19:57
<
samueldr >
on a AArch64 machine
19:58
<
samueldr >
it already was added, by Dezgeg even!
19:58
<
samueldr >
it's, though, not in the pre-built u-boots on the website
20:02
<
shad >
Ah, I see, I was on the wrong branch of the nixpkgs
20:02
<
shad >
it's quite neat!
20:03
<
samueldr >
I also added (earlier) a little note on the PINE A64-LTS page about the PINE A64
20:04
orivej has joined #nixos-aarch64
20:05
<
shad >
samueldr: thank you for that as well :-)
21:14
Sonarpulse has quit [Ping timeout: 260 seconds]
21:30
Sonarpulse has joined #nixos-aarch64