465c676f | 24-Jan-2017 |
Cyril Bur <cyril.bur@au1.ibm.com> |
gitignore: Add m4 directory, libtool and *.swp files
Change-Id: I1ea7a5fce49ea4c398741412094e642d092cdb7b Signed-off-by: Cyril Bur <cyril.bur@au1.ibm.com> |
ef315c17 | 18-Jan-2017 |
Cyril Bur <cyril.bur@au1.ibm.com> |
mboxd: Zero ioctl() map struct
Change-Id: I5528432af3e211bbac7d86cdf7e57beb0d1a6c0b Signed-off-by: Cyril Bur <cyril.bur@au1.ibm.com> |
8cb799c2 | 17-Jan-2017 |
Andrew Jeffery <andrew@aj.id.au> |
autoconf: Don't depend on systemd
Signed-off-by: Andrew Jeffery <andrew@aj.id.au> |
622992b4 | 17-Jan-2017 |
Michael Neuling <mikey@neuling.org> |
Fix MBOX_C_RESET_STATE command crash
Currently MBOX_C_RESET_STATE tries to access context->fds[LPC_CTRL_FD].fd but it's set to a negative value to avoid being part of the poll loop. This causes MBO
Fix MBOX_C_RESET_STATE command crash
Currently MBOX_C_RESET_STATE tries to access context->fds[LPC_CTRL_FD].fd but it's set to a negative value to avoid being part of the poll loop. This causes MBOX_C_RESET_STATE command crashes with:
[MBOXD 1479755597.524480127] Couldn't MAP the host LPC bus to the platform flash [MBOXD 1479755597.524710309] Couldn't point the LPC BUS back to actual flash [MBOXD 1479755597.525068895] Error handling MBOX event: Bad file descriptor
This patches removes the negative FDs and setups up a polls FD number for the number of FDs to poll.
Signed-off-by: Michael Neuling <mikey@neuling.org>
show more ...
|
e8f2de1f | 16-Jan-2017 |
Cyril Bur <cyril.bur@au1.ibm.com> |
mboxd: Add command-line option to specify platform flash size |
22778044 | 13-Jan-2017 |
Andrew Jeffery <andrew@aj.id.au> |
Convert to autotools
Signed-off-by: Andrew Jeffery <andrew@aj.id.au> |
899ebaca | 14-Jan-2017 |
Michael Neuling <mikey@neuling.org> |
Enable SIGHUP to reset point to flash are reread flash. |
b06bb08e | 14-Jan-2017 |
Michael Neuling <mikey@neuling.org> |
Initial .gitignore file |
46233678 | 15-Jan-2017 |
Cyril Bur <cyril.bur@au1.ibm.com> |
mboxd: Use MAP ioctl() to reset to flash |
d7a15b8f | 12-Jan-2017 |
Andrew Jeffery <andrew@aj.id.au> |
mboxd: Whitespace cleanups
Signed-off-by: Andrew Jeffery <andrew@aj.id.au> |
78210b9b | 12-Jan-2017 |
Andrew Jeffery <andrew@aj.id.au> |
mboxd: Fixup unused-result compilation warning
cc -Wall -O2 -g -I. -DPREFIX="\"MBOXD\"" mboxd.c common.o -o mboxd mboxd.c: In function ‘dispatch_mbox’: mboxd.c:170:5: warning: ignoring return v
mboxd: Fixup unused-result compilation warning
cc -Wall -O2 -g -I. -DPREFIX="\"MBOXD\"" mboxd.c common.o -o mboxd mboxd.c: In function ‘dispatch_mbox’: mboxd.c:170:5: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read(-context->fds[MTD_FD].fd, context->lpc_mem, context->size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
show more ...
|
d8f6d7a4 | 10-Jan-2017 |
Cyril Bur <cyril.bur@au1.ibm.com> |
mboxd: Test the single write functionality |
c442b710 | 18-Oct-2016 |
Cyril Bur <cyril.bur@au1.ibm.com> |
README.md |
c85e34d1 | 14-Nov-2016 |
Cyril Bur <cyril.bur@au1.ibm.com> |
mboxd: Stripped down super simple daemon
This daemon may prove useful for debugging and for adding features.
Production daemons will likely need to be better designed |
314929b4 | 13-Oct-2016 |
Cyril Bur <cyril.bur@au1.ibm.com> |
First commit |