Age | Commit message (Collapse) | Author |
|
Merge branch 'fix/nmgr-config' of https://github.com/simonratner/incubator-mynewt-core into develop
|
|
|
|
|
|
the area before trying to use it.
|
|
was not wiping out the contents of that sector.
|
|
- log_append() was not checking for a valid log
|
|
- Enable remote configuration, remote soft reset,
firmware upgrade
- Adding a seperate package for BLE newtmgr transport
- Adding BLE_HOST feature
- Moving logs constants from source file to header file; Were causing
issues while testing
- Increasing imgmgr max msg size to 400; Can be increased further when
we support higher MTUs with BLE
- Increasing stack size and number of mbufs for bleprph
- Creating a separate library for newtmgr over BLE
|
|
socket callback arguments.
|
|
|
|
configurable serial number via config interface.
|
|
Added argument which tells whether module should export variables
it wants to persist, or variables it wants to display.
|
|
|
|
|
|
|
|
at the moment.
|
|
user saves "" instead of NULL.
|
|
|
|
|
|
reboot log: Address review cmnts and cleanup
- Removing console_init and imgmgr_module_init as these should not be
happen in a diffrent module other than the app
- Logging to console
- Adding null ptr for log_rtr_erase() for cbmem and console
- Fixing last_n_offset()
- Adding fcb_clear() and calling that from log_fcb_flush() so that
fcb_clear() can be used by other functions as well.
|
|
- Reboot log won't log and count reboots if flash map is not specified
|
|
- Add MAX_MTU support to logs
- Fix issues with log_fcb and newtmgr handler for logs
- reboot_log config: cleanup and remove error handling for config
variables as NFFS currently doesn't support compression for config
variables and can fill up the config directory with reboot_cnt
- log_walk now breaks and returns the error code that it sees
- log_read returns length of the read data which is used later for
encoding and should not be returned like an error code.
|
|
- Cleaning up last_n_offset function
- initializing new log before it gets written to
- Storing number of entries and fcb to temp and retreiving them after
moving to the scratch
|
|
- Fix reboot count
- Cleanup
|
|
- Adding log erase restore entries handler
- Adding function to fcb n-th entry offset
- Making fcb_log as argument to log handler instead of fcb
|
|
|
|
- Making changes as per review
- Change the location of the definition of the flash map from reboot package
to the os_bsp flash map
- Removing cbmem backend for the reboot log
|
|
- Adding reboot log using the existing mechanism
- Adding reboot_cnt as a config variable (Currently writable for
debugging purposes - would make it read only later)
Stored using fcb - future work would be to make this optional to be
stored using fcb or NFFS
- Adding reasons for reboot - HARD reboot and SOFT reboot. There is an
unknown reason as well if the chip decides to give us reasons for a
reboot
- Since a hard reboot is detected before the OS starts the timestamp for
it is going to be 0
- I can clean it up as required
Example of reboot log entries:
0 usecs, 2 > REBOOT: CRITICAL: rsn:HARD, cnt:13, img:255.255.65535.4294967295
12441000 usecs, 2 > REBOOT: CRITICAL: rsn:SOFT, cnt:14, img:255.255.65535.4294967295
|
|
|
|
Add var to temporarily prevent coredump from taking place.
|
|
This define got removed as part of a larger feature. Some apps rely on
this constant being defined. I am re-adding this define until the
larger feature is complete.
|
|
Merge branch 'mynewt-add' of https://github.com/vrahane/incubator-mynewt-core into develop
|
|
If memory region is > 64k, split it into multiple areas.
|
|
|
|
|
|
|
|
|
|
- Making indices secondary keys for log entries
- Resetting indices every millisecond since the last entry
|
|
|
|
- Adding Stats List command and LED toggle stats
- Making Stats package use stat names
- Addinf stats to slinky
|
|
|
|
|
|
|
|
- Changing atoi to strtoull and strtoll as atoi return only 32 bit
values. strtoll and strtoull return 64bit values which we encode our
inetegers as.
- Changing a few other places where json encoding should use 64 bit
values instead of 32 bit.
|
|
|
|
Changing json_attr to handle uint64/int64 while decoding
Changing imgmgr and imgmgr_fs to have uint64/int64 attributes
Adding commands for module_list, level_list and conditional show
logs(log_name, timestamp and index)
Changing levels to be absolute as opposed to bits(Not a mask anymore)
|
|
|
|
|
|
|
|
|
|
|