Skip to content

Commit

Permalink
[Telink] B92 overlay update & Update Telink chef build to docker vers…
Browse files Browse the repository at this point in the history
…ion 65 (#34412)

* [Telink] Disable BOOT_USB_DFU and update tlsr9528a 2m/4m flash overlay

Signed-off-by: pulin1103 <[email protected]>

* [Telink] Update chef build to docker version 65

---------

Signed-off-by: pulin1103 <[email protected]>
Co-authored-by: pulin1103 <[email protected]>
  • Loading branch information
s07641069 and pulin1103 authored Jul 19, 2024
1 parent fca7948 commit d62f5a6
Show file tree
Hide file tree
Showing 4 changed files with 91 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/chef.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
if: github.actor != 'restyled-io[bot]'

container:
image: ghcr.io/project-chip/chip-build-telink:57
image: ghcr.io/project-chip/chip-build-telink:65
options: --user root

steps:
Expand Down
4 changes: 2 additions & 2 deletions config/telink/app/bootloader_usb.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@

# USB DFU configuration
CONFIG_USB_DFU_WILL_DETACH=n
CONFIG_BOOT_USB_DFU_GPIO=y
CONFIG_MCUBOOT_INDICATION_LED=y
CONFIG_BOOT_USB_DFU_GPIO=n
CONFIG_MCUBOOT_INDICATION_LED=n
1 change: 0 additions & 1 deletion src/platform/telink/tlsr9528a_2m_flash.overlay

This file was deleted.

44 changes: 44 additions & 0 deletions src/platform/telink/tlsr9528a_2m_flash.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
&flash {
reg = <0x20000000 0x200000>;

partitions {
/delete-node/ partition@0;
/delete-node/ partition@20000;
/delete-node/ partition@88000;
/delete-node/ partition@f0000;
/delete-node/ partition@f4000;
/delete-node/ partition@fe000;
boot_partition: partition@0 {
label = "mcuboot";
reg = <0x00000000 0x13000>;
};
slot0_partition: partition@13000 {
label = "image-0";
reg = <0x13000 0xec000>;
};
factory_partition: partition@ff000 {
label = "factory-data";
reg = <0xff000 0x1000>;
};
dac_keypair_partition: partition@100000 {
label = "dac-keypair";
reg = <0x100000 0x1000>; //store dac and key pair.
};
descriptor_partition: partition@101000 {
label = "sboot-descriptor";
reg = <0x101000 0x2000>;
};
storage_partition: partition@103000 {
label = "storage";
reg = <0x103000 0xf000>;
};
slot1_partition: partition@112000 {
label = "image-1";
reg = <0x112000 0xec000>;
};
vendor_partition: partition@1fe000 {
label = "vendor-data";
reg = <0x1fe000 0x2000>;
};
};
};
44 changes: 44 additions & 0 deletions src/platform/telink/tlsr9528a_4m_flash.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
&flash {
reg = <0x20000000 0x400000>;

partitions {
/delete-node/ partition@0;
/delete-node/ partition@20000;
/delete-node/ partition@88000;
/delete-node/ partition@f0000;
/delete-node/ partition@f4000;
/delete-node/ partition@fe000;
boot_partition: partition@0 {
label = "mcuboot";
reg = <0x00000000 0x13000>;
};
slot0_partition: partition@13000 {
label = "image-0";
reg = <0x13000 0x1ec000>;
};
factory_partition: partition@1ff000 {
label = "factory-data";
reg = <0x1ff000 0x1000>;
};
dac_keypair_partition: partition@200000 {
label = "dac-keypair";
reg = <0x200000 0x1000>; //store dac and key pair.
};
descriptor_partition: partition@201000 {
label = "sboot-descriptor";
reg = <0x201000 0x2000>;
};
storage_partition: partition@203000 {
label = "storage";
reg = <0x203000 0xf000>;
};
slot1_partition: partition@212000 {
label = "image-1";
reg = <0x212000 0x1ec000>;
};
vendor_partition: partition@3fe000 {
label = "vendor-data";
reg = <0x3fe000 0x2000>;
};
};
};

0 comments on commit d62f5a6

Please sign in to comment.