lovesegfault has joined #nixos-aarch64
lovesegfault has quit [Client Quit]
lovesegfault has joined #nixos-aarch64
h0m1 has quit [Ping timeout: 272 seconds]
h0m1 has joined #nixos-aarch64
wavirc22 has quit [Ping timeout: 260 seconds]
matthewbauer has joined #nixos-aarch64
<matthewbauer> Hey, I know this channel is meant for 64-bit arm, but I've been having lots of problems getting my Raspberry Pi 0. Every time I try boot from u-boot-rpi0.bin. It gets stuck at "Starting kernel..." every time, no other information. Does anyone have a working raspberry pi 0 config? I'm starting to wonder if my Linux kernel is somehow configured wrong. You can see my config at https://github.com/matthewbauer/kiosk
<matthewbauer> (you can build the image with release.nix).
<samueldr> no worries, non-64 bit arms are also loved here
<samueldr> do you have serial to check things?
<samueldr> (I'm assuming you see the message on HDMI)
<matthewbauer> unfortunately not - this is just hdmi so far
<matthewbauer> maybe I can get that though
<matthewbauer> the relevant rpi / sd config is https://github.com/matthewbauer/kiosk/blob/master/rpi-sd.nix
<samueldr> the most likely explanation is that the kernel doesn't output to HDMI
<samueldr> or the other as likely explanation is that it freezes
<samueldr> it's been a while since I checked rpi0/1 works
<samueldr> hm, you may want to figure a better way to select the kernel, as pi 3 and 4 both would be aarch64 and this will cause issue with the pi foundation defconfig AFAICT
<matthewbauer> yeah so dezgeg's image from https://www.cs.helsinki.fi/u/tmtynkky/nixos-arm/ works without any issue
<samueldr> yeah, though a bit old :/
* samueldr starts a fresh pi 0 image build
<matthewbauer> linuxPackages_rpi1 should give me everything I need from what I see
<samueldr> yep, pi 0/1 should be fine
<matthewbauer> I am pretty sure I had it working like ~1 year ago when I was first trying this, but I may have been doing something different like no u-boot
<samueldr> plausible, u-boot and the pi kernel also updated during that time
<samueldr> started the build, not sure exactly how long it'll be, my cache is cold
<samueldr> oh, your cache may be hotter, using this you can cross-compile the nixos sd image https://github.com/samueldr/cross-system
<samueldr> (it's all the needed workarounds)
<samueldr> that sd image is the nixos one, the same one dezgeg was building
<matthewbauer> yeah this is close to what i was doing, but perhaps there is some difference that makes it work
<samueldr> yeah, I'm not really expecting it to work better, but with your hot cache it's likely to be a trivial build
lovesegfault has quit [Ping timeout: 256 seconds]
<matthewbauer> ok... getting it building now, had to add some overlays to match what i had cached
<samueldr> currently burning the image, built from unstable
lovesegfault has joined #nixos-aarch64
<matthewbauer> yeah i just got the same thing with cross-system - Starting kernel... then nothing
<samueldr> good to know you're seeing the same result
<samueldr> I think that SD card is not fast
orivej has joined #nixos-aarch64
<samueldr> hmm
<samueldr> while it doesn't like the display it's plugged into
<samueldr> it looks like it's doing something after u-boot
<samueldr> I was able to poweroff from that
<samueldr> and the mismatched garbage on-screen looked like the poweroff I would expec
<samueldr> expect*
<samueldr> so, current unstable, no additional overaly, built using cross-system should be working
<matthewbauer> maybe it is getting farther and i'm just not seeing it
<matthewbauer> any idea why it wouldn't like the display?
<samueldr> in my case, u-boot was as garbled
<samueldr> I know some config.txt options help
<samueldr> and it's also an issue with the pi 3
<samueldr> the display is a 1366x768 vga only display with a dirt cheap vga to hdmi thing
<samueldr> oh, no, I think that one works fine with the pi 3
<samueldr> anyway, u-boot was garbled, so if it's a disagreement with the display, it's a bit weird
<samueldr> you could wait ~1-2 minutes, and try to sudo reboot
<samueldr> that way it would show whether the kernel is running or not
<samueldr> or, in your situation, maybe networking+ssh since you have a custom configuration
<matthewbauer> yeah networking sounds like the best option
<colemickens> /join #ffmpeg
<lovesegfault> colemickens: don't do it
<colemickens> It's regarding licensing, it'll be fun :)
<lovesegfault> :D
lovesegfault has quit [Quit: WeeChat 2.7.1]
Thra11 has quit [Ping timeout: 258 seconds]
Thra11 has joined #nixos-aarch64
ryantrinkle has quit [Ping timeout: 255 seconds]
ryantrinkle has joined #nixos-aarch64
zupo has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
greizgh has quit [Quit: greizgh]
greizgh has joined #nixos-aarch64
pbb_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos-aarch64
zupo has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bennofs has quit [Quit: No Ping reply in 180 seconds.]
bennofs has joined #nixos-aarch64
t184256 has left #nixos-aarch64 [#nixos-aarch64]
t184256 has joined #nixos-aarch64
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos-aarch64
njd has quit [Ping timeout: 260 seconds]
njd has joined #nixos-aarch64
lovesegfault has joined #nixos-aarch64
lovesegfault has quit [Client Quit]
zupo has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wavirc22 has joined #nixos-aarch64
Acou_Bass has quit [Ping timeout: 240 seconds]
Acou_Bass has joined #nixos-aarch64
Thra11 has quit [Ping timeout: 256 seconds]