Hi all,
I have a problem,can you please help me out? We want boot zImage(zImage is comprised of EFI stub and Linux kernel) by Tftp in Bootmanager,but we found an error:
D01 >exit unload symbols_only c:\uefi_linaro_workspace\binary_give\uefi-next-d95896d\Build \D01\DEBUG_RVCT\ARM\HisiPkg\D01BoardPkg\Application\Ebl\Ebl\DEBUG\Ebl.dll [1] Ramdisk - VenMsg(06ED4DD0-FF78-11D3-BDC4-00A0C94053D1,0000000000000000)/uImage - Initrd: VenMsg(06ED4DD0-FF78-11D3-BDC4-00A0C94053D1,0000000000000000)/ initrd - Arguments: mem=256M console=ttyAMA0,9600 - LoaderType: Linux kernel with ATAG data ----------------------- Global FDT Config - not configured ----------------------- [a] Boot Manager [b] EBL [c] GO 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] (29 MB) - VenMsg(06ED4DD0-FF78-11D3-BDC4-00A0C94053D1,0000000000000000) [2] (978 MB) - Pci(0x0,0x0)/Sata(0x0,0x0,0x0)/HD(1,MBR,0x00000000,0x3F,0x1EA3FE) [3] (978 MB) - Pci(0x0,0x0)/Sata(0x0,0x0,0x0)/HD(2,MBR,0x00000000,0x1EA43D,0x1EA43D) [4] (978 MB) - Pci(0x0,0x0)/Sata(0x0,0x0,0x0)/HD(3,MBR,0x00000000,0x3D487A,0x1EA43D) [5] VenMsg(06ED4DD0-FF78-11D3-BDC4-00A0C94053D1,0000000000000000) - VenMsg(06ED4DD0-FF78-11D3-BDC4-00A0C94053D1,0000000000000000) [6] PXE on MAC Address: 0E:00:FF:0C:FF:FE - MAC(0E00FF0CFFFE,0x1) [7] TFTP on MAC Address: 0E:00:FF:0C:FF:FE - MAC(0E00FF0CFFFE,0x1) Select the Boot Device: 7 Get the IP address from DHCP: [y/n] y Get the TFTP server IP address: 192.168.10.100 File path of the EFI Application or the kernel : zImage Is an EFI Application? [y/n] y Is your application is an OS loader? [y/n] n Description for this new Entry: OS [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] Ramdisk - VenMsg(06ED4DD0-FF78-11D3-BDC4-00A0C94053D1,0000000000000000)/uImage - Initrd: VenMsg(06ED4DD0-FF78-11D3-BDC4-00A0C94053D1,0000000000000000)/ initrd - Arguments: mem=256M console=ttyAMA0,9600 - LoaderType: Linux kernel with ATAG data [2] OS - MAC(0E00FF0CFFFE,0x1)/IPv4(192.168.10.100) - LoaderType: EFI Application ----------------------- Global FDT Config - not configured ----------------------- [a] Boot Manager [b] EBL [c] GO Start: 2 AllocatePoolPages: failed to allocate 322561 pages AllocatePool: failed to allocate 1321205792 bytes AllocatePoolPages: failed to allocate 322561 pages AllocatePool: failed to allocate 1321205792 bytes
The error happened in BdsLoadImage-> BdsConnectDevicePath.Actually, Handle is no use in BdsTftpLoadImage,so I modify BdsLoadImage for test,then we can download zImage,but we still cannot boot it; (We can boot linux by Grub)
Can you give me some advice?