You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/scripts
Sven Eckelmann 78a5d25dca ar71xx: Skip more hashed blocks for OM2P(-HS) 64k variant
The OM2P(-HS)v4 got a variant which uses a slightly different flash. The
standard versions used a flash with 256KB blocks which is no longer
available. The replacement flash uses a flash with 64K blocks.

The padding for the image rootfs is already for 64K and 256K and thus can
be flashed on the device without any problems. Unfortunately, the
bootloader will check $rootfs_size (rounded down to the nearest 64k block)
minus 1x 64k. But it is now possible that the new JFFS2 rootfs_data starts
even earlier and modifies the checked region. The check will then fail and
the backup image (when available) will be booted.

Just setting it to the same number of skipped blocks as other 64K models
avoids this problem.

Signed-off-by: Sven Eckelmann <sven.eckelmann@openmesh.com>
6 years ago
..
config config: Change conf.c remove compiler warnings 6 years ago
flashing scripts: add EVA ramboot script 6 years ago
arm-magic.sh scripts/arm-magic.sh: make the generated kernels also include $IMG_PREFIX 9 years ago
brcmImage.pl merge: targets: update image generation and targets 6 years ago
bundle-libraries.sh scripts: bundle-libraries: fix logic flaw 6 years ago
checkpatch.pl merge: base: update base-files and basic config 6 years ago
clang-gcc-wrapper build: fix build on Mac OS X 10.9 11 years ago
clean-package.sh build: clean up stale files from a previous build when installing a package build to the staging dir 11 years ago
cleanfile build: remove absolute path to perl and replace with /usr/bin/env perl 7 years ago
cleanpatch build: remove absolute path to perl and replace with /usr/bin/env perl 7 years ago
combined-ext-image.sh combined-ext-image.sh: generate image in temp dir 6 years ago
combined-image.sh scripts: make all scripts executable 7 years ago
config.guess update config.guess & config.sub 9 years ago
config.rpath add config.rpath and link it in autotools.mk if missing, some packages might need it, especially users of lib-link.m4 or iconv.m4 13 years ago
config.sub update config.guess & config.sub 9 years ago
deptest.sh scripts: avoid hard-coded paths in scripts 8 years ago
diffconfig.sh scripts/diffconfig.sh: fix output if TARGET_PER_DEVICE_ROOTFS is set 8 years ago
dl_cleanup.py dl_cleanup: Fix linux blacklist 9 years ago
dl_github_archive.py scripts/dl_github_archive.py: stringify exception 6 years ago
download.pl download.pl: Change OpenWrt mirrors to HTTPS. 6 years ago
env env: only use color diffs on terminals 6 years ago
ext-toolchain.sh scripts: Probe external toolchains for libthread-db 7 years ago
feeds include/feeds.mk: rework generation of opkg distfeeds.conf 6 years ago
fixup-makefile.pl fixup-makefile.pl: fixup when PKG_SOURCE is defined elsewhere 6 years ago
gen-dependencies.sh gen-dependencies.sh: fix handling variations in "file" output 7 years ago
gen_image_generic.sh scripts/gen_image_generic.sh: drop NOGRUB variable 7 years ago
get_source_date_epoch.sh scripts: get_source_date_epoch.sh: fix mercurial support, add mtime fallback 7 years ago
getver.sh scripts/getver.sh: append short git hash based on upstream commit 7 years ago
ipkg-build scripts/ipkg-build: quash error messages when conffiles.resolved is empty 6 years ago
ipkg-make-index.sh build: use mkhash to replace various quirky md5sum/openssl calls 7 years ago
kconfig.pl treewide: replace nbd@openwrt.org with nbd@nbd.name 8 years ago
make-ipkg-dir.sh branding: add LEDE branding 8 years ago
md5sum improve support for building on mac os x by improving detection of missing components 15 years ago
metadata.pm scripts/metadata.pm: avoid adding dup names in provides list 6 years ago
mkhash.c build: add a small standalone utility for calculating md5/sha256 hash 7 years ago
mkits.sh build: Allow to change the FIT config section name 6 years ago
om-fwupgradecfg-gen.sh ar71xx: Skip more hashed blocks for OM2P(-HS) 64k variant 6 years ago
package-metadata.pl metadata: do not emit broken kconfig dependency statements 6 years ago
pad_image scripts: avoid hard-coded paths in scripts 8 years ago
patch-kernel.sh scripts/patch-kernel.sh: remove -E flag to preserve empty files touched by patches 9 years ago
patch-specs.sh patch-specs.sh: gcc 3.4.6 has an additional "(OpenWrt-2.0)" after the version tag, cope with that 12 years ago
portable_date.sh scripts: fix GNU data invocation 8 years ago
qemustart scripts/qemustart: more portable array operation 6 years ago
redboot-script.pl scripts: avoid hard-coded paths in scripts 8 years ago
relink-lib.sh base-files: relink uclibc and libgcc libraries to remove leftovers of the statically linked initial libgcc saves a few kb and gets rid of unused not exported functions as well should also improve the reliability of mklibs 13 years ago
remote-gdb build: remove libc version suffix from build/staging directories 7 years ago
rstrip.sh rstrip.sh: fix handling variations in "file" output 7 years ago
slugimage.pl scripts: Replace obsolete POSIX tmpnam in slugimage.pl with File::Temp function 6 years ago
srecimage.pl treewide: replace jow@openwrt.org with jo@mein.io 8 years ago
strip-kmod.sh scripts/strip-kmod.sh: remove a few extra sections to slightly reduce kernel module size 8 years ago
symlink-tree.sh docs: remove all refrences in Makefiles/scripts 8 years ago
sysupgrade-tar.sh build: rename sysupgrade-nand to sysupgrade-tar 8 years ago
target-metadata.pl build: add support for enabling the rootfs/boot partition size option via target feature 6 years ago
time.pl scripts: time.pl: avoid hard Time::HiRes dependency 6 years ago
timestamp.pl fix timestamp checks for build system paths which have '.svn' in their directory name 14 years ago
ubinize-image.sh scripts/ubinize-image.sh: add support for adding custom partitions 8 years ago