Skip to content
Snippets Groups Projects
  1. Jun 13, 2018
    • Shyam Saini's avatar
      u-boot: Fix several typos · 919d25c9
      Shyam Saini authored
      
      's/environemnt/environment/' and
      	's/Environemnt/Environment/'
      
      Signed-off-by: default avatarShyam Saini <shyam@amarulasolutions.com>
      919d25c9
    • Alex Kiernan's avatar
      tools: env: Use getline rather than fgets when reading config/script · 94b233f4
      Alex Kiernan authored
      
      When reading the config file, or a script file, use getline rather than
      fgets so line lengths aren't limited by the size of a compiled in buffer
      (128 characters for config, 1024 for scripts).
      
      Rename 'dump' to 'line' so it's clear we're working with a line of text.
      
      Signed-off-by: default avatarAlex Kiernan <alex.kiernan@gmail.com>
      94b233f4
    • Adam Ford's avatar
      AM3517_EVM: Fix Environmental location · 2aa68677
      Adam Ford authored
      
      The am3517-evm boards stores the environment in NAND, but after merging
      various configs, the board was trying to load environment variables from
      FAT which would ultimately fail and cause some chatter.
      
      This patch removes the ENV_IS_IN_FAT flag to eliminate the noise.
      
      Signed-off-by: default avatarAdam Ford <aford173@gmail.com>
      2aa68677
    • Alexey Brodkin's avatar
      lib: Add hexdump · f8c987f8
      Alexey Brodkin authored
      
      Often during debugging session it's very interesting to see
      what data we were dealing with. For example what we write or read
      to/from memory or peripherals.
      
      This change introduces functions that allow to dump binary
      data with one simple function invocation like:
      ------------------->8----------------
      print_hex_dump_bytes("", DUMP_PREFIX_OFFSET, buf, len);
      ------------------->8----------------
      
      which gives us the following:
      ------------------->8----------------
      00000000: f2 b7 c9 88 62 61 75 64 72 61 74 65 3d 31 31 35  ....baudrate=115
      00000010: 32 30 30 00 62 6f 6f 74 61 72 67 73 3d 63 6f 6e  200.bootargs=con
      00000020: 73 6f 6c 65 3d 74 74 79 53 33 2c 31 31 35 32 30  sole=ttyS3,11520
      00000030: 30 6e 38 00 62 6f 6f 74 64 65 6c 61 79 3d 33 00  0n8.bootdelay=3.
      00000040: 62 6f 6f 74 66 69 6c 65 3d 75 49 6d 61 67 65 00  bootfile=uImage.
      00000050: 66 64 74 63 6f 6e 74 72 6f 6c 61 64 64 72 3d 39  fdtcontroladdr=9
      00000060: 66 66 62 31 62 61 30 00 6c 6f 61 64 61 64 64 72  ffb1ba0.loadaddr
      00000070: 3d 30 78 38 32 30 30 30 30 30 30 00 73 74 64 65  =0x82000000.stde
      00000080: 72 72 3d 73 65 72 69 61 6c 30 40 65 30 30 32 32  rr=serial0@e0022
      00000090: 30 30 30 00 73 74 64 69 6e 3d 73 65 72 69 61 6c  000.stdin=serial
      000000a0: 30 40 65 30 30 32 32 30 30 30 00 73 74 64 6f 75  0@e0022000.stdou
      000000b0: 74 3d 73 65 72 69 61 6c 30 40 65 30 30 32 32 30  t=serial0@e00220
      000000c0: 30 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00  00..............
      ...
      ------------------->8----------------
      
      Source of hexdump.c was copied from Linux kernel v4.7-rc2.
      
      Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
      Cc: Anatolij Gustschin <agust@denx.de>
      Cc: Mario Six <mario.six@gdsys.cc>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Tom Rini <trini@konsulko.com>
      Cc: Stefan Roese <sr@denx.de>
      f8c987f8
    • Yevgeny Popovych's avatar
      fs: btrfs: Fix not all CHUNK_ITEMs being read from CHUNK_TREE · f5591801
      Yevgeny Popovych authored
      
      This causes errors when translating logical addresses to physical:
        btrfs_map_logical_to_physical: Cannot map logical address <addr> to physical
        btrfs_file_read: Error reading extent
      
      The behavior of btrfs_map_logical_to_physical() is to stop traversing
      CHUNK_TREE when it encounters first non-CHUNK_ITEM, which makes
      only some portion of CHUNK_ITEMs being read.
      Change it to skip over non-chunk items.
      
      Signed-off-by: default avatarYevgeny Popovych <yevgenyp@pointgrab.com>
      Cc: Marek Behun <marek.behun@nic.cz>
      Cc: Sergey Struzh <sergeys@pointgrab.com>
      Reviewed-by: default avatarMarek Behun <marek.behun@nic.cz>
      f5591801
    • Neil Armstrong's avatar
      ARM64: meson: Sync DT with Linux 4.17 · 5b3da7fa
      Neil Armstrong authored
      
      Synchronize the Linux Device Tree for Amlogic Meson GX boards from Linux 4.17.0
      
      This will enable USB on Amlogic Meson GXL Boards like Khadas VIM, P212 or
      LibreTech-CC.
      
      Signed-off-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
      5b3da7fa
    • Seung-Woo Kim's avatar
      fs: fat: fix wrong casting to unsigned value of sect_to_cluster() · 6e2151c7
      Seung-Woo Kim authored
      
      After the commit 265edc03 ("fs/fat: Clean up open-coded sector
      <-> cluster conversions"), it is hung up writing new file to FAT16
      disk with more than 19 files in armv7. It is because result value
      of sect_to_cluster() is not proper by casting from signed value to
      unsigned value. Fix the wrong casting of sect_to_cluster().
      
      Reported-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
      Signed-off-by: default avatarSeung-Woo Kim <sw0312.kim@samsung.com>
      Reviewed-by: default avatarLukasz Majewski <lukma@denx.de>
      6e2151c7
  2. Jun 12, 2018
  3. Jun 11, 2018
  4. Jun 08, 2018
  5. Jun 07, 2018
Loading