[if gte mso 9]>

Re: [edk2] booting linux kernel using EBL

Subject: Re: [edk2] booting linux kernel using EBL

From: "Olivier Martin" <olivier.martin@arm.com>

To: "'Shivamurthy Shastri'" <shiva.linuxworks@gmail.com>

Date: 2012-08-06 18:00:23

Sorry, but you will need to ask Samsung for support.

I do not know which changes they have done to the public repository.

Or you can try to rebase your work on the public repository.

 

Thanks,

Olivier

 

From: Shivamurthy Shastri [mailto:shiva.linuxworks@gmail.com]
Sent: 06 August 2012 06:26
To: Olivier Martin
Cc: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] booting linux kernel using EBL

 

I am using edk2 developed by some one in Samsung, which might be little older.

This edk2 works boots windows OS properly. I am using same repo for booting linux.

To get boot manager options do I need to change anything else?

 

On Thu, Aug 2, 2012 at 6:17 PM, Olivier Martin <olivier.martin@arm.com> wrote:

Which repository are you using ?

 

Thanks,

Olivier

 

From: Shivamurthy Shastri [mailto:shiva.linuxworks@gmail.com]
Sent: 02 August 2012 13:33
To: Olivier Martin
Cc: edk2-devel@lists.sourceforge.net


Subject: Re: [edk2] booting linux kernel using EBL

 

Yeah.. It is not going to boot manager, with the mail I have attached build log for reference.

I saw some code changes in ArmPlatformPkg/Bds/Bds.c file.

I have changed the file as per main edk2 codes. Later EBL started booting Linux kernel.

But still I am not getting any boot manager menu.

 

Build log is attached.

The code changed by me:

 

diff --git a/edk2/ArmPlatformPkg/Bds/Bds.c b/edk2/ArmPlatformPkg/Bds/Bds.c

index b3c659c..dc6e328 100644

--- a/edk2/ArmPlatformPkg/Bds/Bds.c

+++ b/edk2/ArmPlatformPkg/Bds/Bds.c

@@ -449,11 +449,11 @@ BdsEntry (

   InitializeConsole ();

 

   // Timer before initiating the default boot selection

-  //StartDefaultBootOnTimeout ();

-  Status = BdsLoadApplication(mImageHandle, L"Ebl", 0, NULL);

+  StartDefaultBootOnTimeout ();

+  //Status = BdsLoadApplication(mImageHandle, L"Ebl", 0, NULL); //Shiva

 

   // Start the Boot Menu

-  //Status = BootMenuMain ();

+  Status = BootMenuMain ();

   ASSERT_EFI_ERROR (Status);

 

 }

 

-- 

Thanks and Regards,

Shiva.

 

On Wed, Aug 1, 2012 at 6:20 PM, Olivier Martin <olivier.martin@arm.com> wrote:

Hmm, could you send me the output of your debug build ?

The fact, it does not go into the boot manager looks strange to me.

 

Thanks,

Olivier

 

From: Shivamurthy Shastri [mailto:shiva.linuxworks@gmail.com]
Sent: 01 August 2012 07:49
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] booting linux kernel using EBL

 

Hi Olivier,

 

UEFI booted properly and also detecting FAT partition I made on SD card, where zImage is present. At boot time it doesn't ask any boot options, instead it goes directly to EBL prompt. I have taken FAT partition path using command 'devicepaths' and copied in dsc file as 

 

gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(3A02E7FE-0649-4FB4-BE4F-A862CA1872A9)/HD(1,MBR,0x13883578,0x2800,0x1DAA400)/zImage"

 

But, UEFI is not booting zImage. Do I need to do anything else or any command is there in EBL which can boot zImage.

 

-- 

Thanks and Regards,

Shiva.

 

 

On Tue, Jul 31, 2012 at 11:04 PM, Olivier Martin <olivier.martin@arm.com> wrote:

Hi Shiva,

Could you tell a bit more about ‘But, UEFI is not even checking zImage presented in the partition.’ ?

One common mistake is a misspell error in the device path. One way to check it is to start EBL and type the command ‘devicepath’. It will print all the EFI Device Paths expose by your UEFI firmware.

Regards,

Olivier

 

 

From: Shivamurthy Shastri [mailto:shiva.linuxworks@gmail.com]
Sent: 31 July 2012 06:33
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] booting linux kernel using EBL

 

Hi,

 

I am working on some samsung board, I am new to this UEFI. I got the FD of the image and I am trying run UEFI on the board.

UEFI is getting started without any problem. I am getting directly EBL shell prompt. Now, I need to boot linux kernel on that.

 

Meanwhile, I created FAT partition on SD card and UEFI is detecting that. I have added below line in dsc file.

 

gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(3A02E7FE-0649-4FB4-BE4F-A862CA1872A9)/HD(1,MBR,0x13883578,0x2800,0x1DAA400)/zImage"

 

But, UEFI is not even checking zImage presented in the partition.

Please any one tell me how to go ahead after this.

 

--

Thanks and Regards,

Shiva.

 


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel



 

 


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel



 

 



 

--

Thanks and Regards,

Shiva.