bcm63xx: use the generic nand upgrade on Sercomm devices
authorDaniel González Cabanelas <dgcbueu@gmail.com>
Mon, 15 Jun 2020 22:09:33 +0000 (00:09 +0200)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Tue, 16 Jun 2020 12:55:02 +0000 (14:55 +0200)
commite3eaf52ba3e6970d28dffe371a577e5eeea1b87e
treeb1c1b46dbf1523bbd739b6a5c128e17d66a99745
parent636b62e8e232951154ac4ccd7972fda3f8de0379
bcm63xx: use the generic nand upgrade on Sercomm devices

The Sercomm devices don't need the jffs2 cleanmarkers for the kernel
partition. With the stock firmware they are only added when the
bootloader partition is upgraded.

Furthermore, on the Sercomm H500-s, the specific cfe_jffs2_upgrade_tar
function causes OOB corruption. As a result of this, combined with the
nature of the mtdsplit driver, the upgrade procedure ends in a bricked
device.

Use the generic nand_do_upgrade provided by the OpenWrt common functions.

Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com>
target/linux/bcm63xx/base-files/lib/upgrade/platform.sh