Thra11 has quit [Quit: WeeChat 2.7]
prusnak has joined #nixos-aarch64
ryantrinkle has quit [Ping timeout: 260 seconds]
ryantrinkle has joined #nixos-aarch64
h0m1 has quit [Ping timeout: 245 seconds]
h0m1 has joined #nixos-aarch64
<DigitalKiwi> how do i make the /boot not be 30M :(
<thefloweringash> Complaining on irc seems to have fixed my build. I should have complained earlier
<DigitalKiwi> oh in that case
<DigitalKiwi> I'd like to file a complaint about my 30M boot
vika_nezrimaya has quit [Ping timeout: 240 seconds]
<thefloweringash> is it smaller yet?
<thefloweringash> what's the story with /boot ?
<DigitalKiwi> /dev/mmcblk0p1 30M 30M 0 100% /boot
<DigitalKiwi> it made my nixos-rebuild fail :<
<thefloweringash> I normally make ~512mb for /boot, don't know what the recommended value is
<thefloweringash> are you using the firmware partition for /boot?
<DigitalKiwi> yeah
<thefloweringash> might I recommend not doing that? :-)
<DigitalKiwi> what do i do instead
<DigitalKiwi> update: it is now larger
<thefloweringash> general idea is leave the firmware partition alone, and put kernels/images/dtbs elsewhere. I think modern sdImages do this by mounting the firmware partition on /boot/firmware putting kernels on the root (under the /boot directory), don't know what device or setup you have though
<samueldr> it depends which image is being built
<samueldr> is it using u-boot or booting the kernel directly using config.txt?
<samueldr> using config.txt you've got less flexibility
<samueldr> (here I assume a raspberry pi from previous discussions)
<samueldr> if it's using u-boot, the default assumption since 19.09 is that the FAT32 partition is an "opaque blob" for the raspberry pi 3
<samueldr> (4 pending)
<DigitalKiwi> rpi 3b+
<samueldr> though I'm not sure when not using u-boot, if the image builder defaults to the same diminutive size
<thefloweringash> is not using u-boot typical?
<samueldr> on raspberry pi it seems some people want to do it
<samueldr> mainly with the raspberry pi kernel and dtoverlay and shenanigans from config.txt
<samueldr> but one thing for sure is that "converting" a u-boot generic image to booting the kernel with config.txt the small size of the partition is going to cause grief
<DigitalKiwi> can i resize it
<DigitalKiwi> well i mean i did
<DigitalKiwi> but kind of
<DigitalKiwi> gparted failed to resize it
<samueldr> you can produce an SD image with different parameters
<DigitalKiwi> so i copied the contents and then deleted it and made one bigger and copied back
<DigitalKiwi> it booted at least
<samueldr> the easy way is to checkout nixpkgs and tweak the files
<samueldr> yeah, the small size makes mkfs.fat make a FAT16 partition iirc
<samueldr> which has a smaller maximum size
<samueldr> (i assume could have been the issue)
<DigitalKiwi> oh i reformatted it as fat32 too
<samueldr> the raspberry pi 3 family is not fussy with partitions though
<samueldr> no issue there
<DigitalKiwi> because yeah fat16 wasn't having the 512
<samueldr> as long as there's a FAT partition on MBR with its fancy files it'll use those
<samueldr> though, if you're still using u-boot, it's recommended to not mount a partition for /boot, but rather leaving it at the root of the fs
<samueldr> as u-boot just reads from the ext4 fs
<DigitalKiwi> i don't know if i'm using u-boot
<samueldr> this mirrors the other u-boot-based setups
<DigitalKiwi> how do i know :(
<DigitalKiwi> /dev/mmcblk0p1 511M 65M 447M 13% /boot
<DigitalKiwi> tada
<samueldr> if you downloaded an image from hydra, "nixos.sd_image.aarch64", it's a generic image where the FIRMWARE partition is intended to be used as an opaque blob hosting u-boot
<samueldr> docs really need to be written about that :(
<samueldr> boot.loader.generic-extlinux-compatible.enable = true;
<DigitalKiwi> i basically did whatever i did before which is whatever is on the wiki but instead of SD_BOOT it's FIRMWARE
<samueldr> this is setup so u-boot will use that config file
<samueldr> I don't see the raspberry-pi specific options
<samueldr> I believe the main issue you're facing is that you're assuming the (previous) setup of mounting that partition on /boot
<samueldr> if I it worked, I would have made it so the FAT partition is completely hidden/unusable/"broken" for linux, but works for the pi :)
<DigitalKiwi> whatever i did before this every time i rebooted it was the original image :<
<samueldr> as long as none of `boot.loader.raspberryPi.*` are used
<samueldr> and that extlinux option is enabled
<samueldr> I believe it works
<samueldr> options are a big mess because of mismatch in implementation
<samueldr> there already was two different implementation of booting options for u-boot on raspberry pi IIRC
<samueldr> and it's not as simple as removing those options... those options do have a use for some setups!
<samueldr> (removing from NixOS)
zupo has joined #nixos-aarch64
lovesegfault has quit [Ping timeout: 245 seconds]
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…]
zupo has joined #nixos-aarch64
prusnak has left #nixos-aarch64 [#nixos-aarch64]
NickHu has quit [Quit: killed]
Ox4A6F has quit [Quit: killed]
cornu has quit [Quit: killed]
Ericson2314 has quit [Quit: killed]
craige[m] has quit [Quit: killed]
dtz has quit [Quit: killed]
thequux[m] has quit [Quit: killed]
contrun[m] has quit [Quit: killed]
danielrf[m] has quit [Quit: killed]
bennofs[m] has quit [Quit: killed]
Irenes[m] has quit [Quit: killed]
thefloweringash has quit [Quit: killed]
balsoft has quit [Quit: killed]
alienpirate5 has quit [Quit: killed]
marius851000[m] has quit [Quit: killed]
worldofpeace has quit [Quit: killed]
marijan[m] has quit [Quit: killed]
danielrf[m] has joined #nixos-aarch64
worldofpeace has joined #nixos-aarch64
balsoft has joined #nixos-aarch64
Ericson2314 has joined #nixos-aarch64
contrun[m] has joined #nixos-aarch64
cornu has joined #nixos-aarch64
thequux[m] has joined #nixos-aarch64
Ox4A6F has joined #nixos-aarch64
thefloweringash has joined #nixos-aarch64
Irenes[m] has joined #nixos-aarch64
marijan[m] has joined #nixos-aarch64
NickHu has joined #nixos-aarch64
alienpirate5 has joined #nixos-aarch64
bennofs[m] has joined #nixos-aarch64
dtz has joined #nixos-aarch64
craige[m] has joined #nixos-aarch64
marius851000[m] has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
zupo has quit [Client Quit]
zupo has joined #nixos-aarch64
Thra11 has joined #nixos-aarch64
Thra11 has quit [Quit: WeeChat 2.7]
ryantrinkle has quit [Ping timeout: 268 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ryantrinkle has joined #nixos-aarch64
zupo has joined #nixos-aarch64
h0m1 has quit [Quit: WeeChat 2.7]
h0m1 has joined #nixos-aarch64
evils has quit [Quit: Lost terminal]
zupo_ has joined #nixos-aarch64
zupo has quit [Ping timeout: 268 seconds]
THFKA4 has joined #nixos-aarch64
THFKA4 has quit [Changing host]
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
orivej has quit [Ping timeout: 268 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lovesegfault has joined #nixos-aarch64
misuzu has quit [Remote host closed the connection]
misuzu has joined #nixos-aarch64
zupo has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
h0m1 has quit [Quit: WeeChat 2.7]
h0m1 has joined #nixos-aarch64
<samueldr> :< I'm confused, the framebuffer on the pixel 2 works in stage-1 only when some things apparently fail
<samueldr> (according to dmesg)
Thra11 has joined #nixos-aarch64
fooker has joined #nixos-aarch64
Thra11 has quit [Quit: WeeChat 2.7]
cptchaos83_ has joined #nixos-aarch64
cptchaos83 has quit [Ping timeout: 260 seconds]
hexa- has quit [Quit: WeeChat 2.6]
hexa- has joined #nixos-aarch64