I want to develop trusted apps for the board, and in order to do so apparently I need to build optee repos. The configuration for those repos is chipset/board specifc and so far I'm a bit in the dark.
It looks like the correct platform setting would be plat-sunxi with PLATFORM_FLAVOR_sunxi501-a64. Is this correct? Is there a rockpro64 configuration somewhere already set up?
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