First identify where the board’s boot ROM expects its first-stage image. A user area clone of the KLMAG1JETD-B041 excludes the two hardware boot partitions and device boot settings. If the board uses a hardware boot partition, compare its contents and configuration with a working board of the same revision. If it boots from the user area, check image coverage, offset and verification requirements.
1 Identify the region covered by the image
Samsung describes one user area and two separate hardware boot partitions. On Linux, confirm which /dev/mmcblkX is the soldered eMMC before reading it. X is assigned by the running system and can change when starting from removable media.
| Linux device | Verify |
|---|---|
| /dev/mmcblkX | User area: image range, offset and byte count |
| /dev/mmcblkXboot0 | Hardware boot partition 1: contents and range |
| /dev/mmcblkXboot1 | Hardware boot partition 2: contents and range |
| /dev/mmcblkXp1 and similar nodes | Software partitions within the user area |
Map each file in the programming log to a hardware area, offset and length. A file named boot.img or a GPT partition named boot can belong to the user area. Neither name identifies a hardware boot partition. Check the board’s boot documentation for the first-stage location. Include the first-stage loader, later boot images and root filesystem in that map. A verified user-area dump still leaves separate boot-area contents outside its coverage.
Check the tool’s numbering. It may call the first hardware boot partition Boot1, while Linux calls it boot0.
2 Compare boot selection with current partition access
Save read-only EXT_CSD snapshots from working and failed units in a maintenance environment that can enumerate the devices. Keep raw values and tool versions. On a supported build, mmc partconf <dev> displays the configuration. The U-Boot mmc partconf documentation describes this read-only form. Verify that build’s syntax and device index.
PARTITION_CONFIG is EXT_CSD byte 179. Bits 5:3 hold BOOT_PARTITION_ENABLE. Value 1 selects hardware boot partition 1 (Linux boot0). Value 2 selects hardware boot partition 2 (Linux boot1). Value 7 selects the user area for the eMMC boot operation. Value 0 disables that operation. A processor may read the user area through another startup path. Interpret the value using the host’s boot documentation.
Bits 2:0 are PARTITION_ACCESS, which selects the host’s current access area. Bit 6 is BOOT_ACK. It controls boot acknowledgment. Decode these separately; current access is not the boot selection.
Verify contents separately from selection. Correct data in boot0 cannot help if the eMMC boot operation selects boot1. Matching settings do not prove the expected bytes exist at the right offset.
3 Find the first difference during a cold start
Compare power-off-to-power-on tests on boards with the same hardware and firmware revisions. Keep boot straps consistent. Exclude fallback through SD, USB recovery or another medium. Use platform signals or logs to confirm the intended eMMC boot path.
| First observed difference | Check next |
|---|---|
| Maintenance cannot enumerate eMMC | Device selection, supply, reset, clock and connections |
| Device enumerates; first-stage execution unconfirmed | ROM boot source, selected area, offset and authentication |
| First stage runs; system still fails | Later images, user-area partitions and root filesystem parameters |
| Recovery mounts user area; cold boot fails | External boot medium and the actual eMMC boot path |
Find the earliest confirmed difference. Output from a later bootloader proves execution reached that stage. Silence alone does not prove the first stage never ran. Use boot status registers, a recovery console or other platform evidence to distinguish missing execution from missing logs.
Read back the required region at the specified offset and length. Compare its checksum with the approved raw image covering those exact bytes. A compressed or sparse file needs its corresponding raw representation. A user-area checksum covers neither hardware boot areas nor EXT_CSD. Once the required regions match, check the host’s image format and authentication conditions. The Samsung KLM eMMC selection guide covers separate capacity and interface choices.
4 Turn the boot path into a sample acceptance check
Separate component specifications from project programming and acceptance requirements. Record the full ordering code, board revision, SoC, firmware and fixture. Define each image’s region, offset, length and checksum. Set an explicit cold-start pass condition and document how fallback was excluded. Keep boot selection readback and confirmed startup milestones with the sample record. The pass condition should name the expected application reached after a true power cycle.
For substitutes, use the embedded storage catalog to shortlist complete codes. Check each candidate’s interface and footprint against the board. Verify area sizes against the production images and boot settings against the platform requirements. Qualify it on the target board with the approved image and fixture. Retain the tested configuration before approving the purchase.
For a KLMAG1JETD-B041 sample request, include the board revision, first-stage image location and the regions covered by your programming job. Use the same region readback and cold-boot conditions to evaluate candidates. Send SUNTEC the full ordering code, required quantity and target delivery date for a quote.
Prepared by the SUNTEC Technical Team at Suzhou SUNTEC Electronics Co., Ltd.