Kamilion has quit [Quit: I am kamilion. But you knew that, didn't you.]
Kamilion has joined #linux-sunxi
<bshah>
karlp: you need to start getty on that specific serial console from the inittab
BenG83 has joined #linux-sunxi
<karlp>
yeah, when I opened up picocom on the gadget serial port, I was initially getting continuous spew "can't find tty1, tty2, tty3, tty4, tty5,tty6" and I edited the inittab to not try them, and added ttyS0 and ttyGS0 and then I stopped getting errors, but never got a console.
* karlp
shrugs. back to it again tonight, will just try a plain buildroot to try and avoid the openwrt vs upstream issues I think I'm having
<KotCzarny>
you can start getty from shell too
<KotCzarny>
for testing purposes
<karlp>
I wasn't getting a shell at all, that was it.
<KotCzarny>
no network?
<karlp>
only the gadget, but I had to configure it's ip in the rootfs and wsan't used to how alpine does that.
<KotCzarny>
rc.local/
<karlp>
I like that shell via ethernet is something you thought of as being simpler than "why don't I have a console on serial?" :)
<KotCzarny>
thats because serial device can be random
<KotCzarny>
many drivers use werid device names
<KotCzarny>
and interrupts, and other configs etc etc
<karlp>
sure, but a few reboots trying out ttyS0, S1, S2 would have found it, and I _was_ getting the console output, just not the login.
<karlp>
anyway, will try again later.
<KotCzarny>
spawn the shell directly redirecting input from and to that serial device then
<KotCzarny>
and once you have network up you can tidy up the details :>
<karlp>
KotCzarny: well I'd tried even just making init a symlink to /bin/sh and still didn't get a shell. so *shrugs*
<libv>
if alpine linux does it differently, please document
<KotCzarny>
symlinking wouldnt work i think because you have to redirect serial line in/out
cnxsoft1 has joined #linux-sunxi
<karlp>
libv: well, I'm not sure if alpine is using system at all, and I certainly wouldn't hve been looking for it on the page abotu debootstrap, but yes, another source of info I can look at, thanks.
cnxsoft has quit [Ping timeout: 240 seconds]
<libv>
karlp: i wrote that up just a few months ago, so it is the first thing that my synapses retrieved
<libv>
please create an alpine linux page on the wiki to document its quirks and features when using it for sunxi hw
<karlp>
KotCzarny: I mean the init link, instead of linking /init to /sbin/init I linked it to /bin/sh, to try and get the old classic single user here's a shell recovery
<KotCzarny>
that would only work if you have physical display and kb working
<karlp>
libv: the "with sysvinit" on that debootstrap page matches what the alpine /etc/inittab had.
<libv>
karlp: as said, that's what my synapses returned, in case it was of any use
<karlp>
yep, I'm going to look at it more later, thanks for it, filed for now.
[7] has quit [Disconnected by services]
TheSeven has joined #linux-sunxi
Mangy_Dog has joined #linux-sunxi
tllim has quit [Read error: Connection reset by peer]
megi has joined #linux-sunxi
xdecimal has joined #linux-sunxi
xdecimal has quit [Read error: Connection reset by peer]
lurchi_ is now known as lurchi__
florian_kc has joined #linux-sunxi
tdebrouw has joined #linux-sunxi
Guest19885 has left #linux-sunxi [#linux-sunxi]
BenG83 has quit [Quit: Leaving]
BenG83 has joined #linux-sunxi
gaston1980 has joined #linux-sunxi
k40s[m] has quit [Remote host closed the connection]
hpagseddy[m] has quit [Write error: Connection reset by peer]
davidebeatrici has quit [Write error: Connection reset by peer]
atopuzov[m] has quit [Remote host closed the connection]
t4h4[m] has quit [Write error: Connection reset by peer]
z3ntu has quit [Read error: Connection reset by peer]
thefloweringash has quit [Write error: Connection reset by peer]
romainmahoux[m] has quit [Read error: Connection reset by peer]
Danct12 has quit [Write error: Connection reset by peer]
freddor has quit [Write error: Connection reset by peer]
insep[m] has quit [Read error: Connection reset by peer]
fevv8[m] has quit [Read error: Connection reset by peer]
JuniorJPDJ has quit [Read error: Connection reset by peer]
agates[m] has quit [Write error: Connection reset by peer]
mic-e[m] has quit [Remote host closed the connection]
MartijnBraam has quit [Write error: Connection reset by peer]
Jeremy_Rand_Talo has quit [Write error: Connection reset by peer]
solderfumes has quit [Write error: Connection reset by peer]
oliv3r[m] has quit [Remote host closed the connection]
EmilKarlson has quit [Write error: Connection reset by peer]
clementp[m] has quit [Remote host closed the connection]
AneoX has joined #linux-sunxi
GrimKriegor has quit [Ping timeout: 240 seconds]
dlan has quit [Remote host closed the connection]
<hlauer>
still debugging a hifiberry AMP driver: alsa got an EINVAL error while opening the PCM device with sun4i-i2s.c and the pcm device is missing from debugfs. Needs 5.4 code an additional DT entry ?
GrimKriegor has joined #linux-sunxi
GrimKriegor has joined #linux-sunxi
megi has quit [Ping timeout: 265 seconds]
dddddd has joined #linux-sunxi
<libv>
hlauer: can you recap what you wrote... last week?
<libv>
also, is the hifiberry not for the raspberry-pi?
<libv>
what board are you attaching the hifiberry to?
<hlauer>
To a banana Pro. hifiberry amp is basically a tas5713 which needs i2c and i2s. Both are on the GPIO connector an an bananapro
tllim has joined #linux-sunxi
<hlauer>
Did I miss something last week ?
cnxsoft1 has quit [Ping timeout: 268 seconds]
<veremitz>
anything pi should be generic enough.. the interfaces are .. bleh :D heh
<veremitz>
most SBCs have very comparable interfaces :D
<veremitz>
and its linux on top so .. :D
<veremitz>
<£
<veremitz>
<3*
<KotCzarny>
i2s might be the not-completely-tested-yet part
<libv>
hlauer: did you get this working with an older kernel and are now asking about newer kernel versions?
<KotCzarny>
and amp driver is built in vanilla kernel or you apply some raspi specific driver?
<KotCzarny>
now you see why mainlining is important
<KotCzarny>
:)
<hlauer>
I trying now to use the tas571x.c codec driver, which loads and the alsa controls are visible.
<hlauer>
Yes, trying to do that
<hlauer>
So with the tas571x the i2c part looks good
<karlp>
linux: "you can _never_ _ever_ break userspace" also linux: "if you aren't working on next weeks code base, we're absolutely going to break your kernel code, you're doing this full time for pay right?!!?!!"
<KotCzarny>
karlp: i think that was before big kernel version stampedo
<KotCzarny>
disclaimer: you can never ever break userspace/interfaces that are already mainlined.
<KotCzarny>
otherwise, fire away
<karlp>
yes. nothing's changed there.
<KotCzarny>
also, if no one notices, fire away
<karlp>
upstreaming's great, but holyshit upstream is a moving target if you're not doing it 100% fulltime
megi has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
<hlauer>
libv: yes, asking about the 5.4-rc code. To say again, also with the included tas571x.c code instead of the raspian patches included 5713.c
<yann>
I'm surprised to see libMali.so r3p0 does not provide libgbm (H3, orange-pi-pc) - who's supposed to provide it then ?
aloo_shu has joined #linux-sunxi
diego71_ has joined #linux-sunxi
ldevulder_ has joined #linux-sunxi
ldevulder has quit [Ping timeout: 240 seconds]
diego71 has quit [Ping timeout: 264 seconds]
oliv3r[m] has joined #linux-sunxi
oliv3r[m] has quit [Ping timeout: 250 seconds]
tdebrouw has quit [Quit: Leaving.]
oliv3r[m] has joined #linux-sunxi
warpme_ has quit [Quit: Connection closed for inactivity]
florian has quit [Ping timeout: 246 seconds]
Mangy_Dog has quit [Ping timeout: 250 seconds]
<karlp>
well, my gadget (not) console now gives me warnings about not being able to find itself :) https://zerobin.net/?a423c28b2e8398c3#kr+j3eC+CAm2+Bxm/NoOJm5wFpZpY2rjpKwjFJWH5kM=
dlan has joined #linux-sunxi
<karlp>
despite teling me thos warnings on the gadget serial port it made