chewitt has joined #armbian-amlogic
chewitt has quit [Client Quit]
<DC-IRC> <Antitrack> Any news for the odroid c4? I need: super fast booting; all serial uarts 0,1,2,3 ; video driver that works with waveshare 7" touch screen at 1024x600 including audio over hdmi , and NO rasterlines hanging down ;
<DC-IRC> <Antitrack> currently I face the problems: Slow booting, minimum 24 secs, this is shit: Odroid c2 was 10 secs faster! ; UART device tree blob files missing in many distros or need special tinkering which I dont have time for ; at 1024x600 , 20 rasterlines are hanging down and are strangely colored ; HDMI audio is disabled, depending on the kernel version ;
<DC-IRC> <Werner> You can always pay people to do the tinkering for you if this is an urgent task
<DC-IRC> <c0rnelius> overlays for uart are out there, you just need to look. enable audio ```
<DC-IRC> <c0rnelius> sudo amixer -c 0 set 'TOHDMITX' 'on'
<DC-IRC> <c0rnelius> sudo amixer -c 0 set 'TOHDMITX I2S SRC' 'I2S B'
<DC-IRC> <c0rnelius> sudo amixer -c 0 set 'TDMOUT_B SRC SEL' 'IN 0'
<DC-IRC> <c0rnelius> sudo amixer -c 0 set 'FRDDR_A SRC 2 EN' 'on'
<DC-IRC> <c0rnelius> sudo amixer -c 0 set 'FRDDR_A SINK 1 SEL' 'OUT 0'
<DC-IRC> <c0rnelius> sudo amixer -c 0 set 'FRDDR_A SINK 2 SEL' 'OUT 1'
<DC-IRC> <c0rnelius> sudo amixer -c 0 set 'FRDDR_A SINK 3 SEL' 'OUT 2'
<DC-IRC> <c0rnelius> # Save
<DC-IRC> <c0rnelius> sudo alsactl store
<DC-IRC> <c0rnelius> ``` as for the touch screen? ur on ur own.
<DC-IRC> <rpardini> and yeah "fast booting" you'll find out what's delaying and fix it via a detailed UART bootlog.
<DC-IRC> <rpardini> eg: u-boot "wastes" a good 3-7 seconds scanning USB sometimes.
<DC-IRC> <c0rnelius> mainline also has a 2 second boot delay. making it also check for usb ports to boot off also delays the boot process.
<DC-IRC> <c0rnelius> if those were removed i would think it would boot fairly quick. my C4 in testing never took 24 seconds to come up.
<DC-IRC> <c0rnelius> armbian tends to have more services running than a vanilla debian install. which also slows boot down.
<DC-IRC> <rpardini> oh yeah. resizing online is also very slow, much better done in initrd
<DC-IRC> <rpardini> so yeah there's many good ways to reduce boot time, but you gotta invest some time in.