2012-07-12 15:47:38 |
David Cullen |
bug |
|
|
added bug |
2012-07-12 15:49:19 |
David Cullen |
description |
I have a PandaBoard system created from the image at
http://cdimage.ubuntu.com/releases/12.04/release/ubuntu-12.04-preinstalled-desktop-armhf+omap4.img.gz
I added the Linaro kernel repository and installed the Linaro kernel
because I had problems with the Linaro Ubuntu image.
However, when I ran the "flash-kernel" script, I got the following
error message:
Kernel /boot/vmlinuz-3.4.0-1-linaro-lt-omap does not match your subarchitecture
omap4, therefore not writing it to flash.
I worked around the problem by making a minor change to the
"flash-kernel" script.
I compared the "flash-kernel" script in the Linaro-Ubuntu image to
the Ubuntu image and derived the following patch:
--- flash-kernel.old 2012-07-09 14:29:28.752862488 -0400
+++ flash-kernel.new 2012-07-09 14:31:36.153494248 -0400
@@ -883,13 +883,23 @@ case "$machine" in
check_subarch "omap"
;;
"OMAP4430 Panda Board" | "OMAP4 Panda board")
- check_subarch "omap4"
+ # Linaro uses the same omap kernel for OMAP 3 and 4
+ if [ `expr "$kfile" : '.*linaro.*-omap$'` -ne 0 ]; then
+ check_subarch "omap"
+ else
+ check_subarch "omap4"
+ fi
if [ -z "${UBOOT_PART}" ]; then
export UBOOT_PART=/dev/mmcblk0p1
fi
;;
"OMAP4430 4430SDP board")
- check_subarch "omap4"
+ # Linaro uses the same omap kernel for OMAP 3 and 4
+ if [ `expr "$kfile" : '.*linaro.*-omap$'` -ne 0 ]; then
+ check_subarch "omap"
+ else
+ check_subarch "omap4"
+ fi
if [ -z "${UBOOT_PART}" ]; then
export UBOOT_PART=/dev/mmcblk1p1
fi
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: flash-kernel 2.28ubuntu42 [modified: usr/sbin/flash-kernel]
Uname: Linux 3.4.0-1-linaro-lt-omap armv7l
ApportVersion: 2.0.1-0ubuntu8
Architecture: armhf
Date: Thu Jul 12 11:33:32 2012
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: flash-kernel
UpgradeStatus: No upgrade log present (probably fresh install) |
I have a PandaBoard system created from the image at
http://cdimage.ubuntu.com/releases/12.04/release/ubuntu-12.04-preinstalled-desktop-armhf+omap4.img.gz
I added the Linaro kernel repository and installed the Linaro kernel
because I had problems with the Linaro Ubuntu image.
However, when I ran the "flash-kernel" script, I got the following
error message:
<code>
Kernel /boot/vmlinuz-3.4.0-1-linaro-lt-omap does not match your subarchitecture
omap4, therefore not writing it to flash.
</code>
I worked around the problem by making a minor change to the
"flash-kernel" script.
I compared the "flash-kernel" script in the Linaro-Ubuntu image to
the Ubuntu image and derived the following patch:
<code>
--- flash-kernel.old 2012-07-09 14:29:28.752862488 -0400
+++ flash-kernel.new 2012-07-09 14:31:36.153494248 -0400
@@ -883,13 +883,23 @@ case "$machine" in
check_subarch "omap"
;;
"OMAP4430 Panda Board" | "OMAP4 Panda board")
- check_subarch "omap4"
+ # Linaro uses the same omap kernel for OMAP 3 and 4
+ if [ `expr "$kfile" : '.*linaro.*-omap$'` -ne 0 ]; then
+ check_subarch "omap"
+ else
+ check_subarch "omap4"
+ fi
if [ -z "${UBOOT_PART}" ]; then
export UBOOT_PART=/dev/mmcblk0p1
fi
;;
"OMAP4430 4430SDP board")
- check_subarch "omap4"
+ # Linaro uses the same omap kernel for OMAP 3 and 4
+ if [ `expr "$kfile" : '.*linaro.*-omap$'` -ne 0 ]; then
+ check_subarch "omap"
+ else
+ check_subarch "omap4"
+ fi
if [ -z "${UBOOT_PART}" ]; then
export UBOOT_PART=/dev/mmcblk1p1
fi
</code>
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: flash-kernel 2.28ubuntu42 [modified: usr/sbin/flash-kernel]
Uname: Linux 3.4.0-1-linaro-lt-omap armv7l
ApportVersion: 2.0.1-0ubuntu8
Architecture: armhf
Date: Thu Jul 12 11:33:32 2012
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: flash-kernel
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2012-07-12 15:56:33 |
David Cullen |
description |
I have a PandaBoard system created from the image at
http://cdimage.ubuntu.com/releases/12.04/release/ubuntu-12.04-preinstalled-desktop-armhf+omap4.img.gz
I added the Linaro kernel repository and installed the Linaro kernel
because I had problems with the Linaro Ubuntu image.
However, when I ran the "flash-kernel" script, I got the following
error message:
<code>
Kernel /boot/vmlinuz-3.4.0-1-linaro-lt-omap does not match your subarchitecture
omap4, therefore not writing it to flash.
</code>
I worked around the problem by making a minor change to the
"flash-kernel" script.
I compared the "flash-kernel" script in the Linaro-Ubuntu image to
the Ubuntu image and derived the following patch:
<code>
--- flash-kernel.old 2012-07-09 14:29:28.752862488 -0400
+++ flash-kernel.new 2012-07-09 14:31:36.153494248 -0400
@@ -883,13 +883,23 @@ case "$machine" in
check_subarch "omap"
;;
"OMAP4430 Panda Board" | "OMAP4 Panda board")
- check_subarch "omap4"
+ # Linaro uses the same omap kernel for OMAP 3 and 4
+ if [ `expr "$kfile" : '.*linaro.*-omap$'` -ne 0 ]; then
+ check_subarch "omap"
+ else
+ check_subarch "omap4"
+ fi
if [ -z "${UBOOT_PART}" ]; then
export UBOOT_PART=/dev/mmcblk0p1
fi
;;
"OMAP4430 4430SDP board")
- check_subarch "omap4"
+ # Linaro uses the same omap kernel for OMAP 3 and 4
+ if [ `expr "$kfile" : '.*linaro.*-omap$'` -ne 0 ]; then
+ check_subarch "omap"
+ else
+ check_subarch "omap4"
+ fi
if [ -z "${UBOOT_PART}" ]; then
export UBOOT_PART=/dev/mmcblk1p1
fi
</code>
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: flash-kernel 2.28ubuntu42 [modified: usr/sbin/flash-kernel]
Uname: Linux 3.4.0-1-linaro-lt-omap armv7l
ApportVersion: 2.0.1-0ubuntu8
Architecture: armhf
Date: Thu Jul 12 11:33:32 2012
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: flash-kernel
UpgradeStatus: No upgrade log present (probably fresh install) |
I have a PandaBoard system created from the image at
http://cdimage.ubuntu.com/releases/12.04/release/ubuntu-12.04-preinstalled-desktop-armhf+omap4.img.gz
I added the Linaro kernel repository and installed the Linaro kernel
because I had problems with the Linaro Ubuntu image.
However, when I ran the "flash-kernel" script, I got the following
error message:
Kernel /boot/vmlinuz-3.4.0-1-linaro-lt-omap does not match your subarchitecture
omap4, therefore not writing it to flash.
I worked around the problem by making a minor change to the
"flash-kernel" script.
I compared the "flash-kernel" script in the Linaro-Ubuntu image to
the Ubuntu image and derived the attached patch.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: flash-kernel 2.28ubuntu42 [modified: usr/sbin/flash-kernel]
Uname: Linux 3.4.0-1-linaro-lt-omap armv7l
ApportVersion: 2.0.1-0ubuntu8
Architecture: armhf
Date: Thu Jul 12 11:33:32 2012
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: flash-kernel
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2012-07-12 15:58:01 |
David Cullen |
attachment added |
|
Patch flash-kernel script to work with Linaro kernels packages. https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/1023952/+attachment/3221238/+files/patch.txt |
|
2012-07-12 16:23:42 |
Ubuntu Foundations Team Bug Bot |
tags |
apport-bug armhf precise |
apport-bug armhf patch precise |
|
2012-07-12 16:23:51 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Review Team |
2012-07-12 16:35:06 |
Oliver Grawert |
flash-kernel (Ubuntu): status |
New |
Triaged |
|
2012-07-12 16:35:24 |
Oliver Grawert |
nominated for series |
|
Ubuntu Precise |
|
2012-07-12 16:35:24 |
Oliver Grawert |
bug task added |
|
flash-kernel (Ubuntu Precise) |
|
2012-07-12 16:35:33 |
Oliver Grawert |
flash-kernel (Ubuntu Precise): status |
New |
Triaged |
|
2012-07-12 16:35:37 |
Oliver Grawert |
flash-kernel (Ubuntu Precise): importance |
Undecided |
Medium |
|
2012-07-12 16:35:40 |
Oliver Grawert |
flash-kernel (Ubuntu Precise): assignee |
|
Oliver Grawert (ogra) |
|
2012-07-17 14:25:57 |
Oliver Grawert |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2012-07-17 14:27:35 |
Oliver Grawert |
summary |
flash-kernel script fails when installing Linaro OMAP kernels |
[SRU] flash-kernel script fails when installing Linaro OMAP kernels |
|
2012-07-19 04:43:25 |
Chris Halse Rogers |
flash-kernel (Ubuntu Precise): status |
Triaged |
Fix Committed |
|
2012-07-19 04:43:30 |
Chris Halse Rogers |
bug |
|
|
added subscriber SRU Verification |
2012-07-19 04:43:32 |
Chris Halse Rogers |
tags |
apport-bug armhf patch precise |
apport-bug armhf patch precise verification-needed |
|
2012-07-19 05:37:18 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/precise-proposed/flash-kernel |
|
2012-07-19 12:30:09 |
David Cullen |
flash-kernel (Ubuntu): status |
Triaged |
Fix Released |
|
2012-07-19 20:02:24 |
David Cullen |
tags |
apport-bug armhf patch precise verification-needed |
apport-bug armhf patch precise verification-complete |
|
2012-07-19 20:03:04 |
David Cullen |
tags |
apport-bug armhf patch precise verification-complete |
apport-bug armhf patch precise verification-done |
|
2012-08-07 13:40:17 |
Oliver Grawert |
flash-kernel (Ubuntu Precise): status |
Fix Committed |
Fix Released |
|