1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-08 16:23:51 +03:00
openwrt-xburst/package
jow dd97bbee8a mtd - remove partition table assumption when writing fis table
When mtd alters the fis partition table it assumes that the first partition
table entry also is the first logical parition table entry. For instance our
table could look like this (irrelevant partitions put aside):
 * vmlinux.bin.l7 0xA8710000
 * rootfs         0xA8030000
Here mtd would assume vmlinux.bin.l7 being the first partition and use its
address to calculate the size and offset which ultimately leads to a broken
partition table.
This patch alters the behavior by checking what partition has the smaller
address to do the calculations based on that address.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32601 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-04 11:56:25 +00:00
..
6in4 [package] 6in4, 6to4: further simplify protocol backends 2012-06-18 21:40:34 +00:00
6rd [package] 6rd: apply the same simplifications done in 6to4 and 6in4 2012-06-18 23:08:20 +00:00
6to4 [package] 6to4: fix ifname resolving for adv_interface option (#11796) 2012-07-02 12:14:50 +00:00
acx-mac80211 [package] acx-mac80211: Add workaround for mac80211 hw-queue check 2012-06-17 20:50:43 +00:00
admswconfig [package] admswconfig: reset interface after applying config 2011-01-27 21:49:50 +00:00
apex only support EABI on ARM targets 2011-03-07 12:59:19 +00:00
ar7-atm package/ar7-atm: allow to build on 3.3 2012-05-05 17:32:33 +00:00
arptables [package] artables ebtables iptables: Moved *tables to Firewall submenu of the Network package group because that's where all the feeds packages for firewalls now are. 2011-03-12 01:24:18 +00:00
avila-wdt massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950 2010-07-12 14:06:13 +00:00
base-files [package] base-files: ensure that /sys is available during sysupgrade, some essential services like om-watchdog need it 2012-07-03 15:43:43 +00:00
block-mount Fix extroot by UUID 2012-07-01 11:06:32 +00:00
bridge-utils Update bridge-utils to the last upstream version 1.5. 2012-02-14 19:07:09 +00:00
broadcom-diag broadcom-diag: add missing break into switch case statement. 2012-04-28 23:30:05 +00:00
broadcom-wl [package] broadcom-wl: fix WDS hotplug for multiple networks 2012-06-26 15:43:09 +00:00
busybox [package] busybox: Enable ibs, obs and conv options on 'dd' 2012-06-19 22:34:49 +00:00
button-hotplug kernel: remove kernel modules and references to kernels <= 2.6.36 2012-05-06 20:43:17 +00:00
comgt [package] /etc/functions.sh => /lib/functions.sh 2012-06-05 16:04:23 +00:00
compcache [package] compcache does not build on 2.6.38+ 2011-06-04 13:35:48 +00:00
crda [package] crda: update to 1.1.2 2012-04-02 16:25:40 +00:00
cyassl [package] cyassl: use patch-libtool pkg fixup 2012-01-08 15:39:42 +00:00
dnsmasq [package] dnsmasq: introduce "add_local_hostname" and "add_local_domain" options 2012-07-01 11:32:46 +00:00
dropbear [package] dropbear: patch possible use after free by authenticated remote users with active command restrictions (CVE-2012-0920) 2012-02-25 12:40:46 +00:00
e2fsprogs e2fsprogs: fix md5sum issue 2012-06-17 21:34:16 +00:00
ead [package] ead: fixup some AC_DEFINE() invocations that will make recent automak bail 2010-12-13 01:47:35 +00:00
ebtables ebtables: add a missing dependency 2012-06-11 00:56:34 +00:00
ep80579-drivers x86/ep80579: switch to 3.3 2012-05-18 20:10:33 +00:00
fbtest [packages/fbtest]: fbtest utility 2012-02-08 10:20:13 +00:00
fconfig [packages] Various Makefile cleanup. 2009-06-13 16:47:22 +00:00
firewall [package] firewall: allow incoming ICMPv6 router-advertisement and neighbor-advertisement, thanks swalker 2012-06-08 14:20:34 +00:00
fuse fuse: update to 2.9.0 2012-06-16 21:06:37 +00:00
gdb [package] gdb: use an updated 6.8a tarball 2012-02-14 20:13:28 +00:00
goldfish-qemu [package] cleanup Makefiles (#7212) 2010-04-23 11:27:29 +00:00
gpio-button-hotplug kernel: remove kernel modules and references to kernels <= 2.6.36 2012-05-06 20:43:17 +00:00
gpioctl get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
grub [package] grub: fix build with automake v1.11.3 (#11228) 2012-04-04 18:10:15 +00:00
hostap-driver wpa_supplicant: use wext driver for hostap and madwifi 2012-03-27 10:44:26 +00:00
hostap-utils get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
hostapd hostapd: fix driver setting for wpa_s in IBSS/WPA-NONE 2012-06-06 15:25:52 +00:00
hotplug2 [package/*] remove special treatment when using glibc - support got dropped 2012-04-28 22:24:16 +00:00
i2c-gpio-custom massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950 2010-07-12 14:06:13 +00:00
ifenslave remove obsolete kernel dependencies and version checks 2010-06-26 20:44:28 +00:00
iproute2 iproute2: fix build errors with newer versions of eglibc 2012-06-07 12:37:49 +00:00
iptables iptables: fix build error if only libraries are selected 2012-06-07 12:24:37 +00:00
iw iw: sync nl80211.h update with compat-wireless 2012-04-16 21:13:18 +00:00
iwcap [package] iwcap: fix reversed umask 2012-02-27 23:08:15 +00:00
iwinfo [package] iwinfo: assume that no tx power information is available if nl80211 returns 0 dBm maximum 2012-05-28 00:52:26 +00:00
ixp4xx-microcode [packages] Various Makefile cleanup. 2009-06-13 16:47:22 +00:00
kernel kernel/modules: load pppol2tp after pppox 2012-07-01 10:34:45 +00:00
kexec-tools [package] kexec-tools: update to 2.0.3 (fixes #9846) 2012-02-13 12:36:36 +00:00
libbsd [package] libbsd: do not build when using uclibc 2011-06-16 14:34:47 +00:00
libipfix [wprobe/ipfix] rename libmisc.a to libipfixmisc.a 2012-06-05 17:49:57 +00:00
libjson-c [package] change PKG_FIXUP:=libtool to PKG_FIXUP:=autoreconf 2011-03-06 21:42:48 +00:00
libnl libnl: update to version 2.0 (patch by Philip Prindeville) 2011-02-13 03:56:12 +00:00
libnl-tiny [package] libnl-tiny: port upstream bugfix 8ee16e6688657886f591f0841cb8e892743ecf2a from libnl, fixes error on hostapd interface initialization 2012-04-01 05:32:32 +00:00
libpcap [package] libpcap: explicitely disable libnl support to prevent different build results depending on the environment (#11239) 2012-04-08 15:11:12 +00:00
libreadline [package] libreadline: install *.so symlinks as well (#4872) 2010-08-27 20:13:17 +00:00
librpc make librpc compatible with eglibc, unconditionally enable it for packages that need rpc support 2012-06-08 15:10:18 +00:00
libtool [package] libtool: remove patches, they don't apply to libltdl 2010-12-18 18:13:12 +00:00
libubox libubox: add a missing dependency 2012-06-10 20:27:44 +00:00
linux-atm [package] linux-atm: remove defunct ipoa protocol support 2012-06-26 15:40:03 +00:00
ltq-dsl [ltq-dsl] fix for 3.2.9 2012-03-25 08:50:42 +00:00
ltq-dsl-app [package] /etc/functions.sh => /lib/functions.sh 2012-06-05 16:04:23 +00:00
ltq-ifxos wrong md5sum in ltq-ifxos 2011-07-10 10:40:37 +00:00
ltq-kpi2udp [ltq-kpi2udp] 2011-02-07 21:48:55 +00:00
ltq-tapi ltq-tapi/vmmc were build on none lantiq targets due to bad builddepends of pjsip 2011-07-06 19:02:27 +00:00
ltq-tapidemo [ltq-tapidemo] set explicit -lpthread 2012-06-16 14:52:33 +00:00
ltq-vmmc [ltq-vmmc] remove bogus patch 2012-06-05 17:55:35 +00:00
lua [package] lua: remove posix from Lua core, almost nothing uses it - saves 9k compressed 2011-05-04 14:51:06 +00:00
mac80211 mac80211: make channel bandwidth setting generic 2012-07-04 00:25:46 +00:00
maccalc package/maccalc: don't expect to get all data in one read 2011-09-21 11:47:35 +00:00
madwifi madwifi: fix compile issues with linux 3.1/3.2 2012-03-29 12:52:16 +00:00
mkelfimage move mkelfimage from tools/ to package/ as it needs a proper i386 toolchain - make the package hidden so that it is automatically built without having to be selected 2011-07-02 06:49:36 +00:00
mmc_over_gpio [package] mmc_over_gpio: mark /etc/config/mmc_over_gpio as conffile 2010-10-05 17:21:03 +00:00
mountd [package] mountd: correctly handle poll() timeout case, solves possible 100% CPU load when idle (#7293) 2011-07-17 11:58:05 +00:00
mtd mtd - remove partition table assumption when writing fis table 2012-07-04 11:56:25 +00:00
ncurses ncurses: libncursesw should not depend on libncurses 2012-05-26 18:03:56 +00:00
netifd [package] netifd: repair dhcp client id option 2012-07-01 12:43:14 +00:00
nvram [package] add maintainer information 2010-09-30 10:48:37 +00:00
ocf-crypto-headers ocf-linux: version bump to 20110720 2011-07-24 14:17:58 +00:00
om-watchdog package: add om-watchdog package 2012-01-04 17:30:39 +00:00
openssl openssl does not compile with uml and arch x86_64 2012-06-18 23:54:08 +00:00
opkg [buildroot] include, base-files, opkg: introduce version configuration to override the embedded version info of generated images 2012-04-12 17:31:16 +00:00
owsip [ltq-vmmc] move /dev/vmmcX creation to a more central place 2012-06-02 14:03:28 +00:00
pjsip [pjsip] fixes ccache compile and adds missing -lc 2012-06-15 23:42:48 +00:00
ppp [package] ppp: the pptp buffering option is not supported anymore, remove it 2012-06-21 19:41:47 +00:00
ps3-utils ps3-utils git repository fix 2012-03-18 21:08:39 +00:00
pwm-gpio-custom pwm-gpio-custom: fix compile on linux 2.6.31 2010-08-19 12:49:42 +00:00
px5g [package] add maintainer information 2010-09-30 10:48:37 +00:00
qos-scripts [package] /etc/functions.sh => /lib/functions.sh 2012-06-05 16:04:23 +00:00
rbcfg package/rbcfg: new tool for modifying boot configuration on the RB4xx boards 2011-06-29 09:40:54 +00:00
redboot-ar231x redboot-ar231x: mark as broken, the ecos host tool crap needs some rework for tcl on some systems 2011-03-25 00:55:25 +00:00
relayd relayd: fix return code check for resolving network->ifname mapping 2012-05-14 14:08:43 +00:00
resolveip [package] resolveip: fix whitespace 2011-07-17 22:47:56 +00:00
robocfg get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
rotary-gpio-custom Add package rotary-gpio-custom 2010-07-22 11:32:27 +00:00
rtc-rv5c386a rtc-rv5c386a: add support for kernel 3.0 2011-08-04 20:06:17 +00:00
sierra-directip kernel: remove kernel modules and references to kernels <= 2.6.36 2012-05-06 20:43:17 +00:00
siit massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950 2010-07-12 14:06:13 +00:00
soloscli [package] soloscli: Add script to syslog ADSL line stats 2012-03-29 09:01:33 +00:00
spi-ks8995 massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950 2010-07-12 14:06:13 +00:00
spidev_test remove obsolete kernel dependencies and version checks 2010-06-26 20:44:28 +00:00
swconfig swconfig: fix off-by-one error, causing segfaults on gcc 4.6+ (fixes #9765) 2012-02-12 19:27:01 +00:00
switch [package] switch: the hardware must be up while configuring 2012-03-13 21:15:41 +00:00
toolchain toolchain: move eglibc-files from base-files to toolchain, it is packaged as part of the libc package 2012-06-20 13:45:01 +00:00
trelay kernel: remove kernel modules and references to kernels <= 2.6.36 2012-05-06 20:43:17 +00:00
uboot-ar71xx uboot-ar71xx: add a dependency on the ar71xx target 2011-04-15 15:41:49 +00:00
uboot-envtools uboot-envtools: forgot to remove uboot-envtools.init file 2012-06-04 22:03:00 +00:00
uboot-kirkwood [uboot-kirkwood] Fixed support for Iomega 2010-10-27 21:24:06 +00:00
uboot-lantiq [uboot-lantiq] adds ARV4519PW/ARV7519PW 2012-03-25 08:51:13 +00:00
uboot-omap4 [target/omap4]: add support for OMAP4 based boards, starting with the PandaBoard 2012-01-14 23:02:56 +00:00
uboot-omap35xx [uboot-omap35xx]: Change u-boot console device to reflect change in omap serial driver 2011-08-19 12:01:30 +00:00
uboot-xburst [package] uboot-{kirkwood,xburst}: Fix typo in U-Boot image name, thanks framer99 (#8112) 2010-10-21 08:54:36 +00:00
ubus ubus: add a missing dependency 2012-06-10 20:27:47 +00:00
uci uci: update to latest version, fixes return code of the cli on various failures 2012-03-28 11:02:30 +00:00
uclibc++ [uclibc++] fix ccache related build breakage 2012-06-18 08:50:26 +00:00
udev [package] udev: Provide define to enable compilation with kernel 2.6.32.33 headers 2011-10-14 11:42:40 +00:00
uhttpd [package] uhttpd: finish inherited uloop in forked childs, fixes misdispatched events leading to race conditions and bad memory accesses 2012-06-18 00:41:43 +00:00
usbreset [package] add usbreset - a small simple utility to send port rests to selected usb devices (#10394) 2011-12-25 13:59:17 +00:00
util-linux util-linux: disable udev support, add missing dependencies 2012-06-11 00:56:41 +00:00
vsc73x5-ucode vsc73x5-ucode: use the mirrored ucode files from my server to replace an 127 MB download with a 14k one 2010-04-30 16:11:31 +00:00
w1-gpio-custom massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950 2010-07-12 14:06:13 +00:00
wireless-tools wireless-tools: remove some more unnecessary stuff from iwconfig 2011-03-18 03:41:22 +00:00
wprobe [wprobe/ipfix] rename libmisc.a to libipfixmisc.a 2012-06-05 17:49:57 +00:00
wrt55agv2-spidevs [package] wrt55agv2-spidevs: fix build with recent kernel 2011-10-22 10:40:45 +00:00
xfsprogs [package] xfsprogs: disable po files building 2012-04-20 13:25:08 +00:00
yamonenv package/yamonenv: refresh patches 2010-03-26 14:29:32 +00:00
zlib [package] zlib: update to 1.2.7 2012-06-09 23:29:28 +00:00
Makefile [tools] mklibs: update to 0.1.34 (v2) 2012-06-10 17:07:46 +00:00