diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2016-05-28 18:41:04 -0400 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2016-06-10 18:06:59 -0400 |
commit | 40a360c2a4feef97a8f7041e655b2a42e51e0224 (patch) | |
tree | 75dfea3064d7c3243788c72cb9f30e2ce6241dea /hacks | |
parent | a73122191a7aba80f97332687a2e03cfb0336981 (diff) | |
download | blackbird-skeleton-40a360c2a4feef97a8f7041e655b2a42e51e0224.tar.gz blackbird-skeleton-40a360c2a4feef97a8f7041e655b2a42e51e0224.zip |
Reorganize directory structure
Moving to directory per-application layout. This facilitates
building single applications which is useful in the Yocto build
environment since different applications satisfy different OpenBMC
build requirements.
A number of issues are also addressed:
- All applications were pulling in libsystemd and the gdbus libs
irrespective of whether or not they were needed.
- gpio.o duplicated in every application - moved to libopenbmc_intf
- Added install target
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'hacks')
-rw-r--r-- | hacks/Makefile | 7 | ||||
-rw-r--r-- | hacks/startup_hacks.sh | 9 |
2 files changed, 16 insertions, 0 deletions
diff --git a/hacks/Makefile b/hacks/Makefile new file mode 100644 index 0000000..abb4ed3 --- /dev/null +++ b/hacks/Makefile @@ -0,0 +1,7 @@ +all: + +install: + mkdir -p $(DESTDIR)/usr/sbin + install startup_hacks.sh $(DESTDIR)/usr/sbin + +clean: diff --git a/hacks/startup_hacks.sh b/hacks/startup_hacks.sh new file mode 100644 index 0000000..3a93e90 --- /dev/null +++ b/hacks/startup_hacks.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +systemctl stop serial-getty@ttyS0 + +# Setup VUART +VUART=/sys/devices/platform/ahb/ahb:apb/1e787000.vuart +echo 4 > $VUART/sirq +echo 0x3f8 > $VUART/lpc_address +echo 1 > $VUART/enabled |