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>
Sat, 1 Jul 2023 14:05:01 +0000 (16:05 +0200)
commitf560be583a858bc3099f2b1f0aa0ddec62cfd91c
treee87f22a5fd397f7235c2f763434c5c4463efb18e
parentdac0a133cf8dbf0bd9afabecdc1092456c451ec7
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>
target/linux/ramips/image/common-sercomm.mk