Clearfog pro BootROM bad headers- noob needs help

I acquired a clearfog pro and get the following when booting:

BootROM - 1.73

Booting from MMC
BootROM: Bad header at offset 00000200
BootROM: Bad header at offset 00004400
BootROM: Bad header at offset 00200000
BootROM: Bad header at offset 00400000
BootROM: Bad header at offset 00600000
BootROM: Bad header at offset 00800000
BootROM: Bad header at offset 00A00000
BootROM: Bad header at offset 00C00000
BootROM: Bad header at offset 00E00000
BootROM: Bad header at offset 01000000
BootROM: Bad header at offset 01200000
BootROM: Bad header at offset 01400000
BootROM: Bad header at offset 01600000
BootROM: Bad header at offset 01800000
BootROM: Bad header at offset 01A00000
BootROM: Bad header at offset 01C00000
BootROM: Bad header at offset 01E00000
BootROM: Bad header at offset 02000000
BootROM: Bad header at offset 02200000
BootROM: Bad header at offset 02400000
BootROM: Bad header at offset 02600000
BootROM: Bad header at offset 02800000
BootROM: Bad header at offset 02A00000
BootROM: Bad header at offset 02C00000
BootROM: Bad header at offset 02E00000
BootROM: Bad h
Trying Uart

I tried flashing a linux image (sr-a38x-debian-bullseye-20220427) on a different card and got the same thing but perhaps I need to do something additional as I downloaded the file extracted the img and burned it to the SD card. Maybe i need to still do something with u-boot? Forgive me as I have no experience with u-boot or anything other than basic linux. I have looked at the documentation but not sure where to start with this issue. Any help pointing me in the right direction would be greatly appreciated.

The ClearFog Base/Pro come in 2 different variants with or without eMMC. If you have a version with the eMMC then the SDHC card is non-functional. The SOC can only support a single SD device. If you have a version that only supports eMMC then you will need to use the serial recover tool kwboot in order to boot u-boot and flash the image to the boot0 partition of eMMC. This is all documented on developer.solid-run.com

Thanks for taking time to look this over. I have both versions of board. the one im focusing on is the one without eMMC. At least the following makes me think this version does not have eMMC as it gives me this error when I try booting without the SD card:


Booting from MMC
Card did not respond to voltage select!
Error initializing MMC - FFFFFFEF

Trying Uart


The hurdle Im having at the moment is when I get to the part where it says
CROSS_COMPILE=
I have no idea what to specify here. I looked up toolchains and with my limit knowlege feel like wouln’t the Clearfog pros all have the same toolchain if they are the same boards? If i could get some help with this part it might be the hurdle that gets me going.

I have also looked at this post and tried the script that downloads the bin file but I dont know which bin file or where to get a bin file to send to the device.

All our CI built binary files for our boards are available here SolidRun Images

ok, I have gone out and done more research and tried a few things. I still get the bad headers when trying to boot from SSD (this is a non eMMC board). I have been able to successfully transfer a u-boot file to the board via xmodem using a script. The transfer seems to go just fine then the board does nothing. Im expecting the board to start booting from the file once its done transferring but Im not certain. Exiting the script and running screen shows no user input. its just blank. Rebooting puts me back at the start. Am I missing something for UART booting? After the xmodem transfer is complete is there something i need to do?

You can use the kwboot tool included with either our BSP u-boot for the ClearFog or mainline u-boot to serial boot the board. Is this what you are using? If you could provide logs of the process you are following it would be helpful in sorting out your problem.