30.03.2014, 10:58 | #1 |
Junior Member
Регистрация: 02.11.2012
Сообщений: 13
Вес репутации: 0 |
Компиляция OpenWRT для HLK-RM04
Здравствуйте, пытаюсь скомпилировать последний trunk для HLK-RM04. Процесс компиляции останавливается на применении патча: 130-mips_remove_plat_dma_functions.patch. Помогите, уже весь гугл перелопатил. Лог прилогаю.
Код:
Applying /home/siper/openwrt/trunk/target/linux/generic/patches-3.10/130-mips_remove_plat_dma_functions.patch using plaintext: patching file arch/mips/include/asm/mach-cavium-octeon/dma-coherence.h patching file arch/mips/include/asm/mach-generic/dma-coherence.h patching file arch/mips/include/asm/mach-ip27/dma-coherence.h patching file arch/mips/include/asm/mach-ip32/dma-coherence.h patching file arch/mips/include/asm/mach-jazz/dma-coherence.h patching file arch/mips/include/asm/mach-loongson/dma-coherence.h patching file arch/mips/include/asm/mach-powertv/dma-coherence.h patching file arch/mips/mm/dma-default.c Hunk #1 succeeded at 293 (offset 4 lines). Hunk #2 succeeded at 326 (offset 4 lines). Hunk #3 succeeded at 339 (offset 4 lines). Applying /home/siper/openwrt/trunk/target/linux/generic/patches-3.10/130-mips_remove_plat_dma_functions.patch~ using plaintext: patching file arch/mips/include/asm/mach-cavium-octeon/dma-coherence.h Hunk #1 FAILED at 46. 1 out of 1 hunk FAILED -- saving rejects to file arch/mips/include/asm/mach-cavium-octeon/dma-coherence.h.rej patching file arch/mips/include/asm/mach-generic/dma-coherence.h Hunk #1 FAILED at 47. 1 out of 1 hunk FAILED -- saving rejects to file arch/mips/include/asm/mach-generic/dma-coherence.h.rej patching file arch/mips/include/asm/mach-ip27/dma-coherence.h Hunk #1 FAILED at 58. 1 out of 1 hunk FAILED -- saving rejects to file arch/mips/include/asm/mach-ip27/dma-coherence.h.rej patching file arch/mips/include/asm/mach-ip32/dma-coherence.h Hunk #1 FAILED at 80. 1 out of 1 hunk FAILED -- saving rejects to file arch/mips/include/asm/mach-ip32/dma-coherence.h.rej patching file arch/mips/include/asm/mach-jazz/dma-coherence.h Hunk #1 FAILED at 48. 1 out of 1 hunk FAILED -- saving rejects to file arch/mips/include/asm/mach-jazz/dma-coherence.h.rej patching file arch/mips/include/asm/mach-loongson/dma-coherence.h Hunk #1 FAILED at 53. 1 out of 1 hunk FAILED -- saving rejects to file arch/mips/include/asm/mach-loongson/dma-coherence.h.rej patching file arch/mips/include/asm/mach-powertv/dma-coherence.h Hunk #1 FAILED at 99. 1 out of 1 hunk FAILED -- saving rejects to file arch/mips/include/asm/mach-powertv/dma-coherence.h.rej patching file arch/mips/mm/dma-default.c Hunk #1 FAILED at 293. Hunk #2 FAILED at 327. Hunk #3 FAILED at 340. 3 out of 3 hunks FAILED -- saving rejects to file arch/mips/mm/dma-default.c.rej Patch failed! Please fix /home/siper/openwrt/trunk/target/linux/generic/patches-3.10/130-mips_remove_plat_dma_functions.patch~! make[3]: *** [/home/siper/openwrt/trunk/build_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/linux-3.10.34/.prepared] Error 1 make[3]: Leaving directory `/home/siper/openwrt/trunk/toolchain/kernel-headers' make[2]: *** [toolchain/kernel-headers/prepare] Error 2 make[2]: Leaving directory `/home/siper/openwrt/trunk' make[1]: *** [/home/siper/openwrt/trunk/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/stamp/.toolchain_install] Error 2 make[1]: Leaving directory `/home/siper/openwrt/trunk' make: *** [world] Ошибка 2 siper@siper-pc:~/openwrt/trunk$ Последний раз редактировалось Siper; 30.03.2014 в 11:49. |
31.03.2014, 06:47 | #2 |
Senior Member
Регистрация: 02.04.2012
Адрес: Питер
Сообщений: 1,125
Вес репутации: 1311 |
Re: Компиляция OpenWRT для HLK-RM04
Что-то с версией ядра: https://dev.openwrt.org/ticket/15410
|
20.06.2014, 22:50 | #3 |
Junior Member
Регистрация: 02.11.2012
Сообщений: 13
Вес репутации: 0 |
Re: Компиляция OpenWRT для HLK-RM04
Проблема была из-за применения сторонних патчей для данного модуля.
|
20.06.2014, 23:39 | #4 |
Administrator
Регистрация: 12.04.2010
Адрес: Москва
Сообщений: 9,616
Вес репутации: 9821 |
Re: Компиляция OpenWRT для HLK-RM04
Поделитесь прошивкой
|
Здесь присутствуют: 1 (пользователей: 0 , гостей: 1) | |
|
|