Re: raspberry pi Rpi3 does not boot to login prompt.


Ed Vidal
 

Hello Quentin,
I made the change that you recommended (see below) and the Rpi3B+ booted without displaying the dmesg 
output only 
Please wait: booting...

vidal@ws009:~/wkg/yocto-zeus-3.0/poky/meta-raspberrypi$ git diff
diff --git a/conf/machine/raspberrypi3.conf b/conf/machine/raspberrypi3.conf
index 581e47c..43a0a25 100644
--- a/conf/machine/raspberrypi3.conf
+++ b/conf/machine/raspberrypi3.conf
@@ -18,3 +18,4 @@ UBOOT_MACHINE = "rpi_3_32b_config"
 SERIAL_CONSOLES ?= "115200;ttyS0"
 
 ARMSTUB ?= "armstub7.bin"
+ENABLE_UART = "1"

My meta-raspberrypi ver ed6b75ba6, I believe was the current version.
How does this modification get updated in meta-raspberrypi?

The ethernet did not get set at boot.  I needed to execute "ifup eth0".
In addition the hostname was not seen by router.
The dmesg outout is at my github.
https://github.com/develone/raspberrypi2_yocto-zeus/blob/master/doc/first-rpi3-build/firstbootdmesg.txt
Let me know if I can provide additional information.
Thanks 


Edward Vidal Jr. e-mail develone@... 915-595-1613


On Wednesday, December 4, 2019, 1:16:38 AM MST, Quentin Schulz <quentin.schulz@...> wrote:


Hi Ed,

On Wed, Dec 04, 2019 at 12:24:31AM +0000, Ed Vidal wrote:
> Hello all,I am testing a zeus rpi3.  Any and all help is appreciated.
> I created a rpi2 core-image-minimal and built a micro sd card.which booted okay.I then modified the build/conf/local.conf file for a raspberrypi3.
> The rpi3 core-image-minimal does not boot to login prompt.This is the output as it is booting[     3.27169] lan78xx 1-1.1.1:-mdiobus: probed[   20.921838] raddom: crng init done[   20.926490] radom: 3 urandom warning(s) missed due to ratelimiting
> see the jpeg file doc/rpi3fails.jpeg in repo https://github.com/develone/raspberrypi2_yocto-zeus
> devel@mypi3-15:~/raspberrypi2_yocto-zeus $ diff raspberrypi2/conf/local.conf raspberrypi3/conf/local.conf 39c39< MACHINE ??= "raspberrypi2"---> MACHINE ??= "raspberrypi3"
> devel@mypi3-15:~/raspberrypi2_yocto-zeus $ diff raspberrypi2/conf/bblayers.conf raspberrypi3/conf/bblayers.conf
> Let me know if I can provide any additional information.

I think you might be missing `ENABLE_UART = "1"`. We have it in
local.conf but I think you should be able to put it in your machine conf
file or in your distro conf file if you can't modify local.conf
persistently.

C.f.: http://git.yoctoproject.org/cgit.cgi/meta-raspberrypi/tree/docs/extra-build-config.md?h=zeus#n228

BR
Quentin

Join yocto@lists.yoctoproject.org to automatically receive all group messages.