Commit Graph

1832 Commits

Author SHA1 Message Date
aymeric
a3ff5f3bc4 Rename the DE0 Nano SoC dts file to its new linux/uboot name 2019-01-05 13:55:46 +00:00
jmcneill
08587e7728 Fix mmcpart for exynos SD card 2019-01-03 18:21:55 +00:00
jmcneill
23aab5ad96 Fix variable escaping in dev_exists() 2018-12-02 15:43:04 +00:00
jmcneill
af8f486465 Add support for configuring Amazon.com EC2 SSH keys and hostnames. While
here, only set wscons=YES if a wsdisplay0 device is present.
2018-11-30 20:53:02 +00:00
aymeric
19a287f3ad Make armv7.img boot on the DE0 Nano SoC. Requires u-boot from -current pkgsrc. 2018-11-22 21:11:37 +00:00
skrll
76478902d7 Use the GENERIC kernel where possible in armv7.img and remove the old
kernels from the bulid for SUNXI and TEGRA.

While I'm here disable *_INSTALL kernel builds for boards supported by
armv7.img
2018-11-01 11:05:24 +00:00
christos
05a9a2fa5c fixed. 2018-10-26 22:28:59 +00:00
skrll
af02aed8ed Sort 2018-10-20 08:29:11 +00:00
skrll
72e140f563 Whitespace 2018-10-20 08:26:10 +00:00
skrll
105b90ee57 a bit of sorting 2018-10-20 08:24:11 +00:00
jmcneill
781429f55f Use special ROOT. prefix in fstab entries instead of assuming ld0 2018-10-06 13:11:22 +00:00
jmcneill
dde6e2aeab resize_disklabel: if disk and partition is not specified, use kern.root_device/kern.root_partition sysctls 2018-10-06 09:58:55 +00:00
martin
8311c2da83 Make gzip on some crunched install media support xz decompression
(just like our base version does).
2018-10-01 17:50:08 +00:00
jmcneill
e965811037 Install ELF kernel to the FFS partition and boot it with bootaa64.efi
instead of loading kernel.img from the MSDOS partition with extlinux.conf
2018-08-27 22:36:49 +00:00
jmcneill
f00446168a Move rk3399 dtb files to the correct location 2018-08-12 17:15:56 +00:00
jmcneill
fb1b6b4d24 Enable booting of netbsd-EXYNOS kernel 2018-07-04 23:10:06 +00:00
jmcneill
7a2303fd1d Install RK3328 .dtb files to the correct location 2018-06-19 15:13:51 +00:00
jmcneill
81171f787d Increase reserved space at start of image from 4MB to 16MB to make room
for Rockchip bootloaders.
2018-06-19 15:12:05 +00:00
ryo
fe33aa2786 Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@)
- sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@)
- add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@, jmcneill@)
2018-04-01 04:35:01 +00:00
skrll
ac34435581 Remove port-acorn26
OK core@
2018-01-24 09:04:40 +00:00
jmcneill
d5f1b2266e Enable automatic booting on tegra210 2018-01-06 20:27:31 +00:00
jmcneill
fc29671b41 No need to specify console=fb for pinebook anymore as WSDISPLAY_MULTICONS will give us a framebuffer console 2017-12-18 19:08:16 +00:00
jmcneill
fda0fd2b2c Use fb console by default on Pinebook 2017-12-16 21:28:19 +00:00
skrll
f7d67b11fb Build fix (really this time) from Harold Gutch 2017-12-14 06:29:15 +00:00
jmcneill
d02e5c3caf Fix spelling in error message 2017-12-12 21:00:28 +00:00
jmcneill
4d9106a6a2 Add missing RPI FDT build goop, from nick. 2017-12-11 11:38:14 +00:00
jmcneill
8bfbe667cf On 64-bit boards, U-Boot expects to find .dtb files in an allwinner/ subdirectory 2017-12-03 13:31:45 +00:00
jmcneill
3a3fcbf0f7 Remove legacy awin kernels from image 2017-11-30 19:55:47 +00:00
kre
962d067df7 Be more precise about exactly what fails when something does.
Relying upon set -e to abort things is sort of OK (it is not
a recommended option to use in general - too many odd special cases),
but only if user can work out from the "build failed" what actually
went wrong.

Tested only on amd64 build (for this, i386 is the same) - if anyone
has problems on builds for other systems, please let me know.  However
the changes affect only failure paths, the most likely problem would
be for a build to fail to halt on an error, and I hope I have avoided
that.  There should be no difference at all to error-free builds.
2017-11-28 02:56:44 +00:00
kre
63138143a3 Handle use of TMPDIR in cleanup as well. 2017-11-28 00:24:08 +00:00
kre
570342e5fe Honour ${TMPDIR} if set for location of image, rather than always
simply using /tmp
2017-11-28 00:14:30 +00:00
skrll
1d977c34f7 Trailing whitespace 2017-11-09 21:36:46 +00:00
sevan
f7566f78e3 Fix test otherwise we try to load a fdtfile for boards which do not have use_fdt set. 2017-10-08 00:35:26 +00:00
jmcneill
391a41d919 Don't install uEnv.txt for beagle; boot.scr handles this now. 2017-10-08 00:15:13 +00:00
jmcneill
659266d076 Install a boot.scr on armv7.img that detects the running board and selects
the correct kernel and boot protocol. Should work on tegra, sunxi, and
am335x boards for now.
2017-10-07 23:40:00 +00:00
jmcneill
337b37be2b Create a config.txt for RPI and set 'enable_uart=1' and 'force_turbo=0'.
This config gives us a stable core_freq clock that is used to drive the
SD HOST and AUX UART devices.

More information on config.txt settings for the UART can be found here:

https://www.raspberrypi.org/documentation/configuration/uart.md
2017-07-31 16:34:22 +00:00
jmcneill
dd5461aaa9 Add : to body of populate_sunxi to appease bash. 2017-07-09 10:41:40 +00:00
jmcneill
4e0c37a038 Test for kernel build directory before reading DTB list 2017-07-06 21:07:09 +00:00
jmcneill
fab9db5f7e Replace HUMMINGBIRD_A31 with SUNXI kernel on armv7.img and include .dtb
files for SUNXI and TEGRA kernels on the MSDOS partition.
2017-07-06 00:17:04 +00:00
manu
6a05c304af Make shared -DSMALL libc buildable without breaking libhack
We used -DSMALL to exclude code from libc in order to build
libhack. Introduce -DLIBHACK to do this without so that
-DSMALL does not remove code necessary for building a shared libc
2017-06-18 03:56:39 +00:00
christos
34d421b1f4 add the tests set. 2017-06-10 23:26:32 +00:00
hubertf
f468e54647 minor cleanup in customize_evbarm():
keep handling of /etc/rc.conf in one place
2017-05-13 10:44:58 +00:00
christos
df7224989b define SMALLPROG 2017-05-02 20:12:10 +00:00
jmcneill
fa18b035dc Grow the MBR partition table entry for the BSD partition before
growing the disklabel.
2017-04-14 13:47:21 +00:00
jmcneill
ea2b839e65 ODROID-C1: Now that the MBR partition table contains an entry for the BSD
partition, the disklabel no longer conflicts with the ODROID-C1 bootloader.
Root partition changes from ld0e to ld0a.
2017-04-12 23:35:29 +00:00
jmcneill
6d634d7e0c Slightly reduce the size of the MSDOS partition from 124M to 92M. With
the larger size, installing the ODROID-C1 bootloader causes the fs to
become unreadable. Not sure why..
2017-04-12 23:32:11 +00:00
jmcneill
4d3af4e0f2 Now that FAT+FFS images include the BSD partition in the MBR partition
table, install the disklabel after setting up MBR partitions. This moves
the disklabel to the BSD partition from the start of the disk, avoiding
a conflict with the ODROID-C1 bootloader.
2017-04-11 21:06:30 +00:00
jmcneill
efb61fccf8 Improvements and fixes for FAT+FFS images:
- Add a "NETBSD" volume label to the MSDOS file-system.
 - Explicitly initialize boot sector.
 - Correct an issue where the MSDOS file-system was larger than the
   partition table entry.
 - Add NetBSD partition to the MBR partition table.
2017-04-11 18:04:08 +00:00
jmcneill
43bbd720db Increase the size of the boot partition and remove the 'd' part from the
disklabel.
2017-04-11 17:30:17 +00:00
jmcneill
ec75ca4b3d tegra: set loadaddr to 0x90000000 (the default kernel_addr_r overlaps
fdt_addr_r on TK1 + L4T 21.x), and set default root device to ld0a to
match new device probe order.
2017-04-10 22:25:36 +00:00