Skip to content

Instantly share code, notes, and snippets.

View openedev's full-sized avatar

Jagan Teki openedev

View GitHub Profile
diff --git a/drivers/video/rockchip/rk_vop.c b/drivers/video/rockchip/rk_vop.c
index ff1a80384d..3bae22a5bc 100644
--- a/drivers/video/rockchip/rk_vop.c
+++ b/drivers/video/rockchip/rk_vop.c
@@ -425,7 +425,7 @@ int rk_vop_bind(struct udevice *dev)
{
struct video_uc_platdata *plat = dev_get_uclass_platdata(dev);
- plat->size = 4 * (CONFIG_VIDEO_ROCKCHIP_MAX_XRES *
+ plat->size = VIDEO_BPP32 * (CONFIG_VIDEO_ROCKCHIP_MAX_XRES *
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 6.2.0-rc6-01880-g545d4d301c81 (j@j-ThinkPad-E14-Gen-2) (aarch64-linux-gnu-gcc (GCC) 11.0.1 20210310 (experimental) [master revision 5987d8a79cda1069c774e5c302d5597310270026], GNU ld (Linaro_Binutils-202
1.03) 2.36.50.20210310) #26 SMP PREEMPT Tue Mar 7 13:59:34 IST 2023
[ 0.000000] Machine model: Engicam i.Core MX8M Mini C.TOUCH 2.0 10.1" Open Frame
[ 0.000000] efi: UEFI not found.
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x000000007fffffff]
[ 0.000000] NUMA: NODE_DATA [mem 0x7fdd4a00-0x7fdd6fff]
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000040000000-0x000000007fffffff]
@openedev
openedev / gist:575fc2b68c56ffd7d461ac09ad62f84d
Last active February 11, 2023 08:31
RK3328 U-Boot HDMI
U-Boot TPL 2023.01-00011-g853879f7d2-dirty (Feb 08 2023 - 23:50:56)
DDR4, 333MHz
BW=32 Col=10 Bk=4 BG=2 CS0 Row=15 CS=1 Die BW=16 Size=1024MB
Trying to boot from BOOTROM
Returning to boot ROM...
U-Boot SPL 2023.01-00011-g853879f7d2-dirty (Feb 08 2023 - 23:50:56 +0530)
Trying to boot from MMC1
NOTICE: BL31: v2.7(release):abe9b53
NOTICE: BL31: Built : 18:32:26, Jul 15 2022
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 6.2.0-rc7-dirty (j@j-ThinkPad-E14-Gen-2) (aarch64-linux-gnu-gcc (GCC) 11.0.1 20210310 (experimental) [master revision 5987
d8a79cda1069c774e5c302d5597310270026], GNU ld (Linaro_Binutils-2021.03) 2.36.50.20210310) #22 SMP PREEMPT Thu Feb 16 01:17:26 IST 2023
[ 0.000000] Machine model: Firefly roc-rk3328-cc
[ 0.000000] earlycon: uart8250 at MMIO32 0x00000000ff130000 (options '')
[ 0.000000] printk: bootconsole [uart8250] enabled
[ 0.000000] efi: UEFI not found.
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x000000003fffffff]
[ 0.000000] NUMA: NODE_DATA [mem 0x3fdc9a00-0x3fdcbfff]
 ÿà`€à0þþøÿÿÿ@? €€ÿþþþø€€ÿøüüˆâþüÿüþÿüø1göøÀü
U-Boot TPL 2022.10-00165-g7e151c05d8 (Feb 22 2023 - 19:19:40)
Trying to boot from BOOTROM
Returning to boot ROM...
U-Boot SPL 2022.10-00165-g7e151c05d8 (Feb 22 2023 - 19:19:40 +0530)
Trying to boot from MMC2
I/TC:
I/TC: cpu feature:0x0
I/TC: cpu_st=0xe0
static int generic_dsim_find_panel_or_bridge(struct samsung_dsim *dsi)
{
struct device *dev = dsi->dev;
struct drm_panel *panel;
struct drm_bridge *bridge;
int ret;
ret = drm_of_find_panel_or_bridge(dev->of_node, 1, 0, &panel, &bridge);
if (ret) {
DRM_INFO("%s: ret = %d\n", __func__, ret);
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-icore-mx8mm-ctouch2-of10.dts b/arch/arm64/boot/dts/freescale/imx8mm-icore-mx8mm-ctouch2-of10.dts
index 183dd2110842..8bdb8d34880a 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm-icore-mx8mm-ctouch2-of10.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mm-icore-mx8mm-ctouch2-of10.dts
@@ -44,13 +44,11 @@ &dsi {
#size-cells = <0>;
status = "okay";
- ports {
- port@1 {
USB XHCI 1.10
scanning bus usb@ff580000 for devices... Calling usb_setup_device(), portnr=0
read_descriptor for 'usb@ff580000': ret=0
** usb_find_child returns -2
usb_scan_device: Probing 'usb_hub', plat=000000003df58fb0
Calling usb_setup_device(), portnr=1
read_descriptor for 'usb_hub': ret=0
** usb_find_child returns -2
usb_scan_device: Probing 'usb_mass_storage', plat=000000003df697d0
scanning bus usb@ff5c0000 for devices... 2 USB Device(s) found
scanning bus usb@ff5d0000 for devices... 1 USB Device(s) found
scanning bus usb@ff600000 for devices... 1 USB Device(s) found
scanning bus usb@ff580000 for devices... Adding disk for usb_mass_storage.lun0 failed (err=-9223372036854775788/0x8000000000000014)
device 'usb_mass_storage.lun0' failed to unbind
1 USB Device(s) found
device 'usb_mass_storage.lun0' failed to unbind
scanning usb for storage devices... 2 Storage Device(s) found
=> usb tree
USB device tree:
// SPDX-License-Identifier: GPL-2.0 OR X11
/*
* Copyright (C) 2016 Amarula Solutions
*/
/dts-v1/;
#include "imx6dl.dtsi"
#include <dt-bindings/gpio/gpio.h>