orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 268 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 245 seconds]
orivej has joined #nixos-aarch64
<shad> Hi
<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 ?
<samueldr> right
<samueldr> (though it's been months since I touched the board!)
<shad> I think I might help about a "[testing needed]" part of the page
<shad> "Though untested, this should mean that the Baseboard "Model A" will work with NixOS"
<samueldr> great!
<shad> the baseboard model A, this is the first batch of pine64 with 512 MB, 1GB or 2GB of RAM?
<shad> I have the 1GB model
<samueldr> AFAIK the A64-LTS only has been available with 2GB of RAM
<samueldr> and the non-LTS A64, while related, is pretty different to the A64-LTS
<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
<shad> (although I found another u-boot prebuild that works)
<samueldr> hmm, do you have the serial output for the whole boot?
<shad> Yep
<shad> Here is the error message (pasting here because it is only 3 lines)
<shad> U-Boot SPL 2018.03 (Mar 13 2018 - 12:02:19 +0000)DRAM: 0 MiB### ERROR ### Please RESET the board ###
<shad> (it was 3 lines, I messed up my copy/paste)
<samueldr> ooooh
<samueldr> I think I misunderstood what you said initially
<samueldr> shad: are you saying you have one of these (A64 non-LTS) https://www.pine64.org/?page_id=1194
<shad> I guess I don't know what the "model A is"
<samueldr> or is it one of those (SOPINE) https://www.pine64.org/?page_id=1491
<samueldr> the model A is a board to plug a SOPINE module in, seen at the bottom of the last page I linked
<shad> samueldr: yes, I have a non-LTS board
<samueldr> ah!
<samueldr> [12:10:54] <samueldr> and the non-LTS A64, while related, is pretty different to the A64-LTS
<shad> Ah!
<shad> I guess I got confused
<samueldr> the A64 (non-LTS) is (confusingly enough) not closely related to the A64-LTS
<shad> I thought "model A" somehow refered to the A64 non-TLS
<samueldr> yeah, the confusion's not unexpected imho
<shad> alright, now, it is pretty clear for me: I can't help you with the "testing needed"
<shad> :-)
<samueldr> don't worry, you probably could help with building a working u-boot for the A64 (non-LTS) :)
<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
<Dezgeg> I wonder how apritzel's images are different than what we build
<samueldr> Dezgeg: iirc, they're not the same u-boot defconfig
<samueldr> PINE A64 != PINE A64-LTS
<shad> most likely, yes
<Dezgeg> it says 'make pine64_plus_defconfig' there
<samueldr> Dezgeg: I'd wager that "only" doing a pine64_plus build of u-boot would work
orivej has quit [Ping timeout: 256 seconds]
<Dezgeg> such thing doesn't exist
<samueldr> oh
<Dezgeg> but he does have quite a bunch of his ongoing work on top of that, so maybe some of that fixes it
<samueldr> uh, at cf71338ee7a1dc16f13a4f1b89f32c624210df45 I have a pine64_plus_defconfig
<samueldr> (that's an older checkout obviously)
<shad> I could test later on various u-boot builds, if I have time
<Dezgeg> you could try changing the u-boot and ATF sources in nixpkgs to whatever he's posted in the commit message of https://github.com/apritzel/pine64/commit/e37f2dab4a3e2fc4bfe775e2fb5250a211a016f4
<samueldr> hm, and it's on master too?
<Dezgeg> or mail him
<Dezgeg> I mean pine64_plus_defconfig is the only thing that exists
* samueldr must be missing something obvious
<samueldr> hmmm, unless I'm *really* missing something, pine64_plus is already in nixpkgs??
<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)
<samueldr> :)
<samueldr> for the record, I did nothing special with the u-boot build, that's from nixos-unstable, built on nixos-unstable freshly updated
Sonarpulse has joined #nixos-aarch64
<flokli> Dezgeg: did you do any more tinkering with qemu, ubott and arm? ;-)
<grw> builds are broken on unstable-small, right?
<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
<Dezgeg> I got stuck on qemu-aarch64
<grw> thats from kernel but something similar on uboot, perhaps others
<Dezgeg> that's binutils probably
<grw> there are a few binutils changes, guess i will try to bisect
<Dezgeg> the version bump most likely
<Dezgeg> there's an bugzilla bug as first google hit
<grw> ah nice! will test the fix
<grw> presumably we can revert "systemd: disable EFI support on AArch64" too
<shad> samueldr: I dd'd the untrusted blob you provided me on my sdcard, and it still boots
<shad> samueldr: how did you build it?
* samueldr cheekily
<samueldr> using nixpkgs :)
<samueldr> nix-build -A pkgs.ubootPine64
<samueldr> on a AArch64 machine
<samueldr> it already was added, by Dezgeg even!
<samueldr> it's, though, not in the pre-built u-boots on the website
<shad> Ah, I see, I was on the wrong branch of the nixpkgs
<shad> it's quite neat!
<samueldr> I also added (earlier) a little note on the PINE A64-LTS page about the PINE A64
orivej has joined #nixos-aarch64
<shad> samueldr: thank you for that as well :-)
Sonarpulse has quit [Ping timeout: 260 seconds]
Sonarpulse has joined #nixos-aarch64