1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-14 03:13:54 +02:00
Commit Graph

2 Commits

Author SHA1 Message Date
Hauke Mehrtens
90df0f3e24 io: Open /dev/mem with O_SYNC for uncached access
Only when /dev/mem is opened with O_SYNC the write and *read* is done
uncached. We saw wrong values read out from the hardware without setting
O_SYNC, the busybox devmem tool showed different values, when O_SYNC is
also set for the io tool, it reads out the same values as devmem.
When looking at the drivers/char/mem.c file in the kernel it is behaving
differently based on the O_DSYNC flag.

Signed-off-by: Hauke Mehrtens <hauke.mehrtens@intel.com>
2019-07-24 13:57:09 +02:00
Hauke Mehrtens
5f54e6c61e io: add io-tool
This add the io tool from the old package feed.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2016-12-17 15:20:05 +01:00