About this,
What is the requirement for this? Are verticals expected to use this?
Why is there no reference to a bugzilla or featurezilla?
please reply.
Auke
On 11/05/10 05:03, nm wrote:
Hi,
Adding new package u-boot in project Trunk:Testing. Please review and accept
ASAP.
Justification for this new package:
MeeGo Support for Das u-boot bootloader. http://www.denx.de/wiki/U-Boot
supports a wide range of platforms, and supporting this in MeeGo allows us to
scale official support to larger range of devices. This package currently
supports OMAP pandaboard and beagleboard and is based off the last official
2009.09 release
Thank You,
nm
[This message was auto-generated]
---
Request #9241:
submit: home:nm:bootloader:u-boot/u-boot(r51) -> Trunk:Testing/u-boot
Message:
MeeGo Support for Das u-boot bootloader. http://www.denx.de/wiki/U-Boot
supports a wide range of platforms, and supporting this in MeeGo allows us to
scale official support to larger range of devices. This package currently
supports OMAP pandaboard and beagleboard and is based off the last official
2009.09 release
State: new 2010-11-05T05:03:34 nm
Comment: None
This is a NEW package in Trunk:Testing project.
The files in the new package:
u-boot/
|__ 0001-ARMV7-OMAP-Add-new-mmc-driver-compatible-with-CONFIG.patch
|__ 0002-env_mmc-Fix-broken-build-due-to-set_default_env-chan.patch
|__ 0003-ARMV7-OMAP4-Use-generic-mmc-driver-on-Panda.patch
|__ 0004-omap4-board-change-global-data-pointer-to-file-scope.patch
|__ 0005-mmc-omap-timeout-counter-fix.patch
|__ Makefile
|__ makespec.pl
|__ meego_panda.cmd
|__ meego_panda.scr
|__ series
|__ u-boot-2010.09.tar.bz2
|__ u-boot-omap3beagle.changes
|__ u-boot-omap3beagle.spec
|__ u-boot-omap4panda.changes
|__ u-boot-omap4panda.spec
|__ u-boot.changes
|__ u-boot.changes.in
|__ u-boot.spec
|__ u-boot.spec.in
The content of the spec file, u-boot.spec:
===================================================================
#
# u-boot multiplatform specfile
# Original Spec file from openmamba project
#
http://www.openmamba.org/distribution/distromatic.html?tag=devel&pkg=u-boot.source
# Copyright (c) 2007-2010 by Silvan Calarco<[email protected]>
#
# Copyright (c) 2010
# Texas Instruments Inc
# Nishanth Menon
#
# Build examples:
# rpmbuild -ba u-boot.spec --define="CROSS_COMPILE arm-none-linux-gnueabi-" --define="TARGET_BOARD
omap4_panda" --define "TARGET_CPU arm" --target="arm"
#
# Tested targets:
# omap4 PandaBoard
Name: u-boot
Version: 2010.09
Release: MeeGo
Summary: Open Source Firmware for Embedded PowerPC, ARM, MIPS and x86
processors
Group: System/Boot
URL: http://u-boot.sourceforge.net/
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Patch0: 0001-ARMV7-OMAP-Add-new-mmc-driver-compatible-with-CONFIG.patch
Patch1: 0002-env_mmc-Fix-broken-build-due-to-set_default_env-chan.patch
Patch2: 0003-ARMV7-OMAP4-Use-generic-mmc-driver-on-Panda.patch
Patch3: 0004-omap4-board-change-global-data-pointer-to-file-scope.patch
Patch4: 0005-mmc-omap-timeout-counter-fix.patch
%define TARGET_BOARD omap4_panda
%define TARGET_CPU arm
# Add board specific .scr files if any (generated from cmd files with the
Makefile)
%define TARGET_SCRIPT meego_panda.scr
%if "%{?TARGET_SCRIPT}"
Source1: %{TARGET_SCRIPT}
%endif
%description
Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded
PowerPC, ARM, MIPS and x86 processors.
%define all_x86 i386 i586 i686 %{ix86}
%define all_arm %{arm}
# Per arch tweaks
%ifarch %{all_x86}
%define hwarch i386
%endif
%ifarch %{all_arm}
%define hwarch arm
%endif
# What image and where should it go to?
%define image_install_path boot
%define boot_image u-boot.bin
%if "%{?CROSS_COMPILE}"
%define _CROSS %{CROSS_COMPILE}
%else
%define _CROSS " "
%endif
%if "%{?TARGET_BOARD}"
%package %{TARGET_BOARD}
Summary: The u-boot firmware for the %{TARGET_BOARD} %{TARGET_CPU}
platform
Group: System/Boot
%description %{TARGET_BOARD}
Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded
PowerPC, ARM, MIPS and x86 processors.
This package contains the firmware for the %{TARGET_BOARD} %{TARGET_CPU}
platform.
%endif
%package tools
Summary: Tools for the u-boot Firmware
Group: System/Boot
%description tools
Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded
PowerPC, ARM, MIPS and x86 processors.
This package contains:
mkimage- a tool that creates kernel bootable images for u-boot.
%package doc
Summary: Documentation for the u-boot Firmware
Group: System/Boot Documentation
%description doc
Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded
PowerPC, ARM, MIPS and x86 processors.
This package contains documentation for u-boot firmware
%prep
%setup -q
# Any custom patches to be applied on top of mainline u-boot
%if "%{?TARGET_BOARD}"
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%endif
sed -i "s|-idirafter|-I|" tools/Makefile
%build
%if "%{?TARGET_BOARD}"
# Any Board specific custom patches to be applied
#%if "%{?TARGET_BOARD}" == "mainstone_rr"
# patch -p1< %{PATCH3}
#%endif
CROSS_COMPILE=%{_CROSS} ARCH=%{TARGET_CPU} make %{TARGET_BOARD}_config
# temporary disable of --build-id
#LDFLAGS=--build-id CROSS_COMPILE=%{_CROSS} ARCH=%{TARGET_CPU} make all
CROSS_COMPILE=%{_CROSS} ARCH=%{TARGET_CPU} make all
CROSS_COMPILE=%{_CROSS} ARCH=%{TARGET_CPU} make env
%else
# configure for a fictituous target (only tools will be build)
%make TQM850L_config
%make CC=%{_target_platform}-gcc tools
%endif
%install
[ "%{buildroot}" != / ]&& rm -rf %{buildroot}
install -D -m 0755 tools/mkimage %{buildroot}%{_bindir}/mkimage
#install -D -m 0755 tools/env/fw_printenv %{buildroot}%{_bindir}/fw_printenv
install -D -m 0644 doc/mkimage.1 %{buildroot}%{_mandir}/man1/mkimage.1
gzip %{buildroot}%{_mandir}/man1/*
#install -d -m 0755 tools/img2srec %{buildroot}%{_bindir}/img2srec
%if "%{?TARGET_BOARD}"
#gzip u-boot
#install -D -m 0644 u-boot.gz %{buildroot}/boot/u-boot.gz
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
install -D -m 0644 u-boot.map %{buildroot}/boot/u-boot.map
%if "%{?TARGET_SCRIPT}"
install -D -m 0644 %{SOURCE1} %{buildroot}/boot/boot.scr
%endif
%endif
%clean
[ "%{buildroot}" != / ]&& rm -rf %{buildroot}
%if "%{?TARGET_BOARD}"
%files %{TARGET_BOARD}
%defattr(-,root,root)
/boot/u-boot.bin
/boot/u-boot.map
#/boot/u-boot.gz
%if "%{?TARGET_SCRIPT}"
/boot/boot.scr
%endif
%endif
%files tools
%defattr(-,root,root)
%{_bindir}/mkimage
#%{_bindir}/fw_printenv
%{_mandir}/man1/mkimage.1.gz
%files doc
%defattr(-,root,root)
# Generic documents
%doc COPYING CREDITS README doc/README.JFFS2 doc/README.JFFS2_NAND
doc/README.commands
%doc doc/README.autoboot doc/README.commands doc/README.console doc/README.dns
%doc doc/README.hwconfig doc/README.nand doc/README.NetConsole
doc/README.serial_multi
%doc doc/README.SNTP doc/README.standalone doc/README.update doc/README.usb
%doc doc/README.video doc/README.VLAN doc/README.silent doc/README.POST
doc/README.Modem
# Copy some useful kermit scripts as well
%doc tools/scripts/dot.kermrc tools/scripts/flash_param tools/scripts/send_cmd
tools/scripts/send_image
# Now any h/w dependent Documentation
%doc doc/README.ARM-SoC doc/README.ARM-memory-map
===================================================================
_______________________________________________
MeeGo-commits mailing list
[email protected]
http://lists.meego.com/listinfo/meego-commits
_______________________________________________
MeeGo-packaging mailing list
[email protected]
http://lists.meego.com/listinfo/meego-packaging