On 19.03.2013, at 23:12, Tom Rini wrote:
On 03/19/2013 03:53 PM, Alexander Graf wrote:
On 19.03.2013, at 18:01, Nishanth Menon wrote:
Change in subject. Original thread start:
http://lists.opensuse.org/opensuse-arm/2013-03/msg00076.html
On 17:15-20130319, Guillaume Gardet
Am 10.05.2013 um 20:51 schrieb Tom Rini tr...@ti.com:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 05/10/2013 02:31 PM, Alexander Graf wrote:
On 19.03.2013, at 23:12, Tom Rini wrote:
On 03/19/2013 03:53 PM, Alexander Graf wrote:
On 19.03.2013, at 18:01, Nishanth Menon wrote
Am 11.05.2013 um 02:08 schrieb Wolfgang Denk w...@denx.de:
Dear Alexander,
In message 154a1277-6344-4ab8-9d98-58bbcc38c...@suse.de you wrote:
Well, that would make the situation on OMAP slightly better, but
wouldn't help on other SoCs. I think we should rather try and get a
reasonably
On 19.03.2013, at 18:01, Nishanth Menon wrote:
Change in subject.
Original thread start:
http://lists.opensuse.org/opensuse-arm/2013-03/msg00076.html
On 17:15-20130319, Guillaume Gardet wrote:
Le 19/03/2013 17:04, Nishanth Menon a écrit :
On 08:47-20130319, gary wrote:
Just a FYI,
On 21.01.2014, at 03:25, Scott Wood scottw...@freescale.com wrote:
On Sun, 2014-01-19 at 16:19 +0100, Alexander Graf wrote:
With the qemu-ppce500 machine type we can run the same board with
either an e500v2 or an e500mc core plugged in.
This means that the IVOR setup can't be based
On 21.01.2014, at 03:25, Scott Wood scottw...@freescale.com wrote:
On Sun, 2014-01-19 at 16:19 +0100, Alexander Graf wrote:
For KVM we have a special PV machine type called ppce500. This machine
is inspired by the MPC8544DS board, but implements a lot less features
than that one.
It also
On 24.01.2014, at 01:49, Scott Wood scottw...@freescale.com wrote:
On Thu, 2014-01-23 at 14:08 +0100, Alexander Graf wrote:
On 21.01.2014, at 03:25, Scott Wood scottw...@freescale.com wrote:
On Sun, 2014-01-19 at 16:19 +0100, Alexander Graf wrote:
For KVM we have a special PV machine type
On 24.01.2014, at 02:39, Scott Wood scottw...@freescale.com wrote:
On Fri, 2014-01-24 at 02:25 +0100, Alexander Graf wrote:
On 24.01.2014, at 01:49, Scott Wood scottw...@freescale.com wrote:
On Thu, 2014-01-23 at 14:08 +0100, Alexander Graf wrote:
On 21.01.2014, at 03:25, Scott Wood scottw
With the qemu-ppce500 machine type we can run the same board with
either an e500v2 or an e500mc core plugged in.
This means that the IVOR setup can't be based on compile time decisions,
so instead we have to do a runtime check which CPU generation we're
running on.
Signed-off-by: Alexander Graf
device tree
- find PCI controllers from device tree
- find CPU speed from device tree
Alexander Graf (6):
PPC 85xx: Detect e500v2 / e500mc during runtime
PPC 85xx: Add ELF entry point
PPC 85xx: Add qemu-ppce500 machine
PPC 85xx: Find CCSRBAR on ppce500 from device tree
PPC 85xx: Find
ppce500 machine as
it is implemented today.
Signed-off-by: Alexander Graf ag...@suse.de
---
v1 - v2:
- Write device tree offset directly into global variable
- use r4 rather than r2 for that
- access fdt directly from in-memory copy
- remove unneeded header includes
- clean up pci
The definition of our ppce500 PV machine is that every address is dynamically
determined through device tree bindings.
So don't hardcode where CCSR is in our physical memory layout but instead
read it dynamically from the device tree we get passed on boot.
Signed-off-by: Alexander Graf ag
We want to be able to directly execute the ELF binary without going
through the u-boot.bin one.
To know where we have to start executing this ELF binary we have to
tell the linker where our entry point is.
Signed-off-by: Alexander Graf ag...@suse.de
---
arch/powerpc/cpu/mpc85xx/u-boot.lds
The definition of our ppce500 PV machine is that every address is dynamically
determined through device tree bindings.
So don't hardcode where PCI devices are in our physical memory layout but
instead
read them dynamically from the device tree we get passed on boot.
Signed-off-by: Alexander
-by: Alexander Graf ag...@suse.de
---
arch/powerpc/cpu/mpc85xx/Makefile |2 ++
board/freescale/qemu-ppce500/qemu-ppce500.c | 43 +++
2 files changed, 45 insertions(+)
diff --git a/arch/powerpc/cpu/mpc85xx/Makefile
b/arch/powerpc/cpu/mpc85xx/Makefile
index ef7637a
On 04.02.2014, at 03:52, Scott Wood scottw...@freescale.com wrote:
On Fri, 2014-01-31 at 12:16 +0100, Alexander Graf wrote:
The only thing we know in our PV machine through device tree is the clock
speed of the CPUs. Take that as CPU speed, system speed and ddr speed so that
we have some
On 04.02.2014, at 02:59, Scott Wood scottw...@freescale.com wrote:
On Fri, 2014-01-31 at 12:16 +0100, Alexander Graf wrote:
With the qemu-ppce500 machine type we can run the same board with
either an e500v2 or an e500mc core plugged in.
This means that the IVOR setup can't be based
On 04.02.2014, at 03:19, Scott Wood scottw...@freescale.com wrote:
On Fri, 2014-01-31 at 12:16 +0100, Alexander Graf wrote:
+void pci_init_board(void)
+{
+struct fsl_pci_info pci_info;
+const void *fdt = get_fdt();
+int pci_node;
+
+puts(\n);
+
+pci_node
On 04.02.2014, at 03:24, Scott Wood scottw...@freescale.com wrote:
On Fri, 2014-01-31 at 12:16 +0100, Alexander Graf wrote:
The definition of our ppce500 PV machine is that every address is dynamically
determined through device tree bindings.
So don't hardcode where CCSR is in our physical
On 04.02.2014, at 03:47, Scott Wood scottw...@freescale.com wrote:
On Fri, 2014-01-31 at 12:16 +0100, Alexander Graf wrote:
The definition of our ppce500 PV machine is that every address is dynamically
determined through device tree bindings.
So don't hardcode where PCI devices are in our
On 06.02.2014, at 23:55, Scott Wood scottw...@freescale.com wrote:
On Thu, 2014-02-06 at 13:48 +0100, Alexander Graf wrote:
On 04.02.2014, at 03:19, Scott Wood scottw...@freescale.com wrote:
On Fri, 2014-01-31 at 12:16 +0100, Alexander Graf wrote:
+void pci_init_board(void)
+{
+ struct
On 07.02.2014, at 02:33, Scott Wood scottw...@freescale.com wrote:
On Thu, 2014-02-06 at 12:11 +0100, Alexander Graf wrote:
On 04.02.2014, at 03:52, Scott Wood scottw...@freescale.com wrote:
On Fri, 2014-01-31 at 12:16 +0100, Alexander Graf wrote:
The only thing we know in our PV machine
On 07.02.2014, at 01:51, Scott Wood scottw...@freescale.com wrote:
On Thu, 2014-02-06 at 12:40 +0100, Alexander Graf wrote:
On 04.02.2014, at 02:59, Scott Wood scottw...@freescale.com wrote:
On Fri, 2014-01-31 at 12:16 +0100, Alexander Graf wrote:
With the qemu-ppce500 machine type we can
On 06.02.2014, at 23:52, Scott Wood scottw...@freescale.com wrote:
On Thu, 2014-02-06 at 14:26 +0100, Alexander Graf wrote:
On 04.02.2014, at 03:47, Scott Wood scottw...@freescale.com wrote:
On Fri, 2014-01-31 at 12:16 +0100, Alexander Graf wrote:
The definition of our ppce500 PV machine
On 06.02.2014, at 23:52, Scott Wood scottw...@freescale.com wrote:
On Thu, 2014-02-06 at 14:26 +0100, Alexander Graf wrote:
On 04.02.2014, at 03:47, Scott Wood scottw...@freescale.com wrote:
On Fri, 2014-01-31 at 12:16 +0100, Alexander Graf wrote:
The definition of our ppce500 PV machine
On 07.02.2014, at 15:54, Alexander Graf ag...@suse.de wrote:
On 06.02.2014, at 23:52, Scott Wood scottw...@freescale.com wrote:
On Thu, 2014-02-06 at 14:26 +0100, Alexander Graf wrote:
How about using fdt_translate_address() or other existing functionality?
Mind to show exactly how
ccsr map
- s/cell size/cell count/
- add temporary map define
- use fdt_get_base_address() to find region
- use new APIs
- remove myfdt helpers
Alexander Graf (6):
fdt_support: split fdt_getprop_u32_default
fdt_support: Add helper function to read ranges property
PPC: 85xx: Remove IVOR
machine and tries to
rely solely on device tree for device enumeration.
Signed-off-by: Alexander Graf ag...@suse.de
---
v1 - v2:
- Write device tree offset directly into global variable
- use r4 rather than r2 for that
- access fdt directly from in-memory copy
- remove unneeded header
-by: Alexander Graf ag...@suse.de
---
common/fdt_support.c | 94 +
include/fdt_support.h |2 ++
2 files changed, 96 insertions(+)
diff --git a/common/fdt_support.c b/common/fdt_support.c
index 65c68f9..17fa852 100644
--- a/common/fdt_support.c
+++ b
The DDR mapping function really is just a generic virtual - physical
mapping function. Generalize it so it can support any virtual starting
offset and IO maps just the same.
Signed-off-by: Alexander Graf ag...@suse.de
---
arch/powerpc/cpu/mpc85xx/tlb.c | 48
We already have a nice helper to give us a property cell value with default
fall back from a path. Split that into two helpers - one for the old path
based lookup and one to give us a value based on a node offset.
Signed-off-by: Alexander Graf ag...@suse.de
---
common/fdt_support.c | 38
There is no need to set IVORs to anything but their default values,
so let's leave them where they are.
Suggested-by: Scott Wood scottw...@freescale.com
Signed-off-by: Alexander Graf ag...@suse.de
---
arch/powerpc/cpu/mpc85xx/cpu_init.c |4 --
arch/powerpc/cpu/mpc85xx/fixed_ivor.S
We want to be able to directly execute the ELF binary without going
through the u-boot.bin one.
To know where we have to start executing this ELF binary we have to
tell the linker where our entry point is.
Signed-off-by: Alexander Graf ag...@suse.de
---
arch/powerpc/cpu/mpc85xx/u-boot.lds
On 19.02.2014, at 00:21, Scott Wood scottw...@freescale.com wrote:
On Tue, 2014-02-11 at 01:10 +0100, Alexander Graf wrote:
-if (memsize)
-print_size(memsize, left unmapped\n);
+if (size)
+print_size(size, left unmapped\n);
+}
The print_size should move
On 19.02.2014, at 01:03, Scott Wood scottw...@freescale.com wrote:
On Tue, 2014-02-11 at 01:10 +0100, Alexander Graf wrote:
diff --git a/arch/powerpc/cpu/mpc85xx/start.S
b/arch/powerpc/cpu/mpc85xx/start.S
index bb0025c..8982c78 100644
--- a/arch/powerpc/cpu/mpc85xx/start.S
+++ b/arch
machine and tries to
rely solely on device tree for device enumeration.
Signed-off-by: Alexander Graf ag...@suse.de
---
v1 - v2:
- Write device tree offset directly into global variable
- use r4 rather than r2 for that
- access fdt directly from in-memory copy
- remove unneeded header
There is no need to set IVORs to anything but their default values,
so let's leave them where they are.
Suggested-by: Scott Wood scottw...@freescale.com
Signed-off-by: Alexander Graf ag...@suse.de
---
arch/powerpc/cpu/mpc85xx/cpu_init.c |4 --
arch/powerpc/cpu/mpc85xx/fixed_ivor.S
map
- search for PCI based on device type rather than compatible
- remove unnecessary cast
- call get_linear_ram_size directly
- override get_tbclk with timebase-frequency fetching code
Alexander Graf (6):
fdt_support: split fdt_getprop_u32_default
fdt_support: Add helper function
-by: Alexander Graf ag...@suse.de
---
common/fdt_support.c | 94 +
include/fdt_support.h |2 ++
2 files changed, 96 insertions(+)
diff --git a/common/fdt_support.c b/common/fdt_support.c
index 65c68f9..17fa852 100644
--- a/common/fdt_support.c
+++ b
We want to be able to directly execute the ELF binary without going
through the u-boot.bin one.
To know where we have to start executing this ELF binary we have to
tell the linker where our entry point is.
Signed-off-by: Alexander Graf ag...@suse.de
---
arch/powerpc/cpu/mpc85xx/u-boot.lds
The DDR mapping function really is just a generic virtual - physical
mapping function. Generalize it so it can support any virtual starting
offset and IO maps just the same.
Signed-off-by: Alexander Graf ag...@suse.de
---
v3 - v4:
- change tlb_map to return unmapped size and get ram/io
We already have a nice helper to give us a property cell value with default
fall back from a path. Split that into two helpers - one for the old path
based lookup and one to give us a value based on a node offset.
Signed-off-by: Alexander Graf ag...@suse.de
---
common/fdt_support.c | 38
On 22.05.14 09:52, Alon Bar-Lev wrote:
Hi,
Trying to run the qemu-ppce500 within qemu. I am using -bios
u-boot.bin and no luck, I get live signal.
I am using latest u-boot master and qemu master.
Command:
$ ./qemu-system-ppc -M ppce500 -nographic -bios u-boot.bin
Tried to load u-boot as
On 24.05.14 09:23, Alon Bar-Lev wrote:
On Thu, May 22, 2014 at 12:04 PM, Alexander Graf ag...@suse.de wrote:
On 22.05.14 09:52, Alon Bar-Lev wrote:
Hi,
Trying to run the qemu-ppce500 within qemu. I am using -bios u-boot.bin and no
luck, I get live signal.
I am using latest u-boot master
On 25.05.2014, at 13:10, Alon Bar-Lev alon.bar...@gmail.com wrote:
On Sun, May 25, 2014 at 1:08 PM, Alexander Graf ag...@suse.de wrote:
On 24.05.14 09:23, Alon Bar-Lev wrote:
On Thu, May 22, 2014 at 12:04 PM, Alexander Graf ag...@suse.de wrote:
On 22.05.14 09:52, Alon Bar-Lev wrote
On 25.05.2014, at 13:33, Alon Bar-Lev alon.bar...@gmail.com wrote:
On Sun, May 25, 2014 at 2:16 PM, Alexander Graf ag...@suse.de wrote:
On 25.05.2014, at 13:10, Alon Bar-Lev alon.bar...@gmail.com wrote:
On Sun, May 25, 2014 at 1:08 PM, Alexander Graf ag...@suse.de wrote:
On 24.05.14
ppce500 machine as
it is implemented today.
Signed-off-by: Alexander Graf ag...@suse.de
---
arch/powerpc/cpu/mpc85xx/start.S|7 +
arch/powerpc/include/asm/config_mpc85xx.h |4 +
board/freescale/qemu-ppce500/Makefile | 10 ++
board/freescale/qemu-ppce500/qemu-ppce500.c
.
This patch set implements support for this PV machine type in U-Boot, enabling
users to run their virtual machines with netboot, u-boot payload binaries or
other fun things they come up with.
Alexander Graf (3):
PPC 85xx: Detect e500v2 / e500mc during runtime
PPC 85xx: Add ELF entry point
PPC
We want to be able to directly execute the ELF binary without going
through the u-boot.bin one.
To know where we have to start executing this ELF binary we have to
tell the linker where our entry point is.
Signed-off-by: Alexander Graf ag...@suse.de
---
arch/powerpc/cpu/mpc85xx/u-boot.lds
With the qemu-ppce500 machine type we can run the same board with
either an e500v2 or an e500mc core plugged in.
This means that the IVOR setup can't be based on compile time decisions,
so instead we have to do a runtime check which CPU generation we're
running on.
Signed-off-by: Alexander Graf
On 19.03.14 19:49, York Sun wrote:
On 02/20/2014 07:59 AM, Scott Wood wrote:
On Thu, 2014-02-20 at 13:52 +0100, Alexander Graf wrote:
diff --git a/arch/powerpc/cpu/mpc85xx/cpu.c b/arch/powerpc/cpu/mpc85xx/cpu.c
index 3e99b07..51f2085 100644
--- a/arch/powerpc/cpu/mpc85xx/cpu.c
+++ b/arch
The DDR mapping function really is just a generic virtual - physical
mapping function. Generalize it so it can support any virtual starting
offset and IO maps just the same.
Signed-off-by: Alexander Graf ag...@suse.de
---
v3 - v4:
- change tlb_map to return unmapped size and get ram/io
machine and tries to
rely solely on device tree for device enumeration.
Signed-off-by: Alexander Graf ag...@suse.de
---
v1 - v2:
- Write device tree offset directly into global variable
- use r4 rather than r2 for that
- access fdt directly from in-memory copy
- remove unneeded header
on the cmdline
- use __weak instead of __attribute__((weak))
- use esel parameter in map_fdt_as()
- explicitly define start and end of PCI map range
Alexander Graf (6):
fdt_support: split fdt_getprop_u32_default
fdt_support: Add helper function to read ranges property
PPC: 85xx: Remove
-by: Alexander Graf ag...@suse.de
---
common/fdt_support.c | 94 +
include/fdt_support.h |2 ++
2 files changed, 96 insertions(+)
diff --git a/common/fdt_support.c b/common/fdt_support.c
index cc0bf76..fcd2523 100644
--- a/common/fdt_support.c
+++ b
We already have a nice helper to give us a property cell value with default
fall back from a path. Split that into two helpers - one for the old path
based lookup and one to give us a value based on a node offset.
Signed-off-by: Alexander Graf ag...@suse.de
---
common/fdt_support.c | 38
We want to be able to directly execute the ELF binary without going
through the u-boot.bin one.
To know where we have to start executing this ELF binary we have to
tell the linker where our entry point is.
Signed-off-by: Alexander Graf ag...@suse.de
---
arch/powerpc/cpu/mpc85xx/u-boot.lds
There is no need to set IVORs to anything but their default values,
so let's leave them where they are.
Suggested-by: Scott Wood scottw...@freescale.com
Signed-off-by: Alexander Graf ag...@suse.de
---
arch/powerpc/cpu/mpc85xx/cpu_init.c |4 --
arch/powerpc/cpu/mpc85xx/fixed_ivor.S
Am 17.04.2014 um 02:46 schrieb York Sun york...@freescale.com:
On 04/11/2014 08:09 AM, Alexander Graf wrote:
diff --git a/nand_spl/board/freescale/mpc8572ds/Makefile
b/nand_spl/board/freescale/mpc8572ds/Makefile
index c639b12..c58b7a4 100644
--- a/nand_spl/board/freescale/mpc8572ds
Am 28.04.2014 um 20:40 schrieb York Sun york...@freescale.com:
On 02/20/2014 04:52 AM, Alexander Graf wrote:
For KVM we have a special PV machine type called ppce500. This machine
is inspired by the MPC8544DS board, but implements a lot less features
than that one.
It also provides
: Alexander Graf ag...@suse.de
Acked-by: Alexander Graf ag...@suse.de
Alex
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
also no longer get warnings that I should
convert the board to the generic board mechanism.
Alex
Alexander Graf (5):
PPC 85xx QEMU: Always assume 1 core
PPC 85xx QEMU: Don't use HID1
powerpc/mpc85xx: Update TLB CAMs in relocated mode
powerpc/mpc85xx: Pass 0 flags to board_init_f
PPC
We want to use the TLB mapping helpers in relocated mode as well. These helpers
need to have awareness of already occupied TLB entries. We already had them in
sync in non-relocated mode, but need to resync them when we move into relocated.
Signed-off-by: Alexander Graf ag...@suse.de
---
arch
For the QEMU machine type, we can plug in either e500v2, e500mc, e5500
or e6500 style cores into the system. U-boot has to work with all of them.
So avoid using HID1 which is not available on e500mc systems to make sure
we don't trap on it.
Signed-off-by: Alexander Graf ag...@suse.de
---
arch
This patch enables the E500 QEMU board to use the generic cross-arch board
infrastructure.
Signed-off-by: Alexander Graf ag...@suse.de
---
include/configs/qemu-ppce500.h |1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs/qemu-ppce500.h b/include/configs/qemu-ppce500.h
index
would have to rip CPUs out of already existing spin tables
and respin them from u-boot. It would be a pretty big mess.
So only assume we have a single core. This fixes errors about CONFIG_MP
being disabled.
Signed-off-by: Alexander Graf ag...@suse.de
---
arch/powerpc/cpu/mpc8xxx/cpu.c
The new generic board_init_f has an argument now that takes a number of
prepopulated gd-flags bits. We don't have any, so let's set this to 0.
Signed-off-by: Alexander Graf ag...@suse.de
---
arch/powerpc/cpu/mpc85xx/start.S |1 +
1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/cpu
On 30.04.14 19:28, York Sun wrote:
On 04/30/2014 10:21 AM, Alexander Graf wrote:
The new generic board_init_f has an argument now that takes a number of
prepopulated gd-flags bits. We don't have any, so let's set this to 0.
Signed-off-by: Alexander Graf ag...@suse.de
---
arch/powerpc/cpu
it. Plus we forgot to support 64bit physical
addresses.
This patch fixes that mishap, making u-boot work fine with latest QEMU again.
Signed-off-by: Alexander Graf ag...@suse.de
---
include/configs/qemu-ppce500.h |8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/include
The QEMU u-boot located itself at a 4k aligned offset which the rest
of the code didn't really expect. Align it with 64k to allow the memory
code to deal with 64k granularity.
This fixes broken interrupt delivery with the ppce500 machine for me.
Signed-off-by: Alexander Graf ag...@suse.de
On 04.01.16 23:37, Dennis Gilmore wrote:
> On Monday, January 04, 2016 02:54:40 PM Tom Rini wrote:
>> On Mon, Jan 04, 2016 at 07:41:42PM +0100, Andreas Färber wrote:
>>> Am 04.01.2016 um 19:03 schrieb Andreas Färber:
Am 04.01.2016 um 17:56 schrieb Tom Rini:
> Please note that with the
On 26.12.15 20:34, Leif Lindholm wrote:
> On Sat, Dec 26, 2015 at 05:27:48PM +0100, Alexander Graf wrote:
>>>> This patch set is the result of pursuing this endeavor.
>>>
>>> Thanks, this is a very cool thing.
>>> I meant to reply sooner, but C
On 22.12.15 15:15, Andreas Färber wrote:
> Am 22.12.2015 um 14:57 schrieb Alexander Graf:
>> diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c
>> new file mode 100644
>> index 000..ed95962
>> --- /dev/null
>> ++
On 22.12.15 19:28, Matwey V. Kornilov wrote:
> 2015-12-22 16:57 GMT+03:00 Alexander Graf <ag...@suse.de>:
>> This is my Christmas present for my openSUSE friends :).
>>
>
> Santa, do you have u-boot rpm packed with the patches to test?
Once OBS has finished compilin
On 24.12.15 12:15, Matwey V. Kornilov wrote:
> Why just not to implement standard EFI behaviour when EFI looks for
> boot-efi partition and proceed?
Well, what is "standard EFI behavior"?
There are 2 standard ways I'm aware of:
1) NVRAM
The default case for 99.9% of the boots on normal EFI
On 25.12.15 04:29, Tom Rini wrote:
> On Tue, Dec 22, 2015 at 02:57:47PM +0100, Alexander Graf wrote:
>
>> This is my Christmas present for my openSUSE friends :).
>>
>> U-Boot is a great project for embedded devices. However, convincing
>> everyone involved th
On 26.12.15 16:31, Leif Lindholm wrote:
> On Tue, Dec 22, 2015 at 02:57:47PM +0100, Alexander Graf wrote:
>> This is my Christmas present for my openSUSE friends :).
>>
>> U-Boot is a great project for embedded devices. However, convincing
>> everyone involved that
On 26.12.15 19:55, Leif Lindholm wrote:
> On Fri, Dec 25, 2015 at 10:25:22AM +0100, Andreas Färber wrote:
>> Am 25.12.2015 um 10:02 schrieb Alexander Graf:
>> [snip]
>>> The reason I implemented "bootefi" was really because it's the natural
>>> fit into
On 21.12.15 10:19, Miao Yan wrote:
> In pci_map_region(), pass 'range_id' to fdt_read_range(),
> otherwise the same address will be mapped again in other
> calls to pci_map_region()
>
> Signed-off-by: Miao Yan <yammiaob...@gmail.com>
Oops :).
Reviewed-by: Alexander Graf &
-Boot's read and
write functions.
Signed-off-by: Alexander Graf <ag...@suse.de>
---
include/efi_loader.h | 1 +
lib/efi_loader/efi_disk.c | 227 ++
2 files changed, 228 insertions(+)
create mode 100644 lib/efi_loader/efi_disk.c
diff --git a/i
EFI uses the PE binary format for its application images. Add support to EFI PE
binaries as well as all necessary bits for the "EFI image loader" interfaces.
Signed-off-by: Alexander Graf <ag...@suse.de>
---
include/efi_loader.h | 37 +
include/pe.h
ust create an extremely minimal
RTS stub that just declares all functions as unsupported. We could in the future
map U-boot environment variables to EFI variables here.
Signed-off-by: Alexander Graf <ag...@suse.de>
---
arch/arm/cpu/armv8/u-boot.lds | 8 ++
arch/arm/cpu/u-boot.lds | 13
, hoping that everyone managed to jump on the
train by now.
Signed-off-by: Alexander Graf <ag...@suse.de>
---
include/efi_loader.h | 5 +
lib/efi_loader/efi_console.c | 371 +++
2 files changed, 376 insertions(+)
create mode 100644 lib/efi_
Now that we have all the bits and pieces ready for EFI payload loading
support, hook them up in Makefiles and KConfigs so that we can build.
Signed-off-by: Alexander Graf <ag...@suse.de>
---
lib/Kconfig | 1 +
lib/Makefile| 1 +
lib/efi_loader/Kconfig
r the boot time services and also exposes a system
table, which is the point of entry descriptor table for EFI payloads.
Signed-off-by: Alexander Graf <ag...@suse.de>
---
include/efi_loader.h | 41 +++
lib/efi_loader/efi_boottime.c | 838 ++
2 fi
The EFI API header is great, but missing a good chunk of function prototype,
GUID defines and enum declarations.
This patch extends it to cover more of the EFI API. It's still not 100%
complete, but sufficient enough for our EFI payload interface.
Signed-off-by: Alexander Graf <ag...@suse
arguments against U-Boot internally and give users the
chance to run with the same level of comfort on all firmware types.
Alex
Alexander Graf (9):
disk/part.c: Expose a list of available block drivers
include/efi_api.h: Add more detailed API definitions
efi_loader: Add PE image loader
efi_l
-by: Alexander Graf <ag...@suse.de>
---
disk/part.c| 25 +
include/part.h | 2 ++
2 files changed, 27 insertions(+)
diff --git a/disk/part.c b/disk/part.c
index 909712e..5bc64c7 100644
--- a/disk/part.c
+++ b/disk/part.c
@@ -26,6 +26,31 @@ struct block_drvr {
and then have a simple boot command to execute them. So in our case, you
would do
# load mmc 0:1 $loadaddr grub.efi
# bootefi $loadaddr
which then gets you into a grub shell. Fdt information known to U-boot
via the fdt addr command is also passed to the EFI payload.
Signed-off-by: Alexander Graf
Some systems are starting to shift to support DM_VIDEO which exposes
the frame buffer through a slightly different interface.
This is a poor man's effort to support the dm video interface instead
of the lcd one. We still only support a single display device.
Signed-off-by: Alexander Graf <
On 06/09/2016 04:23 PM, Michal Simek wrote:
Disable arch_fixup_fdt() calls for cases where U-Boot shouldn't update
memory setup in DTB file.
One example of usage of this option is to boot OS with different memory
setup than U-Boot use.
Signed-off-by: Michal Simek
On 06/09/2016 04:32 PM, Michal Simek wrote:
On 9.6.2016 16:29, Alexander Graf wrote:
On 06/09/2016 04:23 PM, Michal Simek wrote:
Disable arch_fixup_fdt() calls for cases where U-Boot shouldn't update
memory setup in DTB file.
One example of usage of this option is to boot OS with different
On 06/08/2016 07:14 AM, Alison Wang wrote:
To support loading a 32-bit OS, the execution state will change from
AArch64 to AArch32 when jumping to kernel.
The architecture information will be got through checking FIT
image, then U-Boot will load 32-bit OS or 64-bit OS automatically.
On 10.06.16 14:31, Michal Simek wrote:
> On 10.6.2016 14:12, Alexander Graf wrote:
>>
>>
>> On 10.06.16 13:51, Michal Simek wrote:
>>> On 10.6.2016 13:13, Alexander Graf wrote:
>>>>
>>>>
>>>> On 10.06.16 13:07, Michal Simek wro
On 10.06.16 13:07, Michal Simek wrote:
> On 9.6.2016 16:40, Alexander Graf wrote:
>> On 06/09/2016 04:32 PM, Michal Simek wrote:
>>> On 9.6.2016 16:29, Alexander Graf wrote:
>>>> On 06/09/2016 04:23 PM, Michal Simek wrote:
>>>>> Disable arch_fixup
On 03.06.16 05:11, Huan Wang wrote:
>> On 26.05.16 10:41, Alison Wang wrote:
>>> To support loading a 32-bit OS, the execution state will change from
>>> AArch64 to AArch32 when jumping to kernel.
>>>
>>> The architecture information will be got through checking FIT image,
>>> then U-Boot will
Am 03.06.2016 um 11:31 schrieb Huan Wang :
>> On 03.06.16 05:11, Huan Wang wrote:
On 26.05.16 10:41, Alison Wang wrote:
> To support loading a 32-bit OS, the execution state will change from
> AArch64 to AArch32 when jumping to kernel.
>
> The
On 10.06.16 13:51, Michal Simek wrote:
> On 10.6.2016 13:13, Alexander Graf wrote:
>>
>>
>> On 10.06.16 13:07, Michal Simek wrote:
>>> On 9.6.2016 16:40, Alexander Graf wrote:
>>>> On 06/09/2016 04:32 PM, Michal Simek wrote:
>>>>> On 9.6.
> Am 15.06.2016 um 05:04 schrieb Huan Wang :
>
> Hi, Alex,
>
>>> On 06/08/2016 07:14 AM, Alison Wang wrote:
>>> To support loading a 32-bit OS, the execution state will change from
>>> AArch64 to AArch32 when jumping to kernel.
>>>
>>> The architecture information will be
> Am 15.06.2016 um 05:04 schrieb Huan Wang :
>
> Hi, Alex,
>
>>> On 06/08/2016 07:14 AM, Alison Wang wrote:
>>> To support loading a 32-bit OS, the execution state will change from
>>> AArch64 to AArch32 when jumping to kernel.
>>>
>>> The architecture information will be
1 - 100 of 2405 matches
Mail list logo