#
f6166140 |
|
29-Nov-2022 |
Augustin Cavalier <waddlesplash@gmail.com> |
build: Define _BOOT_MODE once and for all in ArchitectureRules+BootRules. Previously it was spread all around the tree, and was not defined consistently for all boot objects (there were a number of boot modules which did not define it, but did include headers which checked for it.) Now, as it is handled in SetupBoot which is invoked for all boot objects, it will be applied consistently throughout. We can thus drop the manual additions of it from all Jamfiles.
|
#
c892801f |
|
05-Nov-2021 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
platforms/u-boot,platforms/riscv: Fix boot_fdt after hrev55618 Change-Id: I49579b206ba4d6a83e0e3a557fc5d4bad6a1a886 Reviewed-on: https://review.haiku-os.org/c/haiku/+/4695 Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com> Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
c4eec9f1 |
|
01-Oct-2021 |
Augustin Cavalier <waddlesplash@gmail.com> |
Distinguish KERNEL_ARCH_DIR from KERNEL_ARCH. On x86_64, the KERNEL_ARCH should really be "x86_64", but it was "x86" as the architecture sources/headers directory is shared between 32 and 64 bit. Should not be a functional change on any platform outside x86_64.
|
#
4f732f12 |
|
09-Mar-2020 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
efi: drop fdt and fdt drivers on arm Change-Id: I3a11e7b3aae043deb72a2dd0de543cb488d75eb6 Reviewed-on: https://review.haiku-os.org/c/haiku/+/2336 Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com> Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
645e6f89 |
|
30-Oct-2018 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
u-boot: Drop openfirmware in u-boot platform hack * If we need this, we can do builds with openfirmware platform on u-boot loader now. Change-Id: I67b5bda165a78b772e246c008c5018b2d6f459e9
|
#
c340bfce |
|
30-Oct-2018 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
u-boot: Fix boot arch + platform on arm Change-Id: I6ecdb9e1b1039ac769b015fb96a3531715b44542
|
#
dd45d433 |
|
18-Oct-2018 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
u-boot: Fix after multi-loader changes * Move MMU image to a real image define vs being crammed into the u-boot bootloader Jamfile * ARM not working yet, but better! * x86 still builds Change-Id: I3fb873dbac06fe2db893915b667bf3ce1df44686
|
#
5d0fd0e4 |
|
05-Aug-2018 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
fdt: Major over-haul of fdt * Consolidate all fdt code into fdt bus_manager * Build boot and kernel static libraries Change-Id: I2a69cd7e1f1276999a80734ff12918fd49b599e5 Reviewed-on: https://review.haiku-os.org/440 Reviewed-by: Alexander von Gluck IV <kallisti5@unixzen.com>
|
#
95daec10 |
|
19-May-2018 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
u-boot: Generate boot.scr for mmc * This gives us a solid automatic entry point to u-boot * A uEnv.txt specifies the fdt file name * This should work on any modern u-boot for most architectures * Non-mmc targets will likely need some work Change-Id: I9a00316a213a15e85d3f2e18574d64920d9bdb76
|
#
403baf65 |
|
18-Oct-2017 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
u-boot: mmc single case volume label * Makes parsing slightly easier in tools like rune-image. * Mixed case introduces some extra encoding the WIP Rust FAT driver doesn't support (yet)
|
#
aba73205 |
|
10-Jul-2017 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
u-boot/arm: Add missing floppyboot to mmc
|
#
1b3c81fe |
|
10-Jul-2017 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
u-boot: Fix mmc build without target boards
|
#
855fc5a0 |
|
09-Jul-2017 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
platform/u-boot: Build all fdt's and include in u-boot mmc * Eventually BoardSetups and target boards will go away. * Include all known fdt's in the mmc image * This gets us closer to target board-less arm * Changing hardware is as simple as plugging a new fdt into u-boot's startup script. * Drop my original rpi1 work. We're targetting ARMv7 minimum.
|
#
bd060476 |
|
06-Nov-2013 |
Fredrik Holmqvist <fredrik.holmqvist@gmail.com> |
Setup -fno-pic or -fpic in Architecture Rules. EFI boot needs -fpic but all boot code was built with -fno-pic. This is now set accordingly in HAIKU_BOOT_CCFLAGS and HAIKU_BOOT_C++FLAGS. Also setup compile flags for EFI platform.
|
#
a2ddc1c0 |
|
23-Apr-2015 |
François Revol <revol@free.fr> |
Fix CompileDTS rule to locate the device tree blob properly This avoids having to call it from the BoardSetup files.
|
#
9c5e234c |
|
11-Apr-2015 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
arm: Initial Cubieboard4 work * SD cards are "blessed" with a boot0 spl and boot1 u-boot at fixed locations. * Allwinner's u-boot is lacking a lot. * Upstream u-boot should be better at some point. WIP: http://lists.denx.de/pipermail/u-boot/2015-January/201537.html
|
#
f121867b |
|
14-Mar-2015 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
arm/fdt: Initial reorg of fdt support code * Makes FDT support code useable by everyone without all of the externs * Further movement to be non-u-boot centic may still happen.
|
#
564a073b |
|
01-Nov-2014 |
François Revol <revol@free.fr> |
ARM: move uEnv.txt content to BoardSetup file That's really where it belongs. Not all boards will need it, but for now it's always created.
|
#
95e9515c |
|
01-Nov-2014 |
François Revol <revol@free.fr> |
U-Boot: drop the bind on the flash image action
|
#
8d8bda07 |
|
01-Nov-2014 |
François Revol <revol@free.fr> |
U-Boot: generate a separate uImage for the boot tgz as well We need this when using the linux entry point.
|
#
1309cdad |
|
31-Oct-2014 |
François Revol <revol@free.fr> |
U-Boot: rework flash image rule to be more flexible We can now specify arbitrary content and offsets for each. Change the default block size to 1k.
|
#
f680a1a7 |
|
31-Oct-2014 |
François Revol <revol@free.fr> |
U-Boot: skip flash-image targets if no U-Boot image is passed When building flash images we want a U-Boot binary for now. Testing for it avoids dd waiting for input on stdin instead leaving no clue.
|
#
88d51506 |
|
31-Oct-2014 |
François Revol <revol@free.fr> |
Move ARM device tree files to an arch-specific subfolder FDT are also used on PPC at least, and at least skeleton.dtsi might clash since there is a different one for PPC.
|
#
5d8ce473 |
|
30-Oct-2014 |
Ithamar R. Adema <ithamar@upgrade-android.com> |
ARM: u-boot: Generate DTB and include in uImage
|
#
72b52fdf |
|
05-Sep-2014 |
Ithamar R. Adema <ithamar@upgrade-android.com> |
ARM: u-boot: work around dd issues on OSX The oflag parameter does not exist on OSX, and neither on BSD. Just use "cat" to append instead.
|
#
21af7e54 |
|
17-Aug-2014 |
Ithamar R. Adema <ithamar@upgrade-android.com> |
ARM: remove all references to sfdisk sfdisk is no longer used by the ARM build, since we can handle everything with mtools (using mpartition instead of sfdisk).
|
#
82d287dd |
|
08-Aug-2014 |
Arvind S Raj <sraj.arvind@gmail.com> |
Reserve 8MB space for kernel before RAM_loader ...so that kernel does not overwrite the loader. Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk> Fixes #11067.
|
#
004f4156 |
|
14-Jun-2014 |
PulkoMandy <pulkomandy@pulkomandy.tk> |
Apply fix suggested by Ingo * Fix mixup of HAIKU_IMAGE vs HAIKU_IMAGE_NAME * Use $(1) and $(2) instead of $(<) and $(>) * Remove useless count parameter to dd
|
#
afe56d3a |
|
13-Jun-2014 |
PulkoMandy <pulkomandy@pulkomandy.tk> |
Load uImage higher so it doesn't overwrite itself Loading of haiku_loader from an uImage is a 2-step process: * First, the uImage is loaded (in our case from SD card using fatload) to RAM at a temporary address. * Then (using bootm), it is unpacked. The uImage is a container format and can hold several files, with a load and execution address. The files are copied from the uImage to their final location, and it's better if that doesn't overlap with the uImage content When this loading is done, bootm jumps to the entry point found in the uImage. We now actually execute our code from haiku_loader. This crashes with the following call stack: * vsnprintf * dprintf * boot_arch_cpu_init * cpu_init It seems vsnprintf is trying to use VFP instructions (probably from the libgcc) but that triggers some kind of fault, and the handler (setup by uboot?) ends up crashing the system by jumping to unmapped memory at 0.
|
#
3d6edc43 |
|
13-Jun-2014 |
PulkoMandy <pulkomandy@pulkomandy.tk> |
Patch by dnivra (GSoC 2014, ARM suppport) * Cleanup the SD card image building to allow jam -q @bootstrap-mmc to work. There are a few remaining tricks before you can safely build an image: * This uses a non-POSIX du option, and is only tested with Linux du only (Linux is the only supported system to run bootstrap builds, anyway) * The Python recipe in haikuports.cross is known to not build on Debian/Ubuntu, but work fine on OpenSuse. There is a patch available in haikuports bugtracker to allow the reverse. * You need to populate the haikuports repo package list with some packages (which don't exist yet) to make the build system happy. But our git hook to generate the repositories is preventnig me to share this hack. Once built, the image currently crashes early in the kernel execution. On to debug that!
|
#
7cbc41ae |
|
15-Oct-2013 |
François Revol <revol@free.fr> |
U-Boot: Split fdt_support.cpp, move serial stuff to fdt_serial.cpp
|
#
acd58c2f |
|
14-Sep-2013 |
Ithamar R. Adema <ithamar@upgrade-android.com> |
ARM: boot: Make dd on MacOS happy Turns out dd on MacOS does not like '1M' as size descriptor, but wants '1m'. To prevent us breaking Linux builds (as it does not accept 1m), just use the actual number of bytes explicitely instead.
|
#
cfa8ecbc |
|
14-Sep-2013 |
Ithamar R. Adema <ithamar@upgrade-android.com> |
ARM: boot: Make dd on MacOS happy Turns out dd on MacOS does not like '1M' as size descriptor, but wants '1m'. To prevent us breaking Linux builds (as it does not accept 1m), just use the actual number of bytes explicitely instead.
|
#
2d014a28 |
|
06-Nov-2012 |
François Revol <revol@free.fr> |
U-Boot: Fix linking the kernel by adding FDT support Add FDT support to the kernel, move fdt_support.cpp and declare gFDT there for the kernel.
|
#
f24f5903 |
|
06-Nov-2012 |
François Revol <revol@free.fr> |
U-Boot: implement part of the OpenFirmware wrapper We'll see later on if it's really useful to keep it around.
|
#
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)
|
#
fa44ac9b |
|
24-Aug-2012 |
François Revol <revol@free.fr> |
U-Boot: compile and link to libfdt * For the sam460ex and likely some ARM boards we will try to boot using the passed FDT, as it's the recommended method now. (cherry picked from my sam460ex branch)
|
#
f1ad2f5a |
|
15-Aug-2012 |
François Revol <revol@free.fr> |
U-Boot: disable optimisation to help debugging * the U-Boot support code is yet unfinished and needs more debugging. (cherry picked from my sam460ex branch)
|
#
db5bd553 |
|
21-Sep-2012 |
François Revol <revol@free.fr> |
U-Boot: move mmu.cpp to arch/arm/arch_mmu.cpp * only contains ARM stuff anyway. * PPC implementation will be very different anyway.
|
#
696526b2 |
|
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
|
#
78ea39c7 |
|
24-Aug-2012 |
François Revol <revol@free.fr> |
U-Boot: compile and link to libfdt * For the sam460ex and likely some ARM boards we will try to boot using the passed FDT, as it's the recommended method now.
|
#
091ba358 |
|
15-Aug-2012 |
François Revol <revol@free.fr> |
U-Boot: disable optimisation to help debugging * the U-Boot support code is yet unfinished and needs more debugging.
|
#
da80a050 |
|
02-Jul-2012 |
Alex Smith <alex@alex-smith.me.uk> |
Preparation for merge of x86 and x86_64 kernel sources. Since x86 and x86_64 share a lot of common code, x86_64 kernel sources/headers are going to reside under headers/private/kernel/arch/x86 and src/system/kernel/arch/x86 along with the existing x86 code. This commit changes the build system to handle this. A new variable, TARGET_KERNEL_ARCH, has been added. This is the name of the kernel/boot architecture directory name, set to x86 on both x86 and x86_64. This is now used in all places where TARGET_ARCH was used to get to kernel arch sources/headers (I've changed everything necessary as far as I can tell). Kernel won't build for x86_64 at the moment as the sources have not been merged, loader does.
|
#
65ad1ba3 |
|
26-May-2012 |
Alex Smith <alex@alex-smith.me.uk> |
Made it possible to build the bootloader when targetting x86_64. * x86_64 is using the existing *_ia32 boot platforms. * Special flags are required when compiling the loader to get GCC to compile 32-bit code. This adds a new set of rules for compiling boot code rather than using the kernel rules, which compile using the necessary flags. * Some x86_64 private headers have been stubbed by #include'ing the x86 versions. These will be replaced later.
|
#
de1c9361 |
|
17-May-2012 |
François Revol <revol@free.fr> |
U-Boot: include board name in uimage header * for clarity, include the board in the uimage name field, it's long enough.
|
#
f5759f2e |
|
17-May-2012 |
François Revol <revol@free.fr> |
U-Boot: Add a Linux-type loader target * those should be cleaned up. BoardSetup should tell which OS type to emulate.
|
#
e9ec7a55 |
|
16-May-2012 |
François Revol <revol@free.fr> |
Attempt to factor out serial stuff * introduce a DebugUART baseclass, * rework 8250 and PL011 implementations from kallisti5 to inherit DebutUART, * each arch should override the IO methods to access registers. * on ARM registers are 32bit-aligned. * U-Boot still works for the verdex target. * rPi still compiles, needs testing. * Still some more consolidation needed to allow runtime choice of the UART type (as read from FDT blobs for ex.). * serial.cpp should probably mostly be made generic as well. * didn't touch x86 or ppc yet.
|
#
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.
|
#
a8eaac69 |
|
21-Nov-2011 |
François Revol <revol@free.fr> |
U-Boot: board-specific setup is already in build/jam/board/
|
#
70ac17ba |
|
20-Nov-2011 |
François Revol <revol@free.fr> |
U-Boot: Cleanup; s/arm/$(TARGET_ARCH)/g U-Boot is not only about arm...
|
#
d1460ff5 |
|
20-Nov-2011 |
François Revol <revol@free.fr> |
ARM: Rename flash and mmc base generic targets They are not so much arm-specific, really. We now have haiku-flash-*image variations, and haiku-mmc-image.
|
#
1d6f7e86 |
|
20-Nov-2011 |
François Revol <revol@free.fr> |
ARM: Use proper Jamfiles for u-boot/arch/ subdirs
|
#
e3591817 |
|
20-Nov-2011 |
François Revol <revol@free.fr> |
ARM: move kernel calling code to arch specific file * needs some more cleanup. * had to change gUBootOS to 32bit to avoid a linker bug.
|
#
4499da39 |
|
17-Jan-2011 |
Philippe Houdoin <philippe.houdoin@gmail.com> |
Moved generic boot platform code to its own static lib, boot_platform_generic.a. I hope I didn't break anything, as I can and have only test bios_ia32's haiku_loader. Flame me otherwise. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40240 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2f6b97dc |
|
12-Jan-2011 |
François Revol <revol@free.fr> |
This should hopefully fix build break introduced by r40215. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40217 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
08e6655a |
|
05-Nov-2010 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by kaliber (ticket #6333): Removed many instances of passing an additional -Wall to the compiler, which may actually have unwanted effects. -Wall is standard by the build system. Also, -Wno-multichar was passed unnecessarily for Haiku targets. I didn't remove it for the bfs_shell, hope this is what Ingo meant in the ticket. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39314 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ead08445 |
|
16-Oct-2010 |
Matt Madia <mattmadia@gmail.com> |
Created some pseudo targets, to make jamming easier. For example, jam -q -sHAIKU_BOOT_BOARD=verdex haiku-arm-image will build "haiku_verdex_flash_image_raw.img" git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38984 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fc9a8806 |
|
16-Oct-2010 |
Matt Madia <mattmadia@gmail.com> |
Automatic whitespace cleanup. No functional change. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38983 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
71b60eaf |
|
15-Oct-2010 |
Ithamar R. Adema <ithamar.adema@team-embedded.nl> |
Remove leftover debug code. Thanks François! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38973 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ecaa4c29 |
|
15-Oct-2010 |
Ithamar R. Adema <ithamar.adema@team-embedded.nl> |
* Incorporate ARM board name in flash/mmc image names; Fixes ticket #5213. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38971 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9020ce87 |
|
30-Jun-2010 |
François Revol <revol@free.fr> |
Patch by "notzed" (ticket #5368) (modified): Add bootloader support for BeagleBoard. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37319 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
46f639a8 |
|
30-Jun-2010 |
François Revol <revol@free.fr> |
Add an (unused yet) cylinder count var on sfdisk. We don't have any mean of calculating it from the desired image size in jam anyway. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37318 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b6add3ff |
|
25-Jun-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Renamed remaining .c files to .cpp, and made the necessary changes to let them compile still. * Some cleanup in ARM's start2.cpp. * m68k stuff is still missing, though. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37249 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b5db1a78 |
|
25-Feb-2010 |
Rene Gollent <anevilyak@gmail.com> |
Patch by Matt Madia: fix ARM build. Closes ticket #5476. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35618 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
12a17213 |
|
07-Jan-2010 |
François Revol <revol@free.fr> |
Undo r34942 and use printf instead, which is standardized by POSIX and supports \n, thanks DraX! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34943 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
08605557 |
|
07-Jan-2010 |
François Revol <revol@free.fr> |
Do not use echo -e, as FreeBSD doesn't support it. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34942 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c505b276 |
|
07-Jan-2010 |
François Revol <revol@free.fr> |
Patch by Matt Madia: detect host sfdisk in configure for ARM, including the FreeBSD port. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34940 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cecee6bb |
|
06-Jan-2010 |
François Revol <revol@free.fr> |
M is 1024*1024, dammit ! Has the US finally switched to the metric system ? git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34920 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
bc85c20b |
|
06-Jan-2010 |
François Revol <revol@free.fr> |
- add board-specific stuff to header paths, - automatically download the u-boot flash image when set. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34917 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
98a35452 |
|
14-Aug-2009 |
François Revol <revol@free.fr> |
[ARM] Add support for boot splash, only for PXA. Disabled for now as it forces the framebuffer onto some useful data. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32399 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3f6f17cf |
|
13-Aug-2009 |
François Revol <revol@free.fr> |
[ARM] Start of framebuffer initialization for the Verdex board. For now it points to the data section as framebuffer for testing and shows an RGB pattern. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32352 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a2577dbf |
|
13-Aug-2009 |
François Revol <revol@free.fr> |
[ARM] Stubbed out config_manager and pci bus_manager arch code. Now really use the boot floppy tgz for the netbsd uimage as it all builds, but with other kernel arch code not yet commited. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32324 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
01c8294c |
|
12-Aug-2009 |
François Revol <revol@free.fr> |
[ARM] - don't clobber the parameter regs in the entry point, - fix entry point address for netbsd loader emulation, - added a gUImage global to point to the uimage blob with the tgz, - added tgz info to platform stage2 args, - add simple uimage support, just dumps the header and gets the nth blob in the image, (seems we have a bug in the math code, some infos don't print), - made devices.cpp use them to publish the MemoryDisk, - add an haiku_loader_nbsd.ub target which puts both the loader and kernel_arm for now (need to replace with the tgz). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32295 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cd5d972e |
|
12-Aug-2009 |
François Revol <revol@free.fr> |
[ARM] Name the FAT; no need to list the contents. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32290 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
feb750d3 |
|
12-Aug-2009 |
François Revol <revol@free.fr> |
[ARM] - consolidate board specific definitions into build/jam/board/*/BoardSetup to avoid duplicating address values everywhere, - add various addresses, boot script, custom C/C++ flags and SD card definition, - not sure BoardSetup is included at the best place though, - replaced board-specific ldscript with passing the loader address directly to LD from BoardSetup, - added haiku.mmc target which generates an mmc/SD card image with a FAT partition with the files needed to boot for the board, should later be integrated with haiku.image with the BFS partition offset passed to bfs_shell, requires apt:sfdisk,mtools on GNU/Linux, - added some more rules, one to build a script for the SD image, - fake a NetBSD loader for now, U-Boot doesn't know haiku, and we'll need a way to pass the tgz image and RAM size, we'll either use standlone way (usual C argv[]) or the NetBSD args, - style fixes, - 80 cols, /me pets Ingo. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32284 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ac15f9dd |
|
09-Aug-2009 |
François Revol <revol@free.fr> |
[ARM] Add rule to handle uimage, and board-specific stuff to handle load addresses. Need to fix them, u-boot doesn't like loading the file with the header where the header says it should go, must copy to a different address. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32214 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0693778c |
|
07-Aug-2009 |
François Revol <revol@free.fr> |
[ARM] Move uart.c to arch/arm/ where it belongs, it has nothing u-boot specific. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32203 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
67a0108c |
|
07-Aug-2009 |
François Revol <revol@free.fr> |
[ARM] - add board specific headers to includes, - some unused flash image targets. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32199 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f2a3f519 |
|
27-Jul-2009 |
François Revol <revol@free.fr> |
jam target to build a flash image. Requires passing UBOOT_IMAGE to jam. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31823 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
20cbef82 |
|
27-Jul-2009 |
François Revol <revol@free.fr> |
[GSoC] [ARM] Patch by Johannes Wischert. Stubbed u-boot platform code. Mostly copied from other platforms. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31818 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a2ddc1c06e44c238f5d0492cb50450e5c8923d71 |
|
23-Apr-2015 |
François Revol <revol@free.fr> |
Fix CompileDTS rule to locate the device tree blob properly This avoids having to call it from the BoardSetup files.
|
#
9c5e234cb3c17864281fd225467f692d7b4f26db |
|
11-Apr-2015 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
arm: Initial Cubieboard4 work * SD cards are "blessed" with a boot0 spl and boot1 u-boot at fixed locations. * Allwinner's u-boot is lacking a lot. * Upstream u-boot should be better at some point. WIP: http://lists.denx.de/pipermail/u-boot/2015-January/201537.html
|
#
f121867b877df03246ef7c4ca3f168a17f2395a9 |
|
14-Mar-2015 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
arm/fdt: Initial reorg of fdt support code * Makes FDT support code useable by everyone without all of the externs * Further movement to be non-u-boot centic may still happen.
|
#
564a073b01046e3d4d8163c4f6519d11763382fc |
|
01-Nov-2014 |
François Revol <revol@free.fr> |
ARM: move uEnv.txt content to BoardSetup file That's really where it belongs. Not all boards will need it, but for now it's always created.
|
#
95e9515c4b52d3beba8eff2c11d22918130b17ff |
|
01-Nov-2014 |
François Revol <revol@free.fr> |
U-Boot: drop the bind on the flash image action
|
#
8d8bda071f3f1f80d1fd6a61b603e7c45ebd319b |
|
01-Nov-2014 |
François Revol <revol@free.fr> |
U-Boot: generate a separate uImage for the boot tgz as well We need this when using the linux entry point.
|
#
1309cdade9c215a2bb48823f38edfc74b4dce0f6 |
|
31-Oct-2014 |
François Revol <revol@free.fr> |
U-Boot: rework flash image rule to be more flexible We can now specify arbitrary content and offsets for each. Change the default block size to 1k.
|
#
f680a1a723180a831f5d6cefba9ee07ac09450b1 |
|
31-Oct-2014 |
François Revol <revol@free.fr> |
U-Boot: skip flash-image targets if no U-Boot image is passed When building flash images we want a U-Boot binary for now. Testing for it avoids dd waiting for input on stdin instead leaving no clue.
|
#
88d51506d0f23af02f95b881c85a2aba204c1e23 |
|
31-Oct-2014 |
François Revol <revol@free.fr> |
Move ARM device tree files to an arch-specific subfolder FDT are also used on PPC at least, and at least skeleton.dtsi might clash since there is a different one for PPC.
|
#
5d8ce4733c3b686e66cf13e3de4784324f8d6aff |
|
30-Oct-2014 |
Ithamar R. Adema <ithamar@upgrade-android.com> |
ARM: u-boot: Generate DTB and include in uImage
|
#
72b52fdf92dde72a6b7ad74355a00b2155a8b9c4 |
|
05-Sep-2014 |
Ithamar R. Adema <ithamar@upgrade-android.com> |
ARM: u-boot: work around dd issues on OSX The oflag parameter does not exist on OSX, and neither on BSD. Just use "cat" to append instead.
|
#
21af7e541fa6710976f1c64290654ddc75acacaa |
|
17-Aug-2014 |
Ithamar R. Adema <ithamar@upgrade-android.com> |
ARM: remove all references to sfdisk sfdisk is no longer used by the ARM build, since we can handle everything with mtools (using mpartition instead of sfdisk).
|
#
82d287ddcb5ebd221717d2bf18bac9d7c398f966 |
|
08-Aug-2014 |
Arvind S Raj <sraj.arvind@gmail.com> |
Reserve 8MB space for kernel before RAM_loader ...so that kernel does not overwrite the loader. Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk> Fixes #11067.
|
#
004f41565ee7ad9c9d7d32f86330401ce5b16796 |
|
14-Jun-2014 |
PulkoMandy <pulkomandy@pulkomandy.tk> |
Apply fix suggested by Ingo * Fix mixup of HAIKU_IMAGE vs HAIKU_IMAGE_NAME * Use $(1) and $(2) instead of $(<) and $(>) * Remove useless count parameter to dd
|
#
afe56d3ab3194d81d07f2c18b7fe56794bc191cf |
|
13-Jun-2014 |
PulkoMandy <pulkomandy@pulkomandy.tk> |
Load uImage higher so it doesn't overwrite itself Loading of haiku_loader from an uImage is a 2-step process: * First, the uImage is loaded (in our case from SD card using fatload) to RAM at a temporary address. * Then (using bootm), it is unpacked. The uImage is a container format and can hold several files, with a load and execution address. The files are copied from the uImage to their final location, and it's better if that doesn't overlap with the uImage content When this loading is done, bootm jumps to the entry point found in the uImage. We now actually execute our code from haiku_loader. This crashes with the following call stack: * vsnprintf * dprintf * boot_arch_cpu_init * cpu_init It seems vsnprintf is trying to use VFP instructions (probably from the libgcc) but that triggers some kind of fault, and the handler (setup by uboot?) ends up crashing the system by jumping to unmapped memory at 0.
|
#
3d6edc43d98295a74f801343f14c6e27d5a6084c |
|
13-Jun-2014 |
PulkoMandy <pulkomandy@pulkomandy.tk> |
Patch by dnivra (GSoC 2014, ARM suppport) * Cleanup the SD card image building to allow jam -q @bootstrap-mmc to work. There are a few remaining tricks before you can safely build an image: * This uses a non-POSIX du option, and is only tested with Linux du only (Linux is the only supported system to run bootstrap builds, anyway) * The Python recipe in haikuports.cross is known to not build on Debian/Ubuntu, but work fine on OpenSuse. There is a patch available in haikuports bugtracker to allow the reverse. * You need to populate the haikuports repo package list with some packages (which don't exist yet) to make the build system happy. But our git hook to generate the repositories is preventnig me to share this hack. Once built, the image currently crashes early in the kernel execution. On to debug that!
|
#
7cbc41ae327a966125fd05eb8536931e33b555dd |
|
15-Oct-2013 |
François Revol <revol@free.fr> |
U-Boot: Split fdt_support.cpp, move serial stuff to fdt_serial.cpp
|
#
acd58c2f6c9778fd8fea213a94dd709220256406 |
|
14-Sep-2013 |
Ithamar R. Adema <ithamar@upgrade-android.com> |
ARM: boot: Make dd on MacOS happy Turns out dd on MacOS does not like '1M' as size descriptor, but wants '1m'. To prevent us breaking Linux builds (as it does not accept 1m), just use the actual number of bytes explicitely instead.
|
#
cfa8ecbc8679200044b2922a753490e99972e88f |
|
14-Sep-2013 |
Ithamar R. Adema <ithamar@upgrade-android.com> |
ARM: boot: Make dd on MacOS happy Turns out dd on MacOS does not like '1M' as size descriptor, but wants '1m'. To prevent us breaking Linux builds (as it does not accept 1m), just use the actual number of bytes explicitely instead.
|
#
2d014a28863f95a905daaa1f75aa9637565dd16a |
|
06-Nov-2012 |
François Revol <revol@free.fr> |
U-Boot: Fix linking the kernel by adding FDT support Add FDT support to the kernel, move fdt_support.cpp and declare gFDT there for the kernel.
|
#
f24f590392a910b547e2463843d34b33d4fdb958 |
|
06-Nov-2012 |
François Revol <revol@free.fr> |
U-Boot: implement part of the OpenFirmware wrapper We'll see later on if it's really useful to keep it around.
|
#
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)
|
#
fa44ac9be8844747848c4ec771bd1681541771e5 |
|
24-Aug-2012 |
François Revol <revol@free.fr> |
U-Boot: compile and link to libfdt * For the sam460ex and likely some ARM boards we will try to boot using the passed FDT, as it's the recommended method now. (cherry picked from my sam460ex branch)
|
#
f1ad2f5a237d43660dec453f16f0e46214e4b2fd |
|
15-Aug-2012 |
François Revol <revol@free.fr> |
U-Boot: disable optimisation to help debugging * the U-Boot support code is yet unfinished and needs more debugging. (cherry picked from my sam460ex branch)
|
#
db5bd5535e9cc765dec5ee18aa7418bc55263f77 |
|
21-Sep-2012 |
François Revol <revol@free.fr> |
U-Boot: move mmu.cpp to arch/arm/arch_mmu.cpp * only contains ARM stuff anyway. * PPC implementation will be very different anyway.
|
#
696526b2b8a21a95ca1bdc1bac2fb0f2279a25a0 |
|
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
|
#
78ea39c7d27cfcc1bf30ee25f54046192d3ff8f5 |
|
24-Aug-2012 |
François Revol <revol@free.fr> |
U-Boot: compile and link to libfdt * For the sam460ex and likely some ARM boards we will try to boot using the passed FDT, as it's the recommended method now.
|
#
091ba358a815838b74ca907dda82a921a6a7e541 |
|
15-Aug-2012 |
François Revol <revol@free.fr> |
U-Boot: disable optimisation to help debugging * the U-Boot support code is yet unfinished and needs more debugging.
|
#
da80a0500c33176998887bcae22828d9e997477f |
|
02-Jul-2012 |
Alex Smith <alex@alex-smith.me.uk> |
Preparation for merge of x86 and x86_64 kernel sources. Since x86 and x86_64 share a lot of common code, x86_64 kernel sources/headers are going to reside under headers/private/kernel/arch/x86 and src/system/kernel/arch/x86 along with the existing x86 code. This commit changes the build system to handle this. A new variable, TARGET_KERNEL_ARCH, has been added. This is the name of the kernel/boot architecture directory name, set to x86 on both x86 and x86_64. This is now used in all places where TARGET_ARCH was used to get to kernel arch sources/headers (I've changed everything necessary as far as I can tell). Kernel won't build for x86_64 at the moment as the sources have not been merged, loader does.
|
#
65ad1ba320d945c9626f471c4fb0972ae49440b5 |
|
26-May-2012 |
Alex Smith <alex@alex-smith.me.uk> |
Made it possible to build the bootloader when targetting x86_64. * x86_64 is using the existing *_ia32 boot platforms. * Special flags are required when compiling the loader to get GCC to compile 32-bit code. This adds a new set of rules for compiling boot code rather than using the kernel rules, which compile using the necessary flags. * Some x86_64 private headers have been stubbed by #include'ing the x86 versions. These will be replaced later.
|
#
de1c936185e41ef76dfed77a3814682046e5560e |
|
17-May-2012 |
François Revol <revol@free.fr> |
U-Boot: include board name in uimage header * for clarity, include the board in the uimage name field, it's long enough.
|
#
f5759f2e9969bf4753fe8064619fd64a8134b739 |
|
17-May-2012 |
François Revol <revol@free.fr> |
U-Boot: Add a Linux-type loader target * those should be cleaned up. BoardSetup should tell which OS type to emulate.
|
#
e9ec7a55ddffa7a4f12eb8d425f43ec10c5ab258 |
|
16-May-2012 |
François Revol <revol@free.fr> |
Attempt to factor out serial stuff * introduce a DebugUART baseclass, * rework 8250 and PL011 implementations from kallisti5 to inherit DebutUART, * each arch should override the IO methods to access registers. * on ARM registers are 32bit-aligned. * U-Boot still works for the verdex target. * rPi still compiles, needs testing. * Still some more consolidation needed to allow runtime choice of the UART type (as read from FDT blobs for ex.). * serial.cpp should probably mostly be made generic as well. * didn't touch x86 or ppc yet.
|
#
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.
|
#
a8eaac693404a95ee959526600580daaf00d7731 |
|
21-Nov-2011 |
François Revol <revol@free.fr> |
U-Boot: board-specific setup is already in build/jam/board/
|
#
70ac17baab59be3a1c82826119e235d3a4549a4d |
|
20-Nov-2011 |
François Revol <revol@free.fr> |
U-Boot: Cleanup; s/arm/$(TARGET_ARCH)/g U-Boot is not only about arm...
|
#
d1460ff57b0d23d93eecb44e53ef3fc06e8b10f1 |
|
20-Nov-2011 |
François Revol <revol@free.fr> |
ARM: Rename flash and mmc base generic targets They are not so much arm-specific, really. We now have haiku-flash-*image variations, and haiku-mmc-image.
|
#
1d6f7e86eed15de3118fedc0eb5d0d193b7318d4 |
|
20-Nov-2011 |
François Revol <revol@free.fr> |
ARM: Use proper Jamfiles for u-boot/arch/ subdirs
|
#
e3591817b30085093bed476f9c1709f729df16ef |
|
20-Nov-2011 |
François Revol <revol@free.fr> |
ARM: move kernel calling code to arch specific file * needs some more cleanup. * had to change gUBootOS to 32bit to avoid a linker bug.
|
#
4499da3990dcd46133bc5797dd2f14177175d1dd |
|
17-Jan-2011 |
Philippe Houdoin <philippe.houdoin@gmail.com> |
Moved generic boot platform code to its own static lib, boot_platform_generic.a. I hope I didn't break anything, as I can and have only test bios_ia32's haiku_loader. Flame me otherwise. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40240 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2f6b97dc3058c77d233f9baac017be52609f63e1 |
|
12-Jan-2011 |
François Revol <revol@free.fr> |
This should hopefully fix build break introduced by r40215. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40217 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
08e6655afee625a44a411570694d0c2e9a024bbc |
|
05-Nov-2010 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by kaliber (ticket #6333): Removed many instances of passing an additional -Wall to the compiler, which may actually have unwanted effects. -Wall is standard by the build system. Also, -Wno-multichar was passed unnecessarily for Haiku targets. I didn't remove it for the bfs_shell, hope this is what Ingo meant in the ticket. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39314 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ead0844514177139cdb1c6eb3a83c2497921b98c |
|
16-Oct-2010 |
Matt Madia <mattmadia@gmail.com> |
Created some pseudo targets, to make jamming easier. For example, jam -q -sHAIKU_BOOT_BOARD=verdex haiku-arm-image will build "haiku_verdex_flash_image_raw.img" git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38984 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fc9a8806b1509fa21186e3bb560a6a653e75fed7 |
|
16-Oct-2010 |
Matt Madia <mattmadia@gmail.com> |
Automatic whitespace cleanup. No functional change. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38983 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
71b60eaf355ad1d726fe9b88db3a29e98e6ac379 |
|
15-Oct-2010 |
Ithamar R. Adema <ithamar.adema@team-embedded.nl> |
Remove leftover debug code. Thanks François! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38973 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ecaa4c29900193ac7a77dce43a410b57750747ba |
|
15-Oct-2010 |
Ithamar R. Adema <ithamar.adema@team-embedded.nl> |
* Incorporate ARM board name in flash/mmc image names; Fixes ticket #5213. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38971 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9020ce87e6893e494a236722f4d0d555ca5972df |
|
30-Jun-2010 |
François Revol <revol@free.fr> |
Patch by "notzed" (ticket #5368) (modified): Add bootloader support for BeagleBoard. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37319 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
46f639a8214bfacd2fbcffaceb9778a63ce377a2 |
|
30-Jun-2010 |
François Revol <revol@free.fr> |
Add an (unused yet) cylinder count var on sfdisk. We don't have any mean of calculating it from the desired image size in jam anyway. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37318 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b6add3ffb67db23d3c873c4614750a9bd1164be1 |
|
25-Jun-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Renamed remaining .c files to .cpp, and made the necessary changes to let them compile still. * Some cleanup in ARM's start2.cpp. * m68k stuff is still missing, though. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37249 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b5db1a786fdc09e9c0edbf5ba39e1c2782e66910 |
|
25-Feb-2010 |
Rene Gollent <anevilyak@gmail.com> |
Patch by Matt Madia: fix ARM build. Closes ticket #5476. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35618 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
12a17213b401df8106b5c1bf976050db449f64ac |
|
07-Jan-2010 |
François Revol <revol@free.fr> |
Undo r34942 and use printf instead, which is standardized by POSIX and supports \n, thanks DraX! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34943 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
08605557d304480cef7c21868a19e40573d35b4a |
|
07-Jan-2010 |
François Revol <revol@free.fr> |
Do not use echo -e, as FreeBSD doesn't support it. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34942 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c505b2765bbcd876aa1beb5c499dc97d6b45e74f |
|
07-Jan-2010 |
François Revol <revol@free.fr> |
Patch by Matt Madia: detect host sfdisk in configure for ARM, including the FreeBSD port. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34940 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cecee6bb7505935aee05a169831e6726a49cd66e |
|
06-Jan-2010 |
François Revol <revol@free.fr> |
M is 1024*1024, dammit ! Has the US finally switched to the metric system ? git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34920 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
bc85c20bdd2504ca012c9c5005282ac4c48cedd4 |
|
06-Jan-2010 |
François Revol <revol@free.fr> |
- add board-specific stuff to header paths, - automatically download the u-boot flash image when set. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34917 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
98a35452957d4339948b357cea1d339a107d5fdc |
|
14-Aug-2009 |
François Revol <revol@free.fr> |
[ARM] Add support for boot splash, only for PXA. Disabled for now as it forces the framebuffer onto some useful data. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32399 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3f6f17cf36797435e3b42e4fa42cf3c2b17de225 |
|
13-Aug-2009 |
François Revol <revol@free.fr> |
[ARM] Start of framebuffer initialization for the Verdex board. For now it points to the data section as framebuffer for testing and shows an RGB pattern. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32352 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a2577dbfd1a8a29bd421ef7f85f35c17b5bd5403 |
|
13-Aug-2009 |
François Revol <revol@free.fr> |
[ARM] Stubbed out config_manager and pci bus_manager arch code. Now really use the boot floppy tgz for the netbsd uimage as it all builds, but with other kernel arch code not yet commited. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32324 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
01c8294cc732e3276c38365de2b69027582217b5 |
|
12-Aug-2009 |
François Revol <revol@free.fr> |
[ARM] - don't clobber the parameter regs in the entry point, - fix entry point address for netbsd loader emulation, - added a gUImage global to point to the uimage blob with the tgz, - added tgz info to platform stage2 args, - add simple uimage support, just dumps the header and gets the nth blob in the image, (seems we have a bug in the math code, some infos don't print), - made devices.cpp use them to publish the MemoryDisk, - add an haiku_loader_nbsd.ub target which puts both the loader and kernel_arm for now (need to replace with the tgz). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32295 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cd5d972ea05d211a0b057b0cd919ed8239abf69d |
|
12-Aug-2009 |
François Revol <revol@free.fr> |
[ARM] Name the FAT; no need to list the contents. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32290 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
feb750d3311808b62ca2e2f135f4a05a3608716e |
|
12-Aug-2009 |
François Revol <revol@free.fr> |
[ARM] - consolidate board specific definitions into build/jam/board/*/BoardSetup to avoid duplicating address values everywhere, - add various addresses, boot script, custom C/C++ flags and SD card definition, - not sure BoardSetup is included at the best place though, - replaced board-specific ldscript with passing the loader address directly to LD from BoardSetup, - added haiku.mmc target which generates an mmc/SD card image with a FAT partition with the files needed to boot for the board, should later be integrated with haiku.image with the BFS partition offset passed to bfs_shell, requires apt:sfdisk,mtools on GNU/Linux, - added some more rules, one to build a script for the SD image, - fake a NetBSD loader for now, U-Boot doesn't know haiku, and we'll need a way to pass the tgz image and RAM size, we'll either use standlone way (usual C argv[]) or the NetBSD args, - style fixes, - 80 cols, /me pets Ingo. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32284 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ac15f9dd1676a372dda7b47aadc7a6484f008894 |
|
09-Aug-2009 |
François Revol <revol@free.fr> |
[ARM] Add rule to handle uimage, and board-specific stuff to handle load addresses. Need to fix them, u-boot doesn't like loading the file with the header where the header says it should go, must copy to a different address. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32214 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0693778ceec84b973b125ca880bcac31c3ff09bf |
|
07-Aug-2009 |
François Revol <revol@free.fr> |
[ARM] Move uart.c to arch/arm/ where it belongs, it has nothing u-boot specific. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32203 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
67a0108c3b23c38c3920bb2a3e31d0beb4f636f0 |
|
07-Aug-2009 |
François Revol <revol@free.fr> |
[ARM] - add board specific headers to includes, - some unused flash image targets. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32199 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f2a3f51996fcedca0e60a6586b82c4915fab33f1 |
|
27-Jul-2009 |
François Revol <revol@free.fr> |
jam target to build a flash image. Requires passing UBOOT_IMAGE to jam. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31823 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
20cbef82a43cbb7eeeaac16c85f4de15bcf9ef47 |
|
27-Jul-2009 |
François Revol <revol@free.fr> |
[GSoC] [ARM] Patch by Johannes Wischert. Stubbed u-boot platform code. Mostly copied from other platforms. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31818 a95241bf-73f2-0310-859d-f6bbb57e9c96
|