Skip to content

os/board/bk7239n: Adapt to the new flash id#7276

Open
Poly-J wants to merge 1 commit intoSamsung:masterfrom
bekencorp:adapt_flash_id
Open

os/board/bk7239n: Adapt to the new flash id#7276
Poly-J wants to merge 1 commit intoSamsung:masterfrom
bekencorp:adapt_flash_id

Conversation

@Poly-J
Copy link
Copy Markdown
Contributor

@Poly-J Poly-J commented Apr 16, 2026

The bk7239n module needs to be compatible with multiple types of flash, and the software needs to adapt to the new flash ID.

@Taejun-Kwon
Copy link
Copy Markdown
Contributor

can you please let me know which flash you added?
as I know,

  1. GD25Q128E
  2. W25Q128JV
  3. BY25Q1238ES
  4. XM25QH128D
  5. XT25F128W -> already added as a default

#if CONFIG_FLASH_QUAD_ENABLE
{0x684018, 2, FLASH_SIZE_16M, FLASH_LINE_MODE_FOUR, 14, 2, 0x1F, 0x1F, 0x00, 0x0E, 0x00E, 9, 1, 0xA0, 0x02}, //BY25Q128ES
#else
{0x684018, 1, FLASH_SIZE_16M, FLASH_LINE_MODE_TWO, 0, 2, 0x1F, 0x1F, 0x00, 0x0E, 0x00E, 0, 0, 0xA0, 0x01}, //BY25Q128ES
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.

please add some description related to 'BY25Q128ES'

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hi, Kwon. The BY25Q128 is manufactured by BYT Semiconductor.The BY25Q128ES is 128M-bit Serial Peripheral Interface (SPI) Flash memory, and supports the Dual/Quad SPI: Serial Clock, Chip Select, Serial Data I/O0 (SI), I/O1 (SO), I/O2 (/WP), and I/O3(/HOLD). The Dual I/O data is transferred with speed of 216Mbits/s and the Quad I/O & Quad output data is transferred with speed of 432Mbits/s. The device uses a single low voltage power supply, ranging from 2.7 Volt to 3.6 Volt.

{0xCD6017, 1, FLASH_SIZE_8M, FLASH_LINE_MODE_TWO, 0, 2, 0x1F, 0x1F, 0x00, 0x0E, 0x00E, 0, 0, 0xA0, 0x01}, //th_25q64ha
#endif
#if defined(CONFIG_FLASH_QUAD_ENABLE)
{0xC86518, 2, FLASH_SIZE_16M, FLASH_LINE_MODE_FOUR, 14, 2, 0x1F, 0x1F, 0x00, 0x0E, 0x00E, 9, 1, 0xA0, 0x02}, //gd_25w128e
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.

hmmm it's not GD25Q128E?? as I know value is 0xc84018 can you please double check this?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

My apologies, I should double-check the ID in case a mistake was made. It’s possible that it refers to a different series within the GD line.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hi,Kwon. I double-checked the manual against the code. It turns out there are two GD models: GD25WQ128E (0xC86518) and GD25Q128E (0xC84018). I’ll update the IDs in the code soon to make sure the mapping is accurate.

@uleemos
Copy link
Copy Markdown

uleemos commented Apr 16, 2026

The XT25F128W is already supported in the previous codebase. Below are the new Flash ID models for which we are now providing support:

BY25Q128ES
GT25Q128EZ
GD25W128E
TH25Q64HA
PY25Q64HA
W25Q128JV"

@uleemos
Copy link
Copy Markdown

uleemos commented Apr 16, 2026

Hi @Taejun-Kwon , I have updated and submitted the entries for both GD25WQ128E (ID: 0xC86518) and GD25Q128E (ID: 0xC84018) as requested. Please let me know if you have any questions.

@beardearjack-rgb
Copy link
Copy Markdown

Dear SS Colleagues, Please refer to the following BY flash booting log, thx.

[FORCE] main 0x200428d

[FORCE] Starting bootloader

efuse=8000000
[FORCE] verify start

[FORCE] do_boot_without_signing start

boot_param: line[359], CONFIG_NUM_APPS : 2
boot_param: line[424],BP0 crc verify ok
[FORCE] active_slot :0x0

[FORCE] normal slot :0x0

boot_param: slot=0 stored_crc=0x085faaf0 computed_crc=0x085faaf0 (full partition, size=0x001614b4) attempt 1
[FORCE]
Jumping to the first slot
[FORCE] primary_off: 0x80000

[FORCE] do_boot_without_signing end vt: 0x2081000

[TFM] config ppc and NSPE is coming
繹flash]id=0x684018
mpu_showtype: Unified MPU Regions: data=16 instr=0
[arch]Intialize random stack guard.
up_allocate_kheap: start = 0x7015f860 size = 3803040
up_add_kregion: Heap idx = 1 start = 0x38055a10 size = 50664
up_add_kregion: Heap idx = 2 start = 0x70500000 size = 3145728
[rosc]rosc rtc tick compensation start
up_irqinitialize: irqenable
[init]reason - 0

[init]regs - 0, 0, 0

[init]bandgap_calm_in_otp=0x1a

[init]trng enable

up_flashinitialize OK!

binary_manager_register_kpart: [KERNEL 0] part num 4 size 1662976, address 0x80000

binary_manager_register_upart: [USER0 : 1] common size 1048576 num 5, address 0x216000

binary_manager_register_upart: [USER1 : 1] app1 size 393216 num 6, address 0x316000

binary_manager_register_upart: [USER2 : 1] app2 size 131072 num 7, address 0x376000

binary_manager_register_kpart: [KERNEL 1] part num 8 size 1662976, address 0x396000

binary_manager_register_upart: [USER0 : 2] common size 1048576 num 9, address 0x52c000

binary_manager_register_upart: [USER1 : 2] app1 size 393216 num 10, address 0x62c000

binary_manager_register_upart: [USER2 : 2] app2 size 131072 num 11, address 0x68c000

/dev/smart0p12 is mounted successfully @ /mnt

[i2c]I2C(0) init ok, baud_rate:0

i2c_uioregister: Registering /dev/i2c-0

[hal]spi select src_clk xtal

[cal]calibration_main(unknown-48Pin) over

[cal]tx_i_dc_2G: 0x7fc,tx_q_dc_2G: 0x805

[cal]tx_q_dc_5G: 0x86c,tx_q_dc_5G: 0x800

[cal]temp in otp is:8568

se_register: Registering /dev/seclink

armino_hal_init: [ARMINO_HAL_WRAPPER]armino/security_armino_wrapper_tz.c:102

binary_manager_scan_bootparam: Checking BP0 start
binary_manager_scan_bootparam: BP0 is valid
binary_manager_scan_bootparam: Checking BP1 start
is_valid_bootparam: Invalid data. ver: 4294967295, active index: 255, addresses: ffffffff, ffffffff
binary_manager_scan_bootparam: BP1 is invalid
binary_manager_scan_bootparam: BP USE index 0, version 1
binary_manager_scan_kbin: Kernel version [0] 200204
binary_manager_scan_ubin_all: Checking user in partition [0], path /dev/mtdblock7
binary_manager_scan_ubin_all: Found binary app2 in partition 7, version 190412
binary_manager_scan_ubin_all: Checking user in partition [0], path /dev/mtdblock6
binary_manager_scan_ubin_all: Found binary app1 in partition 6, version 190412
binary_manager_scan_ubin_all: Checking user in partition [0], path /dev/mtdblock5
binary_manager_scan_ubin_all: Found binary common in partition 5, version 200204
binary_manager_load: common Header Checking Success
binary_manager_load_binary: Load success! [Name: common] [Version: 200204] [Partition: A] [Text start : 0x70500020] [Compressed Binary]
binary_manager_load: app2 Header Checking Success
binary_manager_load_binary: Load success! [Name: app2] [Version: 190412] [Partition: A] [Text start : 0x705d0c20] [Compressed Binary]
[i2c]SCL timeout triggered, restart i2c

binary_manager_load: app1 Header Checking Success
System Information:
Version:
Platform: 5.0 Binary: 200204
Commit Hash: NA
Build User: root@=
Build Time: 2026-04-16 00:54:08 UTC
System Time: 16 Apr 2026, 00:54:08 [s] UTC Hardware RTC Support
This is WIFI App
TASH>> binary_manager_load_binary: Load success! [Name: app1] [Version: 190412] [Partition: A] [Text start : 0x7064df00] [Compressed Binary]

@Taejun-Kwon
Copy link
Copy Markdown
Contributor

Let me try powercut test for 1h for each of device.

The bk7239n module needs to be compatible with multiple types of flash,
and the software needs to adapt to the new flash ID.
@ziliguo
Copy link
Copy Markdown
Contributor

ziliguo commented Apr 18, 2026

==== XMC_0x204018_boot_log ====

[FORCE] main 0x200428d

[FORCE] Starting bootloader

efuse=8000000
[FORCE] verify start

[FORCE] do_boot_without_signing start

boot_param: line[359], CONFIG_NUM_APPS : 2
boot_param: line[424],BP0 crc verify ok
[FORCE] active_slot :0x0

[FORCE] normal slot :0x0

boot_param: slot=0 stored_crc=0xc54abcb8 computed_crc=0xc54abcb8 (full partition, size=0x0016257c) attempt 1
[FORCE]
Jumping to the first slot
[FORCE] primary_off: 0xa0000

[FORCE] do_boot_without_signing end vt: 0x20a1000

[TFM] config ppc and NSPE is coming
[flash]id=0x204018
mpu_showtype: Unified MPU Regions: data=16 instr=0
[arch]Intialize random stack guard.
up_allocate_kheap: start = 0x7000c000 size = 2572288
mm_initialize: Heap: start=0x7000c000 size=2572288
mm_addregion: Region 1: base=0x7000c000 size=2572288
up_add_kregion: Heap idx = 1 start = 0x38058488 size = 39792
mm_initialize: Heap: start=0x38058488 size=39792
mm_addregion: Region 1: base=0x38058488 size=39776
[rosc]rosc rtc tick compensation start
up_initialize: [Reboot Reason] : 55
up_irqinitialize: irqenable
silent_reboot_set_mode: board boot with NORMAL MODE.
[init]reason - 0

[init]regs - 0, 0, 0

[init]bandgap_calm_in_otp=0x1e

[init]trng enable

up_flashinitialize OK!

binary_manager_register_kpart: [KERNEL 0] part num 4 size 1888256, address 0xa0000
binary_manager_register_upart: [USER0 : 1] common size 3481600 num 5, address 0x26d000
binary_manager_register_upart: [USER1 : 1] app1 size 1048576 num 6, address 0x5bf000
binary_manager_register_kpart: [KERNEL 1] part num 7 size 1888256, address 0x6bf000
binary_manager_register_upart: [USER0 : 2] common size 3481600 num 8, address 0x88c000
binary_manager_register_upart: [USER1 : 2] app1 size 1048576 num 9, address 0xbde000
smart_scan: Formatted, continue scanning!!
smart_scan: SMART Scan
smart_scan: Erase size: 4096
smart_scan: Erase block: 128
smart_scan: Sect/block: 4
smart_scan: MTD Blk/Sect: 4
smart_scan: avail sect/block: 4
smart_scan: Data Erase block: 122
smart_scan: Journal Erase block: 6
smart_scan: Journal Data/Block: 315
smart_scan: Journal total: 1890
smart_scan: Journal usage: 70
binary_manager_register_respart: [RESOURCE 0] part num 11 size 786432, address 0xd5e000
binary_manager_register_respart: [RESOURCE 1] part num 12 size 786432, address 0xe1e000
smartfs_mount: SMARTFS:
smartfs_mount: Sector size: 1024
smartfs_mount: Bytes/sector 1018
smartfs_mount: Num sectors: 488
smartfs_mount: Free sectors: 431
smartfs_mount: Max filename: 32
smartfs_mount: RootDirSector: 3
smartfs_sector_recovery: ###############################
smartfs_sector_recovery: # FS Recovery Report #
smartfs_sector_recovery: ###############################
smartfs_sector_recovery: Total of active sectors : 48
smartfs_sector_recovery: Recovered Isolated Sectors : 0
smartfs_sector_recovery: Cleaned Entries : 0

/dev/smart0p10 is mounted successfully @ /mnt
[i2c]I2C(0) init ok, baud_rate:0

i2c_uioregister: Registering /dev/i2c-0
[hal]spi select src_clk xtal

[cal]calibration_main(unknown-48Pin) over
[cal]tx_i_dc_2G: 0x7e1,tx_q_dc_2G: 0x7f5

[cal]tx_q_dc_5G: 0x811,tx_q_dc_5G: 0x810

[cal]temp in otp is:8508

se_register: Registering /dev/seclink
armino_hal_init: [ARMINO_HAL_WRAPPER]armino/security_armino_wrapper_tz.c:102
armino_hal_read_storage: [ARMINO_HAL_WRAPPER]armino/security_armino_wrapper_tz.c:2862
armino_hal_read_storage: Failed to read storage: 6
set_security_level: Not set. Security level is high
binary_manager_scan_bootparam: Checking BP0 start
binary_manager_scan_bootparam: BP0 is valid
binary_manager_scan_bootparam: Checking BP1 start
is_valid_bootparam: Invalid data. ver: 4294967295, active index: 255, addresses: ffffffff, ffffffff
binary_manager_scan_bootparam: BP1 is invalid
binary_manager_scan_bootparam: BP USE index 0, version 1
binary_manager_scan_kbin: Checking kernel in partition [0], path /dev/mtdblock4
binary_manager_scan_kbin: Kernel version [0] 200204
binary_manager_scan_bootparam: Checking BP0 start
binary_manager_scan_bootparam: BP0 is valid
binary_manager_scan_bootparam: Checking BP1 start
is_valid_bootparam: Invalid data. ver: 4294967295, active index: 255, addresses: ffffffff, ffffffff
binary_manager_scan_bootparam: BP1 is invalid
binary_manager_scan_bootparam: BP USE index 0, version 1
binary_manager_mount_resource: Checking resource in partition [0], path /dev/mtdblock11
ftl_ioctl: ERROR: MTD ioctl(0602) failed: -25
/dev/mtdblock41 is mounted successfully @ /res
binary_manager_mount_resource: Mount resource success! [Version: 240421] [Partition: A]
binary_manager_scan_ubin_all: Checking user in partition [0], path /dev/mtdblock5
binary_manager_scan_ubin_all: Found binary common in partition 5, version 200204
binary_manager_scan_ubin_all: Checking user in partition [0], path /dev/mtdblock6
binary_manager_scan_ubin_all: Found binary app1 in partition 6, version 240712
binary_manager_load: common Header Checking Success
dump_module: Module:
dump_module: filename: /dev/mtdblock5
dump_module: argv: 0
dump_module: entrypt: 0
dump_module: start of alloc: 0x1226d010
dump_module: alloc: 0 0
dump_module: ctors: 0x1244ef60 nctors=32
dump_module: dtors: 0 ndtors=0
dump_module: stacksize: 0
dump_module: unload: 0
binary_manager_load_binary: Load success! [Name: common] [Version: 200204] [Partition: A] [Text start : 0x1226d010] [Compressed Binary]
[i2c]SCL timeout triggered, restart i2c

binary_manager_load: app1 Header Checking Success
dump_module: Module:
dump_module: filename: /dev/mtdblock6
dump_module: argv: 0
mm_initialize: Heap: start=0x7028bb98 size=5194856
mm_addregion: Region 1: base=0x7028bb98 size=5194848
dump_module: entrypt: 0x125bfc3d
dump_module: start of alloc: 0x125bf030
dump_module: alloc: 0 0
dump_module: ctors: 0x1260418e nctors=0
dump_module: dtors: 0 ndtors=0
dump_module: stacksize: 8192
dump_module: unload: 0
This is Default App

System Information:
Version:
Platform: 5.0 Binary: 200204
Commit Hash: b502f0a
Build User: root@b60532d147be
Build Time: 2026-04-17 11:00:54 UTC
System Time: 17 Apr 2026, 00:00:00 [s] UTC Hardware RTC Support
Preapp ready

Binary manager notify binary started

@ziliguo
Copy link
Copy Markdown
Contributor

ziliguo commented Apr 18, 2026

=== GD_0xc84018 log ===

[FORCE] main 0x200428d

[FORCE] Starting bootloader

efuse=8000000
[FORCE] verify start

[FORCE] do_boot_without_signing start

boot_param: line[359], CONFIG_NUM_APPS : 2
boot_param: line[424],BP0 crc verify ok
[FORCE] active_slot :0x0

[FORCE] normal slot :0x0

boot_param: slot=0 stored_crc=0xa8fa7db5 computed_crc=0xa8fa7db5 (full partition, size=0x00160a14) attempt 1
[FORCE]
Jumping to the first slot
[FORCE] primary_off: 0xa0000

[FORCE] do_boot_without_signing end vt: 0x20a1000

[TFM] config ppc and NSPE is coming
flash id=0xc84018
mpu_showtype: Unified MPU Regions: data=16 instr=0
[arch]Intialize random stack guard.
up_allocate_kheap: start = 0x7015ee80 size = 3805568
up_add_kregion: Heap idx = 1 start = 0x38055928 size = 50896
up_add_kregion: Heap idx = 2 start = 0x70500000 size = 3145728
[rosc]rosc rtc tick compensation start
up_irqinitialize: irqenable
[init]reason - 0

[init]regs - 0, 0, 0

[init]bandgap_calm_in_otp=0x1a

[init]trng enable

up_flashinitialize OK!

binary_manager_register_kpart: [KERNEL 0] part num 4 size 1662976, address 0xa0000

binary_manager_register_upart: [USER0 : 1] common size 1048576 num 5, address 0x236000

binary_manager_register_upart: [USER1 : 1] app1 size 393216 num 6, address 0x336000

binary_manager_register_upart: [USER2 : 1] app2 size 131072 num 7, address 0x396000

binary_manager_register_kpart: [KERNEL 1] part num 8 size 1662976, address 0x3b6000

binary_manager_register_upart: [USER0 : 2] common size 1048576 num 9, address 0x54c000

binary_manager_register_upart: [USER1 : 2] app1 size 393216 num 10, address 0x64c000

binary_manager_register_upart: [USER2 : 2] app2 size 131072 num 11, address 0x6ac000

/dev/smart0p12 is mounted successfully @ /mnt

[i2c]I2C(0) init ok, baud_rate:0

i2c_uioregister: Registering /dev/i2c-0

[hal]spi select src_clk xtal

[cal]calibration_main(unknown-48Pin) over

[cal]tx_i_dc_2G: 0x83a,tx_q_dc_2G: 0x849

[cal]tx_q_dc_5G: 0x843,tx_q_dc_5G: 0x816

[cal]temp in otp is:8679

se_register: Registering /dev/seclink

armino_hal_init: [ARMINO_HAL_WRAPPER]armino/security_armino_wrapper_tz.c:102

binary_manager_scan_bootparam: Checking BP0 start
binary_manager_scan_bootparam: BP0 is valid
binary_manager_scan_bootparam: Checking BP1 start
is_valid_bootparam: Invalid data. ver: 4294967295, active index: 255, addresses: ffffffff, ffffffff
binary_manager_scan_bootparam: BP1 is invalid
binary_manager_scan_bootparam: BP USE index 0, version 1
binary_manager_scan_kbin: Kernel version [0] 200204
binary_manager_scan_ubin_all: Checking user in partition [0], path /dev/mtdblock7
binary_manager_scan_ubin_all: Found binary app2 in partition 7, version 190412
binary_manager_scan_ubin_all: Checking user in partition [0], path /dev/mtdblock6
binary_manager_scan_ubin_all: Found binary app1 in partition 6, version 190412
binary_manager_scan_ubin_all: Checking user in partition [0], path /dev/mtdblock5
binary_manager_scan_ubin_all: Found binary common in partition 5, version 200204
binary_manager_load: common Header Checking Success
binary_manager_load_binary: Load success! [Name: common] [Version: 200204] [Partition: A] [Text start : 0x70500020] [Compressed Binary]
binary_manager_load: app2 Header Checking Success
binary_manager_load_binary: Load success! [Name: app2] [Version: 190412] [Partition: A] [Text start : 0x705d0c20] [Compressed Binary]
[i2c]SCL timeout triggered, restart i2c

binary_manager_load: app1 Header Checking Success
System Information:
Version:
Platform: 5.0 Binary: 200204
Commit Hash: 2810e6d
Build User: root@ziliguo
Build Time: 2026-04-17 05:48:53 UTC
System Time: 17 Apr 2026, 05:48:53 [s] UTC Hardware RTC Support
This is WIFI App
TASH>> binary_manager_load_binary: Load success! [Name: app1] [Version: 190412] [Partition: A] [Text start : 0x7064df00] [Compressed Binary]

TASH>>
TASH>>
TASH>>

@ziliguo
Copy link
Copy Markdown
Contributor

ziliguo commented Apr 18, 2026

=====XTX_0xb4018=====

[FORCE] main 0x200428d

[FORCE] Starting bootloader

efuse=8000000
[FORCE] verify start

[FORCE] do_boot_without_signing start

boot_param: line[359], CONFIG_NUM_APPS : 2
boot_param: line[424],BP0 crc verify ok
[FORCE] active_slot :0x0

[FORCE] normal slot :0x0

boot_param: slot=0 stored_crc=0xa8fa7db5 computed_crc=0xa8fa7db5 (full partition, size=0x00160a14) attempt 1
[FORCE]
Jumping to the first slot
[FORCE] primary_off: 0xa0000

[FORCE] do_boot_without_signing end vt: 0x20a1000

[TFM] config ppc and NSPE is coming
郲flash]id=0xb4018
mpu_showtype: Unified MPU Regions: data=16 instr=0
[arch]Intialize random stack guard.
up_allocate_kheap: start = 0x7015ee80 size = 3805568
up_add_kregion: Heap idx = 1 start = 0x38055928 size = 50896
up_add_kregion: Heap idx = 2 start = 0x70500000 size = 3145728
[rosc]rosc rtc tick compensation start
up_irqinitialize: irqenable
[init]reason - 0

[init]regs - 0, 0, 0

[init]bandgap_calm_in_otp=0x16

[init]trng enable

up_flashinitialize OK!

binary_manager_register_kpart: [KERNEL 0] part num 4 size 1662976, address 0xa0000

binary_manager_register_upart: [USER0 : 1] common size 1048576 num 5, address 0x236000

binary_manager_register_upart: [USER1 : 1] app1 size 393216 num 6, address 0x336000

binary_manager_register_upart: [USER2 : 1] app2 size 131072 num 7, address 0x396000

binary_manager_register_kpart: [KERNEL 1] part num 8 size 1662976, address 0x3b6000

binary_manager_register_upart: [USER0 : 2] common size 1048576 num 9, address 0x54c000

binary_manager_register_upart: [USER1 : 2] app1 size 393216 num 10, address 0x64c000

binary_manager_register_upart: [USER2 : 2] app2 size 131072 num 11, address 0x6ac000

/dev/smart0p12 is mounted successfully @ /mnt

[i2c]I2C(0) init ok, baud_rate:0

i2c_uioregister: Registering /dev/i2c-0

[hal]spi select src_clk xtal

[cal]calibration_main(unknown-48Pin) over

[cal]tx_i_dc_2G: 0x7f1,tx_q_dc_2G: 0x82d

[cal]tx_q_dc_5G: 0x852,tx_q_dc_5G: 0x820

[cal]temp in otp is:8399

se_register: Registering /dev/seclink

armino_hal_init: [ARMINO_HAL_WRAPPER]armino/security_armino_wrapper_tz.c:102

binary_manager_scan_bootparam: Checking BP0 start
binary_manager_scan_bootparam: BP0 is valid
binary_manager_scan_bootparam: Checking BP1 start
is_valid_bootparam: Invalid data. ver: 4294967295, active index: 255, addresses: ffffffff, ffffffff
binary_manager_scan_bootparam: BP1 is invalid
binary_manager_scan_bootparam: BP USE index 0, version 1
binary_manager_scan_kbin: Kernel version [0] 200204
binary_manager_scan_ubin_all: Checking user in partition [0], path /dev/mtdblock7
binary_manager_scan_ubin_all: Found binary app2 in partition 7, version 190412
binary_manager_scan_ubin_all: Checking user in partition [0], path /dev/mtdblock6
binary_manager_scan_ubin_all: Found binary app1 in partition 6, version 190412
binary_manager_scan_ubin_all: Checking user in partition [0], path /dev/mtdblock5
binary_manager_scan_ubin_all: Found binary common in partition 5, version 200204
binary_manager_load: common Header Checking Success
binary_manager_load_binary: Load success! [Name: common] [Version: 200204] [Partition: A] [Text start : 0x70500020] [Compressed Binary]
binary_manager_load: app2 Header Checking Success
binary_manager_load_binary: Load success! [Name: app2] [Version: 190412] [Partition: A] [Text start : 0x705d0c20] [Compressed Binary]
[i2c]SCL timeout triggered, restart i2c

binary_manager_load: app1 Header Checking Success
System Information:
Version:
Platform: 5.0 Binary: 200204
Commit Hash: 2810e6d
Build User: root@ziliguo
Build Time: 2026-04-17 05:48:53 UTC
System Time: 17 Apr 2026, 05:48:53 [s] UTC Hardware RTC Support
This is WIFI App
TASH>> binary_manager_load_binary: Load success! [Name: app1] [Version: 190412] [Partition: A] [Text start : 0x7064df00] [Compressed Binary]

@ziliguo
Copy link
Copy Markdown
Contributor

ziliguo commented Apr 18, 2026

====Winb_0xef4018====

FORCE] main 0x200428d

[FORCE] Starting bootloader

efuse=8000000
[FORCE] verify start

[FORCE] do_boot_without_signing start

boot_param: line[359], CONFIG_NUM_APPS : 2
boot_param: line[424],BP0 crc verify ok
[FORCE] active_slot :0x0

[FORCE] normal slot :0x0

boot_param: slot=0 stored_crc=0xa8fa7db5 computed_crc=0xa8fa7db5 (full partition, size=0x00160a14) attempt 1
[FORCE]
Jumping to the first slot
[FORCE] primary_off: 0xa0000

[FORCE] do_boot_without_signing end vt: 0x20a1000

[TFM] config ppc and NSPE is coming
flash id=0xef4018
mpu_showtype: Unified MPU Regions: data=16 instr=0
[arch]Intialize random stack guard.
up_allocate_kheap: start = 0x7015ee80 size = 3805568
up_add_kregion: Heap idx = 1 start = 0x38055928 size = 50896
up_add_kregion: Heap idx = 2 start = 0x70500000 size = 3145728
[rosc]rosc rtc tick compensation start
up_irqinitialize: irqenable
[init]reason - 0

[init]regs - 0, 0, 0

[init]bandgap_calm_in_otp=0x16

[init]trng enable

up_flashinitialize OK!

binary_manager_register_kpart: [KERNEL 0] part num 4 size 1662976, address 0xa0000

binary_manager_register_upart: [USER0 : 1] common size 1048576 num 5, address 0x236000

binary_manager_register_upart: [USER1 : 1] app1 size 393216 num 6, address 0x336000

binary_manager_register_upart: [USER2 : 1] app2 size 131072 num 7, address 0x396000

binary_manager_register_kpart: [KERNEL 1] part num 8 size 1662976, address 0x3b6000

binary_manager_register_upart: [USER0 : 2] common size 1048576 num 9, address 0x54c000

binary_manager_register_upart: [USER1 : 2] app1 size 393216 num 10, address 0x64c000

binary_manager_register_upart: [USER2 : 2] app2 size 131072 num 11, address 0x6ac000

/dev/smart0p12 is mounted successfully @ /mnt

[i2c]I2C(0) init ok, baud_rate:0

i2c_uioregister: Registering /dev/i2c-0

[hal]spi select src_clk xtal

[cal]calibration_main(unknown-48Pin) over

[cal]tx_i_dc_2G: 0x83d,tx_q_dc_2G: 0x7fc

[cal]tx_q_dc_5G: 0x834,tx_q_dc_5G: 0x808

[cal]temp in otp is:8390

se_register: Registering /dev/seclink

armino_hal_init: [ARMINO_HAL_WRAPPER]armino/security_armino_wrapper_tz.c:102

binary_manager_scan_bootparam: Checking BP0 start
binary_manager_scan_bootparam: BP0 is valid
binary_manager_scan_bootparam: Checking BP1 start
is_valid_bootparam: Invalid data. ver: 4294967295, active index: 255, addresses: ffffffff, ffffffff
binary_manager_scan_bootparam: BP1 is invalid
binary_manager_scan_bootparam: BP USE index 0, version 1
binary_manager_scan_kbin: Kernel version [0] 200204
binary_manager_scan_ubin_all: Checking user in partition [0], path /dev/mtdblock7
binary_manager_scan_ubin_all: Found binary app2 in partition 7, version 190412
binary_manager_scan_ubin_all: Checking user in partition [0], path /dev/mtdblock6
binary_manager_scan_ubin_all: Found binary app1 in partition 6, version 190412
binary_manager_scan_ubin_all: Checking user in partition [0], path /dev/mtdblock5
binary_manager_scan_ubin_all: Found binary common in partition 5, version 200204
binary_manager_load: common Header Checking Success
binary_manager_load_binary: Load success! [Name: common] [Version: 200204] [Partition: A] [Text start : 0x70500020] [Compressed Binary]
binary_manager_load: app2 Header Checking Success
binary_manager_load_binary: Load success! [Name: app2] [Version: 190412] [Partition: A] [Text start : 0x705d0c20] [Compressed Binary]
[i2c]SCL timeout triggered, restart i2c

binary_manager_load: app1 Header Checking Success
System Information:
Version:
Platform: 5.0 Binary: 200204
Commit Hash: 2810e6d
Build User: root@ziliguo
Build Time: 2026-04-17 05:48:53 UTC
System Time: 17 Apr 2026, 05:48:53 [s] UTC Hardware RTC Support
This is WIFI App
TASH>>

@ziliguo
Copy link
Copy Markdown
Contributor

ziliguo commented Apr 18, 2026

Hello,

I have verified the 5 different flash types board (the flash id are XTX_0xb4018, Winb_0xef4018, BY_0x684018, GD_0xc84018 and XMC_0x204018) with PR7286 and PR7276.
The ubuntu download function and bkfil tool download function are both ok. And the board can boot up successfully. Above comments are the booting log of the 5 boards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants