interim_binary/brandy/libs/media/evb_standard/libjs_audio_captuer.a
interim_binary/brandy/libs/media/evb_standard/libjs_player.a
build/script/parse_tool/__pycache__/**
+build/config/target_config/brandy/mk_fs_image/file.bin
+build/config/target_config/brandy/mk_fs_image/file_tmp.bin
+tools/pkg/fwpkg/brandy/**
'ram_component_set': ['bgh', 'media', 'gpu', 'graphic_uikit', 'bgh_audio', 'dfx_set', 'ohos_set', 'wearable_set', 'alipay_set'],
'dsp_version': 'max',
'packet': True,
- 'fs_image': False
+ 'fs_image': True
},
#native-xts: liteos + uikit + nandflash + mipi + psram + audio 典型合封UIKIT版本
'brandy-xts': {
'ram_component_set': ['bgh', 'media', 'gpu', 'graphic_uikit', 'bgh_audio', 'dfx_set', 'ohos_set', 'wearable_set', 'xts_set', 'xts_test_set', 'alipay_set'],
'dsp_version': 'max',
'packet': True,
- 'fs_image': False
+ 'fs_image': True
},
'brandy-target1-r': {
'defines': ["-:TARGET_CHIP_BRANDY=1", "-:BRANDY_CHIP_V100=1", "PRE_ASIC", "BRANDY_PRODUCT_EVB4",
"SSB_USE_PLL", "VERSION_STANDARD", "BUILD_APPLICATION_SSB", "LIBBOOTLOADER", "LIBCODELOADER",
"LIBCPU_UTILS", "LIBAPP_VERSION", "LIBPANIC", "LIBCONNECTIVITY", "LIBERROR_CODE", "LIBSEC_RANDOM",
- "LIBCODELOADER_SSB", "LIBJLINK_LOAD", "LIBLIB_UTILS", "LIBBUILD_VERSION",
+ "LIBCODELOADER_SSB", "LIBJLINK_LOAD", "LIBLIB_UTILS", "LIBBUILD_VERSION",'ENABLE_ECC',"CFG_DRIVERS_NANDFLASH",
"NO_TIMEOUT", "CONFIG_UART_BAUD_RATE_DIV_8", 'SW_UART_DEBUG', 'LARGE_BUFFER'],
'ram_component': ['arch_port', 'hal_l2ram', 'sec_boot', 'libboundscheck',
'dfx_exception', 'error_code', 'psram', 'osal', 'cmn_header', 'boot_nandflash'],
-#!/usr/local/bin/python3.7
+#!/usr/bin/python
# -*- coding: utf-8 -*-
import os
# 配置分区信息,请根据实际情况进行配置,添加格式为[分区路径, 分区大小]
# 分区大小需要根据按照百分系统分配好后的blocks数进行计算,大小=blocks(文件块个数)*pages_per_block(每个文件块包含的页数)*bytes_per_page(每页包含字节数)
# 前面按照比例分好分区,最后分区置成null,即代表剩下所有blocks
+# drivers/drivers/driver/nand_flash/nand/nandflash_config.c
+# #ifndef MEMORY_MINI
+# #define YF_NAME_STRS "/system/", "/update/", "/music/", "/user/"
+# uint32_t yf_volume_percent[YF_VOLUMES_NUM] = { 1, 1, 1, 97 };
+# 0x140000
+# 10 10 10 70
+# 0xcc0000
+
+
partition_list = [
- [os.path.join(cur_dir, 'fs', 'system'), "0xcc0000"],
- [os.path.join(cur_dir, 'fs', 'update'), "0xcc0000"],
- [os.path.join(cur_dir, 'fs', 'music'), "0xcc0000"],
+ [os.path.join(cur_dir, 'fs', 'system'), "0x140000"],
+ [os.path.join(cur_dir, 'fs', 'update'), "0x140000"],
+ [os.path.join(cur_dir, 'fs', 'music'), "0x140000"],
[os.path.join(cur_dir, 'fs', 'user'), "null"]
]
def get_obb_type(obb_size):
if obb_size == 64:
return " 2"
- elif page_size == 128:
+ elif obb_size == 128:
return " 4"
else:
return " 0"
out_path = os.path.join(sys.argv[1], "%s.bin" %image_name)
shutil.copyfile(image_file, out_path)
- print("make yaffs image file over!")
\ No newline at end of file
+ print("make yaffs image file over!")
#ifndef MEMORY_MINI
#define YF_NAME_STRS "/system/", "/update/", "/music/", "/user/"
-uint32_t yf_volume_percent[YF_VOLUMES_NUM] = { 10, 10, 10, 70 };
+uint32_t yf_volume_percent[YF_VOLUMES_NUM] = { 1, 1, 1, 97 };
#else
#define YF_NAME_STRS "/user/"
uint32_t yf_volume_percent[YF_VOLUMES_NUM] = {100};