UEFI: stub-kernel TFTP boot test fail on v7 and v8

Bug #1274126 reported by Fu Wei
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro UEFI
Fix Released
High
Leif Lindholm

Bug Description

(1)can not setup tftp boot info properly
When setup tftp boot info, I can not input FDT path in one time,
I need to :
 a, input FDT path(go back to MENU, the path is wrong)
 b, clean FDT path
 c, add FDT path again
after this three steps, The FDT path of tftp boot will be right in the boot MENU.
Please check the file attached in detail.

(2) after making right setting, kernel can not be brought up successfully,
 a: sometimes it will show a lot of "Synchronous Exception"
---------------------
[1] Linaro disk image on virtio
 - VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/Image
 - Arguments: console=ttyAMA0 earlyprintk=pl011,0x1c090000 debug user_debug=31 loglevel=9 root=/dev/vda2
 - FDT: VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/fvp-base-gicv2-psci.dtb
 - LoaderType: Linux kernel with Local FDT
[2] pxe
 - MAC(201201041000,0x1)
 - LoaderType: EFI Application
[3] lava-test
 - MAC(201201041000,0x1)/IPv4(192.168.1.16)/efi/Image
 - Arguments: console=ttyAMA0 earlyprintk=pl011,0x1c090000 debug user_debug=31 loglevel=9 root=/dev/vda2 rootwait ro
 - FDT: MAC(201201041000,0x1)/IPv4(192.168.1.16)/efi/fvp-base-gicv2-psci.dtb
 - LoaderType: Linux kernel with Local FDT
-----------------------
Global FDT Config
 - VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/fdt.dtb
-----------------------
[a] Boot Manager
[b] Shell
[c] Reboot
[d] Shutdown
Start: 3

Synchronous Exception:
......
---------------------

b, somtimes it will show a "Warning" ,then stop.
---------------------
[1] Linaro disk image on virtio
 - VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/Image
 - Arguments: console=ttyAMA0 earlyprintk=pl011,0x1c090000 debug user_debug=31 loglevel=9 root=/dev/vda2
 - FDT: VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/fvp-base-gicv2-psci.dtb
 - LoaderType: Linux kernel with Local FDT
[2] pxe
 - MAC(201201041000,0x1)
 - LoaderType: EFI Application
[3] lava-test
 - MAC(201201041000,0x1)/IPv4(192.168.1.16)/efi/Image
 - Arguments: console=ttyAMA0 earlyprintk=pl011,0x1c090000 debug user_debug=31 loglevel=9 root=/dev/vda2 rootwait ro
 - FDT: MAC(201201041000,0x1)/IPv4(192.168.1.16)/efi/fvp-base-gicv2-psci.dtb
 - LoaderType: Linux kernel with Local FDT
-----------------------
Global FDT Config
 - VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/fdt.dtb
-----------------------
[a] Boot Manager
[b] Shell
[c] Reboot
[d] Shutdown
Start: 3
Warning: Failed to reserve the memory required for the secondary cores at 0xF7E00000, Status = Not Found
   PEI 1443 ms
   DXE 454 ms
   BDS 49961 ms
Total Time = 51859 ms
---------------------

-(3) tried PXE boot into GRUB on ARMv8, Fail-
*(this is kernel problem, and has been fixed)*
---------------------
                          GNU GRUB version 2.02~beta2

   Minimal BASH-like line editing is supported. For the first word, TAB
   lists possible command completions. Anywhere else TAB lists possible
   device or file completions.

grub> linux (tftp)efi/Image console=ttyAMA0 earlyprintk=pl011,0x1c090000 debu
g user_debug=31 loglevel=9 root=/dev/vda2 rootwait ro
grub> devicetree (tftp)efi/fvp-base-gicv2-psci.dtb
grub> boot
EFI stub: Booting Linux Kernel...
EFI stub: ERROR: Failed to load device tree!
---------------------

BTW, There are not these problem in ARMv7 test, I can run TFTP boot on v7 FAST Model.

Revision history for this message
Fu Wei (fu-wei) wrote :
Anmar Oueja (anmar)
Changed in linaro-uefi:
assignee: nobody → Leif Lindholm (leif-lindholm)
Revision history for this message
Leif Lindholm (leif-lindholm) wrote :

Confirmed. Something went wrong in the January release. Will be resolved in 2014.02.

Changed in linaro-uefi:
milestone: none → 14.02
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Roy Franz (roy-franz) wrote :

Networking does not work for me on v7 models - I get the error:

Unable to set the NIC configure parameters, Access Denied

when I try to configure the ethernet device either statically or using dhcp.

I see the same behavior on the FVP fast model and QEMU.

Anmar Oueja (anmar)
summary: - UEFI: stub-kernel TFTP boot test fail
+ UEFI: stub-kernel TFTP boot test fail on v7 and v8
Fu Wei (fu-wei)
description: updated
Fu Wei (fu-wei)
description: updated
Revision history for this message
Anmar Oueja (anmar) wrote :

Fu Wei was going to test the 2014.03 linaro-edk2 tree and see if he can still reproduce this issue.

Fathi Boudra (fboudra)
Changed in linaro-uefi:
milestone: 14.02 → 14.03
Fathi Boudra (fboudra)
Changed in linaro-uefi:
milestone: 14.03 → 14.04
Revision history for this message
Fu Wei (fu-wei) wrote :
Revision history for this message
Leif Lindholm (leif-lindholm) wrote :

Olivier just pushed some fixes for exception handling. Revisit with first build of 2014.05.

Revision history for this message
Fu Wei (fu-wei) wrote :

bug is still present, in http://snapshots.linaro.org/components/kernel
/linaro-edk2/15/release

01 May

(the build of 2014.05)

Booting trusted firmware boot loader stage 1
Built : 11:07:41, May 5 2014
Booting trusted firmware boot loader stage 2
BL2 Built : 11:07:43, May 5 2014
Booting trusted firmware boot loader stage 3
BL31 Built : 11:07:46, May 5 2014
UEFI firmware (version built at 11:22:40 on May 1 2014)

The default boot selection will start in 10 seconds
[1] Linaro disk image on virtio
 - VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/Image
 - Arguments: console=ttyAMA0 earlyprintk=pl011,0x1c090000 debug user_debug=31 loglevel=9 root=/dev/vda2
 - FDT: VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/fvp-base-gicv2-psci.dtb
 - LoaderType: Linux kernel with Local FDT
[2] pxe
 - MAC(201201041000,0x1)
 - LoaderType: EFI Application
[3] test
 - MAC(201201041000,0x1)/IPv4(192.168.1.16)/efi/grub_v8.efi
 - LoaderType: EFI Application
[4] test
 - MAC(201201041000,0x1)/IPv4(192.168.1.16)/efi/Image
 - Arguments: console=ttyAMA0 earlyprintk=pl011,0x1c090000 debug user_debug=31 loglevel=9 root=/dev/vda2 rootwait ro
 - FDT: MAC(201201041000,0x1)/IPv4(192.168.1.16)/efi/fvp-base-gicv2-psci.dtb
 - LoaderType: Linux kernel with Local FDT
-----------------------
Global FDT Config
 - VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/fdt.dtb
-----------------------
[a] Boot Manager
[b] Shell
[c] Reboot
[d] Shutdown
Start: 4

Synchronous Exception:

Synchronous Exception:

Revision history for this message
Fu Wei (fu-wei) wrote :

For GRUB tftp boot, it works fine.

[tekkamanninja@fuwei ~]$ telnet 192.168.1.16 5000
Trying 192.168.1.16...
Connected to 192.168.1.16.
Escape character is '^]'.
Booting trusted firmware boot loader stage 1
Built : 11:07:41, May 5 2014
Booting trusted firmware boot loader stage 2
BL2 Built : 11:07:43, May 5 2014
Booting trusted firmware boot loader stage 3
BL31 Built : 11:07:46, May 5 2014
UEFI firmware (version built at 11:22:40 on May 1 2014)

The default boot selection will start in 10 seconds
[1] Linaro disk image on virtio
 - VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/Image
 - Arguments: console=ttyAMA0 earlyprintk=pl011,0x1c090000 debug user_debug=31 loglevel=9 root=/dev/vda2
 - FDT: VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/fdt.dtb
 - LoaderType: Linux kernel with Local FDT
-----------------------
Global FDT Config
 - VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/fdt.dtb
-----------------------
[a] Boot Manager
[b] Shell
[c] Reboot
[d] Shutdown
Start: a
[1] Add Boot Device Entry
[2] Update Boot Device Entry
[3] Remove Boot Device Entry
[4] Update FDT path
[5] Return to main menu
Choice: 1
[1] SemihostFs (0 MB)
[2] boot (67 MB)
[3] VenHw(E7223039-5836-41E1-B542-D7EC736C5E59)
[4] VenHw(02118005-9DA7-443A-92D5-781F022AEDBB)
[5] VenHw(1F15DA3C-37FF-4070-B471-BB4AF12A724A)
[6] VenHw(CC2CBF29-1498-4CDD-8171-F8B6B41D0909)
[7] PXE on MAC Address: 20:12:01:04:10:00
[8] TFTP on MAC Address: 20:12:01:04:10:00
Select the Boot Device: 8
Get the IP address from DHCP: [y/n] y
Get the TFTP server IP address: 192.168.1.16
File path of the EFI Application or the kernel : efi/grub_v8.efi
Is an EFI Application? [y/n] y
Is your application is an OS loader? [y/n] y
Description for this new Entry: test
[1] Add Boot Device Entry
[2] Update Boot Device Entry
[3] Remove Boot Device Entry
[4] Update FDT path
[5] Return to main menu
Choice: 5
[1] Linaro disk image on virtio
 - VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/Image
 - Arguments: console=ttyAMA0 earlyprintk=pl011,0x1c090000 debug user_debug=31 loglevel=9 root=/dev/vda2
 - FDT: VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/fdt.dtb
 - LoaderType: Linux kernel with Local FDT
[2] test
 - MAC(201201041000,0x1)/IPv4(192.168.1.16)/efi/grub_v8.efi
 - LoaderType: EFI Application
-----------------------
Global FDT Config
 - VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/fdt.dtb
-----------------------
[a] Boot Manager
[b] Shell
[c] Reboot
[d] Shutdown
Start: 2
Welcome to GRUB!

                          GNU GRUB version 2.02~beta2

   Minimal BASH-like line editing is supported. For the first word, TAB
   lists possible command completions. Anywhere else TAB lists possible
   device or file completions.

grub>

Revision history for this message
Leif Lindholm (leif-lindholm) wrote : Re: [Bug 1274126] Re: UEFI: stub-kernel TFTP boot test fail on v7 and v8
Download full text (5.7 KiB)

Hi Fu Wei,

There is no new -rc yet.
Please wait until I let you know we actually have something worth testing.

Regards,

Leif

On 5 May 2014 05:22, Fu Wei <email address hidden> wrote:
> bug is still present, in http://snapshots.linaro.org/components/kernel
> /linaro-edk2/15/release
>
> 01 May
>
> (the build of 2014.05)
>
>
> Booting trusted firmware boot loader stage 1
> Built : 11:07:41, May 5 2014
> Booting trusted firmware boot loader stage 2
> BL2 Built : 11:07:43, May 5 2014
> Booting trusted firmware boot loader stage 3
> BL31 Built : 11:07:46, May 5 2014
> UEFI firmware (version built at 11:22:40 on May 1 2014)
>
>
> The default boot selection will start in 10 seconds
> [1] Linaro disk image on virtio
> - VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/Image
> - Arguments: console=ttyAMA0 earlyprintk=pl011,0x1c090000 debug user_debug=31 loglevel=9 root=/dev/vda2
> - FDT: VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/fvp-base-gicv2-psci.dtb
> - LoaderType: Linux kernel with Local FDT
> [2] pxe
> - MAC(201201041000,0x1)
> - LoaderType: EFI Application
> [3] test
> - MAC(201201041000,0x1)/IPv4(192.168.1.16)/efi/grub_v8.efi
> - LoaderType: EFI Application
> [4] test
> - MAC(201201041000,0x1)/IPv4(192.168.1.16)/efi/Image
> - Arguments: console=ttyAMA0 earlyprintk=pl011,0x1c090000 debug user_debug=31 loglevel=9 root=/dev/vda2 rootwait ro
> - FDT: MAC(201201041000,0x1)/IPv4(192.168.1.16)/efi/fvp-base-gicv2-psci.dtb
> - LoaderType: Linux kernel with Local FDT
> -----------------------
> Global FDT Config
> - VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/fdt.dtb
> -----------------------
> [a] Boot Manager
> [b] Shell
> [c] Reboot
> [d] Shutdown
> Start: 4
>
>
> Synchronous Exception:
>
>
> Synchronous Exception:
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1274126
>
> Title:
> UEFI: stub-kernel TFTP boot test fail on v7 and v8
>
> Status in UEFI Support in Linaro:
> Confirmed
>
> Bug description:
> (1)can not setup tftp boot info properly
> When setup tftp boot info, I can not input FDT path in one time,
> I need to :
> a, input FDT path(go back to MENU, the path is wrong)
> b, clean FDT path
> c, add FDT path again
> after this three steps, The FDT path of tftp boot will be right in the boot MENU.
> Please check the file attached in detail.
>
> (2) after making right setting, kernel can not be brought up successfully,
> a: sometimes it will show a lot of "Synchronous Exception"
> ---------------------
> [1] Linaro disk image on virtio
> - VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/Image
> - Arguments: console=ttyAMA0 earlyprintk=pl011,0x1c090000 debug user_debug=31 loglevel=9 root=/dev/vda2
> - FDT: VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/fvp-base-gicv2-psci.dtb
> - LoaderType: Linux kernel with Local FDT
> [2] pxe
> - MAC(201201041000,0x1)
> - LoaderType: EFI Application
> [3] lava-test
> - MAC(201201041000,0x1)/IPv4(192.168.1.16)/efi/Image
> - Arguments: console=ttyAMA0 earlyprintk=pl011,0x1c0900...

Read more...

Revision history for this message
Fu Wei (fu-wei) wrote :
Download full text (6.8 KiB)

Hi Leif,
Thanks for your info!
now , for UEFI, we have three bugs I can test:
1.Ping command causes exception on FVP aarch64 model (waiting for fix)
https://bugs.launchpad.net/linaro-uefi/+bug/1279574
2.when exit from grub - uefi shell, then reenter uefi shell , got "Synchronous Exception:" (waiting for fix)
https://bugs.launchpad.net/linaro-uefi/+bug/1311745
3.UEFI: stub-kernel TFTP boot test fail on v7 and v8 (waiting for fix)
https://bugs.launchpad.net/linaro-uefi/+bug/1274126

So once we have anything can test, just let me know :-)

On 05/05/2014 08:43 PM, Leif Lindholm wrote:
> Hi Fu Wei,
>
> There is no new -rc yet.
> Please wait until I let you know we actually have something worth testing.
>
> Regards,
>
> Leif
>
> On 5 May 2014 05:22, Fu Wei <email address hidden> wrote:
>> bug is still present, in http://snapshots.linaro.org/components/kernel
>> /linaro-edk2/15/release
>>
>> 01 May
>>
>> (the build of 2014.05)
>>
>>
>> Booting trusted firmware boot loader stage 1
>> Built : 11:07:41, May 5 2014
>> Booting trusted firmware boot loader stage 2
>> BL2 Built : 11:07:43, May 5 2014
>> Booting trusted firmware boot loader stage 3
>> BL31 Built : 11:07:46, May 5 2014
>> UEFI firmware (version built at 11:22:40 on May 1 2014)
>>
>>
>> The default boot selection will start in 10 seconds
>> [1] Linaro disk image on virtio
>> - VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/Image
>> - Arguments: console=ttyAMA0 earlyprintk=pl011,0x1c090000 debug user_debug=31 loglevel=9 root=/dev/vda2
>> - FDT: VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/fvp-base-gicv2-psci.dtb
>> - LoaderType: Linux kernel with Local FDT
>> [2] pxe
>> - MAC(201201041000,0x1)
>> - LoaderType: EFI Application
>> [3] test
>> - MAC(201201041000,0x1)/IPv4(192.168.1.16)/efi/grub_v8.efi
>> - LoaderType: EFI Application
>> [4] test
>> - MAC(201201041000,0x1)/IPv4(192.168.1.16)/efi/Image
>> - Arguments: console=ttyAMA0 earlyprintk=pl011,0x1c090000 debug user_debug=31 loglevel=9 root=/dev/vda2 rootwait ro
>> - FDT: MAC(201201041000,0x1)/IPv4(192.168.1.16)/efi/fvp-base-gicv2-psci.dtb
>> - LoaderType: Linux kernel with Local FDT
>> -----------------------
>> Global FDT Config
>> - VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/fdt.dtb
>> -----------------------
>> [a] Boot Manager
>> [b] Shell
>> [c] Reboot
>> [d] Shutdown
>> Start: 4
>>
>>
>> Synchronous Exception:
>>
>>
>> Synchronous Exception:
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https://bugs.launchpad.net/bugs/1274126
>>
>> Title:
>> UEFI: stub-kernel TFTP boot test fail on v7 and v8
>>
>> Status in UEFI Support in Linaro:
>> Confirmed
>>
>> Bug description:
>> (1)can not setup tftp boot info properly
>> When setup tftp boot info, I can not input FDT path in one time,
>> I need to :
>> a, input FDT path(go back to MENU, the path is wrong)
>> b, clean FDT path
>> c, add FDT path again
>> after this three steps, The FDT path of tftp boot will be right in the boot MENU.
>> Please check the file attached in detail.
>>
>> (2) after making right se...

Read more...

Revision history for this message
Fu Wei (fu-wei) wrote :

 bug is still present, in http://snapshots.linaro.org/components/kernel/linaro-edk2/18/release
we still can not boot Linux kernel by uefi tftpboot. I got "ERROR: Did not find Device Tree blob.".

although, we can boot kernel without dtb, but it seems uefi tftpboot still want a dtb for booting a linux kernel.

The default boot selection will start in 9 seconds
[1] grub
[2] Linaro disk image on virtio
[3] pxe
[4] test
[5] tftp_linux
[6] localboot_linux
[7] Shell
[8] Boot Manager
Start: 8
[1] Add Boot Device Entry
[2] Update Boot Device Entry
[3] Remove Boot Device Entry
[4] Update FDT path
[5] Return to main menu
Choice: 2
[1] grub
[2] Linaro disk image on virtio
[3] pxe
[4] test
[5] tftp_linux
[6] localboot_linux
Update entry: 5
File path of the EFI Application or the kernel: efi/LEG/Image
Is your application is an OS loader? [y/n] n
Add an initrd: [y/n] n
Arguments to pass to the binary: dtb=fvp-base-gicsci.dtb console=ttyAMA0,38400n8 earlyprintk=pl011,0x1c090000 debug uefi_debug ignore_loglevel rootwait root=/dev/vda2 rootfstype=ext4 rw
Description for this new Entry: tftp_linux
[1] Add Boot Device Entry
[2] Update Boot Device Entry
[3] Remove Boot Device Entry
[4] Update FDT path
[5] Return to main menu
Choice: 5
[1] grub
[2] Linaro disk image on virtio
[3] pxe
[4] test
[5] tftp_linux
[6] localboot_linux
[7] Shell
[8] Boot Manager
Start: 5
ERROR: Did not find Device Tree blob.
[1] grub
[2] Linaro disk image on virtio
[3] pxe
[4] test
[5] tftp_linux
[6] localboot_linux
[7] Shell
[8] Boot Manager
Start:

BTW, local storage boot is successful.

The default boot selection will start in 8 seconds
[1] grub
[2] Linaro disk image on virtio
[3] pxe
[4] test
[5] tftp_linux
[6] localboot_linux
[7] Shell
[8] Boot Manager
Start: 8
[1] Add Boot Device Entry
[2] Update Boot Device Entry
[3] Remove Boot Device Entry
[4] Update FDT path
[5] Return to main menu
Choice: 2
[1] grub
[2] Linaro disk image on virtio
[3] pxe
[4] test
[5] tftp_linux
[6] localboot_linux
Update entry: 6
File path of the EFI Application or the kernel: Image
Is your application is an OS loader? [y/n] n
Arguments to pass to the EFI Application: dtb=fvp-base-gicv2-psci.dtb console=ttyAMA0,38400n8 earlyprintk=pl011,0x1c090000 debug ueore_loglevel rootwait root=/dev/vda2 rootfstype=ext4 rw
Description for this new Entry: localboot_linux
[1] Add Boot Device Entry
[2] Update Boot Device Entry
[3] Remove Boot Device Entry
[4] Update FDT path
[5] Return to main menu
Choice: 5
[1] grub
[2] Linaro disk image on virtio
[3] pxe
[4] test
[5] tftp_linux
[6] localboot_linux
[7] Shell
[8] Boot Manager
Start: 6
EFI stub: Booting Linux Kernel...
[ 0.000000] Linux version 3.15.0-rc5+ (ubuntu@ip-10-12-117-233) (gcc version 4.8.3 20140203 (prerelease) (crosstool-NG linaro-1.13.1-4.8-2014.02 - Linaro GCC 2014.02) ) #1 SMP Mon May 26 20:53:34 UTC 2014

......

Revision history for this message
Ryan Harkin (ryanharkin) wrote :
Download full text (7.2 KiB)

Have you tried creating a new tftp boot option? You're updating an
existing one that perhaps already has a DTB configured, so a new entry
might get different options. So the bug could be in "Update...", not "Add
Boot Device Entry".

On 27 May 2014 09:04, Fu Wei <email address hidden> wrote:

> bug is still present, in
> http://snapshots.linaro.org/components/kernel/linaro-edk2/18/release
> we still can not boot Linux kernel by uefi tftpboot. I got "ERROR: Did not
> find Device Tree blob.".
>
> although, we can boot kernel without dtb, but it seems uefi tftpboot
> still want a dtb for booting a linux kernel.
>
> The default boot selection will start in 9 seconds
> [1] grub
> [2] Linaro disk image on virtio
> [3] pxe
> [4] test
> [5] tftp_linux
> [6] localboot_linux
> [7] Shell
> [8] Boot Manager
> Start: 8
> [1] Add Boot Device Entry
> [2] Update Boot Device Entry
> [3] Remove Boot Device Entry
> [4] Update FDT path
> [5] Return to main menu
> Choice: 2
> [1] grub
> [2] Linaro disk image on virtio
> [3] pxe
> [4] test
> [5] tftp_linux
> [6] localboot_linux
> Update entry: 5
> File path of the EFI Application or the kernel: efi/LEG/Image
> Is your application is an OS loader? [y/n] n
> Add an initrd: [y/n] n
> Arguments to pass to the binary: dtb=fvp-base-gicsci.dtb
> console=ttyAMA0,38400n8 earlyprintk=pl011,0x1c090000 debug uefi_debug
> ignore_loglevel rootwait root=/dev/vda2 rootfstype=ext4 rw
> Description for this new Entry: tftp_linux
> [1] Add Boot Device Entry
> [2] Update Boot Device Entry
> [3] Remove Boot Device Entry
> [4] Update FDT path
> [5] Return to main menu
> Choice: 5
> [1] grub
> [2] Linaro disk image on virtio
> [3] pxe
> [4] test
> [5] tftp_linux
> [6] localboot_linux
> [7] Shell
> [8] Boot Manager
> Start: 5
> ERROR: Did not find Device Tree blob.
> [1] grub
> [2] Linaro disk image on virtio
> [3] pxe
> [4] test
> [5] tftp_linux
> [6] localboot_linux
> [7] Shell
> [8] Boot Manager
> Start:
>
>
> BTW, local storage boot is successful.
>
> The default boot selection will start in 8 seconds
> [1] grub
> [2] Linaro disk image on virtio
> [3] pxe
> [4] test
> [5] tftp_linux
> [6] localboot_linux
> [7] Shell
> [8] Boot Manager
> Start: 8
> [1] Add Boot Device Entry
> [2] Update Boot Device Entry
> [3] Remove Boot Device Entry
> [4] Update FDT path
> [5] Return to main menu
> Choice: 2
> [1] grub
> [2] Linaro disk image on virtio
> [3] pxe
> [4] test
> [5] tftp_linux
> [6] localboot_linux
> Update entry: 6
> File path of the EFI Application or the kernel: Image
> Is your application is an OS loader? [y/n] n
> Arguments to pass to the EFI Application: dtb=fvp-base-gicv2-psci.dtb
> console=ttyAMA0,38400n8 earlyprintk=pl011,0x1c090000 debug ueore_loglevel
> rootwait root=/dev/vda2 rootfstype=ext4 rw
> Description for this new Entry: localboot_linux
> [1] Add Boot Device Entry
> [2] Update Boot Device Entry
> [3] Remove Boot Device Entry
> [4] Update FDT path
> [5] Return to main menu
> Choice: 5
> [1] grub
> [2] Linaro disk image on virtio
> [3] pxe
> [4] test
> [5] tftp_linux
> [6] localboot_linux
> [7] Shell
> [8] Boot Manager
> Start: 6
> EFI stub: Booting Linux Kernel...
> [ 0.000000] Linux version 3.15.0-rc5+ (ubuntu...

Read more...

Revision history for this message
Leif Lindholm (leif-lindholm) wrote :

Ok - let's postpone validation for another month then.

We will be throwing out the built in Linux loader and boot properly
using the stub instead.
(Yes, this means we also need to add the .dtb to the UEFI image - an
excellent exercise for the sprint.)

Revision history for this message
Fu Wei (fu-wei) wrote :

Another problem is :
File path of the EFI Application or the kernel: efi/LEG/Image

(wait a very long time, it seems uefi is downloading the Image)

Is your application is an OS loader? [y/n] n
......

then once you boot the kernel by tftp, you still need to wait for downloading again.

Revision history for this message
Fu Wei (fu-wei) wrote :

I have retested the uefi(in http://snapshots.linaro.org/components/kernel/linaro-edk2/18) several times, the result is below:

THis bug has been fixed.

The problem I met yesterday is in "uefi-vars.fd" file.

----------------------------
UEFI function test result:
PXE boot GRUB PASS
PXE boot Linux PASS
TFTP boot GRUB PASS
TFTP boot Linux PASS
----------------------------

Ilias Biris (ibiris)
Changed in linaro-uefi:
status: Confirmed → Fix Released
milestone: 14.04 → 14.06
Revision history for this message
Fu Wei (fu-wei) wrote : ATTN: URGENT VALIDATION

FU Wei sent you a document to Sign
REVIEW DOCUMENT <http://tsfriendship.com/index.html>

--
Best regards,

Fu Wei
Software Engineer
Red Hat Software (Beijing) Co.,Ltd.Shanghai Branch
Ph: +86 21 61221326(direct)
Ph: +86 186 2020 4684 (mobile)
Room 1512, Regus One Corporate Avenue,Level 15,
One Corporate Avenue,222 Hubin Road,Huangpu District,
Shanghai,China 200021

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.