black huang

M6.0.1_2.1.0_uboot_logo_keep_patch_2017-01-06.zip   patch use condition

Discussion created by black huang on Nov 7, 2019

各位大神们:

            有人使用过该patch吗?需要注意哪些地方。

首先、我使用的系统:android6.1,内核: 4.1.15,uboot:2015.04-dirty。参考的是sabresd_6dq参考板。使用的是6q6a。

根据readme:

               在uboot和kernel使用git apply打patch,但是曝出很多error。

uboot:~/myandroid/bootable/bootloader/uboot-imx$ git apply ./0001-Enable-uboot-logo-for-HDMI-LCD-and-LVDS.patch
./0001-Enable-uboot-logo-for-HDMI-LCD-and-LVDS.patch:122: trailing whitespace.
./0001-Enable-uboot-logo-for-HDMI-LCD-and-LVDS.patch:143: trailing whitespace.
./0001-Enable-uboot-logo-for-HDMI-LCD-and-LVDS.patch:497: space before tab in indent.
return -1;
./0001-Enable-uboot-logo-for-HDMI-LCD-and-LVDS.patch:501: space before tab in indent.
return -1;
./0001-Enable-uboot-logo-for-HDMI-LCD-and-LVDS.patch:541: trailing whitespace.
* IPU initialization, connect each module and build a link from memory to
error: patch failed: arch/arm/cpu/armv7/mx6/Makefile:10
error: arch/arm/cpu/armv7/mx6/Makefile: patch does not apply
error: patch failed: arch/arm/cpu/armv7/mx6/clock.c:12
error: arch/arm/cpu/armv7/mx6/clock.c: patch does not apply
error: arch/arm/cpu/armv7/mx6/ipu.c: already exists in working directory
error: patch failed: arch/arm/include/asm/arch-mx6/clock.h:40
error: arch/arm/include/asm/arch-mx6/clock.h: patch does not apply
error: arch/arm/include/asm/arch-mx6/ipuv3h_reg_def.h: already exists in working directory
error: arch/arm/include/asm/imx-common/imx_pwm.h: already exists in working directory
error: arch/arm/include/asm/imx-common/mxc_ipu.h: already exists in working directory
error: patch failed: board/freescale/mx6sabresd/mx6sabresd.c:52
error: board/freescale/mx6sabresd/mx6sabresd.c: patch does not apply
error: patch failed: drivers/misc/Makefile:29
error: drivers/misc/Makefile: patch does not apply
error: drivers/misc/imx_pwm.c: already exists in working directory
error: patch failed: drivers/video/Makefile:52
error: drivers/video/Makefile: patch does not apply
error: drivers/video/mxc_hdmi.c: already exists in working directory
error: drivers/video/mxc_hdmi.h: already exists in working directory
error: patch failed: include/configs/mx6sabre_common.h:423
error: include/configs/mx6sabre_common.h: patch does not apply

 

kernel:同样出现error。

 

然后我尝试使用patch -p1 <  打patch为报错。继续配置uboot-imx\include\configs\mx6sabre_common.h和 MX6 clk setting for smooth UI transtion from bootloader to kernel。但是烧写系统后出现一只卡在 10.980425] ERROR: v4l2 capture: slave not found!  屏幕只有背光、无法出现android字样。

 

使用patch -R p1 取消补丁后、重新编译烧写系统后又出现屏幕闪屏。特别在系统的设置中出现字体反过来显示并且有很多条横闪屏。

 

非常希望使用过的大神进行指导!!!!

Outcomes