roleoroleo / sonoff-hack

Custom firmware for Sonoff GK-200MP2B camera
GNU General Public License v3.0
201 stars 48 forks source link

arm-sonoff-linux-uclibcgnueabi-gcc #48

Closed shafr closed 3 years ago

shafr commented 3 years ago

Where can I find arm-sonoff-linux-uclibcgnueabi-gcc package (UBUNTU)? I cannot build firmware otherwise, due to error:

/bin/sh: 1: arm-sonoff-linux-uclibcgnueabi-gcc: not found
or 
/sonoff-hack/src/busybox/busybox/scripts/gcc-version.sh: line 11: arm-sonoff-linux-uclibcgnueabi-gcc: command not found

google does not help much.

roleoroleo commented 3 years ago

Check the wiki: https://github.com/roleoroleo/sonoff-hack/wiki/Toolchain

shafr commented 3 years ago

OK, thank you! I thought about adding github action that would build artifact automatically after push. Does it makes sense ?

roleoroleo commented 3 years ago

Yes. crdnl had already done something similar on the Allwinner platform: https://github.com/roleoroleo/yi-hack-Allwinner/actions

shafr commented 3 years ago

What would be perfect if you can set up docker container with tooling inside that can be used for build. This way github action can be run inside that container & everyone who can build it locally can use that container.

shafr commented 3 years ago

Ok, one more:

./compile.www: 29: yui-compressor: not found
roleoroleo commented 3 years ago

You need to install the package yui-compressor

shafr commented 3 years ago

Ok, great. What is output artifact ? Tar'ed contents of build folder ?

roleoroleo commented 3 years ago

The build folder with some changes. https://github.com/roleoroleo/sonoff-hack/blob/master/scripts/pack_fw.sh

shafr commented 3 years ago

Implemented build in #51