1. 04 Feb, 2016 4 commits
  2. 03 Feb, 2016 2 commits
  3. 02 Feb, 2016 9 commits
  4. 01 Feb, 2016 3 commits
  5. 30 Jan, 2016 5 commits
  6. 28 Jan, 2016 13 commits
    • Milton D. Miller II's avatar
      Add u-boot fw-utils to the image · 3e287b38
      Milton D. Miller II authored
      
      This adds the u-boot-fw-utils package to the obmc phosphor bsp
      include file to include the fw_setenv and fw_printenv utilities
      in the image.
      
      This will allow us to read and update the u-boot boot environment
      including setting the mac address of the ethernet.
      Signed-off-by: default avatarMilton Miller <miltonm@us.ibm.com>
      3e287b38
    • Milton D. Miller II's avatar
      Hack to make fw_setenv work · 8084d744
      Milton D. Miller II authored
      
      The fw_setenv is not working with the kernel mtd driver.  It works
      on a plain flat file, and flashcp which is used in /update works.
      
      Find the u-boot-env mtd, link it in run and copy the contents to a
      plain file in /run during init.  In shutdown, check for the link,
      the file having data, no current image update for the u-boot-env,
      and that the content differs from the mtd via the link.  If all
      are true create a symlink to the file and trigger the update.
      
      Along wtih changing the fw_env.config this causes the fw_setenv
      and fw_printenv utilities to set and update this cached file which
      will be synced during a normal bmc reboot.  This will allow us to
      set the ethaddr variable which already requires a reboot to activate.
      
      Note: the links are directly in /run because the fw_{set,print}env
      utilities limit the env file name to 16 characters.
      Signed-off-by: default avatarMilton Miller <miltonmm@us.ibm.com>
      8084d744
    • Milton D. Miller II's avatar
      create u-boot-fw-utils for our u-boot version · 69640816
      Milton D. Miller II authored
      
      This commit creates a class and recipie based on the upstream 2015
      branch of u-boot and patches it with our fw_env.config.
      
      Having these tools for the initfs will allow us to modify the u-boot
      enviornment to do things like boot from network for update and set the
      bmc mac addresses in the environment for u-boot and use by the kernel.
      
      This commit is based on the upstream fw-utils commit.  However, the
      initial commit was not creating target binaries.  After commenting
      out the cross class support for creating host binaries to prepare
      an environment, a study of the u-boot Makefile showed that HOSTCC
      etc needed to be set.  It is anticipated something to the commented
      lines will be necessary for merging upstream but this addresses our
      immediate use case.
      Signed-off-by: default avatarMilton Miller <miltonm@us.ibm.com>
      69640816
    • Milton D. Miller II's avatar
      u-boot : add fw_env.config · f1d00122
      Milton D. Miller II authored
      
      Add the fw_env.config file to SRC_URI to include it in the build
      tree, and update it to point to /dev/mtd2 as 128k, which the
      current flash layout.
      Signed-off-by: default avatarMilton Miller <miltonm@us.ibm.com>
      f1d00122
    • Milton D. Miller II's avatar
      Create image class image-overlay and move phosphor to use it · ee7c1206
      Milton D. Miller II authored
      
      This commit creates a new class image-overlay based on how the
      image-live class is structured.  It takes parameters for the base
      and overlayed file system types but the initfs only support ext4
      over squashfs presently.
      
      It then moves invoking the generation of the flash image from a
      post image creation command to a separate task invoked from the
      overlay image so that building the initramfs image by itself does
      not try to create a flash image.
      Signed-off-by: default avatarMilton Miller <miltonm@us.ibm.com>
      ee7c1206
    • Milton D. Miller II's avatar
      phosphor: modify minimal-initramfs image to use obmc-phosphor-initfs · 804897b4
      Milton D. Miller II authored
      
      This bbappend changes core-image-minimal-initramfs to use the
      obmc-phosphor-initfs scripts instead of the x86 syslinux centric
      live scripts.
      
      Perhaps they and this could be a virtural/initscript provider
      or similar?
      
      A shorter name would also be welcome.  The current name
      core-image-minimal-initramfs is well beyond the length of the
      name field in the u-boot image header.
      Signed-off-by: default avatarMilton Miller <miltonm@us.ibm.com>
      804897b4
    • Milton D. Miller II's avatar
      Create obmc-phosphor-initfs startup and shutdown scripts · 0e775146
      Milton D. Miller II authored
      
      This recipe holds the key scripts for an initramfs image.
      Written in sh to run with busybox, these three scripts handle
      mounting, unmounting, and updating a set of mtd partitions to
      form a read-write overlay on a read-only compressed base.
      
      The init script will mount the base sysfs, proc, and devtmpfs as
      well as run.  It copies the filesystem to run/initramfs to create
      the shutdown and update environment.  It then mounts a base
      read-only and read-write file system and then an overlay of them
      combined, then continues with chroot into the overlay and execute
      the normal /sbin/init.
      
      The shutdown script will unmount the remaining nodev and root
      filesystems from oldroot where systemd-shutdown pivots the old
      file system, then looks for image- files. If any are found it
      invokes update otherwise it performs the final reboot, powerdown,
      or kexec, or halt.
      
      The update script will attempt to mount the read/write overlay
      and preserve selected files and directories based on a whitelist.
      It then unmounts that fs and writes all image files to their
      named mtd partition using flashcp, mounts and restores the saved
      files, and finally unmounts the fs and performs the final reboot,
      shutdown, kexec, or halt.
      Signed-off-by: default avatarMilton Miller <miltonm@us.ibm.com>
      0e775146
    • Milton D. Miller II's avatar
      update kernel defconfig · 1af7dcca
      Milton D. Miller II authored
      
      Turn on the new spi-nor and occ drivers.  Also add file system
      support for the initial filesystem layout.
      Signed-off-by: default avatarMilton Miller <miltonm@us.ibm.com>
      1af7dcca
    • nkskjames's avatar
      Merge pull request #146 from amboar/wily-dbus-fix · 12aaa754
      nkskjames authored
      qemu-native: fix build on Ubuntu 15.10
      12aaa754
    • nkskjames's avatar
      Merge pull request #145 from causten/relocation · 1f0e673e
      nkskjames authored
      Resolve relocation warnings with build
      1f0e673e
    • nkskjames's avatar
      Merge pull request #131 from causten/dropbear · c7cc243e
      nkskjames authored
      Upgrade to Dropbear 71
      c7cc243e
    • nkskjames's avatar
      Merge pull request #148 from shenki/kernel-20160127-1 · a4ed63fb
      nkskjames authored
      Update kernel to openbmc-20160127-1
      a4ed63fb
    • nkskjames's avatar
      Merge pull request #123 from antonym/master · 78f8852b
      nkskjames authored
      Adding Fedora 23 requirements to README
      78f8852b
  7. 27 Jan, 2016 2 commits
    • Joel Stanley's avatar
      Update kernel to openbmc-20160127-1 · 5823d4b1
      Joel Stanley authored
      
      This includes a prototype of the mtd and occ hwmon drivers. They are not
      ready for upstream, but are able to be tested.
      Signed-off-by: default avatarJoel Stanley <joel@jms.id.au>
      5823d4b1
    • Ed Bartosh's avatar
      qemu-native: fix build on Ubuntu 15.10 · ca7c3f6a
      Ed Bartosh authored
      
      Build of qemu-native on Ubuntu 15.10 fails on configure step.
      The reason for this is that system dbus version is higher than
      oe dbus version and system pulseaudio libraries require newer dbus.
      
      It causes configure to break with a lot of errors similar to this:
        libpulsecommon-6.0.so: undefined reference to dbus_watch_get_enabled@LIBDBUS_1_3
      
      Fixed by building qemu-native with the system dbus on Ubuntu 15.10
      
      Note: This is a workaround. It must be removed when oe dbus is upgraded
      to the version >= system dbus version (1.10.0 at the moment).
      
      [YOCTO #8553]
      Signed-off-by: Andrew Jeffery's avatarAndrew Jeffery <andrew@aj.id.au>
      Signed-off-by: default avatarEd Bartosh <ed.bartosh@linux.intel.com>
      ca7c3f6a
  8. 24 Jan, 2016 1 commit
  9. 23 Jan, 2016 1 commit