openwrt/target/linux
Jonas Gorski 532eb5f581 ipq806x: fix boot hang if cmdline contains words with r in the middle
The ATB DTB mangle code will enter an infinite loop if it encounters a
word in the command line that contains an r in the middle of the word.

Fix this by increasing ptr everytime before invoking strchr, ot avoid
finding the same r again.

This fixes booting at least on Netgear R7500v1, which contains
"ubi.mtd=rootfs" in its commandline, triggering the misbehaviour.

Fixes: 0ddcbee261 ("ipq806x: activate ATAG DTB mangle and EA8500 rootblock in dts")
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
2016-08-01 00:13:35 +02:00
..
adm5120
adm8668
apm821xx image: add a helper variable for getting kernel/rootfs from within image Build/* templates 2016-07-31 12:25:25 +02:00
ar7
ar71xx image: add a helper variable for getting kernel/rootfs from within image Build/* templates 2016-07-31 12:25:25 +02:00
arc770 image.mk: clean up redundant code related to DEVICE_DTS 2016-07-15 14:14:11 +02:00
archs38 image.mk: clean up redundant code related to DEVICE_DTS 2016-07-15 14:14:11 +02:00
arm64
at91
ath25 image: add a helper variable for getting kernel/rootfs from within image Build/* templates 2016-07-31 12:25:25 +02:00
au1000 kernel: remove hostap driver 2016-07-31 12:25:24 +02:00
bcm53xx image: add a helper variable for getting kernel/rootfs from within image Build/* templates 2016-07-31 12:25:25 +02:00
brcm47xx image: add a helper variable for getting kernel/rootfs from within image Build/* templates 2016-07-31 12:25:25 +02:00
brcm63xx brcm63xx: fix build with per-device rootfs 2016-07-31 13:17:51 +02:00
brcm2708 image: add a helper variable for getting kernel/rootfs from within image Build/* templates 2016-07-31 12:25:25 +02:00
cns3xxx cns3xxx: remove obsolete jffs2 image build code 2016-07-20 10:13:50 +02:00
gemini
generic kernel: remove hostap driver 2016-07-31 12:25:24 +02:00
imx6 imx6: clean up / fix ventana image build code 2016-07-31 19:35:05 +02:00
ipq806x ipq806x: fix boot hang if cmdline contains words with r in the middle 2016-08-01 00:13:35 +02:00
ixp4xx
kirkwood build: rename sysupgrade-nand to sysupgrade-tar 2016-07-29 16:53:03 +02:00
lantiq image: add a helper variable for getting kernel/rootfs from within image Build/* templates 2016-07-31 12:25:25 +02:00
malta
mcs814x
mediatek kernel: update kernel 4.4 to version 4.4.15 2016-07-13 15:39:15 +02:00
mpc85xx ppc4xx: remove booke-wdt watchdog package 2016-07-22 09:48:12 +02:00
mvebu mvebu: fix NAND flash issues (FS#67) 2016-07-31 20:31:45 +02:00
mxs mxs: unconditionally install kernel images/dtb files into rootfs (needed by boards) 2016-07-20 10:13:50 +02:00
octeon octeon: increase block2mtd rootfs probe timeout on ER 2016-07-30 14:10:33 +02:00
omap omap: remove obsolete code for including kernel/dtb in rootfs 2016-07-20 10:13:50 +02:00
omap24xx
orion
oxnas build: rename sysupgrade-nand to sysupgrade-tar 2016-07-29 16:53:03 +02:00
ppc40x ppc4xx: remove booke-wdt watchdog package 2016-07-22 09:48:12 +02:00
ppc44x ppc4xx: remove booke-wdt watchdog package 2016-07-22 09:48:12 +02:00
ramips image: add a helper variable for getting kernel/rootfs from within image Build/* templates 2016-07-31 12:25:25 +02:00
rb532
realview
sunxi sunxi/pcduino3: Remove selection of absent rtl8188eu 2016-07-23 12:27:42 +02:00
uml
x86 x86: remove obsolete reference to $(PROFILE) 2016-07-20 10:13:50 +02:00
xburst
zynq build: remove cpio.gz and tar.gz from regular filesystem types 2016-07-25 12:43:39 +02:00
Makefile