This website requires JavaScript.
Explore
Help
Register
Sign In
upstream
/
opnsense-src
Watch
1
Star
0
Fork
You've already forked opnsense-src
0
mirror of
https://github.com/opnsense/src.git
synced
2026-04-07 18:35:22 -04:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
295df609df
opnsense-src
/
sys
/
boot
/
Makefile.mips
8 lines
73 B
Makefile
Raw
Normal View
History
Unescape
Escape
Do build boot-loader FDT code on MIPS. MFC after: 3 weeks Sponsored by: DARPA, AFRL
2014-02-19 12:44:59 -05:00
# $FreeBSD$
.
i
f
${MK_FDT}
!=
"no"
SUBDIR
+=
fdt
.
e
n
d
i
f
This review aims at introducing ubldr (loader with U-Boot interface) for MIPS (32 and 64-bit, LE and BE). The changes were tested with QEMU's 'mips' target. Most of the implementation was lifted from the ARM version, the appropriate MIPS-specific things were implemented. With these changes I am able to go all the way through the u-boot->ubldr->kernel boot chain in QEMU on all combinations of bit-ness and endian-ness. For the tests I've used FAT32 disk images (as FAT32 is supported by U-boot), which include /boot/kernel/kernel and /boot/kernel/ubldr.bin In U-boot I do: fatload ide 0 <LOAD_ADDR> /boot/kernel/ubldr.bin; go <LOAD_ADDR> where LOAD_ADDR is 80800000 for 32-bit and ffffffff80800000 for 64-bit Then it's the usual ubldr that takes over and loads and starts a kernel. Approved by: adrian (mentor) Sponsored by: Smartcom - Bulgaria AD Differential Revision: https://reviews.freebsd.org/D5313
2016-02-29 02:47:04 -05:00
SUBDIR
+=
uboot
Reference in a new issue
Copy permalink