Public bug reported: 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) ** Affects: flash-kernel (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug armhf precise -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1023952 Title: flash-kernel script fails when installing Linaro OMAP kernels To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/1023952/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs