FAQ: [#6139] sigma firmware loader can't send out all actions(2010)

Document created by Aaronwu Employee on Sep 11, 2013
Version 1Show Document
  • View in full screen mode

[#6139] sigma firmware loader can't send out all actions

Submitted By: Bob Liu

Open Date

2010-07-27 01:52:28    

Priority:

Medium     Assignee:

Bob Liu

Status:

Open     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

STAMP

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

gcc-4.1

App binary format:

N/A     

Summary: sigma firmware loader can't send out all actions

Details:

 

file: linux-2.6.x/drivers/firmware/sigma.c

56 int process_sigma_actions(struct i2c_client *client, struct sigma_firmware *ssfw)

57 {

58         pr_debug("%s: processing %p\n", __func__, ssfw);

59

60         while (1) {

61                 int ret = process_sigma_action(client, ssfw);

62                 pr_debug("%s: action returned %i\n", __func__, ret);

63                 if (ret == 1)

64                         return 0;

65                 else if (ret)

66                         return ret;

67         }

68 }

 

In function process_sigma_action() if sendout one sigma_action through i2c successfully, this function will return the actual sendout data count

which makes the while(1) loop return and can't continue to send out

following sigma actions.

 

Follow-ups

 

--- Bob Liu                                                  2010-07-27 01:53:31

fixed in commit [9013]

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes