Skip to content

Mender state script fails at boot loader update "Bad address" #895

Answered by vinotion
vinotion asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Matt,

Thank you very much for the reply. You were indeed right; the CRC error for the EEPROM read fails. We've been using strace to track down the code in tegra-boot-tools and tegra-eeprom-tool.

Here's the relevant snippet of the bootloader update trace:

$ strace /usr/bin/tegra-bootloader-update /opt/ota_package/bl_update_payload
...program setup...

openat(AT_FDCWD, "/sys/module/tegra_fuse/parameters/tegra_chip_id", O_RDONLY) = 3
read(3, "24\n", 64)                     = 3
close(3)                                = 0
openat(AT_FDCWD, "/proc/cmdline", O_RDONLY) = 3
read(3, "console=ttyS0,115200 console=tty"..., 4095) = 369
close(3)                                = 0
brk(NULL)          …

Replies: 5 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@madisongh
Comment options

Answer selected by madisongh
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@madisongh
Comment options

@vinotion
Comment options

@madisongh
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants