luigy has quit [Ping timeout: 240 seconds]
luigy_ has joined #nixos-aarch64
hiroshi[m] has joined #nixos-aarch64
DavHau[m] has joined #nixos-aarch64
l-as has joined #nixos-aarch64
dtz has joined #nixos-aarch64
kloenk has joined #nixos-aarch64
manveru[m] has joined #nixos-aarch64
noneucat has joined #nixos-aarch64
edrex has joined #nixos-aarch64
Dandellion has joined #nixos-aarch64
Ke has joined #nixos-aarch64
thefloweringash has joined #nixos-aarch64
LinuxHackerman has joined #nixos-aarch64
submoo[m] has joined #nixos-aarch64
Ericson2314 has joined #nixos-aarch64
fgaz has joined #nixos-aarch64
artturin has joined #nixos-aarch64
veleiro has joined #nixos-aarch64
unclechu has joined #nixos-aarch64
leonardp has joined #nixos-aarch64
mica[m] has joined #nixos-aarch64
flo[m] has joined #nixos-aarch64
siraben has joined #nixos-aarch64
yangm has joined #nixos-aarch64
colemickens has joined #nixos-aarch64
puzzlewolf has joined #nixos-aarch64
Bla[m] has joined #nixos-aarch64
JJJollyjim has joined #nixos-aarch64
Danct12[m] has joined #nixos-aarch64
hpfr has joined #nixos-aarch64
bbigras has joined #nixos-aarch64
pinage404[m] has joined #nixos-aarch64
danielrf[m] has joined #nixos-aarch64
roberth has joined #nixos-aarch64
craige[m]1 has joined #nixos-aarch64
cornu has joined #nixos-aarch64
sarcasticadmin has joined #nixos-aarch64
pachumicchu has joined #nixos-aarch64
chr0ma[m] has joined #nixos-aarch64
rajivr has joined #nixos-aarch64
justanotheruser has joined #nixos-aarch64
Acou_Bass has quit [Read error: Connection reset by peer]
tilpner_ has joined #nixos-aarch64
Acou_Bass has joined #nixos-aarch64
tilpner has quit [Ping timeout: 240 seconds]
tilpner_ is now known as tilpner
<colemickens> After the perl revert I get stuck on libselinux it seems (crossing to armv6)
<colemickens> maybe that's for a dep I can eliminate though (extra-utils?)
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos-aarch64
<colemickens> oops, I don't think I updated inputs after rebasing -_-
<colemickens> because this issue looks like it was fixed to
<samueldr> make sure aarch64 works, then armv7l
<colemickens> and then after rebasing, pkgs.stdenv.hostPlatform.platform.kernelTarget <- platform doesn't exist anymore
<samueldr> yeah
<samueldr> IIRC all props are one level higher
<colemickens> I need to start following the cross compiling prs
<samueldr> I should too
<samueldr> I don't really
<samueldr> it was Bla[m] who found it yesterday
justanotheruser has quit [Ping timeout: 240 seconds]
<colemickens> seems like this was it: https://github.com/NixOS/nixpkgs/pull/110544/files
justanotheruser has joined #nixos-aarch64
h0m1 has quit [Ping timeout: 260 seconds]
h0m1 has joined #nixos-aarch64
tilpner_ has joined #nixos-aarch64
jackdk_ has joined #nixos-aarch64
jackdk has quit [Ping timeout: 256 seconds]
Darkmatter66 has quit [Ping timeout: 256 seconds]
jackdk_ is now known as jackdk
tilpner has quit [Ping timeout: 256 seconds]
tilpner_ is now known as tilpner
Darkmatter66 has joined #nixos-aarch64
justanotheruser has quit [Ping timeout: 264 seconds]
mvnetbiz_999 has joined #nixos-aarch64
mvnetbiz_99 has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-aarch64
<samueldr> long~ish shot because all the previous times I had no bait
<samueldr> anyone with a pinephone can test this PR? https://github.com/NixOS/mobile-nixos/pull/290
<{^_^}> mobile-nixos#290 (by samueldr, 51 minutes ago, open): Enable ADB with GadgetFS devices
<samueldr> I can provide more information on how to test
<samueldr> though I'm 99% confident it'll work, considering my random mainline-based x86_64 tablet works with that
evils has quit [Ping timeout: 260 seconds]
evils has joined #nixos-aarch64
justanotheruser has joined #nixos-aarch64
Darkmatter66 has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 260 seconds]
mvnetbiz_999 has quit [Changing host]
mvnetbiz_999 has joined #nixos-aarch64
mvnetbiz_999 is now known as mvnetbiz_
Darkmatter66 has joined #nixos-aarch64
<samueldr> ~ $ adb shell cat /proc/device-tree/compatible
<samueldr> pine64,pinebook-prorockchip,rk3399
<samueldr> :3
<Bla[m]> <LinuxHackerman "Blaž: your name comes out as `Bl"> oh, good to know. I knew it was garbled, didn't know it's modifiable though
<samueldr> Bla[m]: colemickens' issue is with armv6l nixos sd image AFAIUI
<Bla[m]> the dependency could be removed in nixpkgs, libxml2 was added as a required dep but we specifically don't build it
<Bla[m]> samueldr: yeah I was responding mainly to the nixpkgs changes breakage
<samueldr> yeah
<Bla[m]> I'm still trying to get the dock working. It seems to work on the stock KDE image but not on mobile-nixos
<samueldr> compare kernel configs
<samueldr> I know for sure I didn't do anything _to_ make it work
<Bla[m]> I disabled the gadgetfs mode and now trying to use megi's defconfig + latest 5.11-rc he has
<Bla[m]> ...but now the bootloader doesn't start at all. slowly diffing my way through
<samueldr> the bootloader? you mean stage-0/stage-1 ?
<samueldr> (because u-boot should still work fine)
<Bla[m]> yeah
<samueldr> what helps in those cases is the serial cable
<Bla[m]> it's in a crash loop
<samueldr> I should check, at some point, how to make the console ramoops stuff work with mainline
<Bla[m]> yeah I don't have one of those 😕 been also considering trying to get the gadget mode work fully
<samueldr> hoping it would stay around
<samueldr> what's not working with gadget mode?
<Bla[m]> if that would work then I could ssh into it via rndis from the host machine
<samueldr> sadly it's the only device I cannot check
<samueldr> you might even be able to adb from it!
<Bla[m]> mainly that I haven't tried it yet, would need to set up zeroconf/avahi
<samueldr> no need to really
<samueldr> stage-1 sets a dhcp server up
<samueldr> bin/ssh-initrd # is a helper script for it
<samueldr> sets a dhcp server up if you configure it for ssh*
<samueldr> would be rude to always have this up!
<Bla[m]> yeah so with that up I should be able to ssh into it via the gadget mode
<{^_^}> mobile-nixos#290 (by samueldr, 4 hours ago, open): Enable ADB with GadgetFS devices
<samueldr> might not even need ssh/rndis
<samueldr> I couldn't check the pinephone, but here on myriad other devices with gadgetfs it just works
<samueldr> including the pine64-pinebookpro, and a weird uefi x86_64 intel tablet
<Bla[m]> I remember doing that with a rpi, but you needed to use zeroconf to resolve the address (i.e. ssh pi@raspberrypi.local)
<samueldr> I believe `mobile.adbd.enable = true;` is enough
* samueldr wonders how much lag there is between irc and matrix
<Ke> from seconds to days
<Bla[m]> I'll look into adb but I have no experience with android tooling
<Ke> mostly seconds
<samueldr> Ke: yeah, meant at the moment obviouslty
<Ke> I remember having 2 days old messages being delivered
<samueldr> Bla[m]: ah, right, there's also a thing to setup system-wide for it to work well enough, but since the pinephone isn't using a PID/VID pair known by the udev rules, it wouldn't work anyway
<Bla[m]> does the boot log get dumped onto the sd card anywhere?
<samueldr> I don't think the stage-1 stuff ends up in journald at boot
<samueldr> that's something that should be looked at
<samueldr> they are at /run/log
<samueldr> but that won't help you
<Bla[m]> It's currently crash looping and would be an easy way to get logs other than using a serial cable
<samueldr> if the display isn't initializing, it's likely that anyway the sd card wouldn't be mounted
<samueldr> if I understand what you did, you took megi's defconfig, normalized it, than built, right?
<samueldr> can you try just normalizing the 5.10 config shipped in the repo on 5.11-rc first?
<samueldr> that may help validate that things can work with 5.11
<samueldr> then you'd have two configs to compare
<Bla[m]> sure, let me try that right now
qyliss- has joined #nixos-aarch64
qyliss has quit [Ping timeout: 256 seconds]
<Bla[m]> by the way, I re-enabled kexec on megi's config and that's when it started looping
<Bla[m]> the initial build would crash once then reboot with the stock image
qyliss- is now known as qyliss
dev_mohe has joined #nixos-aarch64
dev_mohe has quit [Client Quit]
<Bla[m]> yeah stock config still boots on 5.11
<samueldr> great, then *at least* it's only a configuration missing/too many
<samueldr> is megi's kernel modular?
<samueldr> for now I'm making things easier on me by prefering non-modular kernels
<samueldr> (basically cheating)
<samueldr> maybe it's as simple as needed modules not being in the initrd
<Bla[m]> oh yeah that's probably the issue. Most drivers are configured as modules
<samueldr> :%s/=m/=y
<samueldr> a trivial way to ignore the issue until later
zupo has joined #nixos-aarch64
<Bla[m]> still boot looping 😕 time to do some diffing
<Bla[m]> I'm guessing it could be something related to cryptsetup
Darkmatter66 has quit [Ping timeout: 240 seconds]
Bla[m] is now known as archseer
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has joined #nixos-aarch64
<elvishjerricco> Looks like there was a u-boot patch for the rpi cm4 https://www.mail-archive.com/u-boot@lists.denx.de/msg393149.html
<elvishjerricco> Wonder if I just need to apply that. Do I also need to find this bcm2711-rpi-cm4.dtb file?
<samueldr> that file is likely next to the pi4 .dtb file we already copy
<samueldr> elvishjerricco: so you might just need to add a command to also copy it
<samueldr> and apply the patch
<elvishjerricco> samueldr: Where is that in nixpkgs?
<samueldr> please, give me a couple seconds ;)
<samueldr> I was already searching for it
<samueldr> so basically that line, but for the cm4 dtb
<samueldr> I think we want to specify each .dtb file manually, and have it fail when they disappear
<elvishjerricco> Cool
<elvishjerricco> Thanks
<samueldr> rather than just batch copy all .dtb files and suddently things silently break
<samueldr> elvishjerricco: I believe with the patch applied to u-boot, the same u-boot binary will work
<elvishjerricco> Now to figure out how to get this darn patch out of this crappy email format...
<samueldr> updated patch
<samueldr> well
<samueldr> patch set
<samueldr> for which you want to go to the "cover" (00/xx) patch
<samueldr> and you can directly use the "series" link at the top right as a patch URL
<samueldr> when working with patches you find online, go find the patchwork equivalent for the patch
<samueldr> it really helps
<samueldr> :)
<samueldr> elvishjerricco: ^
<elvishjerricco> Oh cool. Thankks
<samueldr> the trick is to search for a fragment of a subject line
<samueldr> then you'll see in the State column when things get superseded
<samueldr> the cover letter generally includes a changelog of the patchset
<samueldr> oh!
<samueldr> pi 400 might need a .dtb file too
<samueldr> elvishjerricco: if you make a PR, can you also add bcm2711-rpi-400.dtb ?
<elvishjerricco> Can do
<elvishjerricco> So that cover one is all I need, right?
<samueldr> the series link always links to the full patch set yes
<samueldr> really the cover is more about understanding the patch set, since sometimes distinct patches don't tell the whole story
<samueldr> cover letter == PR description
<samueldr> series = commits
<samueldr> so this "not a pull request" to u-boot is "13 commits"
<samueldr> (it actually will be 13 commits once `git am`'d into their repo)
<elvishjerricco> samueldr: Should I just add this patch to `ubootRaspberryPi4_*bit`?
<samueldr> I don't think we'll patch u-boot as shipped by NixOS
<samueldr> by the next release it's likely to be merged
<elvishjerricco> Ah, then not much sense in me opening a PR before then.
<samueldr> for the .dtb files, yeah, since there's AFAIUI no other changes
<samueldr> though maybe a draft PR to see if there's interest?
<samueldr> if there's lot of interest we may do it
<samueldr> not sure how many CM4 and 400 users there are though
zupo has joined #nixos-aarch64
<elvishjerricco> CM4 at least is extremely difficult to find in stock. I had to choose a lower end one than I wanted to find one.
<elvishjerricco> Alright, how do I build this sd image now?
ky0ko has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<samueldr> elvishjerricco: do you have the hydra link handy?
<elvishjerricco> samueldr: No
<samueldr> alright
<samueldr> at the top of the page we have the job name
<samueldr> >> Job nixos:trunk-combined:nixos.sd_image_raspberrypi4.aarch64-linux
<samueldr> which is $project:$jobset:$jobname
<samueldr> fun thing: the jobname is the attrpath of the input that's used in Hydra
<samueldr> so if you go to the jobset overview
<samueldr> you have the Nix expression used
<samueldr> so it'd be something like: nix-build nixos/release-combined.nix -A nixos.sd_image_raspberrypi4.aarch64-linux
<samueldr> btw, that wasn't to be condescending or anything
<elvishjerricco> samueldr: No, it's very much appreciated :)
<samueldr> teach a human to find their way in hydra
<samueldr> and they'll hate you for the time spent finding the job :)
<elvishjerricco> Hm. The patch failed to apply
<samueldr> (sorry going to bed soon)
<samueldr> bummer
<samueldr> if you try to `git am` the patch
<samueldr> try `git am --show-current-patch=diff | patch -p1` on the failed patch, then staging the result if it worked, and `git am --continue`
<samueldr> patch is more lenient in patching
<elvishjerricco> It was just part of the test suite that isn't applying. I'm just going to remove that part of the patch
<elvishjerricco> However, I'm now getting a different problem `from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.`
<elvishjerricco> Probably something to do with the fact that I'm running this via qemu+binfmt
<elvishjerricco> `semop(1): encountered an error: Function not implemented` as well
<elvishjerricco> Is there a way to run aarch64 nixos in qemu or something?
cole-h has quit [Ping timeout: 272 seconds]
Darkmatter66 has joined #nixos-aarch64
tilpner has quit [Quit: tilpner]
tilpner has joined #nixos-aarch64
Darkmatter66 has quit [Ping timeout: 246 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
Darkmatter66 has joined #nixos-aarch64
Darkmatter66 has quit [Quit: ZNC 1.7.5 - https://znc.in]
Darkmatter66 has joined #nixos-aarch64
<LinuxHackerman> elvishjerricco: yes, should be possible. Not sure if it takes lots of arguments and stuff like on armv7 or not though.
<LinuxHackerman> Emil Karlson: I'm not 100% confident in the honeycomb sata yet, but I've been getting far fewer errors
<elvishjerricco> LinuxHackerman: I couldn't get it to work
nyanotech has quit [Ping timeout: 244 seconds]
nyanotech has joined #nixos-aarch64
<LinuxHackerman> elvishjerricco: how did you try?
<Ke> linus.heckemann: I just mean, that nixpkgs asserts on incompatible zfs
<LinuxHackerman> oooh
<LinuxHackerman> yeah boot.zfs.enableUnstable to use zfs 2.0.1 (yeah it's not really unstable)
<LinuxHackerman> or use nixos-unstable
<Ke> I don't use zfs
<LinuxHackerman> ooooh that one… hang on
<Ke> I hate zfs especially for this reason
<Ke> now I have to suffer zfs flaws, even when not using it
<LinuxHackerman> I used this awful hack `boot.kernelPackages = pkgs.linuxPackages_lx2k_mainline // {zfs = null; zfsStable = null;};`#
<Ke> thanks, much appreciated
<LinuxHackerman> something's definitely wrong with the way it gets evaluated though, it shoulnd't be happening
<Ke> this is also, why I dislike lazy evaluation
<LinuxHackerman> but I didn't find the time to dig into it
<Ke> the stacktrace is not really nice and even it it was nice, I don't strictly know, how the evaluation rules work
<LinuxHackerman> yep, that's what led me to giving up and using that hack as well
Darkmatter66 has quit [Quit: ZNC 1.7.5 - https://znc.in]
<Ke> did not work for me for whatever reason
alpernebbi has joined #nixos-aarch64
cptrbn has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<cptrbn> :wave: O hoj!
<cptrbn> I've been trying to get an RPi4 up with Nixos aarch64
<cptrbn> But all the images I make, nothing boots
<cptrbn> I thought it might be the pi, but I got Armv7 Arch working (but couldn't get ArchAarch64 going either)
<cptrbn> Spent hours trawling through U-boot notes, as that seems to be the major difference
<cptrbn> Yeah, started there
<cptrbn> The latest successful hydra image was the 10th
ryantrinkle has quit [Ping timeout: 264 seconds]
<cptrbn> Oh, unrelated, but anyone know where I can get the u-boot mentioned here? https://nixos.wiki/wiki/NixOS_on_ARM/Orange_Pi_Zero_Plus2_H5
<cptrbn> uboot-orangepi_zero_plus2_defconfig-2018.09.nixpkgs.*.u-boot-sunxi-with-spl.bin
justanotheruser has quit [Ping timeout: 264 seconds]
orivej has quit [Ping timeout: 240 seconds]
awaxa has joined #nixos-aarch64
justanotheruser has joined #nixos-aarch64
orivej has joined #nixos-aarch64
zupo has joined #nixos-aarch64
zupo has quit [Client Quit]
illustris has quit [Read error: Connection reset by peer]
illustris has joined #nixos-aarch64
<LinuxHackerman> elvishjerricco: https://gist.github.com/lheckemann/63c52f2115346e6c9bbc6ecdfde9f43b works for me on 20.09
<LinuxHackerman> Slow, but works
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-aarch64
cptrbn has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
rajivr has quit [Quit: Connection closed for inactivity]
justanotheruser has quit [Ping timeout: 272 seconds]
Darkmatter66 has joined #nixos-aarch64
zupo has quit [Ping timeout: 260 seconds]
zupo has joined #nixos-aarch64
cptrbn has joined #nixos-aarch64
cptrbn has quit [Client Quit]
cptrbn has joined #nixos-aarch64
cptrbn has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 240 seconds]
cptrbn has joined #nixos-aarch64
justanotheruser has joined #nixos-aarch64
cirno-999 has joined #nixos-aarch64
Acou_Bass has quit [Ping timeout: 240 seconds]
alpernebbi has quit [Quit: alpernebbi]
<elvishjerricco> Well, I've got it booting into stage 1 now, but it complains nonstop that it couldn't initialize the sd card and fails to mount stage 2
<elvishjerricco> LinuxHackerman: Thanks, that was what I ended up using to build the image
<samueldr> elvishjerricco: mainline?
cole-h has joined #nixos-aarch64
<samueldr> if it is, it may not know about the cm4 (and 400) either
<elvishjerricco> samueldr: I think so? I just did the nixos.sd_image_raspberrypi4.aarch64-linux hydra job
<samueldr> you may want to use the raspberry pi foundation kernel
<samueldr> hm
<samueldr> that job should be using the pi4 kernel though
<samueldr> maybe a kernel module lacking
<samueldr> depends what it complains about exactly
<elvishjerricco> Specifically, it says: `mmc0: ADMA error: 0x02000000` and then `mmc0: error -5 whilst initialising SD card`
<elvishjerricco> And it just repeats those two lines nonstop
<elvishjerricco> Maybe the rpi kernel in my branch is old. I have no idea what the base of my branch is right now :P
<samueldr> maybe
<samueldr> removing u-boot from the equation is also another thing to do to troubleshoot
<elvishjerricco> Didn't know that was possible
<cptrbn> It's not unlike my issues. Uboot builds don't seem to boot for me
<samueldr> cptrbn: on the raspberry pi cm4?
* samueldr looked at backlog
<samueldr> doesn't seem like so
<cptrbn> Oh no, just 4gb rpi
<cptrbn> Oh no, just 4gb rpi4
<samueldr> hard to say, we've had an issue recently where two same-release equivalent raspberry pi 4 did not agree on whether an hydra-produced image was bootable
<samueldr> so it seems there's something quite... wrong... with the raspberry pi... either the hardware, the firmware, or the software (and how we configure it)
<cptrbn> Oh yeah, I think I saw that
<samueldr> that makes it a hellish problem to debug
<cptrbn> I'm just trying the latest successful hydra build again
<samueldr> I can take my two raspberry pi 4B (2GB and 4GB. bought early) and both boot the same SD images successfully without a hitch :/
<cptrbn> Any idea if there are build versions?
<samueldr> hardware revisions?
<samueldr> there are
<samueldr> they are identifiable
<samueldr> build versions? I'm not sure what that would mean
<samueldr> the only difference could have been the eeprom program, but IIRC we verified and synced up to the same
<cptrbn> Yeah, I guess I'm thinking of the hardware revisions
<cptrbn> Do you have an Orange Pi Plus 2 H5 too?
<cptrbn> I saw your name as the maintainer?
<samueldr> I do
<samueldr> u-boot images are now available on hydra
<cptrbn> Is that something you can just write a config to build for?
<samueldr> I don't follow
<cptrbn> Sorry, still pretty early on my Nix journey
<samueldr> for the time being, the u-boot install is handled out of band
<samueldr> out of band meaning not managed by the nixos config
<samueldr> you can also build it using `pkgsCross.aarch64-multiplatform.ubootOrangePiZeroPlus2H5`
<samueldr> (without needing an aarch64 native builder)
<cptrbn> Ah...
<cptrbn> That's what I'm looking for
<samueldr> but if you don't want to build it
<samueldr> it's on hydra
<samueldr> (loading the page)
<samueldr> it may take a hot minute or two until I can give a link
<cptrbn> Thanks for your help!
<samueldr> just updated the wiki page with a link to the build
<cptrbn> Ah, good work, I was going to ask if I could help with that
<samueldr> note that I haven't tried anything with the board since... probably 2018
<samueldr> I don't know the current status on mainline
<samueldr> hopefully, and likely, things have improved!
<cptrbn> I'll give it a go in a bit, just juggling back and forth between the Orange Pi and the RPi4
dev_mohe has joined #nixos-aarch64
<samueldr> for the orange pi, try the latest kernel image variant, if the usual (5.4 LTS at the moment) isn't up to par
<samueldr> (or configure it so the system uses that image)
<samueldr> (uh, that kernel version)
dev_mohe has quit [Client Quit]
<cptrbn> Whelp, I've not got to the point where I can update kernels yet
<samueldr> yeah, I figured, if you hadn't had u-boot going on the orangepizeroplush5
<cptrbn> I'm using Nix on macOS, not NixOS (yet. but I must be close)
<samueldr> oh, that does bring some inconveniences
<samueldr> like not really being able to do Linux builds
<cptrbn> Yeah, that's it basically. I have a VM, but I can never tell if it's the VM that's the issue, being on x86_64, or just something random
justanotheruser has quit [Ping timeout: 272 seconds]
<cptrbn> Well, no luck with the Orange Pi. Wrote the latest aarch64 image from Hydra, then overwrote the card with the uboot image (as per wiki). Stick the card in, and nothing. Not even the power led. Taking the card out, it returns to booting the eMMC image (so not busted at least)
Darkmatter66 has quit [Quit: ZNC 1.7.5 - https://znc.in]
<cptrbn> At this point I might have to get some TTL reader to diagnose what's going on
<samueldr> yes, that would help
<cptrbn> I have a bunch of arduinos around, any idea if I can use them?
<samueldr> I think you might
<cptrbn> Ah nice, thanks!
<samueldr> >> If we look at the schematic of Arduino, we will see that the RX and TX pins are connected to the FTDI chip (as we expected) (on Arduino board as pin 0 and pin 1) That means we can use those pins for using the FTDI chip itself. We generally use TX and RX pins for communication. This is needed for the USB to TTL converter and there are many ways that can set input as RX and TX. There are three ways to convert USB to TTL and they are
<samueldr> extremely simple techniques.
<samueldr> haha lol
<samueldr> >> Removing ATMEL Chip
<samueldr> so you can make it into a serial interface by removing the smarts
<samueldr> the other two options are also basically that, but with extra steps
Acou_Bass has joined #nixos-aarch64
<colemickens> I got a cross-compiled base for armv6l. Now I'm trying to see if I can boot a qemu VM that is representative of the raspi0 CPU, but with more RAM? It's a bit unclear.
<colemickens> I'm also realizing that now that I have the base cross-compiled, it might not even be worht messng with the native compiler under qemu?
<elvishjerricco> colemickens: Which parts have you managed to cross compile?
<colemickens> But it does feel really cool to have taken the/floweringash's build-vm.nix and making it so that it can be used for this scenario (cross compile bootstrap into a native build environment)
<colemickens> elvishjerricco: I got enough for a base system with qemu-guest.nix included (though I had to strip out virtio_pci from kernel modules, which is then causing issues with booting, so I'm not 100% there)
<colemickens> It seems that current nixos-unstable plus the perl revert that's been discussed in here recently is enough for a bare minimum cross system build.
steveeJ has quit [Ping timeout: 265 seconds]
davidtwco_ has quit [Ping timeout: 260 seconds]
steveeJ has joined #nixos-aarch64
davidtwco_ has joined #nixos-aarch64
<elvishjerricco> Oh cool
<{^_^}> #21471 (by Ericson2314, 4 years ago, open): Always cross compile
<Ericson2314> i did do a long held dream thing though
<Ericson2314> getting closer to making the darwin bootstrap work the good cross way
<Ericson2314> elvishjerricco: also hi it's been a while
steveeJ has quit [Ping timeout: 264 seconds]
<samueldr> nice
<cptrbn> So turns out I had an FTDI programmer lying around. All I get connected to the Orange Pi is this:
<cptrbn> U-Boot SPL 2021.01 (Jan 11 2021 - 18:11:43 +0000)
<cptrbn> DRAM: 512 MiB
<cptrbn> Trying to boot from MMC1
<samueldr> hmmm
<samueldr> I need to try on my end
<samueldr> someone else had issues with another allwinner board recently
<samueldr> cptrbn: are you comfortable reverting the 2021.01 update?
<samueldr> and tsting
<samueldr> and testing*
<samueldr> (you'll need a nixos linux to build though)
<samueldr> just as a test
<cptrbn> I'm happy to, but I'm afraid you might have to walk me through it a little
<samueldr> I wonder if there was a regression
<samueldr> hm, the reason I was asking is because I wasn't able to really walk you through :/
<cptrbn> I reckon my virtualbox vm's up to the task
<cptrbn> Haaa
<cptrbn> Okay
<cptrbn> Sorry, still too new
<samueldr> no worries
<samueldr> all kind of users and future-contributors, total neophytes, some seasoned in non-NixOS
<samueldr> and it's all good :)
<samueldr> though, the good thing is I have the hardware to test
<cptrbn> As a relatively lite user on macOS I'm completely sold
<cptrbn> I just need to deploy to my fleet of RPis I have lying around
<cptrbn> (So I have a relatively good test suite too, once I get one working)
<cptrbn> Whoa. Just connected using `cu` and I get a lot more information @samueldr
steveeJ has joined #nixos-aarch64
<cptrbn> In fact, it's booted, and waiting at login
<cptrbn> If it had SSH/wifi configured, I'd be able to login
<cptrbn> But cu is just taunting me with a non-interactive log...
<elvishjerricco> Ugh. Making another image with a newer Nixpkgs didn't fix the problem