kobs-ng error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

kobs-ng error

1,548 Views
AndracsEstacvez
Contributor II

Hi all,

trying to flash the streamboot I get this error:

"Couldn't discover Boot ROM version"

Do you know the reason? Is the flash corrupted? How to fix it?

Thank you

Tags (2)
3 Replies

665 Views
jonathanben-avr
Contributor II

I posted a patch for kobs-ng-3.0.35-4.0.0 (the version used in buildroot-2013.11) that fixes this problem.

665 Views
DanielWinner
Contributor I

Hello,

I have experienced the same problem and found a solution to it.  I took a look at /proc/cpuinfo on my Freescale i.MX287 development board and on our custom board also based on an i.MX287.  I noticed that on the dev board where kobs-ng works, the output is this:

root@freescale /$ cat /proc/cpuinfo
Processor : ARM926EJ-S rev 5 (v5l)
BogoMIPS : 226.09
Features : swp half thumb fastmult edsp java
CPU implementer : 0x41
CPU architecture: 5TEJ
CPU variant : 0x0
CPU part : 0x926
CPU revision : 5

Hardware : Freescale MX28EVK board
Revision : 0000
Serial : 0000000000000000

And on my custom board the output is this:

Processor : ARM926EJ-S rev 5 (v5l)
BogoMIPS : 226.09
Features : swp half thumb fastmult edsp java
CPU implementer : 0x41
CPU architecture: 5TEJ
CPU variant : 0x0
CPU part : 0x926
CPU revision : 5

Hardware : Freescale iMX28EVK board
Revision : 0000
Serial : 0000000000000000

Notice the difference, the only difference in one says MX28EVK the other says iMX28EVK.  I looked at the source code for kobs-ng and in main.c where it attempts to find the ROM version is opens /proc/cpuinfo and searches for the line containing MX28EVK.  If that line is different then it fails and reports that it could not find the ROM version.  So all I had to do was add the "i" to the search string, recompile and problem is fixed.

Why on my custom h/w the output of /proc/cpuinfo is different I don't know yet, but at least I can write the flash now.

Cheers,

Dan.

0 Kudos

665 Views
Noel_V
Contributor III

Hi,

have a look at /proc/cpuinfo , this is where kobs-ng tries to find cpu-type and cpu-revision.

Regards Noel

Note: You have to run kobs-ng on your target imx-cpu (not on a PC).

0 Kudos