|
|
@@ -6,6 +6,7 @@ include $(INCLUDE_DIR)/image.mk
|
|
|
KERNEL_LOADADDR = 0x80100000
|
|
|
|
|
|
DEVICE_VARS += \
|
|
|
+ CAMEO_BOARD_MODEL \
|
|
|
CAMEO_BOARD_VERSION \
|
|
|
CAMEO_CUSTOMER_SIGNATURE \
|
|
|
CAMEO_KERNEL_PART \
|
|
|
@@ -36,12 +37,12 @@ define Build/cameo-headers
|
|
|
dd if=$@ bs=$(CAMEO_KERNEL_PART_SIZE) count=1 [email protected]_part; \
|
|
|
dd if=$@ bs=$(CAMEO_KERNEL_PART_SIZE) skip=1 [email protected]_part; \
|
|
|
$(SCRIPT_DIR)/cameo-imghdr.py [email protected]_part [email protected]_part.hex \
|
|
|
- "$(DEVICE_MODEL)" os $(CAMEO_KERNEL_PART) \
|
|
|
+ "$(CAMEO_BOARD_MODEL)" os $(CAMEO_KERNEL_PART) \
|
|
|
$(CAMEO_CUSTOMER_SIGNATURE) \
|
|
|
$(CAMEO_BOARD_VERSION) \
|
|
|
$(KERNEL_LOADADDR); \
|
|
|
$(SCRIPT_DIR)/cameo-imghdr.py [email protected]_part [email protected]_part.hex \
|
|
|
- "$(DEVICE_MODEL)" squashfs $(CAMEO_ROOTFS_PART) \
|
|
|
+ "$(CAMEO_BOARD_MODEL)" squashfs $(CAMEO_ROOTFS_PART) \
|
|
|
$(CAMEO_CUSTOMER_SIGNATURE) \
|
|
|
$(CAMEO_BOARD_VERSION); \
|
|
|
cat [email protected]_part.hex [email protected]_part.hex > $@
|