Hi Basil,

OK, this is more something for the linaro-media-create guys. I'm not sure how that all hangs together.

I've copied a couple of them on this mail in the hope that they may be able to point you in the right direction.

Thanks

Dave

On 3 May 2013, at 12:02, Basil Eljuse <Basil.Eljuse@arm.com> wrote:

Hi Dave,
 
We looked into the ‘testboot’ partition and could see only
 
-rw-r--r-- 1 user user     401 May  3  2013 boot.ini
-rw-r--r-- 1 user user     401 May  3  2013 boot.scr
-rw-r--r-- 1 user user     329 May  3  2013 boot.txt
drwx------ 2 user user    2048 May  3  2013 rtsm
-rw-r--r-- 1 user user  200728 May  3  2013 u-boot.bin
-rw-r--r-- 1 user user 3145728 May  3  2013 uefi_v2p-ca15-tc1.bin
-rw-r--r-- 1 user user  720896 May  3  2013 uefi_v2p-ca15-tc2.bin
-rw-r--r-- 1 user user 3145728 May  3  2013 uefi_v2p-ca5s.bin
-rw-r--r-- 1 user user 4282176 May  3  2013 uImage
-rw-r--r-- 1 user user 1478374 May  3  2013 uInitrd
-rw-r--r-- 1 user user   11349 May  3  2013 v2p-ca15-tc1.dtb
-rw-r--r-- 1 user user   10786 May  3  2013 v2p-ca5s.dtb
-rw-r--r-- 1 user user   12892 May  3  2013 v2p-ca9.dtb
 
The v2p-ca15-tc2.dtb is not there.
 
The command we issue is
 
./linaro-image-tools/linaro-hwpack-replace -t hwpack_linaro-vexpress_20130324-276_armhf_supported.tar.gz -p linux-image-3.9.0-rc7_3.9.0-rc7-1_armhf.deb -r linux-image-3.9 -d -i
./linaro-image-tools/linaro-hwpack-replace -t hwpack_linaro-vexpress_20130324-276_armhf_supported.tar.gz -p linux-headers-3.9.0-rc7_3.9.0-rc7-1_armhf.deb -r linux-headers-3.9 -d -i
 
 
2013-05-01 00:18:20,185 - linaro_image_tools - INFO - The debian package 'linux-image-3.9.0-rc7_3.9.0-rc7-1_armhf.deb' has been been included in 'hwpack_linaro-vexpress_20130324-276_armhf_supported.tar.gz'
hwpack_linaro-vexpress_20130324-276_armhf_supported.tar.gz
 
2013-05-01 00:18:24,609 - linaro_image_tools - INFO - The debian package 'linux-headers-3.9.0-rc7_3.9.0-rc7-1_armhf.deb' has been been included in 'hwpack_linaro-vexpress_20130324-276_armhf_supported.tar.gz'
hwpack_linaro-vexpress_20130324-276_armhf_supported.tar.gz
contents of our generated linux-image-3.9.0-rc7_3.9.0-rc7-1_armhf.deb
-----------------------------------------------------------
drwxr-xr-x root/root         0 2013-04-29 14:19 ./
drwxr-xr-x root/root         0 2013-04-29 14:19 ./etc/
drwxr-xr-x root/root         0 2013-04-29 14:19 ./etc/kernel/
drwxr-xr-x root/root         0 2013-04-29 14:19 ./etc/kernel/preinst.d/
drwxr-xr-x root/root         0 2013-04-29 14:19 ./etc/kernel/postinst.d/
drwxr-xr-x root/root         0 2013-04-29 14:19 ./etc/kernel/postrm.d/
drwxr-xr-x root/root         0 2013-04-29 14:19 ./etc/kernel/prerm.d/
drwxr-xr-x root/root         0 2013-04-29 14:19 ./usr/
drwxr-xr-x root/root         0 2013-04-29 14:19 ./usr/share/
drwxr-xr-x root/root         0 2013-04-29 14:19 ./usr/share/doc/
drwxr-xr-x root/root         0 2013-04-29 14:20 ./usr/share/doc/linux-image-3.9.0-rc7/
-rw-r--r-- root/root       690 2013-04-29 14:20 ./usr/share/doc/linux-image-3.9.0-rc7/copyright
-rw-r--r-- root/root       174 2013-04-29 14:20 ./usr/share/doc/linux-image-3.9.0-rc7/changelog.Debian.gz
drwxr-xr-x root/root         0 2013-04-29 14:19 ./boot/
-rw-r--r-- root/root     56813 2013-04-29 14:19 ./boot/config-3.9.0-rc7
-rwxr-xr-x root/root   3776056 2013-04-29 14:19 ./boot/vmlinuz-3.9.0-rc7
-rw-r--r-- root/root   1544394 2013-04-29 14:19 ./boot/System.map-3.9.0-rc7
drwxr-xr-x root/root         0 2013-04-29 14:19 ./lib/
drwxr-xr-x root/root         0 2013-04-29 14:19 ./lib/modules/
drwxr-xr-x root/root         0 2013-04-29 14:19 ./lib/modules/3.9.0-rc7/
-rw-r--r-- root/root       189 2013-04-29 14:19 ./lib/modules/3.9.0-rc7/modules.usbmap
-rw-r--r-- root/root       103 2013-04-29 14:19 ./lib/modules/3.9.0-rc7/modules.dep
-rw-r--r-- root/root        52 2013-04-29 14:19 ./lib/modules/3.9.0-rc7/modules.devname
-rw-r--r-- root/root        69 2013-04-29 14:19 ./lib/modules/3.9.0-rc7/modules.alias
-rw-r--r-- root/root        43 2013-04-29 14:19 ./lib/modules/3.9.0-rc7/modules.seriomap
-rw-r--r-- root/root       100 2013-04-29 14:19 ./lib/modules/3.9.0-rc7/modules.order
drwxr-xr-x root/root         0 2013-04-29 14:19 ./lib/modules/3.9.0-rc7/kernel/
drwxr-xr-x root/root         0 2013-04-29 14:19 ./lib/modules/3.9.0-rc7/kernel/drivers/
drwxr-xr-x root/root         0 2013-04-29 14:19 ./lib/modules/3.9.0-rc7/kernel/drivers/char/
drwxr-xr-x root/root         0 2013-04-29 14:19 ./lib/modules/3.9.0-rc7/kernel/drivers/char/hw_random/
-rw-r--r-- root/root      7761 2013-04-29 14:19 ./lib/modules/3.9.0-rc7/kernel/drivers/char/hw_random/rng-core.ko
drwxr-xr-x root/root         0 2013-04-29 14:19 ./lib/modules/3.9.0-rc7/kernel/drivers/gator/
-rw-r--r-- root/root     76195 2013-04-29 14:19 ./lib/modules/3.9.0-rc7/kernel/drivers/gator/gator.ko
drwxr-xr-x root/root         0 2013-04-29 14:19 ./lib/modules/3.9.0-rc7/kernel/crypto/
-rw-r--r-- root/root      7818 2013-04-29 14:19 ./lib/modules/3.9.0-rc7/kernel/crypto/ansi_cprng.ko
-rw-r--r-- root/root        69 2013-04-29 14:19 ./lib/modules/3.9.0-rc7/modules.ccwmap
-rw-r--r-- root/root       690 2013-04-29 14:19 ./lib/modules/3.9.0-rc7/modules.symbols
-rw-r--r-- root/root        43 2013-04-29 14:19 ./lib/modules/3.9.0-rc7/modules.alias.bin
-rw-r--r-- root/root       131 2013-04-29 14:19 ./lib/modules/3.9.0-rc7/modules.softdep
-rw-r--r-- root/root       141 2013-04-29 14:19 ./lib/modules/3.9.0-rc7/modules.inputmap
-rw-r--r-- root/root      5632 2013-04-29 14:19 ./lib/modules/3.9.0-rc7/modules.builtin
-rw-r--r-- root/root        74 2013-04-29 14:19 ./lib/modules/3.9.0-rc7/modules.ofmap
-rw-r--r-- root/root       236 2013-04-29 14:19 ./lib/modules/3.9.0-rc7/modules.dep.bin
-rw-r--r-- root/root        99 2013-04-29 14:19 ./lib/modules/3.9.0-rc7/modules.pcimap
-rw-r--r-- root/root        81 2013-04-29 14:19 ./lib/modules/3.9.0-rc7/modules.isapnpmap
-rw-r--r-- root/root       615 2013-04-29 14:19 ./lib/modules/3.9.0-rc7/modules.symbols.bin
-rw-r--r-- root/root      7211 2013-04-29 14:19 ./lib/modules/3.9.0-rc7/modules.builtin.bin
-rw-r--r-- root/root        73 2013-04-29 14:19 ./lib/modules/3.9.0-rc7/modules.ieee1394map
drwxr-xr-x root/root         0 2013-04-29 14:19 ./lib/firmware/
drwxr-xr-x root/root         0 2013-04-29 14:19 ./lib/firmware/3.9.0-rc7/
drwxr-xr-x root/root         0 2013-04-29 14:19 ./lib/firmware/3.9.0-rc7/device-tree/
-rw-r--r-- root/root     14453 2013-04-29 14:19 ./lib/firmware/3.9.0-rc7/device-tree/vexpress-v2p-ca15_a7.dtb
-rw-r--r-- root/root      8778 2013-04-29 14:19 ./lib/firmware/3.9.0-rc7/device-tree/rtsm_ve-cortex_a9x4.dtb
-rw-r--r-- root/root      8718 2013-04-29 14:19 ./lib/firmware/3.9.0-rc7/device-tree/rtsm_ve-cortex_a15x4.dtb
-rw-r--r-- root/root      8626 2013-04-29 14:19 ./lib/firmware/3.9.0-rc7/device-tree/rtsm_ve-cortex_a9x2.dtb
-rw-r--r-- root/root     12892 2013-04-29 14:19 ./lib/firmware/3.9.0-rc7/device-tree/vexpress-v2p-ca9.dtb
-rw-r--r-- root/root      9472 2013-04-29 14:19 ./lib/firmware/3.9.0-rc7/device-tree/rtsm_ve-v2p-ca15x1-ca7x1.dtb
-rw-r--r-- root/root     13665 2013-04-29 14:19 ./lib/firmware/3.9.0-rc7/device-tree/vexpress-v2p-ca15-tc2_a15only.dtb
-rw-r--r-- root/root     10786 2013-04-29 14:19 ./lib/firmware/3.9.0-rc7/device-tree/vexpress-v2p-ca5s.dtb
-rw-r--r-- root/root     13933 2013-04-29 14:19 ./lib/firmware/3.9.0-rc7/device-tree/vexpress-v2p-ca15-tc2_a7only.dtb
-rw-r--r-- root/root      1056 2013-04-29 14:19 ./lib/firmware/3.9.0-rc7/device-tree/xenvm-4.2.dtb
-rw-r--r-- root/root     11176 2013-04-29 14:19 ./lib/firmware/3.9.0-rc7/device-tree/rtsm_ve-v2p-ca15x4-ca7x4.dtb
-rw-r--r-- root/root      8490 2013-04-29 14:19 ./lib/firmware/3.9.0-rc7/device-tree/rtsm_ve-cortex_a15x1.dtb
-rw-r--r-- root/root     14469 2013-04-29 14:19 ./lib/firmware/3.9.0-rc7/device-tree/vexpress-v2p-ca15-tc2_a7bootcluster.dtb
-rw-r--r-- root/root      8566 2013-04-29 14:19 ./lib/firmware/3.9.0-rc7/device-tree/rtsm_ve-cortex_a15x2.dtb
-rw-r--r-- root/root     11349 2013-04-29 14:19 ./lib/firmware/3.9.0-rc7/device-tree/vexpress-v2p-ca15-tc1.dtb
-rw-r--r-- root/root     14469 2013-04-29 14:19 ./lib/firmware/3.9.0-rc7/device-tree/v2p-ca15-tc2.dtb
 
 
 
In our deb package we have v2p-ca15-tc2.dtb in ./lib/firmware/3.9.0-rc7/device-tree folder
 
We could see that in the testrootfs partition on the SD card in the same directory structure.
 
Presumably this is wrong. Any idea how to generate the hardware pack which would ensure that the our deb contents are unpacked to testboot partition.
 
Thanks
Basil Eljuse
 
 
 
 
 
 
 
 
 
From: Dave Pigott [mailto:dave.pigott@linaro.org] 
Sent: 03 May 2013 07:13
To: Basil Eljuse
Cc: Linaro Validation; Liviu Dudau; Dean Arnold
Subject: Re: [Linaro-validation] Help with solving ubuntu hardware pack issues on LAVA...
 
Hi Basil,
 
Sorry, I thought this was clear. This issue is the UEFI config not matching your dtb name. If you need to have a different dtb name, then you have to change the UEFI config, although this will mean that Linaro generated test images no longer work.
 
You say you built an image with the correctly named dtb. Have you taken a look on the sd card testboot partition to see if it really is there?
 
Thanks
 
Dave
 
On 2 May 2013, at 21:42, Basil Eljuse <Basil.Eljuse@arm.com> wrote:


b
 

-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.