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.
- 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 <email@example.com>
Version-Release number of selected component (if applicable):
Tested with >=7.0.16
Steps to Reproduce:
Created attachment 506093 [details]
Patch for current head
Created attachment 506094 [details]
Patch for grubby.spec
A simpler approach is discussed on bug 731580
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.
We need to review this for F-18
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:
I think this can now be closed