peterm6881 has joined #Speedsaver
<peterm6881> hey Xogium
<peterm6881> im playing around with enabling stuff in Buildroot
<peterm6881> for networking, whats the minimum thing or things that should be enabled?
<peterm6881> i see wpa_supplicant and ifupdown scripts are enabled by default
<peterm6881> but what about wired ethernet?
<peterm6881> lol its funny how the Package Managers section basically consists of "fuck off"
<Xogium> looks like there is 0 ethernet support
<peterm6881> hmm... thats a bit disappointing
<Xogium> I don't see it anywhere in any device tree, be it the lichee zero or the dock version
<peterm6881> im running a 2022.02.1 build just using Buildroots native licheepi_zero_defconfig, with alsautils enabled
<peterm6881> just so I can at least be sure your audio works
<peterm6881> by the way there are pads for nand flash on this thing
<peterm6881> it could be hand soldered
<peterm6881> i sent you a cp210 Bridge right?
<Xogium> yeah attached to the orange pi
<Xogium> so looks like we'll have to do with no ethernet, despite having an ethernet port
<Xogium> what a waste of space
<peterm6881> nand flash is better than nor?
<Xogium> depends for what
<peterm6881> lol which is better for which
<Xogium> nor is faster for code execution, nand is better for storing data
<Xogium> but, given it would be over spi, there's not much point
<peterm6881> we could offer 128 Mbytes for about an extra 2.5 usd
<peterm6881> 1 gigabit
<peterm6881> if anyone wanted to go down that route
<Xogium> but why would you if its orders of magnitude slower than micro sd ?
<peterm6881> indeed
<peterm6881> who knows that people will wanna do
<peterm6881> this thing will fly when we introduce eMMC
<Xogium> might be the same speed as micro sd
<Xogium> given it doesn't support the vry latest eMMC standard
<Xogium> but, at least, it will be impossible for the damn thing to fall off
<peterm6881> haha im sure you will find a way ;)
<Xogium> making eMMC fall off ? No way, its soldered
<peterm6881> i have every confidence in your propensity to break shit
<peterm6881> you rascal
<peterm6881> tell me something
<peterm6881> when can we expect your patch to be adopted into the licheepi_zero_defconfig?
<peterm6881> i think you said we just missed out
<Xogium> it already is accepted
<Xogium> it is only available in master branch right now
<Xogium> possibly in later releases like 2022.05, 2022.08
<Xogium> but in our case since we only use lts, it won't be until 2023.02
<peterm6881> i might try a build from master, just for fun
<peterm6881> so once its accepted, it goes in the Master branch straight away
<peterm6881> awesome
<peterm6881> once a patch is accepted I mean, generally
<peterm6881> if i enabled alsa-utils, how come I dont have alsamixer......what dumb thing did I not do..
<peterm6881> please dont tell me we have no audio support....
<peterm6881> *** alsamixer needs a toolchain w/ wchar *** what does that mean....?
<peterm6881> meh, maybe amixer will do
<Xogium> hmm if you wanted alsamixer you would need to enable wide char support in the toolchain options
<peterm6881> ooo
<peterm6881> what fun
<peterm6881> maybe amixer is enough
<peterm6881> Simple mixer control 'Master',0
<peterm6881> Capabilities: pvolume pvolume-joined pswitch pswitch-joined
<peterm6881> Playback channels: Mono
<peterm6881> Limits: Playback 0 - 31
<peterm6881> Mono: Playback 19 [61%] [-18.00dB] [on]
<peterm6881> Simple mixer control 'Headphone',0
<peterm6881> Capabilities: pvolume pswitch
<peterm6881> Playback channels: Front Left - Front Right
<peterm6881> Limits: Playback 0 - 31
<peterm6881> Mono:
<peterm6881> Front Left: Playback 0 [0%] [-46.50dB] [off]
<peterm6881> Front Right: Playback 0 [0%] [-46.50dB] [off]
<peterm6881> Simple mixer control 'Speaker',0
<peterm6881> Capabilities: pvolume pswitch
<peterm6881> Playback channels: Front Left - Front Right
<peterm6881> Limits: Playback 0 - 31
<peterm6881> Mono:
<peterm6881> Front Left: Playback 0 [0%] [-46.50dB] [off]
<peterm6881> Front Right: Playback 0 [0%] [-46.50dB] [off]
<peterm6881> Simple mixer control 'PCM',0
<peterm6881> Capabilities: pvolume
<peterm6881> Playback channels: Front Left - Front Right
<peterm6881> Limits: Playback 0 - 255
<peterm6881> Mono:
<peterm6881> Front Left: Playback 255 [100%] [0.00dB]
<peterm6881> Front Right: Playback 255 [100%] [0.00dB]
<peterm6881> Simple mixer control 'Front',0
<peterm6881> Capabilities: pvolume pswitch
<peterm6881> Playback channels: Front Left - Front Right
<peterm6881> Limits: Playback 0 - 31
<peterm6881> Mono:
<peterm6881> Front Left: Playback 31 [100%] [0.00dB] [on]
<peterm6881> Front Right: Playback 31 [100%] [0.00dB] [on]
<peterm6881> Simple mixer control 'Front Mic',0
<peterm6881> Capabilities: pvolume pswitch
<peterm6881> Playback channels: Front Left - Front Right
<peterm6881> Limits: Playback 0 - 31
<peterm6881> Mono:
<peterm6881> Front Left: Playback 0 [0%] [-34.50dB] [off]
<peterm6881> Front Right: Playback 0 [0%] [-34.50dB] [off]
<peterm6881> Simple mixer control 'Front Mic Boost',0
<peterm6881> Capabilities: volume
<peterm6881> Playback channels: Front Left - Front Right
<peterm6881> Capture channels: Front Left - Front Right
<peterm6881> Limits: 0 - 3
<peterm6881> Front Left: 0 [0%] [0.00dB]
<peterm6881> Front Right: 0 [0%] [0.00dB]
<peterm6881> Simple mixer control 'Surround',0
<peterm6881> Capabilities: pvolume pswitch
<peterm6881> Playback channels: Front Left - Front Right
<peterm6881> Limits: Playback 0 - 31
<peterm6881> Mono:
<peterm6881> Front Left: Playback 31 [100%] [0.00dB] [on]
<peterm6881> Front Right: Playback 31 [100%] [0.00dB] [on]
<peterm6881> Simple mixer control 'Center',0
<peterm6881> Capabilities: pvolume pvolume-joined pswitch pswitch-joined
<peterm6881> Playback channels: Mono
<peterm6881> Limits: Playback 0 - 31
<peterm6881> Mono: Playback 31 [100%] [0.00dB] [on]
<peterm6881> Simple mixer control 'LFE',0
<peterm6881> Capabilities: pvolume pvolume-joined pswitch pswitch-joined
<peterm6881> Playback channels: Mono
<peterm6881> Limits: Playback 0 - 31
<peterm6881> Mono: Playback 31 [100%] [0.00dB] [on]
<peterm6881> Simple mixer control 'Line',0
<peterm6881> Capabilities: pvolume pswitch
<peterm6881> Playback channels: Front Left - Front Right
<peterm6881> Limits: Playback 0 - 31
<peterm6881> Mono:
<peterm6881> Front Left: Playback 0 [0%] [-34.50dB] [off]
<peterm6881> Front Right: Playback 0 [0%] [-34.50dB] [off]
<peterm6881> Simple mixer control 'Line Boost',0
<peterm6881> Capabilities: volume
<peterm6881> Playback channels: Front Left - Front Right
<peterm6881> Capture channels: Front Left - Front Right
<peterm6881> Limits: 0 - 3
<peterm6881> Front Left: 0 [0%] [0.00dB]
<peterm6881> Front Right: 0 [0%] [0.00dB]
<peterm6881> Simple mixer control 'Capture',0
<peterm6881> Capabilities: cvolume cswitch
<peterm6881> Capture channels: Front Left - Front Right
<peterm6881> Limits: Capture 0 - 31
<peterm6881> Front Left: Capture 19 [61%] [12.00dB] [on]
<peterm6881> Front Right: Capture 19 [61%] [12.00dB] [on]
<peterm6881> Simple mixer control 'Capture',1
<peterm6881> Capabilities: cvolume cswitch
<peterm6881> Capture channels: Front Left - Front Right
<peterm6881> Limits: Capture 0 - 31
<peterm6881> Front Left: Capture 0 [0%] [-16.50dB] [off]
<peterm6881> Front Right: Capture 0 [0%] [-16.50dB] [off]
<peterm6881> Simple mixer control 'Auto-Mute Mode',0
<peterm6881> Capabilities: enum
<peterm6881> Items: 'Disabled' 'Speaker Only' 'Line Out+Speaker'
<peterm6881> Item0: 'Disabled'
<peterm6881> Simple mixer control 'Channel Mode',0
<peterm6881> Capabilities: enum
<peterm6881> Items: '2ch' '4ch' '6ch'
<peterm6881> Item0: '2ch'
<peterm6881> Simple mixer control 'Digital',0
<peterm6881> Capabilities: cvolume
<peterm6881> Capture channels: Front Left - Front Right
<peterm6881> Limits: Capture 0 - 120
<peterm6881> Front Left: Capture 60 [50%] [0.00dB]
<peterm6881> Front Right: Capture 60 [50%] [0.00dB]
<peterm6881> Simple mixer control 'Input Source',0
<peterm6881> Capabilities: cenum
<peterm6881> Items: 'Front Mic' 'Rear Mic' 'Line'
<peterm6881> Item0: 'Front Mic'
<peterm6881> Simple mixer control 'Input Source',1
<peterm6881> Capabilities: cenum
<peterm6881> Items: 'Front Mic' 'Rear Mic' 'Line'
<peterm6881> Item0: 'Front Mic'
<peterm6881> Simple mixer control 'Loopback Mixing',0
<peterm6881> Capabilities: enum
<peterm6881> Items: 'Disabled' 'Enabled'
<peterm6881> Item0: 'Disabled'
<peterm6881> Simple mixer control 'Rear Mic',0
<peterm6881> Capabilities: pvolume pswitch
<peterm6881> Playback channels: Front Left - Front Right
<peterm6881> Limits: Playback 0 - 31
<peterm6881> Mono:
<peterm6881> Front Left: Playback 0 [0%] [-34.50dB] [off]
<peterm6881> Front Right: Playback 0 [0%] [-34.50dB] [off]
<peterm6881> Simple mixer control 'Rear Mic Boost',0
<peterm6881> Capabilities: volume
<peterm6881> Playback channels: Front Left - Front Right
<peterm6881> Capture channels: Front Left - Front Right
<peterm6881> Limits: 0 - 3
<peterm6881> Front Left: 0 [0%] [0.00dB]
<peterm6881> Front Right: 0 [0%] [0.00dB]
<peterm6881> then again, perhaps not....
<peterm6881> question
<peterm6881> if i make a change in menuconfig, do I have to do a make clean?
<peterm6881> or can I get away with just make -j5, will it overwrite the sdcard.img and save a lot of time
<Xogium> its probably a good idea to
<peterm6881> aww
<peterm6881> easy for you to say, with your 3 minute builds lol
<Xogium> sometimes when you enable some things its needed to make clean, and sometimes its not needed
<Xogium> it depends what
<peterm6881> ok make clean it is then
<Xogium> so,in general its a good reflex to make clean
<peterm6881> interestingly, when you enable wide character support, alsamixer is automatically enabled within alsa-utils
<Xogium> buildroot isn't aware of dependencies and doesn't track them, So if you build something that can optionally use openssl, but don't enable it, then later enable openssl, the thing that may depend on openssl will not be rebuilt unless you use make clean
<peterm6881> understood
<peterm6881> alsamixer
<peterm6881> ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
<peterm6881> ALSA lib conf.c:5174:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
<peterm6881> ALSA lib conf.c:5174:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
<peterm6881> ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
<peterm6881> ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
<peterm6881> ALSA lib conf.c:5174:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
<peterm6881> ALSA lib conf.c:5697:(snd_config_expand) Evaluate error: No such file or directory
<peterm6881> ALSA lib control.c:1528:(snd_ctl_open_noupdate) Invalid CTL default
<peterm6881> cannot open mixer: No such file or directory
<peterm6881> does this mean we have no audio in the current licheepi_zero_defconfig
<peterm6881> at least we know it builds in current lts and master
<Xogium> seems that audio is borked…
<Xogium> I don't see any audio stuff, come to think of it
<Xogium> meh, you better send me a board and I'll test things before I send you an image anyway
<Xogium> if I'm lucky itr will just be a question of setting audio to okay like on orange pi…
<Xogium> if I'm not, well then I bloody don't know
<Xogium> I don't get how amixer could work but alsamixer fail, anyway
<peterm6881> where do you set audio to ok
<Xogium> in the device tree, possibly
<Xogium> in the kernel source code
<Xogium> what I don't understand is amixer listed a whole bunch of controls just fine earlier so why would alsamixer fail
<peterm6881> i can answer that question
<peterm6881> amixer was from the NEC
<peterm6881> can you check the audio setting you mention
<peterm6881> im very reluctant to send you any hardware that hasn't been fully tested, for the simple reason that once it goes out my door, I have no further control whether anything works or not, and if you tell me something isnt working, there is literally nowhere to go from there
<peterm6881> and then experience has told me, the very next thing that happens is the board goes pffft with a burning smell
<peterm6881> its important to avoid that situation, because I only have 3 of these, and it took 6 weeks to get them
<peterm6881> so with the greatest respect, its a much better idea that I be the hardware test guy, and you turn shit on in the software
<peterm6881> I will send you one, but only after we have a working image
<peterm6881> its vital we manage risk to these boards
<peterm6881> force of habit, 12 years in manufacturing, I never sent out a piece of hardware I hadn't personally tested.
<peterm6881> let me know if you intend to go on strike over it
<Xogium> I'm not planning on a strike but I like to be able to test my stuff, and that I can't do as efficiently as I'd like
<Xogium> its just bothering me a bit, but I understand where you're coming from
peterm6881 has quit [Quit: Leaving]