Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at

Bug 715460

Summary: [patch] uboot support for ARM - rework
Product: [Fedora] Fedora Reporter: Zoran Pericic <zpericic>
Component: grubbyAssignee: Peter Jones <pjones>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: bcl, bjohnson, jbastian, mads, pbrobinson, pjones
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-23 21:59:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 245418    
Description Flags
Patch for 7.0.16-7.0.18
Patch for current head
Patch for grubby.spec none

Description Zoran Pericic 2011-06-22 23:39:46 UTC
Created attachment 506092 [details]
Patch for 7.0.16-7.0.18

Description of problem:
Complete rework of uboot ARM support.

In current HEAD there is basic support for uboot.

This patch add reworked Ubuntu flash-kernel utility which is used to flash kernel to ARM boot device (mmc, mtd)

Also, I modified new-kernel-pkg script to use new utility. 

flash-kernel can
- install new kernel/initrd with specified files or kernel version
- update bootloader for OMAP
- create new boot script from parametars in /etc/sysconfig/uboot file

Patch was written by Zoran Pericic <zpericic>

Version-Release number of selected component (if applicable):
Tested with >=7.0.16

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:

Comment 1 Zoran Pericic 2011-06-22 23:40:32 UTC
Created attachment 506093 [details]
Patch for current head

Comment 2 Zoran Pericic 2011-06-22 23:45:13 UTC
Created attachment 506094 [details]
Patch for grubby.spec

Comment 3 Mads Kiilerich 2011-11-25 17:24:24 UTC
A simpler approach is discussed on bug 731580

Comment 4 Bernard Johnson 2012-04-15 16:32:06 UTC
Part of the patch does this in /sbin/new-kernel-pkg:
if [ -z "$mountEntry" ]; then
  mount $ubootDevice $ubootDir

For anything other than "standard" device/filesystem, this will not work correctly.

For example, in my setup /boot/uboot is a bind mount of /boot.  There should be some kind of mechanism to specify this in /etc/sysconfig/uboot.

Comment 5 Peter Robinson 2012-06-06 09:45:59 UTC
We need to review this for F-18

Comment 6 Fedora End Of Life 2013-04-03 17:02:26 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:

Comment 7 Peter Robinson 2013-07-23 21:59:54 UTC
I think this can now be closed