Opened 2 years ago

Closed 2 years ago

#12079 closed defect (fixed)

CL4 - OFW - No fw version in ROM file

Reported by: chia-hsiu Owned by: Quozl
Priority: normal Milestone: Not Triaged
Component: ofw - open firmware Version: 4-A2
Keywords: Cc:
Blocked By: Blocking:
Deployments affected: Action Needed: no action
Verified: no

Description

I found there is no fw version in rom file.
CL2 have this version name in address "f.ffc7" but nothing in CL4 rom file.
I know it may because the rom size has adjusted to 2MB, but I really need this fw version to compare with internal OFW version.
So I create a ticket to monitor.

Change History (9)

comment:1 Changed 2 years ago by wmb@…

The official and easy way to get the firmware version, which works on all machines, is to use the command

   ofw-version$  ( -- adr len )

For example:

   ok ofw-version$ type
   Q7A11

comment:2 Changed 2 years ago by chia-hsiu

I mean fw version in ofw image, we used to use below code to check firmware up to date or not.

   " u:\cl4fw.zip" expand$
   ['] (boot-read) catch  if  2drop exit  then
   img$  firmware-up-to-date?  if
      cr
      ." The current version of the OFW is newer then upgrading file!" cr
      ." Continuing with current firmware!" cr
      exit
   then
   img$ do-ofw-update

cl4fw.zip contain a OFW image which rename to data.img.
Inside word ((fw-version)) , it will consider this image is invalid because f.ffc7 has no version name.

comment:3 Changed 2 years ago by Quozl

Was because f.ffc7 was used instead of new signature-offset, and for CL4 the offset has changed. Fixed in svn 3285.

comment:4 Changed 2 years ago by Quozl

  • Action Needed changed from never set to package
  • Component changed from manufacturing process to ofw - open firmware
  • Owner set to Quozl
  • Status changed from new to assigned

comment:5 Changed 2 years ago by Quozl

  • Action Needed changed from package to no action
  • Resolution set to fixed
  • Status changed from assigned to closed

Is in Q7A12.

comment:6 Changed 2 years ago by Quozl

  • Resolution fixed deleted
  • Status changed from closed to reopened

Caused #12091.

comment:7 Changed 2 years ago by Quozl

  • Action Needed changed from no action to design

Workaround for manufacturing scripts:

patch effc0 fffc7 firmware-up-to-date?
patch effc0 fffc7 (fw-version)

comment:8 Changed 2 years ago by Quozl

Unfixed in Q7A13.

comment:9 Changed 2 years ago by Quozl

  • Action Needed changed from design to no action
  • Resolution set to fixed
  • Status changed from reopened to closed

Q7B series fixed this for XO-4 B1 build.

Note: See TracTickets for help on using tickets.