Hi,
Our T4240RDB machine was bricked after an RCW update. I tried to bring up u-boot from SD Card but it didn't work. Is it even possible to boot from SD Card if RCW is corrupted?
I followed the QorIQ SDK 2.0 instructions to build the SD Card U-boot image. Then I did the following to copy binaries to SD Card
$ dd if=/dev/zero of=/dev/sdc bs=1M oflag=sync count=8
$ dd if=u-boot-sd-2016.01+fslgit-r0.bin of=/dev/sdc bs=512 seek=8 oflag=sync
$ dd if=/work/t4240rdb/fsl_fman_ucode_t4240_r2.0_108_4_5.bin of=/dev/sdc bs=512 seek=2080 oflag=sync
Then I set SW3[4] to ON and SW2[1] to OFF to boot from SD card but it didn't work.
Any help would be highly appreciated.
1) Please provide any previous boot log to check the CPLD version.
2) Is CodeWarrior debug connection possible with the described switches settings and SD card been inserted?
Thanks for your response. Unfortunately, we didn't capture a boot log before it got bricked. The device was purchased in 2011 and imaged in 2014, I hope that is helpful information to derive CPLD version.
We don't have the CodeWarrior TAP connector and probe tip yet, but the JTAG port seems fine. Are there any other requirements for CodeWarrior debug connection to be possible? We wanted to exhaust all our options before purchasing the Codewarriror kit.
You wrote:
> The device was purchased in 2011 and imaged in 2014
What do you mean by "imaged" ?
I meant a new QorIQ SDK version was deployed on the machine in 2014.
Please provide photos of on-board stickers and inscriptions.
You wrote:
$ dd if=u-boot-sd-2016.01+fslgit-r0.bin of=/dev/sdc bs=512 seek=8 oflag=sync
Where "u-boot-sd-2016.01+fslgit-r0.bin" was obtained?
Please provide the image for inspection.
Hi,
Thanks for your continued help. Does this mean SD Card boot is indeed possible on this machine?
Please find attached the image file for inspection. Here are the steps I followed to build the u-boot image:
I modified the t4240rd.conf in <sdk-install-dir>/sources/meta-freescale/conf/machine/ to the following:
require conf/machine/include/e6500.inc
SOC_FAMILY = "t4:t4240"
UBOOT_CONFIG ??= "sd"
UBOOT_CONFIG[sd] = "T4240RDB_config,sdcard"
HV_CFG_M = "t4240rdb"
KERNEL_DEVICETREE ?= "fsl/t4240rdb.dtb fsl/t4240rdb-usdpaa.dtb \
fsl/t4240rdb-usdpaa-shared-interfaces.dtb \
"
KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/corenet64_fmanv3h_smp_defconfig"
KBUILD_DEFCONFIG ?= "corenet64_fmanv3h_smp_defconfig"
JFFS2_ERASEBLOCK = "0x10000"
EXTRA_IMAGEDEPENDS += "fm-ucode rcw lib64-hypervisor hv-cfg"
USE_VT ?= "0"
And I ran the following command to regenerate the SD Card U-boot image:
bitbake -c cleansstate u-boot
bitbake -c patch u-boot
bitbake -c compile -f u-boot
bitbake u-boot
Hi,
Thanks for pointing that out and for sharing the right image. I tried copying the new image onto the SD card following the same instructions, dd to seek 8,
Also, we now have the Codewarrior TAP connector with the right probe tip. Perhaps we can now explore debugging RCW overwrite using the Codewarrior IDE. Please point us towards any helpful documentation for this purpose.
Thanks,
Sanjay