ramips: sercomm.mk: preparation for Sercomm s1500 devices support
authorMikhail Zhilkin <csharper2005@gmail.com>
Sun, 11 Jun 2023 20:48:49 +0000 (20:48 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 2 Jul 2023 13:19:34 +0000 (15:19 +0200)
commit5399d0362fc49767da4395683622e6832ae449a1
tree0e39b52a6676d589c2018e594ad79b885916665d
parentc719dfd29f8e76ae31264425b2397eae59814a03
ramips: sercomm.mk: preparation for Sercomm s1500 devices support

This commit moves a part of the code from the "sercomm-factory-cqr" recipe
to the separate "sercomm-mkhash" recipe. This simplifies recipes and
allows insert additional recipes between these code blocks (required for
the future support for Beeline SmartBox PRO router).

dd automatically fills the file by 0x00 if the filesize is less than
offset where we start writing. We drop such dd command so we need to add
--extra-padding-size 0x190 to the sercomm-pid.py call.

Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>
(cherry picked from commit f560be583a858bc3099f2b1f0aa0ddec62cfd91c)
target/linux/ramips/image/common-sercomm.mk