← Back to team overview

linaro-release team mailing list archive

[Bug 721147] Re: flash-kernel subarch check fails with Linaro OMAP kernels

 

Worked fine for me:

linaro@linaro:~/kernel$ dpkg -l | grep flash-kernel
ii  flash-kernel                          2.28ubuntu20                               utility to make certain embedded devices bootable
linaro@linaro:~/kernel$ cd 

linaro@linaro:~/kernel$ ls -l /boot/
total 21028
-rw------- 1 root root 2008637 May 24 03:32 System.map-2.6.38-1003-linaro-omap
-rw-r--r-- 1 root root  525199 May 24 03:32 abi-2.6.38-1003-linaro-omap
-rw-r--r-- 1 root root     361 May 24 05:14 boot.script
-rw-r--r-- 1 root root   94559 May 24 03:32 config-2.6.38-1003-linaro-omap
drwxr-xr-x 2 root root    4096 May 24 06:47 dt-2.6.38-1003-linaro-omap
-rw-r--r-- 1 root root 3991086 May 24 06:48 initrd.img-2.6.38-1003-linaro-omap
-rw------- 1 root root 4196708 May 24 03:32 vmlinuz-2.6.38-1003-linaro-omap

linaro@linaro:~/kernel$ sudo flash-kernel
Using u-boot partition: /dev/mmcblk0p1
Creating backups of uImage and uInitrd... done.
Generating kernel u-boot image... done.
Generating Initramfs u-boot image... done.
Generating u-boot configuration from /boot/boot.script... done.


** Tags added: verification-done
** Tags removed: verification-needed

-- 
You received this bug notification because you are a member of Linaro
Release Team, which is a subscriber of a duplicate bug (758324).
https://bugs.launchpad.net/bugs/721147

Title:
  flash-kernel subarch check fails with Linaro OMAP kernels

Status in “flash-kernel” package in Ubuntu:
  Fix Committed
Status in “flash-kernel” source package in Natty:
  Fix Committed

Bug description:
  Binary package hint: flash-kernel

  When using flash-kernel with a recent Linaro kernel on an OMAP4 board
  the subarch check fails because the kfile does not end with a '3' or
  '4' - it's just named like this: vmlinuz-2.6.37-1002-linaro-omap.
  Since the linaro-omap kernel supports both the OMAP3 and OMAP4 there
  is no need to add a '3' or '4'.

  The attached patch omits the check_subarch check for OMAP boards if
  $kfile matches the substring 'linaro-omap'.