Commit Graph

206 Commits (d1d6c6e2214103e88765ca04797896b4ab33d001)

Author SHA1 Message Date
Felix Fietkau 232042f95d ubus: update to the latest version, fixes netifd related crashes on ubus calls during reload
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-25 08:32:14 +00:00
John Crispin fd4f6d5215 procd: fix nand.sh kernel_length typo
sysupgrade otherwise skips kernel part on devices which got
kernel in ubi due to kern_length being undefined, kernel_length
is being used instead.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-24 18:13:56 +00:00
John Crispin fca69de306 fstools: fix factory reset on ubifs overlay
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-24 18:13:05 +00:00
John Crispin 7e4ad04438 procd: update to latest git head
this fixes the upgraded linking issue on arm.

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-19 14:13:45 +00:00
John Crispin 87a9dcb506 procd: various improvements to nand.sh
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41278 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-19 14:13:41 +00:00
John Crispin 98d34860a4 procd: forgot to update the git id in the last commit
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41239 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 17:51:35 +00:00
John Crispin cfe127980c procd: make upgarded depend on mips, the static linking on arm fails
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 15:40:05 +00:00
John Crispin 31f99ff64c procd: some cleanup for SysupgradeNAND
Removed unused ubi file file from template as ubinized images are
passed directly and not inside the tarball.
Also removed left-over white-space.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41237 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 15:40:02 +00:00
John Crispin a0be38dafa procd: various cleanups to /lib/upgrade/nand.sh
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-16 18:55:14 +00:00
John Crispin 0e42bc27c7 procd: update to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41221 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-16 18:55:09 +00:00
John Crispin 1b895a65a4 procd: rename procd_add_network_trigger
i got complaints about the bad naming of the api. lets rename it while there are no users yet.

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41220 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-16 18:55:05 +00:00
Felix Fietkau 53557b1ac1 procd: update to the latest version, fixes static linking of upgraded
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41148 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-11 17:48:35 +00:00
Felix Fietkau 5a1be6890b procd: allow passing multiple config files to procd_add_reload_trigger
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41146 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-11 17:05:46 +00:00
Steven Barth d7029483f4 procd: fix overflow in hotplug socket on certain targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-11 15:34:33 +00:00
John Crispin 1d54844bf9 procd: update to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-11 12:59:49 +00:00
John Crispin 52b25de084 fstools: the ubi flash tool is obselete now
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-11 12:59:45 +00:00
Felix Fietkau 6114bc1bbb mountd: remove a bogus include to fix compile with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-09 13:48:00 +00:00
Felix Fietkau 4529f05113 procd: Fix USB cellular modems hotplug events
Without this patch, /etc/hotplug.d/tty/30-3g won't be called when you insert or remove a USB-serial cellular modem.

(see Ticket #14117)

Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-07 11:54:13 +00:00
John Crispin 16eceec6c4 procd: service instances can now report an error of why they failed to start.
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41031 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-06 09:34:30 +00:00
Felix Fietkau 43bed940cc procd: update to the latest version, fixes a crash on early boot
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41020 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 14:55:14 +00:00
John Crispin b8e563d2d0 procd: add wrapper calls for interface triggers
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 10:56:06 +00:00
John Crispin 120957698a procd: update to latest git head
adds support for ubus event based triggers

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 10:56:02 +00:00
John Crispin 7024138581 procd: rename local variable in uci_validate_section
Allow to use "package", "type", "name", "error" and "result"
as config option names:

package some_service
config section 'foo'
    option name 'bar'
    option type 'unknown'

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 08:19:59 +00:00
John Crispin 8cbc083fde fstools: stage libubi-utils static library and headers
Use InstallDev to make libubi-utils available for linking in
uboot-envtools.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:44:16 +00:00
Felix Fietkau 01fbba98bd fstools: update to latest version, fixes build on x86_64
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40902 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 09:38:09 +00:00
Steven Barth a861ceee0f ca-certificates: bump to 20140325
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-01 10:32:37 +00:00
Felix Fietkau 6dcc4bbda0 fstools: update to the latest version, fixes build for 64 bit targets
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-31 12:46:59 +00:00
Felix Fietkau 12fff1c6a2 ubox: update to latest version, fixes kmodloader issues with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-28 21:28:14 +00:00
Felix Fietkau 420752ac20 ubox: update to the latest version, reduces binary library dependencies
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-25 22:39:51 +00:00
Felix Fietkau 69307004b0 procd: update, fixes a bunch of memleaks
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-25 19:38:58 +00:00
Felix Fietkau c1c3114aa4 procd: update to the latest version, fixes some musl compatibility issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-25 17:51:52 +00:00
Felix Fietkau 7695f68829 mtd: fix compile error with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-21 14:09:53 +00:00
Luka Perkov dab6984526 [package] fstools: update to the latest version
Fixes RO mounts on imx6 target.

Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-21 13:15:47 +00:00
Felix Fietkau eea1c556c9 fstools: update to the latest version, adds ubifs support and ubi/mtd fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40781 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-19 21:58:44 +00:00
Jo-Philipp Wich 473d89cc58 opkg: introduce a --force-checksum cmdline flag to be ale to ignore mismatching md5sums
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-14 11:19:07 +00:00
Felix Fietkau 4aa9801f75 procd: add explicit libubox dependency to force rebuild on ABI changes (#16300)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-09 00:52:49 +00:00
Felix Fietkau 362c727735 ubus: update to the latest version, adds lua binding fixes and adds support for the cli command wait_for (waits for objects to appear, with timeout)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40710 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-06 14:59:13 +00:00
Jo-Philipp Wich 139e79dd1b fstools: fix extroot with opkg-installed block-mount (#15550)
The /sbin/block binary now requires and additional shared library, therfore set
LD_LIBRARY_PATH accordingly when invoking it from the temporary overlay.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40526 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-17 17:59:47 +00:00
John Crispin 864d498153 rpcd: update to the latest version
This is required to make object "session" procedure "access" dump ACLs
when no "object" or no "function" parameters are passed.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40496 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 21:22:12 +00:00
Jo-Philipp Wich 161a63f4ef uci: fix import with not yet existing packages, preserve config permissions on commit, fix Lua detection in cmake
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-11 16:14:09 +00:00
John Crispin 43562719f0 fstools: update to latest git HEAD
this adds the /sbin/ubi tool that can be used for sysupgrading ubi volumes

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-07 15:10:07 +00:00
John Crispin a725c853e0 fstools: scripts should propagate the cmdline
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-05 16:34:40 +00:00
John Crispin e60bb265de fstools: update to latest git
this fixes ubifs and ubi overlay support

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40366 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-03 14:26:38 +00:00
John Crispin bbff25f740 firmware: create a new folder for holfing firmware blobs
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:15:25 +00:00
John Crispin 74e9dde7b0 mtd: improve mtd detection
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40301 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:14:58 +00:00
John Crispin 16e5a6fc8a ubox: fix logd (hopefully)
https://dev.openwrt.org/ticket/15357

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-27 13:36:01 +00:00
Felix Fietkau d7a9700570 mtd: add support for bad blocks in NAND flash
NAND flash is very likely to contain bad blocks.

Currently, mtd and therefore sysupgrade fails when it encounters a single bad block, potentially leaving an unbootable system.

This patch allows the mtd utility to skip bad blocks in NAND flash and complete sysupgrade successfully.

Patch by: Matthew Redfearn <matt.redfearn@nxp.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-26 10:50:09 +00:00
John Crispin a284ffb5a3 fs-tools: add back mount_root, jffs2reset and ffs2mark functionality
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-25 20:15:50 +00:00
Imre Kaloz 51ced43afd [am33x-cm3]: add the TI AM335x PM firmware package
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-25 14:56:35 +00:00
Felix Fietkau ae3046225c ca-certificates: install to /etc/ssl/certs/ directly instead of installing a symlink (fixes #15351)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-23 11:59:37 +00:00