Skip to content

build/configs/bk7239n: Add signature and encryption to the resource#7258

Merged
sunghan-chang merged 1 commit intoSamsung:masterfrom
bekencorp:secu_dev
Apr 14, 2026
Merged

build/configs/bk7239n: Add signature and encryption to the resource#7258
sunghan-chang merged 1 commit intoSamsung:masterfrom
bekencorp:secu_dev

Conversation

@xiaotao-yuan
Copy link
Copy Markdown
Contributor

1.Adjust the resource partition
2. Add signature and encryption to the resource

Comment thread build/configs/bk7239n/xip_all/defconfig Outdated
Comment on lines +1070 to +1072
CONFIG_FLASH_PART_SIZE="92,8,8,532, 1844,3400,1024,768,1844,3400,1024,768,512,1012,100,8,4,4,24,8,"
CONFIG_FLASH_PART_TYPE="none,none,none,none,kernel,bin,bin,resource,kernel,bin,bin,resource,smartfs,none,none,none,none,none,none,bootparam,"
CONFIG_FLASH_PART_NAME="bl1,sys_its,sys_ps,ss,kernel,common,app1,resource,kernel,common,app1,resource,userfs,reserved,usrconfig,system_data,rf,net,easyflash,bootparam,"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you please apply this change to other defconfigs too?

Copy link
Copy Markdown
Contributor

@jylee9613 jylee9613 Apr 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh other defconfigs disables CONFIG_RESOURCE_FS.. Please ignore it.

Comment thread build/configs/bk7239n/xip_all/defconfig Outdated
CONFIG_FLASH_PART_SIZE="92,8,8,532, 1844,3400,1024,1844,3400,1024,512,768,768,1012,100,8,4,4,24,8,"
CONFIG_FLASH_PART_TYPE="none,none,none,none,kernel,bin,bin,kernel,bin,bin,smartfs,resource,resource,none,none,none,none,none,none,bootparam,"
CONFIG_FLASH_PART_NAME="bl1,sys_its,sys_ps,ss,kernel,common,app1,kernel,common,app1,userfs,resource,resource,reserved,usrconfig,system_data,rf,net,easyflash,bootparam,"
CONFIG_FLASH_PART_SIZE="92,8,8,532, 1844,3400,1024,768,1844,3400,1024,768,512,1012,100,8,4,4,24,8,"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you check my query below?

  1. reason of ss size 532
  2. what is usrconfig for?
  3. what is easyflash?
  4. There is the rf partition, then what is net for?
  5. sys_its, sys_ps, usrconfig, system_data, rf, net, easyflash all are for beken. Right?

Copy link
Copy Markdown
Contributor

@Poly-J Poly-J Apr 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you check my query below?

  1. reason of ss size 532
  2. what is usrconfig for?
  3. what is easyflash?
  4. There is the rf partition, then what is net for?
  5. sys_its, sys_ps, usrconfig, system_data, rf, net, easyflash all are for beken. Right?

Hello @sunghan-chang
These partition details were discussed in the email.

  1. The sys_its and sys_ps partitions are needed for security
  2. The usrconfig, system_data partitions are not used; they were only included during the early porting stage as references to other vendors’ configurations,thought it was a partition needed by Samsung
  3. The rf partition is used to store calibration data, and the net partition is used to store information such as MAC addresses. these two partitions are only used during the R&D phase and can be removed in the final mass-production stage.
  4. The easyflash partition stores Bluetooth pairing information, whitelists, and related data, so it needs to be retained

Comment thread build/configs/bk7239n/xip_all/defconfig Outdated
CONFIG_FLASH_PART_SIZE="92,8,8,532, 1844,3400,1024,1844,3400,1024,512,768,768,1012,100,8,4,4,24,8,"
CONFIG_FLASH_PART_TYPE="none,none,none,none,kernel,bin,bin,kernel,bin,bin,smartfs,resource,resource,none,none,none,none,none,none,bootparam,"
CONFIG_FLASH_PART_NAME="bl1,sys_its,sys_ps,ss,kernel,common,app1,kernel,common,app1,userfs,resource,resource,reserved,usrconfig,system_data,rf,net,easyflash,bootparam,"
CONFIG_FLASH_PART_SIZE="92,8,8,532, 1844,3400,1024,768,1844,3400,1024,768,512,1012,100,8,4,4,24,8,"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's remove a space.

,532, 1844, --> ,532,1844,

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your feedback, I have modified it

1.Adjust the resource partition
2.Add signature and encryption to the resource

Signed-off-by: xiaotao.yuan <xiaotao.yuan@aclsemi.com>
@sunghan-chang sunghan-chang merged commit eb7b285 into Samsung:master Apr 14, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants