[edk2] Boot 64-bit OS from EDK2 compiled for 32-bit?

2016-04-22 Thread Welch, Brian J

I'm wondering if it is possible to boot a 64-bit Linux kernel from EDK2 that 
has been compiled for 32-bit?

If this is possible are there any caveats (e.g. is it possible to have more 
than 4GB memory, how does the 64-bit memory map get configured, etc.) ?

Brian

___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


Re: [edk2] Support for UBI volumes and UBIFS?

2015-10-08 Thread Welch, Brian J
Hi Feng,

I have an embedded Linux system that currently uses eMMC storage and I am 
looking at modifying it to use a simple raw NAND-Flash controller instead.

The current system stores BIOS in the eMMC boot-partition.  The eMMC 
user-partition has a GPT with partitions defined for EFI (Fat32), OS kernel 
(raw), OS read-only filesystem (SquashFS), OS r/w filesystem (ext4).  The idea 
would be to move all of this onto a raw NAND device that is accessed via a raw 
NAND controller.

Since the raw NAND controller is simple, software is needed to perform 
wear-leveling, bad-block accounting, etc. which was previously done internally 
to the eMMC device.  I believe UBI can solve this by managing the raw NAND as 
UBI volumes.

Ideally, I would also like UEFI to be able to read and write the EFI partition 
for development purposes if nothing else.  I believe that I would need an 
additional software component to expose the UBI volume as a block device to 
support FAT32.  E.g., an FTL.

Brian


-Original Message-
From: Tian, Feng 
Sent: Wednesday, October 07, 2015 8:03 PM
To: Welch, Brian J; edk2-devel@lists.01.org
Cc: Tian, Feng
Subject: RE: Support for UBI volumes and UBIFS?

Hi, Brian

As far as I know, there is no changes on that.

Could you introduce further about your usage model? FAT32 for the first 
partition is not enough for boot?

Thanks
Feng

-Original Message-
From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Welch, 
Brian J
Sent: Tuesday, October 06, 2015 23:46
To: edk2-devel@lists.01.org
Subject: [edk2] Support for UBI volumes and UBIFS?

Hi,

I searched the list and the most recent topic I found was 10-months-old and 
said that no support for UBI/UBIFS was available at that time.

http://sourceforge.net/p/edk2/mailman/message/33144044/
That thread is similar to what I'm wanting to do, which is to have a raw flash 
device for boot which ideally would contain an EFI partition and at least one 
additional partition for the device's root filesystem.

I'm wondering if support/availability has changed since then.

Brian

___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel