Skip to content

rpierrorlog: Add rpierrorlog to utils to manage firmware error logging - #176

Open
martamomotko wants to merge 1 commit into
raspberrypi:masterfrom
martamomotko:add-rpierrorlog-util
Open

martamomotko wants to merge 1 commit into
raspberrypi:masterfrom
martamomotko:add-rpierrorlog-util

Conversation

@martamomotko

Copy link
Copy Markdown

No description provided.

Comment thread rpierrorlog/README.md Resolved
Comment thread rpierrorlog/rpierrorlog.c Outdated
LOG_DEBUG("hdr.code=0x%08x tag=0x%08x tag_buf_size=%u tag_req_resp_size=0x%08x\n",
hdr->code, hdr->tag, hdr->tag_buf_size, hdr->tag_req_resp_size);

if (!(hdr->code & VC_MAILBOX_ERROR) ||

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've updated rpi-fw-crypto to make this less confusing because bit31 doesn't mean ERROR error. It means tag completed.

@martamomotko

Copy link
Copy Markdown
Author

Example test procedure:

  1. Set BOOT_ORDER=0xe1 with sudo rpi-eeprom-config --edit and reboot.
  2. Power off, remove the SD card and power on. The LED flashes error 4.
  3. Power off, put the SD card back and boot. rpi-error-log get should show 0x00000004.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants