History log of /haiku-fatelf/src/system/boot/platform/u-boot/start.cpp
Revision Date Author Comments
# 344b3218 12-Nov-2012 Ithamar R. Adema <ithamar@upgrade-android.com>

ARM/u-boot: Add support for FDTs passed in the uImage

Since we're using multi-part uImage format, we can add the FDT as
a seperate "blob" in the uImage, if the used U-Boot version is not
"FDT enabled".

This is used for example for our Verdex target. Currently I've got
a local hack in the platform/u-boot/Jamfile, looking into pulling
in the FDT files and a proper Jam setup to do that properly...


# 338324dc 24-Aug-2012 François Revol <revol@free.fr>

U-Boot: check for /chosen in the FDT for an initrd holding our tgz

* since the FDT linux boot method doesn't pass the uimage, we can't
use it to pass the kernel+driver tgz in a multi-file uimage.
* instead we check for the linux initrd properties in the /chosen node.

(cherry picked from my sam460ex branch)


# 9b8ce8c4 24-Aug-2012 François Revol <revol@free.fr>

U-Boot: initialize the debug UART using FDT hints when possible

* we first try to find 'serial', 'serial0' or 'serial1' in /aliases
* extract the required properties from the found node and use them
* fallback to the hardcoded UART from the board definition header

(cherry picked from my sam460ex branch)


# 18f4b7dd 24-Aug-2012 François Revol <revol@free.fr>

U-Boot: dump the passed FDT

* add some helpers for Flattened Device Trees, for now a dump call
* dump the passed FDT on startup for now

Conflicts:
src/system/boot/platform/u-boot/Jamfile

(cherry picked from my sam460ex branch)


# acda52f5 24-Jun-2012 Alex Smith <alex@alex-smith.me.uk>

Fixes for other platforms.


# 3a2a3367 22-Jun-2012 Alex Smith <alex@alex-smith.me.uk>

Support static_cast on FixedWidthPointer.


# f1244978 22-Jun-2012 Alex Smith <alex@alex-smith.me.uk>

Added an ELF64 version of preloaded_image.

* There is now 2 structures, preloaded_elf32_image and preloaded_elf64_image,
which both inherit from preloaded_image.
* For now I've just hardcoded in use of preloaded_elf32_image, but the
bootloader ELF code will shortly be converted to use templates which use
the appropriate structure. The kernel will be changed later when I add
ELF64 support to it.
* All kernel_args data is now compatible between 32-bit and 64-bit kernels.


# dc09611a 02-Jun-2012 François Revol <revol@free.fr>

U-Boot: move gFDT declaration to shell.S

* this avoids it falling into the BSS section which we clear quite late,
and allows setting it from asm code if needed.


# b011337e 17-May-2012 François Revol <revol@free.fr>

U-Boot: save passed FDT and call common code

* should work better this way :D


# d86473df 17-May-2012 François Revol <revol@free.fr>

Cleanup U-Boot global data struct

* there are only a few members we can really rely on, the rest is compile-time dependant.
* don't use ARM-specific stuff.


# 229e112e 12-May-2012 François Revol <revol@free.fr>

Drop ARM-specific register pointer

* the global data is already stored in a variable from shell.S anyway when available


# 5409323a 12-May-2012 François Revol <revol@free.fr>

Add empty C linux-style entry points

* On PPC, there are two different kernel entry signatures for Linux


# d1645229 10-May-2012 François Revol <revol@free.fr>

Rename u-boot start2.cpp to start.cpp

* rename the file for consistency with other platforms.
* there used to be a start.S, long since renamed to shell.S anyway.


# 344b3218d40b44df5bfc8c7c4859e7d9ed4d06f2 12-Nov-2012 Ithamar R. Adema <ithamar@upgrade-android.com>

ARM/u-boot: Add support for FDTs passed in the uImage

Since we're using multi-part uImage format, we can add the FDT as
a seperate "blob" in the uImage, if the used U-Boot version is not
"FDT enabled".

This is used for example for our Verdex target. Currently I've got
a local hack in the platform/u-boot/Jamfile, looking into pulling
in the FDT files and a proper Jam setup to do that properly...


# 338324dc66c15a8c8c92d73f14d0a489732abe1d 24-Aug-2012 François Revol <revol@free.fr>

U-Boot: check for /chosen in the FDT for an initrd holding our tgz

* since the FDT linux boot method doesn't pass the uimage, we can't
use it to pass the kernel+driver tgz in a multi-file uimage.
* instead we check for the linux initrd properties in the /chosen node.

(cherry picked from my sam460ex branch)


# 9b8ce8c462c53cbf9172c415f56a75ec406529dd 24-Aug-2012 François Revol <revol@free.fr>

U-Boot: initialize the debug UART using FDT hints when possible

* we first try to find 'serial', 'serial0' or 'serial1' in /aliases
* extract the required properties from the found node and use them
* fallback to the hardcoded UART from the board definition header

(cherry picked from my sam460ex branch)


# 18f4b7dd3b97f7dc42337445ea0290b65e0b2a18 24-Aug-2012 François Revol <revol@free.fr>

U-Boot: dump the passed FDT

* add some helpers for Flattened Device Trees, for now a dump call
* dump the passed FDT on startup for now

Conflicts:
src/system/boot/platform/u-boot/Jamfile

(cherry picked from my sam460ex branch)


# acda52f5e963b1c76fed2eca0409444cda4529b5 24-Jun-2012 Alex Smith <alex@alex-smith.me.uk>

Fixes for other platforms.


# 3a2a3367dc9bec2a5fbcd4ac849da6ac65e74e79 22-Jun-2012 Alex Smith <alex@alex-smith.me.uk>

Support static_cast on FixedWidthPointer.


# f1244978152350f9cc010e766d09c2e9ad34dfce 22-Jun-2012 Alex Smith <alex@alex-smith.me.uk>

Added an ELF64 version of preloaded_image.

* There is now 2 structures, preloaded_elf32_image and preloaded_elf64_image,
which both inherit from preloaded_image.
* For now I've just hardcoded in use of preloaded_elf32_image, but the
bootloader ELF code will shortly be converted to use templates which use
the appropriate structure. The kernel will be changed later when I add
ELF64 support to it.
* All kernel_args data is now compatible between 32-bit and 64-bit kernels.


# dc09611aad3a8c4b17c632703051ac8d64c96efd 02-Jun-2012 François Revol <revol@free.fr>

U-Boot: move gFDT declaration to shell.S

* this avoids it falling into the BSS section which we clear quite late,
and allows setting it from asm code if needed.


# b011337e20bf312aa0d12536b86d51f4267f0ffc 17-May-2012 François Revol <revol@free.fr>

U-Boot: save passed FDT and call common code

* should work better this way :D


# d86473dfb94ed15a65725e11311823096018f8e3 17-May-2012 François Revol <revol@free.fr>

Cleanup U-Boot global data struct

* there are only a few members we can really rely on, the rest is compile-time dependant.
* don't use ARM-specific stuff.


# 229e112eb4a2e83edd4e7bb44f3a265f1b4681fa 12-May-2012 François Revol <revol@free.fr>

Drop ARM-specific register pointer

* the global data is already stored in a variable from shell.S anyway when available


# 5409323add017f43372830b22733699dae5abc20 12-May-2012 François Revol <revol@free.fr>

Add empty C linux-style entry points

* On PPC, there are two different kernel entry signatures for Linux


# d1645229d142e2979c35ea67c1709fa71a0d8b1d 10-May-2012 François Revol <revol@free.fr>

Rename u-boot start2.cpp to start.cpp

* rename the file for consistency with other platforms.
* there used to be a start.S, long since renamed to shell.S anyway.