TechNexion / edm-yocto-bsp

(Archived, please change to use tn-imx-yocto-manifest) Yocto Project manifests
17 stars 18 forks source link

Reboot issue while ethernet not connected #23

Open Renegade85 opened 5 years ago

Renegade85 commented 5 years ago

Hello,

While the board is not connected to internet and rebooted it sometimes happens that the reboot freezes. In 99% of time it happens at:

[ Ok ] Stopped Update UTMP about System Boot/Shutdown.

Is there a fix for this issue?

Thank you, Renegade

richard-hu commented 5 years ago

@Renegade85

Thanks for your feedback~!!!

I write a simple shell script to execute software reboot and count reboot times after system boots into prompt. It doesn't hang in 100 times reboots. The test image is ftp://ftp.technexion.net/demo_software/PICO/IMX8/pico-imx8mq/MFGTool/pico-imx8m_pico-pi-imx8m_yocto-2.5-qt5_QCA9377_hdmi_20190821.zip .

HW version: SOM is PICO-IMX8MQ rev.02(on the back side of PCB). Baseboard is PI-PI-IMX8M rev.B1 And i don't connect VoiceHat expansion board.

Could you reveal more information about your test environment? And how you reboot the board? (e.g. software reboot command, press reset button or unplug power cable)

BR,

Richard

Renegade85 commented 5 years ago

Hi Richard,

thank you very much for your response.

Thank you very much for your response. I didn't download the image from ftp, I've built my own image based on your description on branch:

Branch: https://github.com/TechNexion/edm-yocto-bsp/tree/sumo_4.14.y_GA Manifest file: imx-4.14.98-2.0.1_patch.xml

I faced issues while downloading the gpu-sdk, so I had to modify the local.conf file by adding:

export http_proxy export https_proxy

My board revision is: baseboard: PICO-PI-8m Rev:A1 SOM: PICO-8M Rev:02

I don't have neither ethernet cable nor VoiceHat connected to the base board. I don't remember, whether the dtb is the default one or I switched it to the voicehat. Let me doulbe check this.

It's a software reboot achieved by invoking "reboot" command on the command line.

Best regards, Renegade

EDIT: Ok, so I've switched the dtb to default and the issue persists. Also the reboot freezes at:

[ OK ] Stopped Load/Save Random Seed.

Renegade85 commented 5 years ago

Hi Richard,

so I've downloaded the image you recommended and it seems everything is running fine. May I ask you which branch/commit and xml file relates to this image? I would like to incorporate the meta-avs-demos to enable Alexa on my device.

Originally I thought the xml files from https://github.com/TechNexion/edm-yocto-bsp/tree/sumo_4.14.y_GA are the latest stable version, but reading the release notes in the zip archive there is a reference to sumo_4.14.y_GA-wip branch, which I thought is Work In Progress and thus unstable. Additionally the release notes state, that the version is 4.14.98_2.0.0_ga-wip, but the latest xml is imx-4.14.98-2.0.1_patch.xml.

Can you please clarify, which recipes are considered as stable?

Thank you very much, Vojtech