Andriy Gapon
96b60db0d7
MFV r282630: 5809 Blowaway full receive in v1 pool causes kernel panic
...
MFC after: 5 days
2015-05-08 14:03:14 +00:00
Glen Barber
763034ac01
Initial commit to support building RPI2 images, based on information
...
and documentation written by loos@ on the Wiki.
Sponsored by: The FreeBSD Foundation
2015-05-08 13:55:27 +00:00
Andriy Gapon
f43d56620f
5809 Blowaway full receive in v1 pool causes kernel panic
...
Author: Paul Dagnelie <pcd@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Alex Reece <alex@delphix.com>
Reviewed by: Will Andrews <will@freebsd.org>
Approved by: Gordon Ross <gwr@nexenta.com>
illumos/illumos-gate@f40b29ce2a
2015-05-08 13:55:24 +00:00
Glen Barber
4bf1e8aee0
Do not include '/R' in the path when generating checksums, since
...
that will cause '/R' to be included in the CHECKSUM files.
Sponsored by: The FreeBSD Foundation
2015-05-08 12:55:25 +00:00
Glen Barber
99cf2362e2
Move the finished image build to the '/R' directory (the
...
standard 'install' location for other architectures), then
compress the image with xz(1), and generate the CHECKSUM
files.
Sponsored by: The FreeBSD Foundation
2015-05-08 12:50:48 +00:00
Glen Barber
40847e360b
Fix the name of the final image.
...
Sigh. Thou shalt not commit before coffee.
Sponsored by: The FreeBSD Foundation
2015-05-08 10:47:57 +00:00
Glen Barber
b3e7a59bdf
Rename KERNEL.img -> OSRELEASE-KERNEL.img when complete.
...
Sponsored by: The FreeBSD Foundation
2015-05-08 10:43:29 +00:00
Glen Barber
78e712f1bc
Do not create the uenv.txt file for RPI-B. It is not needed.
...
Submitted by: ian
Sponsored by: The FreeBSD Foundation
2015-05-08 10:39:52 +00:00
Glen Barber
fef41f600c
Fix path to /boot/msdos for the target image.
...
Sponsored by: The FreeBSD Foundation
2015-05-08 10:38:32 +00:00
Kevin Lo
997d8c7a89
- Fix a wrong R92C_USTIME_TSF register definition
...
- Fix intitial transmit rate to an 11g rate for the RTL8188EU
- Add a comment about response rate settings
2015-05-08 09:01:00 +00:00
Adrian Chadd
cf82d8112e
oops - how'd i miss this. Sorry!
2015-05-08 06:02:23 +00:00
Ganbold Tsagaankhuu
bd14d14fcd
This follows the gic and ti/aintc code by adding additional barriers to the
...
Amlogic pic driver.
Differential Revision: https://reviews.freebsd.org/D2472
Submitted by: John Wehle
2015-05-08 04:38:01 +00:00
Ganbold Tsagaankhuu
2a77d72739
The interrupt-parent is set globally so it's unnecessary to also set it at each node.
...
Differential Revision: https://reviews.freebsd.org/D2471
Submitted by: John Wehle
2015-05-08 04:22:11 +00:00
Adrian Chadd
415d7ccab2
Add initial memory locality cost awareness to the VM, and include
...
a basic ACPI SLIT table parser.
For now this just exports the map via sysctl; it'll eventually be useful
to userland when there's more useful NUMA support in -HEAD.
* Add an optional mem_locality map;
* add a mapping function taking from/to domain and returning the
relative cost, or -1 if it's not available;
* Add a very basic SLIT parser to x86 ACPI.
Differential Revision: https://reviews.freebsd.org/D2460
Reviewed by: rpaulo, stas, jhb
Sponsored by: Norse Corp, Inc (hardware, coding); Dell (hardware)
2015-05-08 00:56:56 +00:00
Glen Barber
70437a3a2f
Copy the rpi.dtb file to the FAT partition, preventing the
...
'Unrecognized partition table' error, causing boot failure.
Sponsored by: The FreeBSD Foundation
2015-05-07 23:49:48 +00:00
Glen Barber
869ef34722
Reorder / and /boot/msdos mount to avoid the following error:
...
Mounting local file systems:
mount: /boot/msdos: No such file or directory
Sponsored by: The FreeBSD Foundation
2015-05-07 23:46:33 +00:00
Xin LI
8c54dbfb9b
MFV r282611: netcat from OpenBSD 5.7.
...
MFC after: 2 weeks
2015-05-07 22:54:31 +00:00
Xin LI
9911c7eeca
Vendor import nc(1) from OPENBSD_5_7.
2015-05-07 22:47:15 +00:00
Luiz Otavio O Souza
962940ce6c
Add the SMP support for Raspberry Pi 2 (BCM2836).
...
Tested with the build of some ports and a buildworld.
Submitted by: Daisuke Aoyama <aoyama@peach.ne.jp>
2015-05-07 22:11:44 +00:00
Baptiste Daroussin
696e43653b
Reduce the size to 64 for the commands, 512 was way too large for the purpose
...
Noticed by: julian
2015-05-07 21:30:29 +00:00
Xin LI
8b45db8ee2
date(1): Make -r behave like GNU's version when the option can not be
...
interpreted as a number, which checks the file's modification time and
use that as the date/time value.
This improves compatibility with GNU coreutils's version of time(1).
MFC after: 2 weeks
2015-05-07 20:54:38 +00:00
Glen Barber
efc6ab44f2
Create the /boot/msdos directory so the FAT partition is mounted
...
properly.
Noticed by: sbruno
Sponsored by: The FreeBSD Foundation
2015-05-07 20:25:17 +00:00
Glen Barber
e26ba8ae96
Remove the ZEDBOARD configuration file, as it does not
...
have a corresponding u-boot port in the Ports Collection.
Sponsored by: The FreeBSD Foundation
2015-05-07 20:06:39 +00:00
Glen Barber
a3a86d8697
Spell 'u-boot.img' correctly.
...
Sponsored by: The FreeBSD Foundation
2015-05-07 20:02:50 +00:00
Glen Barber
57fa7d0f2d
Remove the arm/ROADMAP file.
...
Sponsored by: The FreeBSD Foundation
2015-05-07 19:48:06 +00:00
Glen Barber
1deb618afd
Remove arm/Makefile.{KERNEL} files, as this project
...
branch is now going in a different direction than
originally planned.
Sponsored by: The FreeBSD Foundation
2015-05-07 19:47:15 +00:00
Glen Barber
6052b0ac86
Fix creating directories within DESTDIR.
...
Sponsored by: The FreeBSD Foundation
2015-05-07 19:10:08 +00:00
Glen Barber
51aa8af2cc
Fix a copy/paste mistake.
...
Sponsored by: The FreeBSD Foundation
2015-05-07 18:53:48 +00:00
Glen Barber
5287f5496e
Add entries to uenv.txt.
...
Obtained from: Crochet
Sponsored by: The FreeBSD Foundation
2015-05-07 18:51:59 +00:00
Glen Barber
60bc17f490
Enable the growfs rc(8) script.
...
Sponsored by: The FreeBSD Foundation
2015-05-07 18:49:43 +00:00
Glen Barber
77d9ac1703
Set NODOC=1 to avoid building the reldoc target.
...
Sponsored by: The FreeBSD Foundation
2015-05-07 18:48:47 +00:00
Glen Barber
b36739d1ea
Add initial native suppor for RPI-B:
...
- Set UBLDR_LOADADDR.
- Include files to install to the FAT partition.
Obtained from: Crochet
Sponsored by: The FreeBSD Foundation
2015-05-07 18:47:59 +00:00
Glen Barber
8c61607444
Remove FDT_DIR definition, which is no longer needed.
...
Sponsored by: The FreeBSD Foundation
2015-05-07 18:41:23 +00:00
Neel Natu
1cba333329
Allow byte reads of AHCI registers.
...
This is needed to support Windows guests that use byte reads to access certain
AHCI registers (e.g. PxTFD.Status and PxTFD.Error).
Reviewed by: grehan, mav
Reported by: Leon Dang (ldang@nahannisys.com )
Differential Revision: https://reviews.freebsd.org/D2469
MFC after: 2 weeks
2015-05-07 18:35:15 +00:00
Andrey V. Elsukov
089bb672c4
m_dup() is supposed to give a writable copy of an mbuf chain. It uses
...
m_dup_pkthdr(), that uses M_COPYFLAGS mask to copy m_flags field.
If original mbuf chain has M_RDONLY flag, its copy also will have it.
Reset this flag explicitly.
MFC after: 2 weeks
2015-05-07 18:35:01 +00:00
Glen Barber
91ea0e63de
Reduce the number of files copied onto the FAT partition.
...
The DTB files are loaded from /boot/dtb on the UFS filesystem.
Submitted by: loos
Sponsored by: The FreeBSD Foundation
2015-05-07 18:32:11 +00:00
Glen Barber
6bd844ae0d
In arm_install_uboot(), mount both FAT and UFS partitions
...
in the empty DESTDIR, and update path names.
Copy the ubldr to the FAT partition. [1]
Spotted by: andrew [1]
Sponsored by: The FreeBSD Foundation
2015-05-07 18:00:12 +00:00
Glen Barber
ab44589d80
Set UBLDR_LOADADDR for the BEAGLEBONE image.
...
Sponsored by: The FreeBSD Foundation
2015-05-07 17:50:24 +00:00
Glen Barber
c2b4ad660a
Do not rename u-boot.img file when copying to the FAT partition.
...
Sponsored by: The FreeBSD Foundation
2015-05-07 17:48:19 +00:00
Glen Barber
ac1401b2c3
Fix paths.
...
Remove the temporary directory when done with it.
Destroy the md(4) device when done with it.
Sponsored by: The FreeBSD Foundation
2015-05-07 17:40:00 +00:00
Glen Barber
04b7fd007b
In arm_create_disk(), chroot(8) to the build environment
...
is necessary.
In arm_install_base(), chroot(8) when installing world
and kernel. Fix paths for fstab(5) and rc.conf(5).
Sponsored by: The FreeBSD Foundation
2015-05-07 17:35:48 +00:00
Glen Barber
379d8dca37
Fix file/directory paths.
...
Sponsored by: The FreeBSD Foundation
2015-05-07 17:33:21 +00:00
Ed Maste
185bf88e33
Correct PL310_POWER_CTRL offset
...
Offet for the power control register was specified incorrectly (it had
the same value as the prefetch control register.) This change corrects
the offset value to 0xF80, per the ARM PL310 documentation.
Submitted by: Steve Kiernan <stevek@juniper.net>
Obtained from: Juniper Networks, Inc.
2015-05-07 16:56:20 +00:00
Andrey V. Elsukov
654bdb5abb
Mark data checksum as valid for multicast packets, that we send back
...
to myself via simloop.
Also remove duplicate check under #ifdef DIAGNOSTIC.
PR: 180065
MFC after: 1 week
2015-05-07 14:17:43 +00:00
Hans Petter Selasky
415bcd89a6
Add support for DYMO LabelWriter PnP.
...
MFC after: 2 weeks
2015-05-07 12:54:27 +00:00
Andrew Turner
d667b90d53
Clean up the ARM kernel configs to use 'include<space><tab>"file"'.
2015-05-07 12:38:23 +00:00
Andrey V. Elsukov
db037aa4ed
Remove unneded #ifdef INET6 and IPSEC. This file compiled only when
...
both options are defined.
Include opt_sctp.h and sctp_crc32.h to enable #ifdef SCTP code block
and delayed checksum calculation for SCTP.
2015-05-07 12:15:45 +00:00
Bryan Drewery
6b46b078b7
Remove references to Giant in namei(9). This was removed in r241896.
...
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-05-07 01:55:39 +00:00
Glen Barber
befaadd56c
In release.sh, create the /dev directory within the chroot
...
before attempting to mount(8) devfs. Also, create the
.OBJDIR for the 'release' target, so files end up in the
correct location.
In tools/arm.subr, fix the target device when creating the
gpart partition scheme.
Sponsored by: The FreeBSD Foundation
2015-05-07 00:27:28 +00:00
Neel Natu
ede0403309
Check 'td_owepreempt' and yield the vcpu thread if it is set.
...
This is done explicitly because a vcpu thread can be in a critical section
for the entire time slice alloted to it. This in turn can delay the handling
of the 'td_owepreempt'.
Reviewed by: jhb
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D2430
2015-05-06 23:40:24 +00:00