[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/7] arm-uboot: support for different RAM bases
From: |
Ian Campbell |
Subject: |
Re: [PATCH 0/7] arm-uboot: support for different RAM bases |
Date: |
Mon, 30 Dec 2013 10:48:31 +0000 |
On Mon, 2013-12-30 at 02:55 +0100, Vladimir 'φ-coder/phcoder' Serbinenko
wrote:
> Is there a way to make uboot to load GRUB at some appropriate address.
I don't think there is with the uImage format which grub uses today. It
contains a load address in the header which AFAIK is an absolute address
with no scope for "u-boot chooses" or "offset from start of RAM" or
anything like that.
In theory we could drop the uImage header and just us a plain Linux
zImage via u-boot's "bootz" command, which would then put things in the
hands of the u-boot boot script and environment, but that is not all
that widely available yet, whereas "bootm" is pretty much everywhere.
> We can do relocations in the startup code if needed.
The above notwithstanding I did wonder about this but it seems like
potentially complex code to write in the early asm portion of things.
I also vaguely played with -fpic/fpie but not with much success and I
don't know if that solution would be workable in practice.
Ian.
- [PATCH 4/7] mkimage: make R_ARM_ABS32 debug output more consistent, (continued)
- [PATCH 4/7] mkimage: make R_ARM_ABS32 debug output more consistent, Ian Campbell, 2013/12/29
- [PATCH 5/7] mkimage: allow linking at address 0, Ian Campbell, 2013/12/29
- [PATCH 6/7] mkimage: support images which require full relocation at mkimage time., Ian Campbell, 2013/12/29
- [PATCH 7/7] arm-uboot: support relocation at installation time, Ian Campbell, 2013/12/29
- Re: [PATCH 0/7] arm-uboot: support for different RAM bases, Ian Campbell, 2013/12/29
- Re: [PATCH 0/7] arm-uboot: support for different RAM bases, Leif Lindholm, 2013/12/29
- Re: [PATCH 0/7] arm-uboot: support for different RAM bases, Vladimir 'φ-coder/phcoder' Serbinenko, 2013/12/29
- Re: [PATCH 0/7] arm-uboot: support for different RAM bases,
Ian Campbell <=