[LEDE-DEV] [PATCH 2/2] Octeon: Do not create backup for vmlinux64.bin on Edgerouter.

Felix Fietkau nbd at nbd.name
Tue Aug 23 04:28:42 PDT 2016


On 2016-08-22 14:06, Daniel Danzberger wrote:
> This patch avoids sysupgrade to fail and break the boot image.
> This patch dosen't affact the Edgerouter Lite.
> 
> The boot partition on the internal mmc flash is only 8.3M large.
> Device         Boot  Start     End Sectors  Size Id Type
> /dev/mmcblk0p1 *        63   17135   17073  8.3M 83 Linux
> 
> Creating a backup of vmlinux64.bin might use to much space,
> when using a kernel image > 4.2 MBytes.
> This results in a "no space left on device" error when sysupgrade
> flashes the new kernel image, leaving an incomplete kernel image in the boot partition.
> This prevents further booting.
> 
> Signed-off-by: Daniel Danzberger <daniel at dd-wrt.com>
Maybe it would be better to remove the backup code entirely instead of
playing whack-a-mole ;)

- Felix




More information about the Lede-dev mailing list