Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

defconfig-disable-CONFIG_BOARD_LATE_INIT patch file with fuzz #113

Open
shahimvedaei opened this issue Dec 15, 2024 · 1 comment
Open

defconfig-disable-CONFIG_BOARD_LATE_INIT patch file with fuzz #113

shahimvedaei opened this issue Dec 15, 2024 · 1 comment

Comments

@shahimvedaei
Copy link

The following patch file has a fuzz error.

meta-odroid/recipes-bsp/u-boot/u-boot/0001-odroid-xu3-defconfig-disable-CONFIG_BOARD_LATE_INIT.patch0001-odroid-xu3-defconfig-disable-CONFIG_BOARD_LATE_INIT.patch

Sstate summary: Wanted 1129 Local 0 Mirrors 0 Missed 1129 Current 620 (0% match, 35% complete)####################################################################################                  | ETA:  0:00:00
Initialising tasks: 100% |##########################################################################################################################################################################| Time: 0:00:03
NOTE: Executing Tasks
ERROR: u-boot-1_2024.01-r0 do_patch: QA Issue: Fuzz detected:

Applying patch 0001-odroid-xu3-defconfig-disable-CONFIG_BOARD_LATE_INIT.patch
patching file configs/odroid-xu3_defconfig
Hunk #1 succeeded at 25 with fuzz 1.


The context lines in the patches can be updated with devtool:

    devtool modify u-boot
    devtool finish --force-patch-refresh u-boot <layer_path>

Don't forget to review changes done by devtool!

Patch log indicates that patches do not apply cleanly. [patch-fuzz]
ERROR: u-boot-1_2024.01-r0 do_patch: Fatal QA errors were found, failing task.
ERROR: Logfile of failure stored in: /home/user/poky/build/tmp/work/odroid_xu4-poky-linux-gnueabi/u-boot/2024.01/temp/log.do_patch.32190
ERROR: Task (/home/user/poky/meta/recipes-bsp/u-boot/u-boot_2024.01.bb:do_patch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1871 tasks of which 1856 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/user/poky/meta/recipes-bsp/u-boot/u-boot_2024.01.bb:do_patch
Summary: There were 2 ERROR messages, returning a non-zero exit code.


@shahimvedaei
Copy link
Author

The line with ------> are the revised one

--- git.orig/configs/odroid-xu3_defconfig
+++ git/configs/odroid-xu3_defconfig
 ------> @@ -25,7 +25,6 @@ CONFIG_CONSOLE_MUX=y
 CONFIG_BOARD_TYPES=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
-CONFIG_BOARD_LATE_INIT=y
 CONFIG_MISC_INIT_R=y
 CONFIG_SYS_PROMPT="ODROID-XU3 # "
--------> CONFIG_SYS_PBSIZE=1024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant