alyssa changed the topic of #panfrost to: Panfrost - FLOSS Mali Midgard & Bifrost - https://gitlab.freedesktop.org/panfrost - Logs https://freenode.irclog.whitequark.org/panfrost - <daniels> avoiding X is a huge feature
pH5 has quit [Ping timeout: 255 seconds]
jstultz has quit [Ping timeout: 252 seconds]
daniels has quit [Ping timeout: 250 seconds]
daniels has joined #panfrost
jstultz has joined #panfrost
<hanetzer> sphalerite: just performed my first kexec on this hardware
vstehle has quit [Ping timeout: 252 seconds]
chewitt has quit [Ping timeout: 250 seconds]
chewitt has joined #panfrost
vstehle has joined #panfrost
shenghaoyang has joined #panfrost
pH5 has joined #panfrost
shenghaoyang has quit [Ping timeout: 264 seconds]
cwabbott has quit [Remote host closed the connection]
<sphalerite> hanetzer: oh great! what was the trick?
daniels has quit [Ping timeout: 252 seconds]
austriancoder has quit [Ping timeout: 252 seconds]
ric96 has quit [Ping timeout: 252 seconds]
daniels has joined #panfrost
ric96 has joined #panfrost
austriancoder has joined #panfrost
shenghaoyang has joined #panfrost
rhyskidd has joined #panfrost
cwabbott has joined #panfrost
stikonas has joined #panfrost
shenghaoyang has quit [Remote host closed the connection]
shenghaoyang has joined #panfrost
<hanetzer> sphalerite: more or less same as your systemctl kexec trick; leveraging openrc's kexec support
<sphalerite> ah ok
<sphalerite> what I had trouble with when I was trying to do it was the initramfs, it didn't seem to want to use it correctly
<hanetzer> now I just gotta see about getting the kernel image down in size
<sphalerite> what's your ultimate plan? :)
<hanetzer> spi(coreboot(uImage.FIT(kernel,dtb,initramfs(petitboot))))
chewitt has quit [Quit: Zzz..]
shenghaoyang has quit [Remote host closed the connection]
<sphalerite> aah, very nice!
<sphalerite> would love to steal that if you get anywhere ;)
afaerber has joined #panfrost
<hanetzer> sure.
<hanetzer> had to patch buildroot to add petitboot as an option (petitboot--buildroot is hella outta date, and its easier to add petitboot to upstream buildroot than get it updated)
<hanetzer> half a mind to just desolder the stock 8mb and get something larger
<sphalerite> oh no! That makes it harder to steal the setup! :p
<hanetzer> yeah but its hard to make the setup :P
<hanetzer> sphalerite: tell ya what, if you can get me a kernel that'll boot on the kevin that's 5mb or less I'll not do that ;)
<sphalerite> hanetzer: I can take a shot at making one for bob, that should also work on kevin right?
<hanetzer> theoretically. they both use the same baseboard gru right?
<sphalerite> yep
<hanetzer> wifi drivers shouldn't be needed for one, but I still can't get smaller than a 6.9mb Image
<sphalerite> dumb idea: different compression?
<hanetzer> lzma
<urjaman> you mean kernel or kernel+initramfs? (in that image, and also that is compressed?)
<urjaman> my C201 kernel is 4.1M i think gzipped and i think that is still obnoxiously big
<hanetzer> I have a 2.1mb initramfs.cpio.xz
<urjaman> but it doesnt really matter so ...
<hanetzer> so, I have 8mb to cram it all into. coreboot's actual code will take some, dtb is negligable
<hanetzer> so, I guestimate about 7mb of actual free space to use
<hanetzer> I may be able to get the initramfs smaller if I switch from busybox to sbase/ubase from suckless.org
<sphalerite> or reconfigure busybox to have only what you need?
<urjaman> yeah i was like depending on what you need you should be able to get the busybox smaller than that but *shrug*
<urjaman> once upon a time i stuffed a kernel (i think 4.4 tho)+initramfs of a router into about 1.6M (a cheap MIPS router with 2MB of flash...)
<sphalerite> only vaguely related: how well can I expect a device tree from rockchip's 4.4 to work with a newer kernel?
<urjaman> i'd guess in practice not super well (in theory yeah it should work but ...)
<hanetzer> sphalerite: true that. but you can't shave too much off of 2.1mb anyways :)
<hanetzer> rather wish that kernel LTO made it into the tree :)
shenghaoyang has joined #panfrost
shenghaoyang has quit [Remote host closed the connection]
shenghaoyang has joined #panfrost
shenghaoyang has quit [Remote host closed the connection]
shenghaoyang has joined #panfrost
shenghaoyang has quit [Remote host closed the connection]
shenghaoyang has joined #panfrost
chewitt has joined #panfrost
shenghaoyang has quit [Remote host closed the connection]
chewitt has quit [Ping timeout: 252 seconds]
stikonas has quit [Ping timeout: 268 seconds]
indy has quit [*.net *.split]
AreaScout_ has quit [*.net *.split]
<anarsoul> alyssa: ping
<anarsoul> alyssa: how do you test panfrost on X11?
<anarsoul> for lima glamor is currently non-functional, but if I disable glamor GLX fallbacks to software rendering
<alyssa> anarsoul: I don't.
<alyssa> See topic.
<anarsoul> :(
<urjaman> anarsoul: yeah i poked around enough to see that the modesetting driver only supports glx if glamor is enabled ...
<urjaman> (the hardware accelerated variant of it ...)
indy has joined #panfrost
AreaScout_ has joined #panfrost
<anarsoul> urjaman: I see. So basically no X11 until you get glamor working
<urjaman> yup
adjtm has quit [Read error: Connection reset by peer]
adjtm_ has joined #panfrost
Lyude has quit [Quit: WeeChat 2.2]
Lyude has joined #panfrost
adjtm has joined #panfrost
adjtm_ has quit [Ping timeout: 240 seconds]
robclark has joined #panfrost
<hanetzer> sphalerite: yooooo, got the uImage.FIT to fit (hehe, bad joke) into the coreboot.rom
<hanetzer> no idea if it 'works' yet but its a start!
<sphalerite> \o/
<hanetzer> it probably is a terrible kernel for debugging tho
<hanetzer> had to turn off stuffs
<sphalerite> I can imagine
<alyssa> hanetzer: urjaman: sphalerite: What the actual heck have you been talking about..? :P
<hanetzer> alyssa: kevin has 8mb of flash. I'm trying to shove a linux kernel and an initramfs with petitboot into that space
<hanetzer> alyssa: petitboot is a kexec-based bootloader. basically, you boot the kernel in the flash, which runs pb-discover to scan bootable media, and then petitboot-nc, an ncurses interface which lets you chose a boot option.
<hanetzer> it then loads the stuff in the boot option and kexec's it
<alyssa> hanetzer: .......No.
<alyssa> :P
<hanetzer> :3
<alyssa> https://freenode.net/groupreg We should maybe do this (for cloaks)
pH5 has quit [Quit: -_-]
<hanetzer> heh...
<urjaman> i already have a hilarious developer cloak for a project that i dont (currently) develop for :P
<alyssa> Pff
<urjaman> but yeah why not
<sphalerite> oooh openpandora
<sphalerite> nic
<sphalerite> e
<mmind00> I still have my pandora :-)
<sphalerite> I have a gp2x lying around… somewhere…
<urjaman> yeah my rebirth is right here next to me actually, but quite unused usually
<sphalerite> Wanted to see if I could get gp2x games running on my chromebook recently, but alas it seems to use some funky nonstandard system calls
<urjaman> there is a compatibility thing for GP2X stuff (for the pandora, but hey), but i never had a GP2X so i havent tried it
<sphalerite> ooh, very nice
<sphalerite> "Currently it's closed source and runs on Pandora and Wiz itself." :((
<sphalerite> I guess I'll email notaz and ask for source, can't hurt, right?
<sphalerite> or, uh, that description page is just outdated? https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=ginge.git;a=summary
NeuroScr has joined #panfrost
NeuroScr has quit [Quit: NeuroScr]
<alyssa> What's ginge/GP2X?
<HdkR> It was fun seeing Pandoras at Fosdem a few years ago
stikonas has joined #panfrost
stikonas has quit [Remote host closed the connection]