Форум обсуждения систем  

Вернуться   Форум обсуждения систем "Умный дом", проектов Ардуино, OpenWRT и других DIY устройств > Форум умного дома > Сделай сам > OpenWRT/LEDE

Ответ
 
Опции темы Поиск в этой теме Опции просмотра
Старый 30.03.2014, 10:58   #1
Siper
Junior Member
 
Регистрация: 02.11.2012
Сообщений: 13
Вес репутации: 0
Siper is an unknown quantity at this point
По умолчанию Компиляция 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.
Siper вне форума   Ответить с цитированием
Старый 31.03.2014, 06:47   #2
stD
Senior Member
 
Аватар для stD
 
Регистрация: 02.04.2012
Адрес: Питер
Сообщений: 1,125
Вес репутации: 1311
stD has a brilliant futurestD has a brilliant futurestD has a brilliant futurestD has a brilliant futurestD has a brilliant futurestD has a brilliant futurestD has a brilliant futurestD has a brilliant futurestD has a brilliant futurestD has a brilliant futurestD has a brilliant future
По умолчанию Re: Компиляция OpenWRT для HLK-RM04

Что-то с версией ядра: https://dev.openwrt.org/ticket/15410
stD вне форума   Ответить с цитированием
Старый 20.06.2014, 22:50   #3
Siper
Junior Member
 
Регистрация: 02.11.2012
Сообщений: 13
Вес репутации: 0
Siper is an unknown quantity at this point
По умолчанию Re: Компиляция OpenWRT для HLK-RM04

Проблема была из-за применения сторонних патчей для данного модуля.
Siper вне форума   Ответить с цитированием
Старый 20.06.2014, 23:39   #4
Admin
Administrator
 
Аватар для Admin
 
Регистрация: 12.04.2010
Адрес: Москва
Сообщений: 9,616
Вес репутации: 9821
Admin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant future
По умолчанию Re: Компиляция OpenWRT для HLK-RM04

Поделитесь прошивкой
Admin вне форума   Ответить с цитированием
Ответ


Здесь присутствуют: 1 (пользователей: 0 , гостей: 1)
 

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход


Текущее время: 03:11. Часовой пояс GMT +3.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd. Перевод: zCarot
Яндекс.Метрика