[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 : 00:56:14, Apr  5 2014
Booting trusted firmware boot loader stage 2
BL2 Built : 00:56:16, Apr  5 2014
Booting trusted firmware boot loader stage 3
BL31 Built : 00:56:18, Apr  5 2014
UEFI firmware (version  built at 00:55:35 on Apr  5 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
-----------------------
Global FDT Config
	- VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/fdt.dtb
-----------------------
[a] Boot Manager
[b] Shell
[c] Reboot
[d] Shutdown
Start: b

UEFI Interactive Shell v2.0
EDK II
UEFI v2.40 (ARM Fixed Virtual Platform EFI Apr  5 2014 00:56:01, 0x00000000)
Mapping table
      FS0: Alias(s):F10:
          VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)
      FS1: Alias(s):HD14b:;BLK6:
          VenHw(FE61BB5F-1B67-4C24-B346-73DB42E873E5)/HD(1,MBR,0x00000000,0x3F,0x19FC0)
     BLK4: Alias(s):
          VenHw(E7223039-5836-41E1-B542-D7EC736C5E59)
     BLK0: Alias(s):
          VenHw(02118005-9DA7-443A-92D5-781F022AEDBB)
     BLK2: Alias(s):
          VenHw(1F15DA3C-37FF-4070-B471-BB4AF12A724A)
     BLK3: Alias(s):
          VenHw(CC2CBF29-1498-4CDD-8171-F8B6B41D0909)
     BLK1: Alias(s):
          VenHw(09831032-6FA3-4484-AF4F-0A000A8D3A82)
     BLK5: Alias(s):
          VenHw(FE61BB5F-1B67-4C24-B346-73DB42E873E5)
     BLK7: Alias(s):
          VenHw(FE61BB5F-1B67-4C24-B346-73DB42E873E5)/HD(2,MBR,0x00000000,0x1A000,0x3E6000)


Press ESC in 4 seconds to skip startup.nsh or any other key to continue.
Shell> Image dtb=fvp-base-gicv2-psci.dtb console=ttyAMA0,38400n8 earlyprintk=pl011,0x1c090000 debug uefi_debug ignore_loglevel rootwait root=/dev/vda2 rootfstype=ext4 rw
EFI stub: Booting Linux Kernel...


Synchronous Exception: 


Synchronous Exception: 


Synchronous Exception: 

(infinite "Synchronous Exception: ")


[tekkamanninja@fuwei ~]$ telnet 192.168.1.16 5000
Trying 192.168.1.16...
telnet: connect to address 192.168.1.16: Connection refused
[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 : 00:56:14, Apr  5 2014
Booting trusted firmware boot loader stage 2
BL2 Built : 00:56:16, Apr  5 2014
Booting trusted firmware boot loader stage 3
BL31 Built : 00:56:18, Apr  5 2014
UEFI firmware (version  built at 00:55:35 on Apr  5 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
-----------------------
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

 ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
 ���*test                                                                       ��� 
 ���                                                                            ���
 ���                                                                            ���
 ���                                                                            ���
 ���                                                                            ���
 ���                                                                            ���
 ���                                                                            ���
 ���                                                                            ���
 ���                                                                            ���
 ���                                                                            ���
 ���                                                                            ���
 ���                                                                            ���
 ���                                                                            ��� 
 ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������

      Use the  and  keys to select which entry is highlighted.          
      Press enter to boot the selected OS, `e' to edit the commands       
      before booting or `c' for a command-line.                           
                                                                               

(press "e")

                          GNU GRUB  version 2.02~beta2

 ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
 ���setparams 'test'                                                            ��� 
 ���                                                                            ���
 ���    set root=(hd4,msdos1)                                                   ���
 ���    devicetree /fvp-base-gicv2-psci.dtb                                     ���
 ���    linux /Image console=ttyAMA0,38400n8 earlyprintk=pl011,0x1c090000 debug\���
 ��� uefi_debug ignore_loglevel rootwait root=/dev/vda2 rootfstype=ext4 rw      ���
 ���                                                                            ���
 ���                                                                            ���
 ���                                                                            ���
 ���                                                                            ���
 ���                                                                            ���
 ���                                                                            ���
 ���                                                                            ��� 
 ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������

      Minimum Emacs-like screen editing is supported. TAB lists           
      completions. Press Ctrl-x or F10 to boot, Ctrl-c or F2 for a        
      command-line or ESC to discard edits and return to the GRUB menu.   

(press "Ctrl-x")

  Booting a command list

error: you need to load the kernel first.
error: sector sizes of 262144 bytes aren't supported yet.

Press any key to continue...

[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 : 00:56:14, Apr  5 2014
Booting trusted firmware boot loader stage 2
BL2 Built : 00:56:16, Apr  5 2014
Booting trusted firmware boot loader stage 3
BL31 Built : 00:56:18, Apr  5 2014
UEFI firmware (version  built at 00:55:35 on Apr  5 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
-----------------------
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 (51 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] VenHw(09831032-6FA3-4484-AF4F-0A000A8D3A82)
[8] PXE on MAC Address: 20:12:01:04:10:00
[9] TFTP on MAC Address: 20:12:01:04:10:00
Select the Boot Device: 9
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/LEG/Image
Is an EFI Application? [y/n] n
Boot Type: [a] ATAGS, [g] Global FDT or [l] Local FDT? [a/g/l] l
Add an initrd: [y/n] n
Arguments to pass to the binary: console=ttyAMA0,00n8 earlyprintk=pl011,0x1c090000 debug uefi_debug ignore_loglevel rootwait root=/dev/vda2 rootfstype=ext4 rw
Get the IP address from DHCP: [y/n] y
Get the TFTP server IP address: 192.168.1.16
File path of the local FDT : efi/LEG/fvp-base-gicv2-psci.dtb
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)/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/LEG/Image
	- Arguments: console=ttyAMA0,00n8 earlyprintk=pl011,0x1c090000 debug uefi_debug ignore_loglevel rootwait root=/dev/vda2 rootfstype=ext4 rw
	- FDT: MAC(201201041000,0x1)/IPv4(192.168.1.16)
	- 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: 2
[1] Linaro disk image on virtio
[2] pxe
[3] test
Update entry: 3
File path of the EFI Application or the kernel: efi/LEG/Image
Keep the local FDT: [y/n] n
Add an initrd: [y/n] n
Arguments to pass to the binary: console=ttyAMA0,00n8 earlyprintk=pl011,0x1c090000 debug uefi_debug ignore_loglevel rootwait root=/dev/vda2 rootfstype=ext4 rw
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: 2
[1] Linaro disk image on virtio
[2] pxe
[3] test
Update entry: 3
File path of the EFI Application or the kernel: efi/LEG/Image
Add a local FDT: [y/n] y
File path of the local FDT: efi/LEG/fvp-base-gicv2-psci.dtb
Add an initrd: [y/n] n
Arguments to pass to the binary: console=ttyAMA0,00n8 earlyprintk=pl011,0x1c090000 debug uefi_debug ignore_loglevel rootwait root=/dev/vda2 rootfstype=ext4 rw
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)/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/LEG/Image
	- Arguments: console=ttyAMA0,00n8 earlyprintk=pl011,0x1c090000 debug uefi_debug ignore_loglevel rootwait root=/dev/vda2 rootfstype=ext4 rw
	- FDT: MAC(201201041000,0x1)/IPv4(192.168.1.16)/efi/LEG/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 0x84000000, Status = Not Found
   PEI   1135 ms
   DXE    354 ms
   BDS 184467138689 ms
   BDS  52796 ms
Total Time = 184467192975 ms




