device tree blob name mismatch

Bug #1255527 reported by Milosz Wasilewski
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
LAVA Dispatcher
Fix Released
High
Antonio Terceiro

Bug Description

The image downloaded from here:
http://snapshots.linaro.org/openembedded/pre-built/vexpress64/534/vexpress64-openembedded_lamp-armv8-gcc-4.8_20131123-534.img.gz

doesn't boot in FVP Base EAM 4x4 model because bootloader is looking for fdt.dtb. There is no such file and boot fails.
http://validation.linaro.org/scheduler/job/88752/log_file#L_5_18

After renaming fvp-base-gicv2-psci.dtb to fdt.dtb it is possible to boot without problems (checked on my local machine).

Revision history for this message
Ryan Harkin (ryanharkin) wrote :

Unfortunately, I had to change UEFI so I could support multiple models with 1 UEFI binary and 1 default config.

Therefore, to run the AEMv8 or Cortex models you will need to use this extra step:

    ln -sf fvp-base-gicv2-psci.dtb fdt.dtb

To boot on the new Foundation FVP model you will need this step:

    ln -sf fvp-foundation-gicv2-psci.dtb fdt.dtb

The 13.11 release notes describe this, thankfully.

Fathi Boudra (fboudra)
Changed in linaro-oe:
status: New → Confirmed
milestone: none → 13.11
Revision history for this message
Milosz Wasilewski (mwasilew) wrote :

In order to boot FVP model using OE image LAVA changes are needed. Added lava-server to affected projects.

Revision history for this message
Soumya Basak (soumya-basak) wrote :

as per the instructions on comment #1

the the OE boot successful with FVP models.

http://snapshots.linaro.org/openembedded/pre-built/vexpress64/534

Thank You.

Dileep Katta (dkatta)
information type: Public → Public Security
information type: Public Security → Private Security
Revision history for this message
Milosz Wasilewski (mwasilew) wrote :

A workaround to run the tests in LAVA:

     {
            "command": "boot_linaro_image",
            "parameters": {
                "boot_cmds": [
                    "sendline a",
                    "expect Choice:",
                    "sendline 2",
                    "expect Update entry:",
                    "sendline 1",
                    "expect File path of the EFI Application or the kernel: Image",
                    "sendline",
                    "expect Keep the local FDT: [y/n]",
                    "sendline n",
                    "expect Add an initrd: [y/n]",
                    "sendline n",
                    "expect Arguments to pass to the binary: console=ttyAMA0 earlyprintk=pl011,0x1c090000 debug user_debug=31 loglevel=9 root=/dev/vda2",
                    "sendline",
                    "expect Description for this new Entry: Linaro disk image on virtio",
                    "sendline",
                    "sendline 2",
                    "expect Update entry:",
                    "sendline 1",
                    "expect File path of the EFI Application or the kernel: Image",
                    "sendline",
                    "expect Add a local FDT: [y/n]",
                    "sendline y",
                    "expect File path of the local FDT:",
                    "sendline fvp-base-gicv2-psci.dtb",
                    "expect Add an initrd: [y/n]",
                    "sendline n",
                    "expect Arguments to pass to the binary: console=ttyAMA0 earlyprintk=pl011,0x1c090000 debug user_debug=31 loglevel=9 root=/dev/vda2",
                    "sendline",
                    "expect Description for this new Entry: Linaro disk image on virtio",
                    "sendline",
                    "expect Choice:",
                    "sendline 5",
                    "expect Start:",
                    "sendline 1"
                ]
            }
        },

Dileep Katta (dkatta)
information type: Private Security → Public
Dave Pigott (dpigott)
Changed in lava-server:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Dave Pigott (dpigott) wrote :

Go with a regex for now. Need a longer term fix

affects: lava-server → lava-dispatcher
Revision history for this message
Dave Pigott (dpigott) wrote :

Ref these commits:
1f8fb892128c4fd6c19ee4c01eabba5a552403c9
693177609b1f37149c288ec269e781d4dd475fcd

Changed in lava-dispatcher:
assignee: nobody → Antonio Terceiro (terceiro)
Revision history for this message
Antonio Terceiro (terceiro) wrote :

Actually using regexes did't cut for this problem.
The configured binary name is only used to be able to get it out of the image, but is never passed explicitly to the models.
I am assuming the name `fdt.dtb` is hardcoded in the UEFI binary?

I have prepared and tested a workaround for this, which is up for review at
http://staging.review.linaro.org/#/c/559/

Changed in lava-dispatcher:
status: Confirmed → In Progress
Changed in lava-dispatcher:
status: In Progress → Fix Released
Fathi Boudra (fboudra)
Changed in linaro-oe:
milestone: 13.11 → none
no longer affects: linaro-oe
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.