summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Enable DHCPAdriana Kobylak2016-02-012-1/+10
| | | | Enable DHCP as default in the image.
* Merge pull request #157 from shenki/openbmc-20160202-1nkskjames2016-02-011-1/+1
|\ | | | | meta-phosphor: Update kernel version
| * meta-phosphor: Update kernel versionJoel Stanley2016-02-021-1/+1
| | | | | | | | | | | | | | Move to openbmc-20160202-2. This brings two fixes for i2c and ncsi found using lockdep. Signed-off-by: Joel Stanley <joel@jms.id.au>
| * meta-phosphor: Update kernel versionJoel Stanley2016-02-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | Move to openbmc-20160202-1. This brings in the following: - Stable release 4.3.5 - Only impact for us are some fixes for the core networking layer - First pass of VUART patches from Jeremy - Build fix for the OCC hwmon driver Signed-off-by: Joel Stanley <joel@jms.id.au>
* | Merge pull request #155 from anoo1/networkdnkskjames2016-02-013-0/+32
|\ \ | |/ |/| Add network dbus object to openbmc image
| * Add network dbus object to openbmc imageAdriana Kobylak2016-02-013-0/+32
|/ | | | | | | Create networkd recipe and service files Add dependency to networkd to the ipmid recipe since the upcoming ipmi set/get lan ipmi cmds will make use of the network dbus object
* Merge pull request #154 from nkskjames/create_tarnkskjames2016-02-011-0/+9
|\ | | | | Create tarball of update files with correct names
| * Create tarball of update files with correct namesNorman James2016-01-311-0/+9
|/ | | | Signed-off-by: Norman James <nkskjames@gmail.com>
* Merge pull request #150 from mdmillerii/persistent-2nkskjames2016-01-3016-20/+433
|\ | | | | Persistent 2
| * Add u-boot fw-utils to the imageMilton D. Miller II2016-01-281-2/+9
| | | | | | | | | | | | | | | | | | | | | | 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: Milton Miller <miltonm@us.ibm.com>
| * Hack to make fw_setenv workMilton D. Miller II2016-01-283-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Milton Miller <miltonmm@us.ibm.com>
| * create u-boot-fw-utils for our u-boot versionMilton D. Miller II2016-01-282-0/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Milton Miller <miltonm@us.ibm.com>
| * u-boot : add fw_env.configMilton D. Miller II2016-01-282-1/+3
| | | | | | | | | | | | | | | | 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: Milton Miller <miltonm@us.ibm.com>
| * Create image class image-overlay and move phosphor to use itMilton D. Miller II2016-01-283-17/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Milton Miller <miltonm@us.ibm.com>
| * phosphor: modify minimal-initramfs image to use obmc-phosphor-initfsMilton D. Miller II2016-01-281-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Milton Miller <miltonm@us.ibm.com>
| * Create obmc-phosphor-initfs startup and shutdown scriptsMilton D. Miller II2016-01-286-0/+274
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Milton Miller <miltonm@us.ibm.com>
| * update kernel defconfigMilton D. Miller II2016-01-281-0/+6
| | | | | | | | | | | | | | Turn on the new spi-nor and occ drivers. Also add file system support for the initial filesystem layout. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
* | Merge pull request #153 from anoo1/hwdbnkskjames2016-01-301-0/+4
|\ \ | | | | | | Add workaround to avoid disabling serial console
| * | Add workaround to avoid disabling serial consoleAdriana Kobylak2016-01-301-0/+4
| |/ | | | | | | | | | | This is a workaround for issue: https://github.com/openbmc/openbmc/issues/152 Once the issue is resolved, this workaround can be removed.
* | Merge pull request #151 from anoo1/settings2nkskjames2016-01-303-2/+33
|\ \ | |/ |/| Add settings dbus object to openbmc image
| * Add settings dbus object to openbmc imageAdriana Kobylak2016-01-303-2/+33
|/ | | | | | | Create settings recipe and service files Add dependency to settings to the ipmid recipe since the upcoming ipmi boot flags use this settings dbus object
* Merge pull request #146 from amboar/wily-dbus-fixnkskjames2016-01-281-0/+6
|\ | | | | qemu-native: fix build on Ubuntu 15.10
| * qemu-native: fix build on Ubuntu 15.10Ed Bartosh2016-01-271-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <andrew@aj.id.au> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
* | Merge pull request #145 from causten/relocationnkskjames2016-01-283-1/+5
|\ \ | | | | | | Resolve relocation warnings with build
| * | Resolve relocation warnings with buildChris Austen2016-01-233-1/+5
| |/ | | | | | | | | | | Yocto's QA service identified issues with the build The -fpic option was not included in .so files. Resovles issue https://github.com/openbmc/openbmc/issues/105
* | Merge pull request #131 from causten/dropbearnkskjames2016-01-284-33/+4
|\ \ | | | | | | Upgrade to Dropbear 71
| * | Upgrade to Dropbear 71Chris Austen2016-01-124-33/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The issue I asked to be fixed is in the new version of dropbear. The problem was causing robot test code from running remote commands like ipmitool. I had to work around the issue building my own private 'requests' robot code. Now that it is fixed you do not need any special code for Robot test automation Additional details can be found here... https://github.com/robotframework/SSHLibrary/issues/128
* | | Merge pull request #148 from shenki/kernel-20160127-1nkskjames2016-01-285-1571/+1
|\ \ \ | | | | | | | | Update kernel to openbmc-20160127-1
| * | | Update kernel to openbmc-20160127-1Joel Stanley2016-01-275-1571/+1
| | |/ | |/| | | | | | | | | | | | | | | | 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: Joel Stanley <joel@jms.id.au>
* | | Merge pull request #123 from antonym/masternkskjames2016-01-281-6/+8
|\ \ \ | |/ / |/| | Adding Fedora 23 requirements to README
| * | Adding Fedora 23 requirements to READMEAntony Messerli2016-01-211-6/+8
| | |
* | | Merge pull request #138 from causten/ubootnkskjames2016-01-223-83/+4
|\ \ \ | | | | | | | | uboot tftp can not handle noise
| * | | uboot tftp can not handle noiseChris Austen2016-01-193-83/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pull in the fixes that allows netbooting to work well Without this change netbooting was impossible due to timeout problems downloading images for netbooting. Sometimes I would get timeouts right away, other times it would take longer but every time it fail to copy the file completely before timeouts would hit.
* | | | Merge pull request #144 from causten/ipmidnkskjames2016-01-221-1/+1
|\ \ \ \ | |_|/ / |/| | | Add fix for timeofday
| * | | Add fix for timeofdayChris Austen2016-01-211-1/+1
|/ / / | | | | | | | | | | | | Merge pull request #58 from nkskjames/set_time https://github.com/openbmc/phosphor-host-ipmid/commit/e90d8bf6a342649dba2fd1589a3cddb3cd051bb1
* | | Merge pull request #142 from causten/ref/heads/s4c4v0.3nkskjames2016-01-211-1/+1
|\ \ \ | | | | | | | | Moving up Linux
| * | | Moving up LinuxChris Austen2016-01-211-1/+1
| | | | | | | | | | | | | | | | | | | | Time for a move up. Feature list can be found... https://github.com/openbmc/linux/releases/tag/openbmc-20160120-1
* | | | Merge pull request #141 from causten/s4c4nkskjames2016-01-211-1/+1
|\ \ \ \ | |/ / / | | / / | |/ / |/| | pulled in bugs fixes for sprint 4
| * | pulled in bugs fixes for sprint 4Chris Austen2016-01-201-1/+1
|/ / | | | | | | | | noisy uboot hconsole crashing
* | Merge pull request #136 from cyrilbur-ibm/updatesnkskjames2016-01-151-1/+1
|\ \ | | | | | | btbridged: Update to include bt_q_drop() bugfix
| * | btbridged: Update to include bt_q_drop() bugfixCyril Bur2016-01-151-1/+1
|/ /
* | Merge pull request #133 from causten/skeletonnkskjames2016-01-134-5/+5
|\ \ | |/ |/| Pickup Sprint4 changes for skeleton
| * Sprint 4 candidateChris Austen2016-01-133-4/+4
| | | | | | | | updates include btbridge, ipmid and fru parser
| * Pickup Sprint4 changes for skeletonChris Austen2016-01-131-1/+1
|/ | | | | | c0448f0729f2eea6cf1160d3d6a723e2983a443e Reset the OS power state when the system 3939e2d5752030e383efd37aa70f28a005fae7a0 Support for W25Q256BV flash chip module 7b8811e8d2d638046a000770ab88d4dfe6dcaee9 Added BMC_THROTTLE gpio and hwmon thermal sensor
* Merge pull request #130 from causten/s4c1nkskjames2016-01-112-2/+2
|\ | | | | pflash and linux updates
| * pflash and linux updatesChris Austen2016-01-112-2/+2
|/
* Merge pull request #121 from KennethWilke/masterPatrick Williams2016-01-081-1/+7
|\ | | | | Added ubuntu dependencies to readme
| * Added ubuntu dependencies to readmekenneth-wilke2015-12-141-1/+7
| |
* | Merge pull request #119 from mdmillerii/flashcpPatrick Williams2016-01-082-0/+5
|\ \ | | | | | | Add flash copy commands to busybox
| * | Add flash copy commands to busyboxMilton D. Miller II2015-12-052-0/+5
| |/ | | | | | | | | | | | | The flashcp command will copy a file to a mtd device after erasing the partition. This is useful for updating the bmc u-boot, kernel, environment, and/or initrd. It can also be used for upating the whole pnor, or partitions if we later add ffs partition parsing.
OpenPOWER on IntegriCloud