Skip to content
Snippets Groups Projects
  1. Aug 17, 2021
    • Adrian Schmutzler's avatar
      ramips: mt7628: move mtd-eeprom out of root DTSI · ad6b0770
      Adrian Schmutzler authored
      
      The mt76x8 subtarget is the only one in ramips that stores the
      mediatek,mtd-eeprom property directly in the "root" mt7628an.dtsi.
      
      This is not optimal for a few different reasons:
      
       * If you don't really know it or are used to other (sub)targets,
         the property will be set somewhat magically.
       * The property is set based on &factory partition before (if at all)
         this partition is defined.
       * There are several devices that have different offset or even
         different partitions to read from, which will then be overwritten
         in the DTS files. Thus, definitions are scattered between root
         DTSI and individual files.
      
      Based on these circumstances, the "root" definition is removed and
      the property is added to the device-based DTS(I) files where needed
      and applicable. This should be easier to grasp for unexperienced
      developers and will move the property closer to the partition
      definitions.
      
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      ad6b0770
  2. Aug 16, 2021
    • Rui Salvaterra's avatar
      kernel: bump 5.10 to 5.10.59 · 9704d25d
      Rui Salvaterra authored
      
      No deleted or manually refreshed patches.
      
      Signed-off-by: default avatarRui Salvaterra <rsalvaterra@gmail.com>
      9704d25d
    • Daniel Golle's avatar
      base-files: rename 'sdcard' to 'legacy-sdcard' · 98bccdaf
      Daniel Golle authored
      
      While an image layout based on MBR and 'bootfs' partition may be easy
      to understand for users who are very used to the IBM PC and always have
      the option to access the SD card outside of the device (and hence don't
      really depend on other recovery methods or dual-boot), in my opinion
      it's a dead end for many desirable features on embedded systems,
      especially when managed remotely (and hence without an easy option to
      access the SD card using another device in case things go wrong, for
      example).
      
      Let me explain:
      
      * using a MSDOS/VFAT filesystem to store kernel(s) is problematic, as a
        single corruption of the bootfs can render the system into a state
        that it no longer boots at all. This makes dual-boot useless, or at
        least very tedious to setup with then 2 independent boot partitions
        to avoid the single point of failure on a "hot" block (the FAT index
        of the boot partition, written every time a file is changed in
        bootfs). And well: most targets even store the bootloader environment
        in a file in that very same FAT filesystem, hence it cannot be used
        to script a reliable dual-boot method (as loading the environment
        itself will already fail if the filesystem is corrupted).
      
      * loading the kernel uImage from bootfs and using rootfs inside an
        additional partition means the bootloader can only validate the
        kernel -- if rootfs is broken or corrupted, this can lead to a reboot
        loop, which is often a quite costly thing to happen in terms of
        hardware lifetime.
      
      * imitating MBR-boot behavior with a FAT-formatted bootfs partition
        (like IBM PC in the 80s and 90s) is just one of many choices on
        embedded targets. There are much better options with modern U-Boot
        (which is what we use and build from source for all targets booting
        off SD cards), see examples in mediatek/mt7622 and mediatek/mt7623.
      
      Hence rename the 'sdcard' feature to 'legacy-sdcard', and prefix
      functions with 'legacy_sdcard_' instead of 'sdcard_'.
      
      Tested-by: default avatarStijn Tintel <stijn@linux-ipv6.be>
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      Unverified
      98bccdaf
  3. Aug 14, 2021
  4. Aug 12, 2021
  5. Aug 11, 2021
  6. Aug 10, 2021
  7. Aug 08, 2021
  8. Aug 06, 2021
  9. Aug 05, 2021
Loading