[PATCH 0/5] board: imx8mm: Add Engicam i.Core MX8M Mini SoM

2021-02-27 Thread Jagan Teki
Patch series for Engicam i.Core MX8M Mini SOM and it's associated carrier board dts(i) support. dts(i) patches are part of Linux mainling-list. patch 1-2: exiting imx8mm dts, header improvement code patch 3: Engicam i.Core MX8M Mini SoM dts patch 4-5: EDIMM2.2, C.TOUCH 2.0 Carrier boards

[PATCH 1/5] arm64: dts: imx8mm: Add common -u-boot.dtsi

2021-02-27 Thread Jagan Teki
/soc@0 aips1 aips2 aips3 clk iomuxc osc_24m are common node enablements across imx8mm platform for dm-spi, dm-pre-reloc stages. Move them into common dtsi, imx8mm-u-boot.dtsi Cc: Adam Ford Cc: Peng Fan Cc: Teresa Remmet Cc: Igor Opaniuk Signed-off-by: Jagan Teki --- arch/arm/dts/imx8mm-bea

[PATCH 2/5] configs: Add imx8mm-common header

2021-02-27 Thread Jagan Teki
Move the redundant config item like SPL, memory-related across all imx8mm config files in the common config header, imx8mm-common.h Verified the built files, seems almost the same as before. Cc: Adam Ford Cc: Peng Fan Cc: Teresa Remmet Cc: Igor Opaniuk Signed-off-by: Jagan Teki --- include/

[PATCH 3/5] arm64: dts: imx8mm: Add Engicam i.Core MX8M Mini SoM

2021-02-27 Thread Jagan Teki
i.Core MX8M Mini is an EDIMM SoM based on NXP i.MX8M Mini from Engicam. General features: - NXP i.MX8M Mini - Up to 2GB LDDR4 - 8/16GB eMMC - Gigabit Ethernet - USB 2.0 Host/OTG - PCIe Gen2 interface - I2S - MIPI DSI to LVDS - rest of i.MX8M Mini features i.Core MX8M Mini needs to mount on top of

[PATCH 5/5] board: imx8mm: Add Engicam i.Core MX8M Mini C.TOUCH 2.0

2021-02-27 Thread Jagan Teki
Engicam C.TOUCH 2.0 is an EDIMM compliant general purpose Carrier board. Genaral features: - Ethernet 10/100 - Wifi/BT - USB Type A/OTG - Audio Out - CAN - LVDS panel connector i.Core MX8M Mini is an EDIMM SoM based on NXP i.MX8M Mini from Engicam. i.Core MX8M Mini needs to mount on top of this

[PATCH 4/5] board: imx8mm: Add Engicam i.Core MX8M Mini EDIMM2.2 Starter Kit

2021-02-27 Thread Jagan Teki
Engicam EDIMM2.2 Starter Kit is an EDIMM 2.2 Form Factor Capacitive Evaluation Board. Genaral features: - LCD 7" C.Touch - microSD slot - Ethernet 1Gb - Wifi/BT - 2x LVDS Full HD interfaces - 3x USB 2.0 - 1x USB 3.0 - HDMI Out - Mini PCIe - MIPI CSI - 2x CAN - Audio Out i.Core MX8M Mini is an EDI

[PATCH 1/1] video: add DejaVu Mono font

2021-02-27 Thread Heinrich Schuchardt
A TrueType font for U-Boot should fulfill the following requirements: * mono spaced * support full code page 437 * easily readable Unfortunately none of the fonts provided with U-Boot fulfills all of these requirements. Let's add the DejaVu Mono font. To reduce the code size the characters are l

Re: [PATCH] ARM: imx: imx8mn-ddr4-evk: Add ethernet support

2021-02-27 Thread Marek Vasut
On 2/27/21 8:54 AM, Jagan Teki wrote: Hi Marek, On Sat, Feb 27, 2021 at 3:44 AM Marek Vasut wrote: Add support for ethernet on the imx8mn-ddr4-evk. Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Peng Fan Cc: Stefano Babic --- arch/arm/dts/imx8mn-evk.dtsi| 1 + board/fre

Re: [EXT] [PATCH] ARM: imx: Add OCRAM_S into iMX8M MMU tables

2021-02-27 Thread Marek Vasut
On 2/27/21 7:26 AM, Ye Li wrote: Hi Marek, Hi, [...] diff --git a/arch/arm/mach-imx/imx8m/soc.c b/arch/arm/mach- imx/imx8m/soc.c index 5456c10fb17..225e4e12500 100644 --- a/arch/arm/mach-imx/imx8m/soc.c +++ b/arch/arm/mach-imx/imx8m/soc.c @@ -104,6 +104,13 @@ static struct mm_region imx8m_mem

Re: [PATCH v2 1/3] cmd: mvebu: Implement the Marvell hw_info command

2021-02-27 Thread Marek Behun
Luka, Tom, I am very against this. there already is `mac` command in cmd/mac.c with following help display and program the system ID and MAC addresses in EEPROM [read|save|id|num|errata|date|ports|port_number] mac read - read EEPROM content into memory data structure mac save

[PATCH 0/6] efi_loader: Unicode output in UEFI applications

2021-02-27 Thread Heinrich Schuchardt
UEFI programs use Unicode for console output, e.g. GRUB uses characters from the 0x2500 code block to draw a box around the menu. The video console does not understand the UTF-8 codes and renders each byte individually. The series adds the necessary conversions both for the TrueType as well as fo

[PATCH 1/6] efi_loader: move codepage 437 table

2021-02-27 Thread Heinrich Schuchardt
Move the Unicode to codepage 437 table to charset.c Signed-off-by: Heinrich Schuchardt --- include/charset.h | 5 + lib/charset.c | 6 ++ lib/efi_loader/efi_unicode_collation.c | 2 +- 3 files changed, 12 insertions(+), 1 deletion(-) diff --

[PATCH 3/6] lib/charset: utf8_get() should return error

2021-02-27 Thread Heinrich Schuchardt
utf8_get() should return an error if hitting an illegal UTF-8 sequence and not silently convert the input to a question mark. Correct utf_8() and the its unit test. console_read_unicode() now will ignore illegal UTF-8 sequences. Signed-off-by: Heinrich Schuchardt --- lib/charset.c | 25 +++

[PATCH 2/6] efi_loader: carve out utf_to_cp()

2021-02-27 Thread Heinrich Schuchardt
Carve out a function to translate a Unicode code point to an 8bit codepage. Provide a unit test for the new function. Signed-off-by: Heinrich Schuchardt --- include/charset.h | 11 ++ lib/charset.c | 28 + lib/efi_loa

[PATCH 4/6] lib/charset: UTF-8 stream conversion

2021-02-27 Thread Heinrich Schuchardt
Provide functions to convert an UTF-8 stream to code page 437 or UTF-32. Add unit tests. Signed-off-by: Heinrich Schuchardt --- include/charset.h | 18 +++ lib/charset.c | 55 +++-- test/unicode_ut.c | 78 +++ 3

[PATCH 6/6] video: support Unicode in video console

2021-02-27 Thread Heinrich Schuchardt
UEFI programs use Unicode for console output, e.g. GRUB uses characters from the 0x2500 code block to draw a box around the menu. The TrueType console supports UTF-32. The normal console supports code page 437. We have to convert the UTF-8 stream passed to putc() accordingly. Signed-off-by: Heinr

[PATCH 5/6] video: use int for character in putc_xy()

2021-02-27 Thread Heinrich Schuchardt
The truetype console expects the character to be a Unicode code point. This value cannot be passed as char. Use int instead. Signed-off-by: Heinrich Schuchardt --- drivers/video/console_normal.c| 2 +- drivers/video/console_rotate.c| 6 +++--- drivers/video/console_truetype.c | 2 +- dr

Re: [PATCH v2 3/3] arm: mvebu: Initial ESPRESSOBin-Ultra board support

2021-02-27 Thread Marek Behun
In Linux the DTS for espressobin-ultra includes armada-3720-espressobin.dtsi and just adds changes. If possible, please do this as is done in Linux. In fact we want to slowly move in the direction to have the dts files just copied from Linux. Marek

Re: [EXT] Re: [PATCH 4/4] imx8mq_evk: Enable the USB3.0 host port

2021-02-27 Thread Fabio Estevam
Hi Ye Li, On Sat, Feb 27, 2021 at 3:04 AM Ye Li wrote: > My debug shows the issue is triggered by below commit: Thanks for investigating this issue. Appreciate it. > commit 9098682200e6cca4b776638a51200dafa16f50fb > Author: Haibo Chen > Date: Tue Sep 22 18:11:43 2020 +0800 > > mmc: fsl_

[PATCH] Revert "mmc: fsl_esdhc_imx: remove the 1ms delay before sending command"

2021-02-27 Thread Fabio Estevam
Removing the 1ms delay before sending command causes a regression on imx8mq-evk where the SD card cannot be accessed. Since this 1ms delay has been present since the driver introduction in 2008, keep it to avoid regressions. This reverts commit 9098682200e6cca4b776638a51200dafa16f50fb. Reported

[PATCH] ARM: imx: Do not hard-code MX8M MMU table DRAM entry offset

2021-02-27 Thread Marek Vasut
Instead of hard-coding the offset of DRAM entries in MMU table all over the code, auto-detect the offset. This removes error-prone code which would break e.g. in case the MMU table is modified. Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Peng Fan Cc: Stefano Babic Cc: Ye Li --- arch/arm

Re: [PATCH] ARM: imx: Do not hard-code MX8M MMU table DRAM entry offset

2021-02-27 Thread Fabio Estevam
Hi Marek, On Sat, Feb 27, 2021 at 10:59 AM Marek Vasut wrote: > > Instead of hard-coding the offset of DRAM entries in MMU table all over > the code, auto-detect the offset. This removes error-prone code which > would break e.g. in case the MMU table is modified. > > Signed-off-by: Marek Vasut >

[PATCH] arm64: rk3399: Add support NanoPi R4s

2021-02-27 Thread xiaobo
From: Xiaobo Tian NanoPi R4s is SBC base on Rockchip RK3399 hexa-core processor with dual-Core Cortex-A72 and Mali-T864 GPU with 4GiB(LPDDR4) of RAM, SD card support, including 2 gigabit ethernet(RTL8211E 1Gbps - RTL8111H 1Gbps) and 2 USB 3.0 port. port.It also has two GPIO headers which allows

Re: [PATCH] rk3399: Add basic support for helios64

2021-02-27 Thread Dennis Gilmore
On Fri, Feb 26, 2021 at 12:57 AM Uwe Kleine-König wrote: > > Hi Dennis, > > thanks for your feedback. > > On 2/26/21 12:23 AM, Dennis Gilmore wrote: > > Thanks for submitting, I have been meaning to do so myself, I have > > been meaning to go through and try get the dts files in a decent > > shap