Skip to content
Snippets Groups Projects
  1. Aug 16, 2013
  2. Aug 13, 2013
  3. Aug 12, 2013
  4. Aug 06, 2013
  5. Jul 29, 2013
  6. Jul 26, 2013
  7. Jul 25, 2013
  8. Jul 24, 2013
  9. Jul 23, 2013
  10. Jul 17, 2013
    • Simon Glass's avatar
      bootm: Move fixup_silent_linux() earlier in the bootm stages · 576aacdb
      Simon Glass authored
      
      Before the bootm refactor, fixup_silent_linux() was done only in the
      monolithic bootm case, not in the subcommand case. With the refactor, it
      is done always, which is good. Unfortunately it is done too late, since it
      is the PREP or CMDLINE stages that set up the command line for Linux.
      
      Move fixup_silent_linux() into the LOADOS stage, which is where we find
      out the OS being used, and can thus decide whether to perform this step.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      576aacdb
  11. Jul 16, 2013
  12. Jul 15, 2013
    • Frederic Leroy's avatar
      Fix ext2/ext4 filesystem accesses beyond 2TiB · 04735e9c
      Frederic Leroy authored
      
      With CONFIG_SYS_64BIT_LBA, lbaint_t gets defined as a 64-bit type,
      which is required to represent block numbers for storage devices that
      exceed 2TiB (the block size usually is 512B), e.g. recent hard drives
      
      We now use lbaint_t for partition offset to reflect the lbaint_t change,
      and access partitions beyond or crossing the 2.1TiB limit.
      This required changes to signature of ext4fs_devread(), and type of all
      variables relatives to block sector.
      
      ext2/ext4 fs uses logical block represented by a 32 bit value. Logical
      block is a multiple of device block sector. To avoid overflow problem
      when calling ext4fs_devread(), we need to cast the sector parameter.
      
      Signed-off-by: default avatarFrédéric Leroy <fredo@starox.org>
      04735e9c
    • Lan Yixun (dlan)'s avatar
      common: remove unaligned access error in bootmenu_getoption() · 0eb33ad2
      Lan Yixun (dlan) authored
      
      Some ARM compilers may emit code that makes unaligned accesses when
      faced with constructs such as:
      
          char name[12] = "bootmenu_";
      
      same fix as commit: 064d55f8
      
      =========================================================
      data abort
      
          MAYBE you should read doc/README.arm-unaligned-accesses
      
      pc : [<3ff4b60c>]          lr : [<3ff4b7b0>]
      sp : 3f346a58  ip : 3ff9c8e6     fp : 02000060
      r10: 00000000  r9 : 3df47fc0     r8 : 3f347f40
      r7 : 00000000  r6 : 00000000     r5 : 00000003  r4 : 3f759140
      r3 : 000003f0  r2 : 00000000     r1 : 000003f1  r0 : 00000000
      Flags: nzCv  IRQs on  FIQs off  Mode SVC_32
      Resetting CPU ...
      ======================================================
      
      Signed-off-by: default avatarLan Yixun (dlan) <dennis.yxun@gmail.com>
      0eb33ad2
    • Simon Glass's avatar
      scsi: Correct types of scsi_read/write() · 4f6aa346
      Simon Glass authored
      
      The block device expects to see lbaint_t for the blknr parameter. Change
      the SCSI read/write functions to suit.
      
      This fixes the following build warnings for coreboot:
      
      cmd_scsi.c: In function ‘scsi_scan’:
      cmd_scsi.c:119:30: error: assignment from incompatible pointer type [-Werror]
      cmd_scsi.c:120:32: error: assignment from incompatible pointer type [-Werror]
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      4f6aa346
  13. Jul 12, 2013
  14. Jul 10, 2013
  15. Jul 08, 2013
  16. Jul 04, 2013
Loading