CAT874_bootloader_rescue

対象機種CAT874 (RevC, RevE)

bootloaderを破壊してしまい起動できなくなった基板の復旧方法
How to recover a board that cannot boot because the bootloader has been destroyed.

準備

  • TeraTerm マクロを使用する。TeraTermを準備しておく. Setup TeraTerm.
  • fileek874boot_v301.zip (BSP3.0.1) を展開する. unzip this file.

展開後
after unzip

bootloader/
|-- AArch64_Flash_writer_SCIF_DUMMY_CERT_E6300400_ek874.mot
|-- bl2-ek874.srec
|-- bl31-ek874.srec
|-- bootparam_sa0.srec
|-- cert_header_sa6.srec
|-- tee-ek874.srec
|-- u-boot-elf-ek874.srec
|-- ek874_setup_RevC.ttl           CAT874 Rev.C 復旧マクロ
`-- ek874_setup_RevE.ttl           CAT874 Rev.E 復旧マクロ

CAT874の電源を切断してDIPSWを Serial Download Mode にする
power off the board and set DIPSW to Serial Download Mode.

dipsw1_serial.png

654321
ONONOFFOFFOFFOFF

電源を入れる
power on the board.

TeraTerm画面に以下のメッセージが表示されることを確認する
Verify that the following message appears on the TeraTerm screen.

SCIF Download mode (w/o verification)
 (C) Renesas Electronics Corp.

-- Load Program to SystemRAM ---------------
please send !

TeraTermメニューの コントロール > マクロ > から

  • ek874_setup_RevC.ttl
  • ek874_setup_RevE.ttl

どちらかを選択して開き、CAT874 の RESETボタンを押す.
Select either one from TeraTerm control > macro menu. and press the RESET button on the CAT874.

自動的に FlashWriter と bootloader バイナリがダウンロードされて書き込みが行われる
Automatically downloads and writes FlashWriter and bootloader binaries.

書き換えが2回目以降である場合、消去してよいかの確認メッセージが出るので y を押す
If this is the second or later rewriting, a confirmation message will appear, so press y.

Clear OK?(y/n)                      y を押す(4回)

CAT874の電源を切断してDIPSWを QSPI Boot Mode にする
power off the board and set DIPSW to QSIP Boot Mode.

dipsw1_qspi.png

654321
ONONOFFONONON

電源を入れる
power on the board.

マクロによって u-bootのパラメータ(変数)が書き込まれる
Macro rewrites u-boot parameters (variables).

以上で書き換えは終了
This completes the rewrite.

Rev.Eの場合、 eMMCブートモードでも正常に起動するか試す
Rev. E, try to see if it boots properly in eMMC boot mode.

dipsw1_emmc.png

654321
ONONOFFOFFONOFF

関連

自動リンク

Last-modified: 2023-05-11 (木) 17:20:15 (348d)