Closed bhargavthriler closed 2 years ago
I have the same problem on a PI Zero W.
Same on rpi zero w. Thud worked, dunfell does not. I suspect the clock rate fix needed for mini uart is not working
Yes, something changed related to the GPU clock rate on the RPi Zero-W.
I manually added this to /boot/config.txt
, and now the UART works for serial console:
gpu_freq=250
I added these lines to local.conf
and built an image. It works with UART
GPU_FREQ = "250"
GPU_MEM = "16"
(GPU_MEM is not required, I just set it to save memory since I don't need HDMI output)
Thanks for sharing your workaround, works great!
Does it work ok without u-boot ?
@kraj I am not using u-boot And it works when I set gpu clock
your description states you are RPI_USE_U_BOOT = "1"
can you comment that out and see if you still have issues ?
your description states you are
RPI_USE_U_BOOT = "1"
can you comment that out and see if you still have issues ?
Yes even without u-boot the issue is same
Ok then I guess we need a patch to boot files recipe to change the gpu frequency settings
Thanks @PatrickLang your works great with rpi3 b+ also
Ok then I guess we need a patch to boot files recipe to change the gpu frequency settings
Exactly what changed ? and where can I find the change if I want check the root cause of this issue ?
This sounds to me like a bug in upstream. Have we followed up? Does raspbian set the GPU freq as well?
~This is fixed in the latest build.~
~Closing this issue.~
This issue is still present while building image with u-boot RPI_USE_U_BOOT = "1"
@bhargavthriler This seems to be an old issue. Are you still looking into it? If yes, can you please try to replicate with the latest master and provide feedback if this is reproducible on setups with u-boot and/or setups without uboot?
Closing due to inactivity. I'll close this issue but feel free to comment if we get more info.
@bhargavthriler This seems to be an old issue. Are you still looking into it? If yes, can you please try to replicate with the latest master and provide feedback if this is reproducible on setups with u-boot and/or setups without uboot?
I missed this, I will look into this.
Issue resolved ( checked with latest build ).
Issue resolved ( checked with latest build ).
Thanks for confirming.
Description
Console messages not printing properly thorugh UART while using
master
branch of meta-raspberrypi and poky in RPI3 B+ WhenENABLE_UART = "1"
andRPI_USE_U_BOOT = "1"
is added inlocal.conf
But when switch back
zeus
in both the branches (meta-raspberrypi and poky) console works fine. Is there any new change afterzeus
?Or am I doing some mistake here ?
Steps to reproduce the issue:
ENABLE_UART = "1"
andRPI_USE_U_BOOT = "1"
inconf/local.conf
before building .Describe the results you received:
U-Boot SPL 2019.04-4.19.35-1.1.0+g4d37753 (Dec 23 2019 - 10:51:14 +0000) power_bd71837_init DDRINFO: start DRAM init DDRINFO:ddrphy calibration done DDRINFO: ddrmix config done Normal Boot Trying to boot from ROMAPI image offset 0x8000, pagesize 0x200, ivt offset 0x0
U-Boot 2019.04-4.19.35-1.1.0+g4d37753 (Dec 23 2019 - 10:51:14 +0000)
CPU: Freescale i.MX8MNano Quad rev1.0 1500 MHz (running at 1200 MHz) CPU: Commercial temperature grade (0C to 95C) at 38C Reset cause: POR Model: NXP i.MX8MNano EVK board DRAM: 2 GiB TCPC: Vendor ID [0x1fc9], Product ID [0x5110], Addr [I2C1 0x52] Power supply on USB2 TCPC: Vendor ID [0x1fc9], Product ID [0x5110], Addr [I2C1 0x50] MMC: FSL_SDHC: 1, FSL_SDHC: 2 Loading Environment from MMC... Run CMD11 1.8V switch *** Warning - bad CRC, using default environment
No panel detected: default to MIPI2HDMI adv7535_init: Can't find device id=0x3d, on bus 1 Display: MIPI2HDMI (1920x1080) Video: 1920x1080x24 In: serial Out: serial Err: serial
BuildInfo:
Run CMD11 1.8V switch switch to partitions #0, OK mmc1 is current device flash target is MMC:1 Run CMD11 1.8V switch Net:
Warning: ethernet@30be0000 using MAC address from ROM eth0: ethernet@30be0000 Fastboot: Normal Normal Boot Hit any key to stop autoboot: 0 Run CMD11 1.8V switch switch to partitions #0, OK mmc1 is current device Run CMD11 1.8V switch 24263168 bytes read in 387 ms (59.8 MiB/s) Booting from mmc ... 40173 bytes read in 6 ms (6.4 MiB/s)
Flattened Device Tree blob at 43000000