ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion | IRC log http://irclog.whitequark.org/linux-rockchip | Community GH https://github.com/linux-rockchip | Rockchip GH https://github.com/rockchip-linux | ML https://groups.google.com/group/linux-rockchip
<alyssa> hanetzer: RK3399 but seems device agnostic
<alyssa> Most basic hellow rodl initramfs still getting "No working init found"
<hanetzer> alyssa: how are you building? raw kernel source?
<alyssa> Mm
<hanetzer> what's the boot firmware?
<alyssa> depthcharge
<alyssa> Initramfs is compiled in CONFIG_INITRAMFS_SOURCE
<alyssa> Which seems to be the problem but it should work
<hanetzer> does deptcharge not support adding the initramfs to the fit image?
<alyssa> I didn't think so
<hanetzer> as in, the initramfs is 'next to' the kernel and dtb and not inside the kernel?
<hanetzer> hmm.
<alyssa> I mean maybe
<alyssa> It is inside the kernel now. Yet it's 0still- not loading/executing
<hanetzer> dunno what to say then, I've been using linux as a payload. what's your cmdline.txt file?
<alyssa> console=tty0 cryptdevice=.... root=/dev/mapper/root rootfstype=ext4 ro loglevel=7
<alyssa> rdinit=/init should be default..?
<hanetzer> not /sbin/init ?
<alyssa> It's a ramdisk
<hanetzer> how is the initrd made? raw, dracut, something else?
<alyssa> initramfs, not initrd
<alyssa> And right now, for debug, literally just a folder with a single static printf /init packed with cpio directly
<alyssa> echo init | cpio -o -H newc | gzip > repacked.cpio.gz
* hanetzer has never seen this echo init formulation
<alyssa> "Run /init as init process"
<alyssa> "Failed to execute /init (error -2)"
vagrantc has joined #linux-rockchip
vstehle has quit [Ping timeout: 248 seconds]
RokQuarry has joined #linux-rockchip
vagrantc has quit [Quit: leaving]
return0e has quit [Read error: Connection reset by peer]
return0e_ has joined #linux-rockchip
chewitt has joined #linux-rockchip
vstehle has joined #linux-rockchip
return0e has joined #linux-rockchip
return0e_ has quit [Ping timeout: 268 seconds]
<EmilKarlson> are you 100% on static?
<alyssa> EmilKarlson: I got it figured out
<EmilKarlson> ok
<alyssa> TL;DR was to pack it with depthcharge (in the FIT), not in the kernel (not CONFIG_INITRAMFS_SOURCE), and maybe set rw (?)
<EmilKarlson> yup, I use fit initrd
<alyssa> EmilKarlson: With full disk encryption?
<EmilKarlson> yes
<alyssa> Nice :)
<alyssa> Planning to write up my notes somewhere so nobody else has to go through all this again :P
ldevulder_ has joined #linux-rockchip
ldevulder has quit [Ping timeout: 245 seconds]
RokQuarry has quit [Quit: Leaving]
rperier has quit [Remote host closed the connection]
return0e has quit [Read error: Connection reset by peer]
return0e has joined #linux-rockchip
field^Zzz1 has joined #linux-rockchip
field^Zzz1 has quit [Ping timeout: 272 seconds]
stikonas has joined #linux-rockchip
Greyztar has quit [Ping timeout: 256 seconds]
Greyztar has joined #linux-rockchip
cristian__c has joined #linux-rockchip
cristian_c has quit [Ping timeout: 258 seconds]
rperier has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
cristian__c has quit [Ping timeout: 272 seconds]
cristian_c has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
cristian__c has joined #linux-rockchip
cristian_c has quit [Ping timeout: 272 seconds]
field^Zzz1 has joined #linux-rockchip
cristian__c has quit [Ping timeout: 244 seconds]
cristian_c has joined #linux-rockchip
cristian__c has joined #linux-rockchip
cristian_c has quit [Ping timeout: 268 seconds]
cristian_c has joined #linux-rockchip
cristian__c has quit [Ping timeout: 252 seconds]
stikonas has quit [Remote host closed the connection]
Greyztar has quit [Remote host closed the connection]
Greyztar has joined #linux-rockchip
cristian__c has joined #linux-rockchip
cristian_c has quit [Ping timeout: 245 seconds]
aalm has quit [Ping timeout: 272 seconds]
return0e has quit [Read error: Connection reset by peer]
return0e has joined #linux-rockchip
jelly-home is now known as jelly
cristian__c has quit [Ping timeout: 248 seconds]
cristian_c has joined #linux-rockchip
warpme_ has joined #linux-rockchip
BenG83 has joined #linux-rockchip
stikonas has joined #linux-rockchip
cristian__c has joined #linux-rockchip
cristian_c has quit [Ping timeout: 258 seconds]
cristian__c has quit [Ping timeout: 252 seconds]
cristian_c has joined #linux-rockchip
cristian_c has quit [Ping timeout: 248 seconds]
cristian_c has joined #linux-rockchip
cristian_c has quit [Ping timeout: 248 seconds]
cristian_c has joined #linux-rockchip
return0e has quit [Ping timeout: 272 seconds]
return0e has joined #linux-rockchip
warpme_ has quit [Quit: warpme_]
no1b4me has joined #linux-rockchip
warpme_ has joined #linux-rockchip
warpme_ has quit [Client Quit]
return0e has quit [Ping timeout: 272 seconds]
return0e has joined #linux-rockchip
notkoos has joined #linux-rockchip
aalm has joined #linux-rockchip
<hanetzer> :)
<hanetzer> EmilKarlson: I too use FIT with my coreboot, but no deptcharge at all :)
somy has joined #linux-rockchip
vagrantc has joined #linux-rockchip
gnufan_home has joined #linux-rockchip
alyssa has left #linux-rockchip [#linux-rockchip]
lkcl has quit [Ping timeout: 245 seconds]
lkcl has joined #linux-rockchip
stikonas has quit [Read error: Connection reset by peer]
stikonas has joined #linux-rockchip
aalm has quit [Quit: xyz 2.3]
vicencb has joined #linux-rockchip
rich0 has quit [Quit: rich0]
rich0 has joined #linux-rockchip
vicencb has quit [Quit: Leaving.]
default__ has joined #linux-rockchip
gnufan_home has quit [Quit: Leaving.]
ldevulder_ has quit [Ping timeout: 248 seconds]
stikonas has quit [Read error: Connection reset by peer]
stikonas_ has joined #linux-rockchip
field^Zzz1 has quit [Ping timeout: 272 seconds]
stikonas has joined #linux-rockchip
stikonas_ has quit [Ping timeout: 248 seconds]
alyssa has joined #linux-rockchip
<alyssa> "rockchip_sound_max98357a_hw_params() doesn't support this sample rate: 44100"
<alyssa> ASoC: machine hw_params failed: -22
<alyssa> (Linux 5.1)
<alyssa> Umm....
<alyssa> Indeed it does not support 44100 per the kernel. *blink* Audio was fine on 5.0 uhhh
stikonas has quit [Remote host closed the connection]
<alyssa> Sure enough, if I force --audio-samplerate=48000 in `mpv`, audio plays just fine through the speakers
stikonas has joined #linux-rockchip
<alyssa> The better question is, why isn't that being negotiated automatically? Who's dropping the ball? Kernel or user?
cristian__c has joined #linux-rockchip
<alyssa> alsa-info causes a kernel panic. Lovely.
cristian_c has quit [Ping timeout: 272 seconds]
stikonas has quit [Remote host closed the connection]