[MIR] u-boot

Bug #692613 reported by Loïc Minier
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
u-boot (Ubuntu)
Fix Released
High
Unassigned
Natty
Fix Released
High
Unassigned

Bug Description

Binary package hint: u-boot

Hi

u-boot's mkimage tool was shipped in the uboot-mkimage source and binary package until recently. This source was an old fork of u-boot and had been promoted to main because mkimage is needed on ARM system booting with u-boot as to convert the kernel zImage to the uImage format.

Debian transitioned to the u-boot source and binary package to ship the mkimage tool, and the removal of uboot-mkimage is pending.

u-boot contains similar source than u-boot-omap4 which we had in main in maverick at some point, but comes from directly from upstream (via Debian) while u-boot-omap4 was an omapzoom fork used in pandaboard images.

Note that while the u-boot package builds bootloaders on various architectures, we would only use mkimage in main; most u-boot binaries we use would probably come from the u-boot-linaro source instead. So I don't see much security risk in

I fixed a minor issue with u-boot recently, and I'm aware of these two things which need fixing:
- fails to build on i386; I identified the cause and am discussing a fix with upstream; this not a blocker as it's currently only installed on ARM systems and used to build debian-installer on ARM, but it is also useful on cdimage to build ARM images, and so it will eventually need to be fixed on i386 as well
- needs to provide a transitional package for systems which have uboot-mkimage installed; hrw proposed a patch adding this which I'll sponsor ASAP.

I didn't scrutinize the packaging too much, it mostly comes from Debian and I expect most of the maintenance to continue in Debian.

I've checked UbuntuMainInclusionRequirements and I don't see any issue with promoting the package to main, or any other noteworthy things.

Cheers,

Revision history for this message
Oliver Grawert (ogra) wrote :

it is not "also useful" on cdimage, it seems that uboot-mkimage was removed from the archive before this MIR was approved, which results in *all* armel images failing to build now, can this MIR please be approved ASAP so we can make sure to have working images before the sprint ?

Revision history for this message
Alexander Sack (asac) wrote :

this is fine with me given that we have the split of u-boot-tools as discussed here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=594937 ... so we can just have the u-boot-tools binary promoted.

so either wait, or do it in advance here and provide the patch to debian (thats preferred way i guess)

Revision history for this message
Alexander Sack (asac) wrote :

e.g. in u-boot_2010.12~rc2-1ubuntu1_armel.deb there is:

./usr/bin/mkimage
./usr/lib
./usr/lib/u-boot
./usr/lib/u-boot/openrd_base
./usr/lib/u-boot/openrd_base/u-boot.kwb
./usr/lib/u-boot/openrd_base/uboot.elf
./usr/lib/u-boot/sheevaplug
./usr/lib/u-boot/sheevaplug/u-boot.kwb
./usr/lib/u-boot/sheevaplug/uboot.elf
./usr/lib/u-boot/guruplug
./usr/lib/u-boot/guruplug/u-boot.kwb
./usr/lib/u-boot/guruplug/uboot.elf

this MIR just wants the usr/bin bits, while all the usr/lib bits are irrelevant for ubuntu and hence I would prefer to see those not in main.

Revision history for this message
Alexander Sack (asac) wrote :

(sorry for one more comment ...)

alternatively, I would be fine to take all as it is if at least one useful bootloader used by ubuntu images was shipped in this u-boot source (e.g. omap3 would be a candidate).

Oliver Grawert (ogra)
Changed in u-boot (Ubuntu):
milestone: none → natty-alpha-2
Changed in u-boot (Ubuntu Natty):
importance: Undecided → High
Revision history for this message
Loïc Minier (lool) wrote :

I've uploaded a fix for the i386 build.

Revision history for this message
Oliver Grawert (ogra) wrote :

a package with the split into u-boot and u-boot-tools has been uploaded to the archive, please approve u-boot-tools into main now.

u-boot (2010.12-1ubuntu1) natty; urgency=low

  [ Oliver Grawert ]
  * Package Loïcs debian changes ahead of time since ubuntu-arm image builds
    are blocked on the missing mkimage tool

  [ Loïc Minier ]
  * Split tools in u-boot-tools package
  * Build more tools in board-independent section
  * Add myself to Uploaders
  * Don't include debian-changes in the diff
  * Don't ignore debian/patches
  * Don't repeat Section: in binary package
  * Cleanup include/asm/proc and /arch
  * Add patch to fix build on i386; closes: #608801.
  * Add a dummy uboot-mkimage package for upgrades from squeeze; based on a
    patch by Marcin Juszkiewicz; closes: #607618.
  * Install and compress upstream mkimage manpage; based on a patch by
    Marcin Juszkiewicz.
  * Fix handling of -Wl,foo LDFLAGS; closes: #607613.
  * Misc refactoring of debian/rules
  * Split per architecture list of platform and targets into
    debian/targets
  * Actually use INSTALL_FILE/INSTALL_DIR/INSTALL_PROGRAM
  * Add support for cross-builds; these will currently lack board-specific
    tools
  * Build board-specific u-boot files in a separate build dir from the
    generic tools
  * Avoid dpkg-architecture if DEB_HOST_ARCH is set
  * Ignore /.pc/

u-boot (2010.12-1) unstable; urgency=low

  * New upstream version.
  * Install more tools in preparation for splitting off a
    u-boot-tools binary package.
 -- Oliver Grawert <email address hidden> Fri, 07 Jan 2011 10:43:01 +0100

Revision history for this message
Matthias Klose (doko) wrote :

2011-01-07 12:57:57 INFO Override Component to: 'main'
2011-01-07 12:58:06 INFO 'u-boot - 2010.12-1ubuntu1/universe/admin' source overridden
2011-01-07 12:58:06 INFO 'u-boot-2010.12~rc2-1ubuntu2/universe/admin/OPTIONAL' binary overridden in natty/amd64
2011-01-07 12:58:06 INFO 'u-boot-2010.12~rc2-1ubuntu2/universe/admin/OPTIONAL' binary overridden in natty/armel
2011-01-07 12:58:06 INFO 'u-boot-2010.12~rc2-1ubuntu2/universe/admin/OPTIONAL' binary overridden in natty/i386
2011-01-07 12:58:06 INFO 'u-boot-2010.12~rc2-1ubuntu2/universe/admin/OPTIONAL' binary overridden in natty/powerpc

Changed in u-boot (Ubuntu Natty):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.