1. 03 12月, 2019 13 次提交
  2. 13 11月, 2019 1 次提交
  3. 08 11月, 2019 3 次提交
    • A
      cmd: move down CONFIG_CMD_BOOTEFI after CONFIG_BOOTM_VXWORKS · fefff636
      AKASHI Takahiro 提交于
      Due to the commit 4b0bcfa7 ("Kconfig: Migrate CONFIG_BOOTM_* options")
      BOOTEFI and BOOTEFI_HELLO_COMPILE (and other BOOTEFI configs) are
      displayed in a long distance. This will make it difficult for us to
      understand that those configurations are closely related.
      Signed-off-by: NAKASHI Takahiro <takahiro.akashi@linaro.org>
      Reviewed-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      fefff636
    • A
      cmd: mtdparts: Fix build with option ..._SHOW_NET_SIZES · 672c5705
      Alexander Dahl 提交于
      That option is currently not used by any defconfig and could not be set
      anymore since it became mandatory to used Kconfig when introducing new
      options with U-Boot v2016.11 or commit eed921d9 ("Kconfig: Add a
      whitelist of ad-hoc CONFIG options") and commit 371244cb ("Makefile:
      Give a build error if ad-hoc CONFIG options are added").
      
      It was also not considered when fixing build warnings in
      commit 39ac3447 ("cmd_mtdparts: use 64 bits for flash size,
      partition size & offset") and could probably not be compiled anyway
      after commit dfe64e2c ("mtd: resync with Linux-3.7.1"), which
      renamed some members of struct mtd_info … so it was probably broken
      since then, which was U-Boot v2013.07-rc1.
      
      However it still seems to work, see example output below:
      
      U-Boot 2019.10-00035-g06a9b259ca-dirty (Oct 30 2019 - 14:03:44 +0100)
      
      CPU: SAMA5D27 1G bits DDR2 SDRAM
      Crystal frequency:       24 MHz
      CPU clock        :      492 MHz
      Master clock     :      164 MHz
      Model: ***
      DRAM:  128 MiB
      NAND:  256 MiB
      Loading Environment from NAND... OK
      In:    serial@f8020000
      Out:   serial@f8020000
      Err:   serial@f8020000
      Net:   eth0: ethernet@f8008000
      Hit keys 'tt' to stop autoboot (3 seconds).
      U-Boot> mtdparts
      
      device nand0 <atmel_nand>, # parts = 8
       #: name                size            net size        offset          mask_flags
       0: bootstrap           0x00040000      0x00040000      0x00000000      1
       1: uboot               0x000c0000      0x000c0000      0x00040000      1
       2: env1                0x00040000      0x00040000      0x00100000      0
       3: env2                0x00040000      0x00040000      0x00140000      0
       4: fpga_led            0x00040000      0x00040000      0x00180000      1
       5: reserved            0x00040000      0x00040000      0x001c0000      1
       6: rootfs_rec          0x03200000      0x03200000      0x00200000      1
       7: filesystem          0x0cc00000      0x0cb80000 (!)  0x03400000      0
      
      active partition: nand0,0 - (bootstrap) 0x00040000 @ 0x00000000
      
      defaults:
      mtdids  : nand0=atmel_nand
      mtdparts: mtdparts=atmel_nand:256k(bootstrap)ro,768k(uboot)ro,256k(env1),256k(env2),256k(fpga_led)ro,256k(reserved)ro,50M(rootfs_rec)ro,-(filesystem)
      Signed-off-by: NAlexander Dahl <ada@thorsis.com>
      672c5705
    • A
      cmd: nand: Remove not used declaration · 20841c52
      Alexander Dahl 提交于
      This declaration is not used anywhere in the whole tree. There is a
      function 'mtd_id_parse()' which was renamed from 'id_parse()' in
      commit 68d7d651 ("Separate mtdparts command from jffs2"), but that
      function is not used (anymore?) in cmd nand and build is fine without
      that declaration, so it's probably just safe to remove.
      Signed-off-by: NAlexander Dahl <ada@thorsis.com>
      20841c52
  4. 31 10月, 2019 6 次提交
  5. 26 10月, 2019 1 次提交
  6. 25 10月, 2019 1 次提交
  7. 24 10月, 2019 1 次提交
  8. 16 10月, 2019 2 次提交
    • S
      ubi: Add "skipcheck" command to set/clear this bit in the UBI volume hdr · e6661cf7
      Stefan Roese 提交于
      U-Boot now supports the "skip_check" flag to optionally skip the CRC
      check at open time. Currently its only possible to set this bit upon
      UBI volume creation. But it might be very useful to also set this bit
      on already installed systems (e.g. field upgrade) to make also use of
      the boot-time decrease on those systems.
      
      This patch now adds a new "ubi" command "ubi skipcheck" to set or clear
      this bit in the UBI volume header:
      
      => ubi skipcheck rootfs0 on
      Setting skip_check on volume rootfs0
      
      BTW: This saves approx. 10 seconds Linux bootup time on a MT7688 based
      target with 128MiB of SPI NAND.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Reviewed-by: NHeiko Schocher <hs@denx.de>
      Cc: Quentin Schulz <quentin.schulz@bootlin.com>
      Cc: Boris Brezillon <boris.brezillon@collabora.com>
      Cc: Heiko Schocher <hs@denx.de>
      Cc: Andreas Dannenberg <dannenberg@ti.com>
      e6661cf7
    • Q
      ubi: provide a way to skip CRC checks · 386f20ca
      Quentin Schulz 提交于
      Some users of static UBI volumes implement their own integrity check,
      thus making the volume CRC check done at open time useless. For
      instance, this is the case when one use the ubiblock + dm-verity +
      squashfs combination, where dm-verity already checks integrity of the
      block device but this time at the block granularity instead of verifying
      the whole volume.
      
      Skipping this test drastically improves the boot-time.
      
      Adapted to U-Boot by Stefan Roese.
      Signed-off-by: NQuentin Schulz <quentin.schulz@bootlin.com>
      Signed-off-by: NStefan Roese <sr@denx.de>
      Reviewed-by: NHeiko Schocher <hs@denx.de>
      Cc: Quentin Schulz <quentin.schulz@bootlin.com>
      Cc: Boris Brezillon <boris.brezillon@bootlin.com>
      386f20ca
  9. 15 10月, 2019 1 次提交
  10. 12 10月, 2019 4 次提交
  11. 08 10月, 2019 5 次提交
  12. 07 10月, 2019 1 次提交
  13. 06 10月, 2019 1 次提交