Enable serial console on Raspberry Pi 3

Description

Hi,

There is no output on the serial console while booting AGL on Raspberry Pi 3. Additional configurations are required to enable it again. I am working on this.

Best regards,
Leon

Environment

AGL master on Raspberry Pi 3

Activity

Show:

Leon Anavi June 23, 2017 at 4:44 PM

The fix has been merged in master.

Best regards,
Leon

Leon Anavi June 13, 2017 at 5:29 PM

I have provided a fix that sets KERNEL_IMAGETYPE to Image in change 9727.

Best regards, Leon

Leon Anavi June 13, 2017 at 4:25 PM

Hi,

Thanks to the help and the hints provided by and during AGL weekly dev call my further investigations found out that the problem is cause by wrong value of KERNEL_IMAGETYPE. For Raspberry Pi kernel7.img contains not only the kernel but also the bootloader. For booting successfully regular AGL images, aka without agl-sota, KERNEL_IMAGETYPE should be set to Image (not uImage). For quick and dirty tests I added the following line to local.conf:

With this change the image boots and there is output on the serial console:

I will apply the fix through the configurations in the recipes for Raspberry Pi 2/3 in meta-agl.

Best regards,
Leon

 

 

Leon Anavi June 13, 2017 at 10:14 AM

Hi,

The AGL image built from the source code of Chinook 3.0.3 is working as expected on Raspberry Pi 3 and there is output on the serial console. The AGL image built from master with the kernel of Chinook 3.0.3 also boots and shows output on the serial console. I am trying to figure out which configurations have been changed and cause the issue.

Best regards,
Leon

Leon Anavi June 7, 2017 at 7:40 AM

Hi,

According to the documentation of meta-raspberrypi the following configuration is required to enable UART and serial console for Raspberry Pi:

With this configuration works there is output from the serial console on Poky, both morty and master branch. The configuration is not present in AGL. My first attempt to enable UART for rpi3 using it in AGL didn't work. I am debugging further.

Best regards,
Leon

Fixed

Assignee

Reporter

Fix versions

Labels

Contract ID

Priority

Created June 6, 2017 at 12:18 PM
Updated July 24, 2017 at 11:45 PM
Resolved June 23, 2017 at 4:44 PM