[U-Boot] Raspberry PI Compute Module - UART Issue

Hi
I am using a Raspberry PI compute module (CM 3+), which seems to be running U-Boot - U-Boot 2019.04-dirty (Aug 21 2019 - 14:41:54 +0000)
The CM3+ is communicating on the UART at boot, before the Kernel loads:
U-Boot 2019.04-dirty (Aug 21 2019 - 14:41:54 +0000)
DRAM: 948 MiB RPI Compute Module 3 (0xa220a0) MMC: mmc@7e202000: 0, sdhci@7e300000: 1 Loading Environment from FAT... WARNING at drivers/mmc/bcm2835_sdhost.c:408/bcm2835_send_command()! WARNING at drivers/mmc/bcm2835_sdhost.c:408/bcm2835_send_OK In: serial Out: serial 1 0 WARNING at drivers/mmc/bcm2835_sdhost.c:408/bcm2835_send_command()! WARNING at drivers/mmc/bcm2835_sdhost.c:408/bcm2835_send_command()! switch to partitions #0, OK mmc0(part 0) is current device LOADBOOTENV Running uenvcmd ... ENVCMD 6697472 bytes read in 285 ms (22.4 MiB/s) 3647066 bytes read in 155 ms (22.4 MiB/s) 42064 bytes read in 12 ms (3.3 MiB/s) Kernel image @ 0x200000 [ 0x000000 - 0x663200 ] ## Flattened Device Tree blob at 02000000 Booting using the fdt blob at OK Loa Starting kern
I however have a serial device connected to the UART and it starts communicating on power on to the UART. This is causing the boot process to stop.
I would like to find out how to stop U-BOOT from reading messages on the UART at boot?
Regards Lee Annamalai

Hi Lee,
On Tue, Sep 17, 2019 at 4:45 PM Lee Annamalai lannamalai@geoint.africa wrote:
Hi
I am using a Raspberry PI compute module (CM 3+), which seems to be running U-Boot - U-Boot 2019.04-dirty (Aug 21 2019 - 14:41:54 +0000)
The CM3+ is communicating on the UART at boot, before the Kernel loads:
U-Boot 2019.04-dirty (Aug 21 2019 - 14:41:54 +0000)
DRAM: 948 MiB RPI Compute Module 3 (0xa220a0) MMC: mmc@7e202000: 0, sdhci@7e300000: 1 Loading Environment from FAT... WARNING at drivers/mmc/bcm2835_sdhost.c:408/bcm2835_send_command()! WARNING at drivers/mmc/bcm2835_sdhost.c:408/bcm2835_send_OK In: serial Out: serial 1 0 WARNING at drivers/mmc/bcm2835_sdhost.c:408/bcm2835_send_command()! WARNING at drivers/mmc/bcm2835_sdhost.c:408/bcm2835_send_command()! switch to partitions #0, OK mmc0(part 0) is current device LOADBOOTENV Running uenvcmd ... ENVCMD 6697472 bytes read in 285 ms (22.4 MiB/s) 3647066 bytes read in 155 ms (22.4 MiB/s) 42064 bytes read in 12 ms (3.3 MiB/s) Kernel image @ 0x200000 [ 0x000000 - 0x663200 ] ## Flattened Device Tree blob at 02000000 Booting using the fdt blob at OK Loa Starting kern
I however have a serial device connected to the UART and it starts communicating on power on to the UART. This is causing the boot process to stop.
I would like to find out how to stop U-BOOT from reading messages on the UART at boot?
Please try to set bootdelay to 0 or -1 (this will force not to read for user input). I suggest to read in u-boot docs article about autoboot (will give you some more background).
Regards Lee Annamalai _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
BR,
marek

Thanks. Tried that (set to -2) ... will let you know if this works.
Lee
-----Original Message----- From: Belisko Marek marek.belisko@gmail.com Sent: Tuesday, 17 September 2019 21:02 To: Lee Annamalai lannamalai@geoint.africa Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] Raspberry PI Compute Module - UART Issue
Hi Lee,
On Tue, Sep 17, 2019 at 4:45 PM Lee Annamalai lannamalai@geoint.africa wrote:
Hi
I am using a Raspberry PI compute module (CM 3+), which seems to be running U-Boot - U-Boot 2019.04-dirty (Aug 21 2019 - 14:41:54 +0000)
The CM3+ is communicating on the UART at boot, before the Kernel loads:
U-Boot 2019.04-dirty (Aug 21 2019 - 14:41:54 +0000)
DRAM: 948 MiB RPI Compute Module 3 (0xa220a0) MMC: mmc@7e202000: 0, sdhci@7e300000: 1 Loading Environment from FAT... WARNING at drivers/mmc/bcm2835_sdhost.c:408/bcm2835_send_command()! WARNING at drivers/mmc/bcm2835_sdhost.c:408/bcm2835_send_OK In: serial Out: serial 1 0 WARNING at drivers/mmc/bcm2835_sdhost.c:408/bcm2835_send_command()! WARNING at drivers/mmc/bcm2835_sdhost.c:408/bcm2835_send_command()! switch to partitions #0, OK mmc0(part 0) is current device LOADBOOTENV Running uenvcmd ... ENVCMD 6697472 bytes read in 285 ms (22.4 MiB/s) 3647066 bytes read in 155 ms (22.4 MiB/s) 42064 bytes read in 12 ms (3.3 MiB/s) Kernel image @ 0x200000 [ 0x000000 - 0x663200 ] ## Flattened Device Tree blob at 02000000 Booting using the fdt blob at OK Loa Starting kern
I however have a serial device connected to the UART and it starts communicating on power on to the UART. This is causing the boot process to stop.
I would like to find out how to stop U-BOOT from reading messages on the UART at boot?
Please try to set bootdelay to 0 or -1 (this will force not to read for user input). I suggest to read in u-boot docs article about autoboot (will give you some more background).
Regards Lee Annamalai _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
BR,
marek
-- as simple and primitive as possible ------------------------------------------------- Marek Belisko - OPEN-NANDRA Freelance Developer
Ruska Nova Ves 219 | Presov, 08005 Slovak Republic Tel: +421 915 052 184 skype: marekwhite twitter: #opennandra web: http://open-nandra.com
participants (2)
-
Belisko Marek
-
Lee Annamalai