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

Apply patches to CC failed #15

Closed
tedaz opened this issue Nov 1, 2016 · 8 comments
Closed

Apply patches to CC failed #15

tedaz opened this issue Nov 1, 2016 · 8 comments

Comments

@tedaz
Copy link

tedaz commented Nov 1, 2016

I tried to apply the patches to the official CC code (rather than git clone this project), during the building process, I got below error message:

Applying /chaos_calmer/target/linux/generic/patches-3.18/030-backport_bcm47xx_nvram.patch using plaintext:
The next patch would create the file include/linux/bcm47xx_nvram.h,
which already exists! Applying it anyway.
patching file include/linux/bcm47xx_nvram.h
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file include/linux/bcm47xx_nvram.h.rej
Patch failed! Please fix /chaos_calmer/target/linux/generic/patches-3.18/030-backport_bcm47xx_nvram.patch!
Makefile:100: recipe for target '/chaos_calmer/build_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/linux-3.18.27/.prepared' failed
make[3]: *** [/chaos_calmer/build_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/linux-3.18.27/.prepared] Error 1
make[3]: Leaving directory '/chaos_calmer/toolchain/kernel-headers'
toolchain/Makefile:81: recipe for target 'toolchain/kernel-headers/prepare' failed
make[2]: *** [toolchain/kernel-headers/prepare] Error 2
make[2]: Leaving directory '/chaos_calmer'
toolchain/Makefile:80: recipe for target '/chaos_calmer/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/stamp/.toolchain_install' failed
make[1]: *** [/chaos_calmer/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/stamp/.toolchain_install] Error 2
make[1]: Leaving directory '/chaos_calmer'
/chaos_calmer/include/toplevel.mk:181: recipe for target 'world' failed
make: *** [world] Error 2

@alzhao
Copy link
Member

alzhao commented Nov 1, 2016

Hi, openwrt cc1505.1 keep adding more target which cause the patches failed to apply. Need to revert back to some commit before so that the patches can apply. But I didn't keep a record which commit it is.

@tedaz
Copy link
Author

tedaz commented Nov 1, 2016

Is it possible to submit the GL.iNet target patches to the LEDE project? As the LEDE is actively developing now, and it is using the OpenWRT repo.
Alternatively, it is possible to release patches for CC 15.05.1?

@alzhao
Copy link
Member

alzhao commented Nov 25, 2016

Actually we have already submitted all the patches to LEDE. Now only ar300m nand flash patch is not accepted.

@milani
Copy link

milani commented Dec 10, 2016

@alzhao Is there a reason it is not accepted? Would you please contact them to resolve the possible issues? AR300M is a capable board and I think it is losing attention because people can not run the latest LEDE on it.

@blogic
Copy link

blogic commented Dec 10, 2016

@alzhao did you ever try to test the staging driver or help clean up the driver you submitted as per our feedback ?

@alzhao
Copy link
Member

alzhao commented Dec 11, 2016 via email

@alzhao
Copy link
Member

alzhao commented Jan 3, 2017 via email

@alzhao
Copy link
Member

alzhao commented Jan 7, 2017

https://github.com/domino-team/lede-ar300m

I made a fork and added AR300M nand flash support. Still need sometime to clean the driver and get it accepted.

@alzhao alzhao closed this as completed Mar 22, 2017
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

4 participants