| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Integrating support for event log enhancements
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
|/| |
don't inherit image-overlay by default
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
| |
Indent was only seven spaces. No functional changes.
|
|\
| |
| | |
Change Read/Write overlay filesystem to jffs2
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| | |
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| | |
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
|
|/
|
|
|
|
|
|
|
| |
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>
|
|\
| |
| | |
meta-phosphor: Update Linux to openbmc-20160222-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>
|
|\
| |
| | |
Enable authentication over REST
|
| |
| |
| |
| |
| | |
Rest through the spec to see how to interact.
https://github.com/openbmc/docs/blob/master/rest-api.md
|
|\ \
| | |
| | | |
Added systemd as build dependency for skeleton
|
|/ / |
|
|\ \
| | |
| | | |
Update skeleton recipe to pick up persistent UUID support
|
|/ /
| |
| |
| |
| | |
Update skeleton recipe to pick up persistent UUID support
by using the system uuid.
|
|\ \
| | |
| | | |
Recipe update: User management, systemd patch, IPMI net functions
|
|/ /
| |
| |
| |
| |
| | |
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
|
|\ \
| | |
| | | |
meta-phosphor: Bump kernel to 20160212-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>
|
|\ \
| | |
| | | |
update skeleton commit
|
|/ /
| |
| |
| |
| |
| | |
- fix LED dependency so system will boot
Signed-off-by: Norman James <nkskjames@gmail.com>
|
|\ \
| | |
| | | |
Updating network and user recipes.
|
|/ / |
|
|\ \
| | |
| | | |
Dbus API for systemd/networkd for network configuration.
|
| |\ \ |
|
|\ \ \ \
| | | | |
| | | | | |
Move up skeleton commit and add libsystemd depends
|
|/ / / /
| | | |
| | | |
| | | | |
Signed-off-by: Norman James <nkskjames@gmail.com>
|
|\ \ \ \
| | | | |
| | | | | |
meta-phosphor: Bump kernel to 20160211-1
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- vuart driver fix
- i2c name fix
- led names and polarity fixes
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
linux: turn on vuart driver
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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>
|
|\ \ \ \ \
| |_|/ / /
|/| | / /
| | |/ /
| |/| | |
Enable Persistent event logs in OBMC
|
|/ / /
| | |
| | |
| | |
| | | |
Enable the /var/lib/obmc/events in the whitelist
Move pointers up for event manager and object manager
|
|\ \ \
| | | |
| | | | |
Prep work for presistent event logs
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| |/ /
|/| | |
Initfs fsck v3
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|