diff options
author | Jacek Pielaszkiewicz <j.pielaszkie@samsung.com> | 2014-01-15 15:07:54 +0100 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-03-20 17:42:42 +0900 |
commit | 5b013625a8822a5e035aec8ab5d8bdc16cbb6f96 (patch) | |
tree | 322aaf1ec40929b9b9ad0adf1d71f5fad5077dbc /packaging | |
parent | 330790c84e9ccd8b7efb447ab06cbe4df91179ec (diff) | |
download | linux-3.10-5b013625a8822a5e035aec8ab5d8bdc16cbb6f96.tar.gz linux-3.10-5b013625a8822a5e035aec8ab5d8bdc16cbb6f96.tar.bz2 linux-3.10-5b013625a8822a5e035aec8ab5d8bdc16cbb6f96.zip |
Split uImage on "clean" uImage and Device Tree blob.
1. The change is due to upgrade u-boot to latest upstream version
which support separate uImage and DTB.
Addtionally current defult u-boot configuration for trats2 assumes
that kernel image and DTB are delivered as separat files.
2. DTB files are located in /boot directory.
3. Together with uImage are delivered all DTBs which are compatible with
tizen_defconfig kernel configuration.
Change-Id: I60a581edb4edccbf2ef704de525409da6572c4f8
Signed-off-by: Jacek Pielaszkiewicz <j.pielaszkie@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/linux-kernel.spec | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/packaging/linux-kernel.spec b/packaging/linux-kernel.spec index 935e62fcdd3..211efd8a099 100644 --- a/packaging/linux-kernel.spec +++ b/packaging/linux-kernel.spec @@ -58,10 +58,8 @@ make EXTRAVERSION="-%{build_id}" %{config_name} make EXTRAVERSION="-%{build_id}" %{?_smp_mflags} # 2. Build uImage -make EXTRAVERSION="-%{build_id}" zImage %{?_smp_mflags} +make EXTRAVERSION="-%{build_id}" uImage %{?_smp_mflags} make EXTRAVERSION="-%{build_id}" dtbs %{?_smp_mflags} -cat arch/arm/boot/zImage arch/arm/boot/dts/%{defaultDtb} > bImage -mkimage -A arm -C none -O linux -a 40008000 -e 40008000 -n 'Linux 3.10 Tizen kernel' -d bImage uImage # 3. Build modules make EXTRAVERSION="-%{build_id}" modules %{?_smp_mflags} @@ -78,7 +76,10 @@ mkdir -p %{buildroot}/lib/modules/%{fullVersion} mkdir -p %{buildroot}/boot/ # 2. Install uImage, System.map, ... -install -m 755 uImage %{buildroot}/boot/ +install -m 755 arch/arm/boot/uImage %{buildroot}/boot/ +install -m 644 arch/arm/boot/dts/*.dtb %{buildroot}/boot/ +mv %{buildroot}/boot/exynos4412-m0.dtb %{buildroot}/boot/exynos4412-trats2.dtb + install -m 644 System.map %{buildroot}/boot/System.map-%{fullVersion} install -m 644 .config %{buildroot}/boot/config-%{fullVersion} @@ -138,6 +139,7 @@ rm -rf %{buildroot} %files %license COPYING /boot/uImage +/boot/*.dtb /boot/System.map* /boot/config* /lib/modules/%{fullVersion}/kernel |