Skip to content
Snippets Groups Projects
  1. May 23, 2015
  2. May 22, 2015
  3. May 21, 2015
  4. May 20, 2015
  5. May 19, 2015
  6. May 17, 2015
  7. May 16, 2015
  8. May 13, 2015
  9. May 12, 2015
  10. May 11, 2015
  11. May 10, 2015
    • nbd's avatar
      mtd: remove the warning about read-only caused by size vs. block boundary mismatch · f089c82b
      nbd authored
      Since the kernel/rootfs split handling was modified 2 years ago by r37283 (
      https://dev.openwrt.org/changeset/37283
      
       ) and by the subsequent checkins,
      users have seen rather scary mtd errors in the log at every boot. The message
      ends "-- forcing read-only", which looks a bit error-like. That error has
      been mentioned in some forum threads, when users have noticed this message
      instead of some actual error.
      
      [    2.940000] 0x000000070000-0x000000ff0000 : "firmware"
      [    2.970000] 2 netgear-fw partitions found on MTD device firmware
      [    2.970000] 0x000000070000-0x000000188440 : "kernel"
      [    2.980000] mtd: partition "kernel" must either start or end on erase
      block boundary or be smaller than an erase block -- forcing read-only
      [    2.990000] 0x000000188440-0x000000ff0000 : "rootfs"
      
      The patch removes the rather useless warning message.
      
      signed-off-by: default avatarHannu Nyman <hannu.nyman@iki.fi>
      
      git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45669 3c298f89-4303-0410-b956-a3cf2f4a3e73
      f089c82b
Loading