Serial Console Log in LCD and u-Boot Build process clarifications

Started by tejas.s, August 13, 2019, 10:36:07 AM

Previous topic - Next topic

tejas.s

1. How to disable the Serial Console log in LCD during the U-Boot stage?
I am using Lime2 Rev.K board "A20-OLinuXino-LIME2-e4Gs16M" with a 7" LCD. Image used is "Armbian_5.89 with Ubuntu bionic".

There is a serial console log displayed on the LCD during the U-Boot stage which stays on for a brief period of less than 5 seconds.

Printenv:: (only selected outputs..)

Quoteconsole=ttyS0,115200
lcd_olinuxino=7859
monitor=lcd
serial#=00007f98
stdout=serial,vga


2. What is the change in U-boot build process for armbian image?

In the previous revision of Lime2 boards, I have changed the u-boot code to wait until PWR_BTN is pressed to start the boot operation.

In the Armbian image, "U-Boot 2019.04-armbian" revision is used.

I have downloaded the source from github "https://github.com/u-boot/u-boot/releases/tag/v2019.04" and made the necessary changes for the power-button wait condition and built the u-boot with modified source file.

using the following command u-boot is written to the SD-card with Armbian_5.89 with Ubuntu bionic image.
dd if=u-boot-sunxi-with-spl.bin of=/dev/sda bs=1024 seek=8

Using this SD-Card the linux boots-up but the option to select the LCD in u-boot is not available.

Which is the correct u-boot source which is compatible with the emmc-rev.k board with armbian image?

Or How to make use of the patch in "https://github.com/armbian/build/tree/master/patch/u-boot" to build the u-boot?

Or How to build U-Boot 2019.04-armbian"?
[/i]