Every now and then when I boot from a SD card I get the error `Ethernet not found.` during the boot sequence and then I am in some shell.
After a power off/on booting eventually works.
I experienced that with more than one Linux, so I think it is not release specific.
Last week I upgraded from Ubuntu 16.01 to Ubuntu 18.01 and am now running 4.4.132-1075-rockchip-ayufan-ga83beded8524.
While my core functions are working (SFTP and Samba) I keep getting "Errors were encountered while processing: initramfs-tools" when trying to update. I'm not particularly experienced in reading logs so below is the most recent apt-get upgrade log in the hopes some one can point me to a solution for this error. I suspect that failure to fix this will prevent future image upgrades.
Any help is greatly appreciated.
Many thanks.
Tom
Code:
user@Rock64:~$
sudo apt-get update
Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease
Reading package lists... Done
user@Rock64:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up initramfs-tools (0.130ubuntu3.6) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.130ubuntu3.6) ...
update-initramfs: Generating /boot/initrd.img-4.4.132-1075-rockchip-ayufan-ga83beded8524
Warning: root device does not exist
/sbin/ldconfig.real: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf.d/aarch64-linux-gnu_EGL.conf: No such file or directory
Using DTB: rk3328-rock64.dtb
Installing /usr/lib/linux-image-4.4.132-1075-rockchip-ayufan-ga83beded8524/rockchip/rk3328-rock64.dtb into /boot/dtbs/4.4.132-1075-rockchip-ayufan-ga83beded8524/rk3328-rock64.dtb
Taking backup of rk3328-rock64.dtb.
Installing new rk3328-rock64.dtb.
Installing /usr/lib/linux-image-4.4.132-1075-rockchip-ayufan-ga83beded8524/rockchip/rk3328-rock64.dtb into /boot/dtbs/4.4.132-1075-rockchip-ayufan-ga83beded8524/rk3328-rock64.dtb
Taking backup of rk3328-rock64.dtb.
Installing new rk3328-rock64.dtb.
flash-kernel: installing version 4.4.132-1075-rockchip-ayufan-ga83beded8524
Taking backup of Image.
Installing new Image.
find: '/lib/firmware/4.4.132-1075-rockchip-ayufan-ga83beded8524/device-tree/': No such file or directory
run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
user@Rock64:~$
[ 0.003210] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
line that appears next after cold boot.
mrfixit2001 kernel reboots fine as well as ayufan mainline (though the latter misses eMMC which is a showstopper).
Attaching a long log file containing normal boot and a hang after restart.
Strangely... another board (same RockPRO64 v2.1 4g) manufactured 1 month earlier doesn't have the issue. I tried swapping eMMC to make sure it's not a tainted distributive and the problem remained on the same board each time.
Is there any way I can use the Espressif's ESP32 Module as only WiFi and Bluetooth Module for Rock64 using the GPIO Pins/Interface (e.g. UART/SPI/I2C)?
I can't find any references which would allow this functionality. All I could find are code examples for using ESP32 as standalone microcontroller
My goal is to use ESP32 as WiFi and Bluetooth Module on Android
If possible, could you please add Intel Wireless-AC 3168 or 3165 modules?
Also Qualcomm Atheros cards would be good.
The main issue with Realtek WiFi, is the the drivers are absolutely horrendous, and usually very unstable (former beta tester here, and Realtek did not seem to care about the quality of their drivers when I spoke with them about it).
Broadcom is also alright, however on Linux the best quality is with Intel and Qualcomm (due to them actually being serious about supporting Linux).
Regarding firmware, Also Realtek utilizes closed-source firmware, so that is not a real reason to go with them.
Realtek being the only option (I do not see any other boards I can connect to the WiFi/BT socket) is currently my main blocker from buying any Pine64 boards (and I'd love to switch over from Raspberry Pis), with my secondary blocker is (for me) inadequate USB I/O (I require at least 4 ports, not including USB-C, so 4 USB2 ports is better for me than 2 USB2 and 1 USB3).
I am interested in AMPAQ's quality though, so if anyone can post about it, I'd be very happy.
By the way, since the RockPro64 already has a PCIe x4 connector, why not start using M.2 for WiFi/BT on future iterations of Pine64 products? This will widen compatibility with more cards, as well as allow for more bandwidth (say if one would wish to use the Intel Wireless-AX 22260 for up to 600Mbts on 2.4Ghz Wireless-AX, or up to ~2400Mbts on 5Ghz Wireless-AX).