ā¦then and just let ā/usr/local/bin/khadas-bt-initā do its thing (using init.d style) at each bootup (and not that old rc.local !!)
Maybe we would need to take into accnt what /etc/init.d/bluetooth already does ??
Anyway, hooray
right after login, hciconfig now saysā¦
raxy@ivnVimPro:~$ sudo apt-get install keyboard-configuration
Reading package lists... Done
Building dependency tree
Reading state information... Done
keyboard-configuration is already the newest version (1.108ubuntu15.3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
raxy@ivnVimPro:~$ sudo dpkg-reconfigure keyboard-configuration
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
insserv: warning: script 'K01khadas-bt-init' missing LSB tags and overrides
insserv: warning: script 'khadas-bt-init' missing LSB tags and overrides
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
insserv: warning: script 'K01khadas-bt-init' missing LSB tags and overrides
insserv: warning: script 'khadas-bt-init' missing LSB tags and overrides
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.122ubuntu8.8) ...
Visibly, sudo dpkg-reconfigure keyboard-configuration encounters some mess related to insserv and or update-rc.d,
WTF !!!
for now, this is my best bet
localectl set-keymap fr
but it does not do the job
And I definitely need to fix the mess with my startup scripts and init.d which visibly prevents me from running my beloved kbd configuration command (sudo dpkg-reconfigure keyboard-configuration)
about wifi ,
it also works;
I can connect to my phoneās hotspot,
shutdown eth0, and still manage to do an apt-get update successfully;
you remember I could not connect on a channel 13 wifi network yet,
but at least I can say that this current distro (4.12.7/16.04.3) is doing wifi (and maybe will not stall as ethernet did with older versions of the mainline kernel)
to be tested under load (like downloading a big video file maybe)
I kinda failed at my very 1st attempt to build a .deb kernel package,
please check logs below and help me understand what went wrongā¦tks
raxy@bodhi-giada:~/project/khadas-build-script/Khadas-Components/linux-kernel$ gcc --version
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
raxy@bodhi-giada:~/project/khadas-build-script/Khadas-Components/linux-kernel$ make ARCH=arm64 deb-pkg arch/arm64/Makefile:23: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum
arch/arm64/Makefile:44: Detected assembler with broken .inst; disassembly will be unreliable
CHK include/config/kernel.release
make clean
CLEAN .
CLEAN arch/arm64/kernel/vdso
CLEAN arch/arm64/kernel
CLEAN drivers/firmware/efi/libstub
CLEAN drivers/tty/vt
CLEAN drivers/video/logo
CLEAN kernel
CLEAN lib/raid6
CLEAN lib
CLEAN usr
CLEAN arch/arm64/boot
CLEAN arch/arm64/boot/dts/amlogic
CLEAN .tmp_versions
TAR linux-4.12.10.tar.gz
make KBUILD_SRC=
arch/arm64/Makefile:23: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum
arch/arm64/Makefile:44: Detected assembler with broken .inst; disassembly will be unreliable
CHK include/config/kernel.release
UPD include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/bin2c
CC kernel/bounds.s
gcc: error: unrecognized command line option ā-mlittle-endianā
gcc: error: unrecognized command line option ā-mgeneral-regs-onlyā
make[3]: *** [kernel/bounds.s] Error 1
make[2]: *** [prepare0] Error 2
make[1]: *** [deb-pkg] Error 2
make: *** [deb-pkg] Error 2
After googling the errors,
I ended up trying this new command line:
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- deb-pkg
first errors are now gone,I wait for build result
I still have no idea of what to do next to take into account the dtb and the modules, and how to install all this on a running 4.9 or 4.12.7 systemā¦
Edit:
build ended without error,
now, I see no evident sign of a .deb file anywhere, so, where is it ?
Ok, while I try to get documented on how to build a debian kernel package,
I decided to build the full xenial distro including the up-to-date 4.12.10 stable kernel;
and the good news is,
the build method I described before just works as well on the latest (4.12.10) mainline stable kernel sources;
so now, I managed to build, deploy and boot a working ubuntu base16.04.3+kernel 4.12.10
the bad news is,USB keyboard does not get recognized yet: no message in console nor in dmesg when I plug my usb keyboard,
and lsusb command cannot be found! this is too baaad !
As @balbes150 says his armbian built with the same kernel has working usb ports and I cannot get usb to work yet, I need to figure out what could be wrong in my distro;
I recommend using this step-by-step manual to start the Assembly. By the way, you can start the build only one kernel and get the output files of the kernel and dtb, and you can specify in customizing, that would have been collected ready deb\rpm packages which can install the usual commands in the existing system.