Comment 7 for bug 721147

Revision history for this message
Fathi Boudra (fboudra) wrote :

it doesn't work for me on linaro-developer image:

root@linaro:~# apt-get install flash-kernel
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  uboot-envtools redboot-tools
The following packages will be upgraded:
  flash-kernel
1 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.
Need to get 12.8 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports/ natty-proposed/main flash-kernel armel 2.28ubuntu20 [12.8 kB]
Fetched 12.8 kB in 0s (50.5 kB/s)
(Reading database ... 55978 files and directories currently installed.)
Preparing to replace flash-kernel 2.28ubuntu19 (using .../flash-kernel_2.28ubuntu20_armel.deb) ...
Unpacking replacement flash-kernel ...
Setting up flash-kernel (2.28ubuntu20) ...
root@linaro:~# flash-kernel
/usr/sbin/flash-kernel: 951: [[: not found
Kernel /boot/vmlinuz-2.6.38-1003-linaro-omap does not match your subarchitecture
omap4, therefore not writing it to flash.
root@linaro:~# ls -l /boot
total 25544
-rw-r--r-- 1 root root 922401 Mar 4 03:55 System.map-2.6.35-1-n900
-rw------- 1 root root 1956901 Apr 16 00:01 System.map-2.6.38-1002-linaro-omap
-rw------- 1 root root 2008637 May 24 03:32 System.map-2.6.38-1003-linaro-omap
-rw-r--r-- 1 root root 266621 Mar 4 03:55 abi-2.6.35-1-n900
-rw-r--r-- 1 root root 513865 Apr 16 00:01 abi-2.6.38-1002-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 52101 Mar 4 03:55 config-2.6.35-1-n900
-rw-r--r-- 1 root root 94519 Apr 16 00:01 config-2.6.38-1002-linaro-omap
-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 20 18:18 dt-2.6.38-1002-linaro-omap
drwxr-xr-x 2 root root 4096 May 24 07:20 dt-2.6.38-1003-linaro-omap
-rw-r--r-- 1 root root 2381136 May 20 20:08 initrd.img-2.6.35-1-n900
-rw-r--r-- 1 root root 3713329 May 20 18:19 initrd.img-2.6.38-1002-linaro-omap
-rw-r--r-- 1 root root 3699209 May 24 07:21 initrd.img-2.6.38-1003-linaro-omap
-rw-r--r-- 1 root root 1611356 Mar 4 03:55 vmlinuz-2.6.35-1-n900
-rw------- 1 root root 4073680 Apr 16 00:01 vmlinuz-2.6.38-1002-linaro-omap
-rw------- 1 root root 4196708 May 24 03:32 vmlinuz-2.6.38-1003-linaro-omap
root@linaro:~# dpkg -l |grep linux-image
ii linux-image-2.6.35-1-n900 2.6.35-1.3.1 Linux kernel image for version 2.6.35 on Nokia N900
ii linux-image-2.6.38-1002-linaro-omap 2.6.38-1002.3 Linux kernel image for version 2.6.38 on TI OMAP[34]-based systems
ii linux-image-2.6.38-1003-linaro-omap 2.6.38-1003.4~ppa3 Linux kernel image for version 2.6.38 on TI OMAP[34]-based systems
ii linux-image-linaro-omap 2.6.38.1003.4 Linux kernel image for the OMAP architecture.