platform/adaptation/setup-scripts.git
9 years agosetup-gummiboot-conf: Disable VGA output in splash-hdmi .conf 28/32428/2 accepted/tizen_3.0_common accepted/tizen_3.0_ivi accepted/tizen_4.0_unified accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_unified accepted/tizen_wearable tizen tizen_3.0 tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0.2015.q2_common tizen_3.0.m1_mobile tizen_3.0.m1_tv tizen_3.0.m2 tizen_3.0_ivi tizen_4.0 accepted/tizen/3.0/common/20161114.105120 accepted/tizen/3.0/ivi/20161011.062343 accepted/tizen/4.0/unified/20170816.010902 accepted/tizen/4.0/unified/20170828.224346 accepted/tizen/common/20150105.134017 accepted/tizen/common/20160517.174459 accepted/tizen/ivi/20141219.084151 accepted/tizen/ivi/20160218.022942 accepted/tizen/ivi/20160606.040809 accepted/tizen/mobile/20150326.005126 accepted/tizen/tv/20150324.014513 accepted/tizen/unified/20170309.031208 accepted/tizen/wearable/20150128.040607 submit/tizen/20160603.051259 submit/tizen_3.0.m2/20170104.093748 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000006 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170828.110001 submit/tizen_common/20150102.092300 submit/tizen_common/20160517.162315 submit/tizen_ivi/20141219.053138 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000001 submit/tizen_mobile/20150129.000000 submit/tizen_mobile/20150213.000000 submit/tizen_mobile/20150325.000000 submit/tizen_tv/20150130.000000 submit/tizen_tv/20150130.050505 submit/tizen_tv/20150320.000001 submit/tizen_unified/20170308.100403 submit/tizen_wearable/20150127.000000 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release tizen_3.0_ivi_release tizen_4.0.m1_release
Fang, Neo [Thu, 18 Dec 2014 14:48:01 +0000 (14:48 +0000)]
setup-gummiboot-conf: Disable VGA output in splash-hdmi .conf

This is a supplementary patch on top of
40e26bbb19f0450a0495263798ebe6cee4e736ae

*splash-hdmi.conf is primarily used by Minnowboard MAX. The board
only contains a mini-HDMI port and VGA/DP ports are not available.

Therefore, also VGA needs to be disabled to avoid GMBUS timeout.

v2: Update commit log

Change-Id: I6d5776959f1b3b185f71cdcd770c4e973c2fae66
Bug-Tizen: TC-2195/part
Signed-off-by: Fang, Neo <neo.fang@intel.com>
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
9 years agosetup-gummiboot-conf: Add HDMI/DP specific splash .conf entries 56/31956/3 accepted/tizen/common/20141215.134716 accepted/tizen/ivi/20141216.072406 submit/tizen_common/20141215.131200 submit/tizen_ici/20141215.131200 submit/tizen_ivi/20141215.131200 submit/tizen_ivi/20141216.060843
Mikko Ylinen [Fri, 12 Dec 2014 13:15:21 +0000 (15:15 +0200)]
setup-gummiboot-conf: Add HDMI/DP specific splash .conf entries

Unused digital display outputs cause a kernel boot timeout that adds
to system boot up time:

"[drm] GMBUS [i915 gmbus dpb] timed out, falling back to bit banging on pin 5"

The problem goes away by disabling unused outputs: video:<output>:d.

However, the problem gets complicated since VTC1010 provides only DP-1 connector,
and MinnowBoard MAX provides only HDMI-A-1 connector. The solution is to generate
HDMI and DP specific splash .conf entries. The desired config entry can be enabled
based on the platform.

Change-Id: I8544ee7cf15d7b4fb8837147e5149cca2f8c6b7e
Bug-Tizen: TC-2195
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
9 years agobios: also support system with no /boot part 72/30172/1 sandbox/pcoval/tizen accepted/tizen/common/20141115.192007 accepted/tizen/ivi/20141124.020936 submit/tizen_common/20141112.134452 submit/tizen_common/20141114.163023 submit/tizen_common/20141114.172857 submit/tizen_common/20141115.125504 submit/tizen_common/20141115.191323 submit/tizen_ivi/20141119.222222 submit/tizen_ivi/20141121.001940 submit/tizen_mobile/20141120.000000
Philippe Coval [Wed, 12 Nov 2014 10:17:53 +0000 (11:17 +0100)]
bios: also support system with no /boot part

Tested on single partition system at least

Change-Id: I5bf219aaaff556184295b0bbeaf779c8aea8e98b
Bug-Tizen: TC-1873/part
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
9 years agofix: make sure that non labeled files will get floor smack label 84/29684/2 accepted/tizen/common/20141104.120739 accepted/tizen/ivi/20141107.030604 accepted/tizen/mobile/20141117.085340 submit/tizen/20141104.111448
Philippe Coval [Thu, 30 Oct 2014 15:44:59 +0000 (16:44 +0100)]
fix: make sure that non labeled files will get floor smack label

Bug-Tizen: TC-1934
Change-Id: I93951c0c8cac6f3d1456377d17eed7ae94abae88
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
9 years agoefi: set default boot script to fs0: 57/28457/1 accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi tizen_3.0.2014.q3_common tizen_3.0.m14.3_ivi accepted/tizen/common/20141008.190603 accepted/tizen/ivi/20141011.073636 submit/tizen_common/20141008.154842 submit/tizen_ivi/20141011.064144 tizen_3.0.2014.q3_common_release tizen_3.0.m14.3_ivi_release
Philippe Coval [Tue, 7 Oct 2014 10:21:03 +0000 (12:21 +0200)]
efi: set default boot script to fs0:

Tizen efi image was tested on minnowboardmax sdcard

Change-Id: If744946937606b5b2cd5c6b6e45ee4909a48fb26
Bug-Tizen: TC-1513/related
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
9 years agoMake tizen generic (rename "ivi" by "scripts") accepted/tizen/common/20140814.150828 accepted/tizen/ivi/20140930.164322 submit/tizen/20140814.121617 submit/tizen_ivi/20140930.112233 submit/tizen_ivi/20140930.989898 submit/tizen_ivi/20140930.998877
Philippe Coval [Mon, 11 Aug 2014 08:36:00 +0000 (10:36 +0200)]
Make tizen generic (rename "ivi" by "scripts")

Bug-Tizen: TINF-650
Change-Id: I13a018d30cd42f5b67197a7c323acc96930832a3
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
9 years agopackaging: update changelog and Version
Mikko Ylinen [Thu, 31 Jul 2014 11:13:17 +0000 (14:13 +0300)]
packaging: update changelog and Version

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
9 years agoEnable i915.fastboot=1 for the splash boot entry
Mikko Ylinen [Thu, 5 Jun 2014 13:26:02 +0000 (16:26 +0300)]
Enable i915.fastboot=1 for the splash boot entry

i915.fastboot=1 tells the kernel GFX to skip display mode setting.
The latest Tizen IVI kernel now supports this flag so enable it
for the splash boot entry.

Change-Id: I298e31b26a94a7a351d5b31077e5a93e4b371734
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
9 years agosetup-gummiboot-conf: Set background to black
Mikko Ylinen [Thu, 5 Jun 2014 13:23:03 +0000 (16:23 +0300)]
setup-gummiboot-conf: Set background to black

Change-Id: Id9a5664e8547818789712aee374506902fe7f47b
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
9 years agopackaging: minor change to set tizen as HEAD
Philippe Coval [Mon, 7 Jul 2014 13:18:42 +0000 (15:18 +0200)]
packaging: minor change to set tizen as HEAD

Change-Id: I3292de3d80d806fc7bd09a638b36a2ed3e87ea08
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
10 years agopackaging: release out (fix TIVI-2652)
Artem Bityutskiy [Fri, 14 Feb 2014 16:46:14 +0000 (18:46 +0200)]
packaging: release out (fix TIVI-2652)

Change-Id: Ic3728d5ccd595551da7fbe005bc32135cdd117b8
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
10 years agoinstallerfw-sh-functions: do not omit the last line
Artem Bityutskiy [Fri, 14 Feb 2014 16:20:03 +0000 (18:20 +0200)]
installerfw-sh-functions: do not omit the last line

When we are restoring the installer-framework environment in the
'installerfw_restore_env()', we read the '/etc/installerfw-environment' file
line-by line, and export variables.

However, if the last line does not contain the newline character, we ignore it.
So we miss the last variable and do not export it.

This patch fixes the problem, which also fixes TIVI-2652.

Change-Id: I47f560e32a6951b492b0e430a769c4dfc29e5cb5
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
10 years agoinstallerfw-sh-functions: add missing newlines
Artem Bityutskiy [Fri, 14 Feb 2014 16:01:58 +0000 (18:01 +0200)]
installerfw-sh-functions: add missing newlines

Make sure the /etc/installerfw-environment contains the newline character at
the end. It is reasonable to expect the newline character at the end of text
files.

Additionally, fix code which calculates the lines count. We forgot the newline
character, which will make 'wc -l' return an off-by-one number.

Change-Id: I0e8f36f2be8e7b31a21ce1c6449bf23bb4f9d238
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
10 years agopackaging: update the changelog
Artem Bityutskiy [Fri, 31 Jan 2014 14:42:12 +0000 (16:42 +0200)]
packaging: update the changelog

Change-Id: I08b8e581d83420251331d9234bb9d56745d26c42
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
10 years agoREADME: add some more shell coding wisdom
Artem Bityutskiy [Fri, 31 Jan 2014 14:37:46 +0000 (16:37 +0200)]
README: add some more shell coding wisdom

Change-Id: Ieef51328e79dee318979bf7267623011d4fbd1ac
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
10 years agosetup-ivi-bootloader-conf: gummiboot: create a splash enabled entry
Mikko Ylinen [Fri, 31 Jan 2014 12:52:38 +0000 (14:52 +0200)]
setup-ivi-bootloader-conf: gummiboot: create a splash enabled entry

To support fastboot and 'flickerless' boot testing, create a
gummiboot entry that draws a splash image to the screen.

Additionally, disable fbcon for that kernel entry.

Change-Id: I25c338efbe9560b67393a8f5b23c26e1e384b729
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
10 years agosetup-gummiboot-conf: add splash file support
Mikko Ylinen [Fri, 31 Jan 2014 11:25:25 +0000 (13:25 +0200)]
setup-gummiboot-conf: add splash file support

The latest gummiboot supports splash image loading. Each loader
entry can specify the splash image to load using 'splash' parameter.

Add a new option to the script to enable callers to generate splash
enabled entries.

Change-Id: I5c2d997aad869455c9fec9695e5b3664525a89bd
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
10 years agoImplement setup-ivi-clone
Artem Bityutskiy [Fri, 3 Jan 2014 12:04:58 +0000 (14:04 +0200)]
Implement setup-ivi-clone

Change-Id: I88c149fe892a25a0a3f03216d1c1c7c34d7e5478
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
10 years agoAdd 'COPYING' file with the GPLv2 licens
Artem Bityutskiy [Wed, 15 Jan 2014 10:17:51 +0000 (12:17 +0200)]
Add 'COPYING' file with the GPLv2 licens

Change-Id: I5b8885759b1dc4f9c3a383aa1cdd74ee41d50498
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
10 years agosetup-ivi-bootloader-conf: add a menu entry for OS cloning
Artem Bityutskiy [Tue, 7 Jan 2014 13:31:49 +0000 (15:31 +0200)]
setup-ivi-bootloader-conf: add a menu entry for OS cloning

Change-Id: I139deaae995d643e63fd997da0cee502cc3822af
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
10 years agosetup-ivi-fstab: use correct case
Artem Bityutskiy [Fri, 3 Jan 2014 17:23:26 +0000 (19:23 +0200)]
setup-ivi-fstab: use correct case

Apparently, mount is case-sensitive. The UUID for normal file-systems like ext4
must be lower case, just like it is in /dev/disk/by-uuid/. But the short FAT-FS
ID has to be all-capitals. Take this into account in 'setup-ivi-fstab'.

Also add a couple more checks to make sure the installer framework variables
that we use exist.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
10 years agoUse -- some more
Artem Bityutskiy [Fri, 3 Jan 2014 12:16:54 +0000 (14:16 +0200)]
Use -- some more

Change-Id: I84101a845a725a71bb626e9369b68e95663354ed
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
10 years agosetup-ivi-sh-functions: introduce a newline variable
Artem Bityutskiy [Fri, 3 Jan 2014 15:15:57 +0000 (17:15 +0200)]
setup-ivi-sh-functions: introduce a newline variable

... which is handy.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
10 years agoinstallerfw-sh-functions: save installer name too
Artem Bityutskiy [Fri, 3 Jan 2014 12:04:28 +0000 (14:04 +0200)]
installerfw-sh-functions: save installer name too

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
10 years ago*-environment: update environment variables
Artem Bityutskiy [Fri, 3 Jan 2014 12:03:11 +0000 (14:03 +0200)]
*-environment: update environment variables

10 years agoinstallerfw-sh-functions: fix installerfw_mnt_prefix
Artem Bityutskiy [Thu, 2 Jan 2014 15:46:33 +0000 (17:46 +0200)]
installerfw-sh-functions: fix installerfw_mnt_prefix

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
10 years agoREADME: a small update
Artem Bityutskiy [Thu, 2 Jan 2014 14:19:04 +0000 (16:19 +0200)]
README: a small update

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
10 years agoSearch for common files in /usr/share/setup-ivi too
Artem Bityutskiy [Thu, 2 Jan 2014 05:47:52 +0000 (07:47 +0200)]
Search for common files in /usr/share/setup-ivi too

Change-Id: If1c3f9f21907130e6688840c59e311f9681c3134
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
10 years agoinstallerfw-sh-functions: do not define mount prefix ourselves
Artem Bityutskiy [Wed, 1 Jan 2014 14:51:17 +0000 (16:51 +0200)]
installerfw-sh-functions: do not define mount prefix ourselves

Change-Id: If577be871295e25b211e58d7b8e70ee53c52f54a
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
10 years agoFix installerfw environment save/restore
Artem Bityutskiy [Wed, 1 Jan 2014 14:23:22 +0000 (16:23 +0200)]
Fix installerfw environment save/restore

Change-Id: I39edcdf6571b19f423f48adfe439ed11f2df1379
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
10 years agoSource full path
Artem Bityutskiy [Wed, 1 Jan 2014 14:10:08 +0000 (16:10 +0200)]
Source full path

I do not know why, but in a Tizen IVI chroot environment sourcing does not work
unless the full path is specified.

Change-Id: Ia938d0d71d70b2512fd679b859f9318b203ae69d
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
10 years agoAdd a commentary about the creator
Artem Bityutskiy [Tue, 31 Dec 2013 10:01:52 +0000 (12:01 +0200)]
Add a commentary about the creator

Add a "# Generated by $PROG" commentary to every generated file in order
to make it easier for people to understand where various config files come
from.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
10 years agosetup-ivi-boot: create the fstab too
Artem Bityutskiy [Mon, 30 Dec 2013 16:39:28 +0000 (18:39 +0200)]
setup-ivi-boot: create the fstab too

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
10 years agosetup-ivi-fstab: a new script for creating /etc/fstab
Artem Bityutskiy [Mon, 30 Dec 2013 16:37:21 +0000 (18:37 +0200)]
setup-ivi-fstab: a new script for creating /etc/fstab

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
10 years ago*-environment: fix the FSOPTS variable
Artem Bityutskiy [Mon, 30 Dec 2013 16:36:55 +0000 (18:36 +0200)]
*-environment: fix the FSOPTS variable

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
10 years agosetup-ivi-boot: fix unconditional /etc sourcing
Artem Bityutskiy [Mon, 30 Dec 2013 16:34:20 +0000 (18:34 +0200)]
setup-ivi-boot: fix unconditional /etc sourcing

The setup-ivi-boot script unconditionally read the contents of
/etc/installerfw-environment, which is wrong, because it should not do this if
the environment already contains the "INSTALLERFW_*" variables. This patch
fixes the issue.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
10 years agoInitial commit
Artem Bityutskiy [Thu, 19 Dec 2013 12:02:11 +0000 (14:02 +0200)]
Initial commit

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>