I need to rebuild this image.
Its breaking the device. I wold like to fix it.
How was that image built? (automatic?)
And how do i have to proceed?
I need to rebuild this image.
The images on the OpenWrt download site are built by a system of "buildbot" hosts.
You also can build from source on a Linux host (including a VM).
Do you know what is "broken" at this time?
no not jet. I have described it here with some logs but i do not think its usefull...
I can try to crosscompile it, but i may need some guideance...
you will find config.seed in same location
You need to follow documentation here to start:
Adding to mbo20's great post, make sure that you de-select building of "everything" from
config.seed as that really only works on a buildbot machine.
I believe the lines are at least
CONFIG_TARGET_MULTI_PROFILE=y CONFIG_ALL_KMODS=y CONFIG_TARGET_ALL_PROFILES=y CONFIG_BUILDBOT=y CONFIG_SDK=y
Personally, I find it easier to start with an empty
.config, then go into
make menuconfig and select my target, board, and the packages that I want to add.
I wonder why buildbots are building tools and toolchain each compile? can't they reuse those?
Part of continuous testing is to "start clean" every time. The build chain is different for each architecture; a cross-compiler built for MIPS can't compile ARM code, for example.
Each target/sub-target's kernel and kernel modules are built only once, as they are used for all devices for that target/sub-target. Similarly, packages for a given architecture are only built once. (At least as I understand it.)
I made my first build! I think it even worked, but some features are missing.
As I started my first time to test how such builds work, it's not a surprise that its not complete.
I followed the official Mediatek Build guide and also used the feeds from there but changed the openwrt version from 15.05:
git clone git://git.openwrt.org/15.05/openwrt.git
git clone https://git.openwrt.org/openwrt/openwrt.git
that now seams to not work properly with the older Mediatek feeds.
The prebuilt openwrt binary has a more or less working config. How can i rebuild that openwrt version?
In particular i'm unsure how to apply the feeds.
Mediatek does it like this:
echo src-git linkit https://github.com/MediaTek-Labs/linkit-smart-7688-feed.git >> feeds.conf
The doc says to choose in the menuconfig, but I think its somehow possible to take the config that is used from the automatic buildsystem and build locally the same.
Can somebody tell me how I can clean up the previous Build and rebuild with new config?
- This feed is for 15. Is that what your have? ( https://github.com/MediaTek-Labs/linkit-smart-7688-feed )
You need to do ./scripts update | install steps otherwise your feed echo will not be present in menuconfig.... feeds are generally setup pre build... so you may need to distclean etc. etc. or just start from scratch with the echo before feeds update && install.
... maybe make a new thread.... we are in the wrong spot re: using builtroot VS official build generation.
That archive and 15.05 are both outdated.
The Linkit 7688 is supported by current OpenWrt without additional repositories.
It "just builds" as per the generic instructions in the source, or on the OpenWrt wiki.
No, not directly. That
config.seed is intended for automatic build on the buildbot system. It will likely fail if used as-is on a stand-alone build machine as it builds all kernel modules and all packages, as well as the image builder and SDK.
The easiest is to use
make menuconfig and select the board. That will give you a baseline selection, but without LuCI. Within the menuconfig screens, select LuCI > Collections > luci-ssl-nginx (or luci, if you don't have enough flash for HTTP-S support) and you've got a selection of packages in the image that is comparable, but appropriate for local builds.
true. Here I will continue...
..getting back because of a general question regarding how to get changes in to the automatic built stock openwrt distribution for my device.
In my new opend thread @drcyberg recommends me to change a line in
Is that a solution that I will be able to commit to the automated build system and applied only to the Linkit Smart 7688? I do not want to affect all devices using the mac80211.sh file...
You can’t change a common package for just a single board.
You can change it for your local builds though. It will impact all your builds, but you can manage the change if you change boards.