summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #195 from causten/logsnkskjames2016-03-033-3/+3
|\ | | | | Integrating support for event log enhancements
| * Integrating support for event log enhancementsChris Austen2016-03-023-3/+3
| | | | | | | | | | | | | | | | You will now get all the debug data in the event logs. This was different then in the past as there was a fixed few bytes of meaningless information. The feature also reduces the memory footprint of the event manager AND removes eselxxx logs in /tmp
* | Merge pull request #193 from bradbishop/fix-imagesPatrick Williams2016-03-023-19/+27
|\ \ | |/ |/| don't inherit image-overlay by default
| * Don't inherit image-overlay by defaultBrad Bishop2016-02-293-4/+12
| | | | | | | | | | | | | | | | | | | | | | This attempts to address a race condition in the build where we attempt to build a complete flash image before all the sub-images are available (specifically the initramfs image). Any classes in IMAGE_CLASSES are inherited by all image recipes, including the initramfs image. OE-Core's live/hddimg recipes address this by pulling in the class configuration in recipe scope, rather than global scope. Copy that behavior here.
| * Whitespace fixesBrad Bishop2016-02-291-15/+15
|/ | | | Indent was only seven spaces. No functional changes.
* Merge pull request #189 from mdmillerii/fs-to-jffs2nkskjames2016-02-255-14/+115
|\ | | | | Change Read/Write overlay filesystem to jffs2
| * initfs: Use stty to drain output before rebootMilton D. Miller II2016-02-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To see all the messages during shutdown call stty cooked. A side effect of setting any mode is it will call ioctl(TIOC_DRAIN) to drain the buffers first without regard to any change in the mode. Shutdown and flash update now show the final ouptut and "Rebooting" message before the reboot system call. Before: + set +x Remaining mounts: tmpfs / tmpfs rw,nosuid,nodev,mode=755 0 0 dev /dev devtmpfs rw,relatime,size=126384k,nr_inodes=31596,mode=755 0 0 proc /proc proc rw,relatime 0 0 sys /s U-Boot 2013.07 (Feb 23 2016 - 10:21:23) After: + set +x Remaining mounts: tmpfs / tmpfs rw,nosuid,nodev,mode=755 0 0 dev /dev devtmpfs rw,relatime,size=126384k,nr_inodes=31596,mode=755 0 0 proc /proc proc rw,relatime 0 0 sys /sys sysfs rw,relatime 0 0 tmpfs /run tmpfs rw,nosuid,nodev,mode=755 0 0 reboot: Restarting system U-Boot 2013.07 (Feb 23 2016 - 10:21:23) Signed-off-by: Milton Miller <miltonm@us.ibm.com>
| * initfs: Add flash clear and update during initMilton Miller2016-02-241-1/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add code to clear the rwfs (preserving files from the whitelist) during init, by a command line option. Also allow it to be triggered by the file system not being a jffs2. A console user can download images to /run/initramfs/ at the debug-init-sh prompt for manual update. Also add code but do not enable detecting images loaded into initramfs / for future update options. If enabled a custom initrd with update images can be bulit (it would not fit in flash and need to be netbooted). Signed-off-by: Milton Miller <miltonm@us.ibm.com>
| * initfs: Do not warn on missing jffs2 fsckMilton Miller2016-02-241-1/+2
| | | | | | | | | | | | | | | | We know there is no command and we plan to have this the default. Suppress the message to avoid user questions and concerns. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
| * openbmc: Switch RW FS from ext4 to jffs2Andrew Jeffery2016-02-241-1/+1
| | | | | | | | Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
| * openbmc: Lift mkfs opts to variables and use OVERRIDES capabilityAndrew Jeffery2016-02-241-1/+13
| | | | | | | | | | | | | | | | | | Moves the ext4-specific mkfs options out to configuration variables. OVERLAY_MKFS_OPTS can be overridden using the usual bitbake OVERRIDES mechanism, where the override postfix is 'rwfs-${OVERLAY_BASETYPE}', e.g. rwfs-ext4. Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
| * openbmc: Generate images with empty NOR sections in the erased stateAndrew Jeffery2016-02-241-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | An erased NOR partition is considered to be a valid JFFS2 filesystem (i.e. can be successfully mounted as JFFS2). As such there's no need to execute mkfs to produce an empty JFFS2 image if the target partition is in the erased state. Thus, when generating the flash-palmetto and image-rwfs image files, start with a base image file in the erased state (with all bits set). The change shifts the common logic to generate the base image files into a shell function. Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
| * obmc-{init,update}.sh: Cope with alternate RW FS typesAndrew Jeffery2016-02-242-4/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | Busybox's blkid is a little hamstrung, requiring some processing of the output to emulate what can be achieved with a couple of options with blkid from util-linux. Similar to findmtd(), the code for probe_fs_type() and blkid_fs_type() is duplicated between obmc-{init,update}.sh. Some consideration should be given to splitting out common functionality into well-defined sourcable scripts. Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
| * obmc-init.sh: Fix FS type in mount failure messageAndrew Jeffery2016-02-241-1/+1
| | | | | | | | Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
| * oe_mkimage: Use consistent indentationAndrew Jeffery2016-02-241-3/+3
|/ | | | | | | | | It was inconsistent with the rest of the file, which seems to use 7 spaces. In particular, vim-sleuth was detecting the indentation style from the first indent(s) in the file, which were in the oe_mkimage function. Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
* Merge pull request #188 from shenki/kernel-20160222-1nkskjames2016-02-231-1/+1
|\ | | | | meta-phosphor: Update Linux to openbmc-20160222-1
| * meta-phosphor: Update Linux to openbmc-20160222-1Joel Stanley2016-02-221-1/+1
|/ | | | | | | | | - 4.3.6 stable release - mtd: spi-nor: aspeed-smc: Use io string accessors to fifo - i2c: aspeed: Don't rename added devices - Remove GPIO and LPC from WDT reset list Signed-off-by: Joel Stanley <joel@jms.id.au>
* Merge pull request #143 from causten/reststuffnkskjames2016-02-181-1/+1
|\ | | | | Enable authentication over REST
| * Enable authentication over RESTChris Austen2016-01-211-1/+1
| | | | | | | | | | Rest through the spec to see how to interact. https://github.com/openbmc/docs/blob/master/rest-api.md
* | Merge pull request #183 from KennethWilke/masternkskjames2016-02-171-1/+1
|\ \ | | | | | | Added systemd as build dependency for skeleton
| * | Added systemd as build dependency for skeletonKennethWilke2016-02-171-1/+1
|/ /
* | Merge pull request #179 from anoo1/feb12v0.5nkskjames2016-02-121-1/+1
|\ \ | | | | | | Update skeleton recipe to pick up persistent UUID support
| * | Update skeleton recipe to pick up persistent UUID supportAdriana Kobylak2016-02-121-1/+1
|/ / | | | | | | | | Update skeleton recipe to pick up persistent UUID support by using the system uuid.
* | Merge pull request #177 from anoo1/feb11nkskjames2016-02-1211-13/+32
|\ \ | | | | | | Recipe update: User management, systemd patch, IPMI net functions
| * | Recipe update: User management, systemd patch, IPMI net functionsAdriana Kobylak2016-02-1211-13/+32
|/ / | | | | | | | | | | Create virtual class to include user management in the image Add the systemd patch for network support to the systemd recipe Update the IPMI recipe to pickup the support for network configuration
* | Merge pull request #178 from shenki/kernel-20160212-1nkskjames2016-02-121-1/+1
|\ \ | | | | | | meta-phosphor: Bump kernel to 20160212-1
| * | meta-phosphor: Bump kernel to 20160212-1Joel Stanley2016-02-121-1/+1
|/ / | | | | | | | | | | | | | | | | | | Fixes in serial/aspeed-vuart: - Perform enable/disable on driver bind/unbind - Only disable host tx discard when serial port is in use Plus a small device tree fix from Milton. Signed-off-by: Joel Stanley <joel@jms.id.au>
* | Merge pull request #175 from nkskjames/skeleton2nkskjames2016-02-101-1/+1
|\ \ | | | | | | update skeleton commit
| * | update skeleton commitNorman James2016-02-101-1/+1
|/ / | | | | | | | | | | - fix LED dependency so system will boot Signed-off-by: Norman James <nkskjames@gmail.com>
* | Merge pull request #173 from hramasub/network-user-recipesnkskjames2016-02-103-1/+32
|\ \ | | | | | | Updating network and user recipes.
| * | Updating network and user recipes.Hariharasubramanian R2016-02-103-1/+32
|/ /
* | Merge pull request #139 from hramasub/systemd-networkd-dbus-patchnkskjames2016-02-101-0/+1209
|\ \ | | | | | | Dbus API for systemd/networkd for network configuration.
| * \ systemd networkd dbus patch for configure interface IP and MAC Address.nkskjames2016-02-104-2/+1212
| |\ \
* | \ \ Merge pull request #172 from nkskjames/skeletonnkskjames2016-02-101-2/+2
|\ \ \ \ | | | | | | | | | | Move up skeleton commit and add libsystemd depends
| * | | | Move up skeleton commit and add libsystemd dependsNorman James2016-02-101-2/+2
|/ / / / | | | | | | | | | | | | Signed-off-by: Norman James <nkskjames@gmail.com>
* | | | Merge pull request #171 from shenki/kernel-20160210-1nkskjames2016-02-101-1/+1
|\ \ \ \ | | | | | | | | | | meta-phosphor: Bump kernel to 20160211-1
| * | | | meta-phosphor: Bump kernel to 20160211-1Joel Stanley2016-02-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - vuart driver fix - i2c name fix - led names and polarity fixes Signed-off-by: Joel Stanley <joel@jms.id.au>
* | | | | Merge pull request #167 from mdmillerii/enable-vuart-drivernkskjames2016-02-101-0/+3
|\ \ \ \ \ | |/ / / / |/| | | | linux: turn on vuart driver
| * | | | linux: turn on vuart driverMilton D. Miller II2016-02-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable the vuart driver in the defconfig. Based on the update to aspeed_defconfig in the linux repository. Won't actually be enabled until the base recipe has the driver merged again. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
* | | | | Merge pull request #170 from causten/logsnkskjames2016-02-093-2/+3
|\ \ \ \ \ | |_|/ / / |/| | / / | | |/ / | |/| | Enable Persistent event logs in OBMC
| * | | Enable Persistent event logs in OBMCChris Austen2016-02-093-2/+3
|/ / / | | | | | | | | | | | | Enable the /var/lib/obmc/events in the whitelist Move pointers up for event manager and object manager
* | | Merge pull request #168 from causten/eventpathnkskjames2016-02-091-0/+2
|\ \ \ | | | | | | | | Prep work for presistent event logs
| * | | Prep work for presistent event logsChris Austen2016-02-081-0/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Making a very simple commit that contains the additional required c++ flags along with making the directory to store the new event manager log files. This does not enable anything, it is a precursor got the big drop. I'd like to get some of the more simple things in to the build first since a 2 line change is faster to review.
* | | Merge pull request #169 from mdmillerii/initfs-fsck-v3nkskjames2016-02-093-61/+126
|\ \ \ | |/ / |/| | Initfs fsck v3
| * | obmc-initfs: shutdown when rofs is a loop mounted image in /runMilton Miller2016-02-091-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If one sets rodir=/run/image-rofs roopts=ro,loop and transfers an image one can run from a base image in ram. However, the shutdown will fail to unmount /run because it is busy and then fails to unmount /cow which causes oldroot to be still mounted. By moving the mount to the side everything cleans up (as long as there are no other mounts under run, and systemd-shutdown tried to do as much as possible). Signed-off-by: Milton Miller <miltonm@us.ibm.com>
| * | obmc-initfs: run update as a sub-scriptMilton Miller2016-02-092-13/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | The update script has replicated logic to do the final reboot, kexec, halt, or poweroff command. Instead of transferring control via exec just call it as a normal command, and return to shutdown for the final mounted fs debug print and command. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
| * | obmc-initfs: run fsck on read/write file systemMilton Miller2016-02-091-4/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | Good practice is to run fsck to repair minor damage and make a filesystem consistent before mounting it. We don't have space in the initramfs to add fsck, but we can mount the read-only reference partition first and run fsck from there. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
| * | obmc-initfs: factor debug and takeoverMilton Miller2016-02-091-17/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | Factor out sulogin and init takeover with a message. This is mostly a refactor and message update. It also makes the repair opportunity logic consistent in asking for a password during init and looping over the chroot verification. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
| * | obmc-initfs: use varables for paths and mount argumentsMilton Miller2016-02-092-21/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create variables for all mount parameters and paths related to the read-only and read-write mounts, including fs type, full device name, and options. Reorder mount arguments to always place options last. Also add variables for update save directory and real init. This allows easy testing of a file systems by changing a few parameters including making the rofs an image in ram. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
| * | obmc-initfs: look for images in /run/initramfs/image-Milton Miller2016-02-092-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach update to look for /run/initramfs/image- not /image-*. When describing how to recover from a corrupted flash by grabbing the images and running update from the init debug shell, it became apparent that while at systemd shutdown /run/initramfs/ is mounted at /, it is not the case during init. Use the variable image to hold this pathname. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
OpenPOWER on IntegriCloud