endef
define Build/trx-serial
- $(STAGING_DIR_HOST)/bin/trx \
- -o $@.new \
- -m 33554432 \
+ $(STAGING_DIR_HOST)/bin/otrx create $@.new \
-f $(IMAGE_KERNEL) -a 1024 \
-f $@ -a 0x10000 -A $(KDIR)/fs_mark
mv $@.new $@
# if it grows up between releases
# root: UBI with one extra block containing UBI mark to trigger erasing
# rest of partition
- $(STAGING_DIR_HOST)/bin/trx \
- -o $@.new \
- -m 33554432 \
+ $(STAGING_DIR_HOST)/bin/otrx create $@.new \
-f $(IMAGE_KERNEL) -a 0x20000 -b 0x400000 \
-f $@ \
-A $(KDIR)/ubi_mark -a 0x20000