YoeDistro / yoe-distro

Embedded Linux distribution optimized for product development (based on OE/Yocto)
MIT License
181 stars 43 forks source link

Beaglebone - Applying patch '0001-ti-mmc-Load-kernel-and-fdt-from-FAT-parition.patch' fails #888

Open godzilathakur opened 6 months ago

godzilathakur commented 6 months ago

I face the following error

ERROR: u-boot-ti-staging-1_2023.04+git-r0 do_patch: Applying patch '0001-ti-mmc-Load-kernel-and-fdt-from-FAT-parition.patch' on target directory '/home/ubuntu/co/yoe/build/tmp/work/beaglebone-yoe-linux-gnueabi/u-boot-ti-staging/2023.04+git/git'
CmdError('quilt --quiltrc /home/ubuntu/co/yoe/build/tmp/work/beaglebone-yoe-linux-gnueabi/u-boot-ti-staging/2023.04+git/recipe-sysroot-native/etc/quiltrc push', 0, 'stdout: Applying patch 0001-ti-mmc-Load-kernel-and-fdt-from-FAT-parition.patch
patching file include/environment/ti/mmc.h
Hunk #1 FAILED at 23.
1 out of 1 hunk FAILED -- rejects in file include/environment/ti/mmc.h
Patch 0001-ti-mmc-Load-kernel-and-fdt-from-FAT-parition.patch does not apply (enforce with -f)

stderr: ')
ERROR: Logfile of failure stored in: /home/ubuntu/co/yoe/build/tmp/work/beaglebone-yoe-linux-gnueabi/u-boot-ti-staging/2023.04+git/temp/log.do_patch.3392
ERROR: Task (/home/ubuntu/co/yoe/sources/meta-ti/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2023.04.bb:do_patch) failed with exit code '1'

I am following instructions for building from https://github.com/YoeDistro/yoe-distro/blob/master/docs/beagleboneblack.md

kraj commented 6 months ago

@godzilathakur thanks for reporting, we have been lagging a bit on beagleboard BSP, however it should be possible to port this patch to apply to newer 2023.04 u-boot.