Any update on this? I have used dunfell branch? Shall I change the branch to something latest and repeat the process with the same local and bblayer files?
Does it help if you put
local.conf? We’ve had reports that this is necessary on recent versions of U-Boot, and this solves the problem for me after trying your config.
As per suggestion, now I am able to boot in pi4 using root successfully.
But now, mender client available in Rpi4 does not appear in hosted mender server. Also, I could not do mender setup in Rpi4 as " Error checking write permissions to directory “/etc/mender”
How to move next?
This is not surprising, since you are compiling with a read-only root filesystem.
mender setup simply won’t work in this scenario.
The first thing to check is whether there is something in the client logs. Can you post the output from this command on the device:
journalctl -u mender-client | tail -n 50
Got the solution!
I had accidentally skipped following lines as mentioned in ur post
PREFERRED_VERSION_pn-mender = “2.%”
PREFERRED_VERSION_pn-mender-artifact = “3.%”
PREFERRED_VERSION_pn-mender-artifact-native = “3.%”