Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Give hint on how to disable the default repository. | bdrewery | 2014-03-30 | 1 | -0/+8 |
| | | | | | Discussed with: bapt MFC after: instantly (preparing EN) | ||||
* | Add support for keyboard used in Samsung Chromebook (ARM machine) | br | 2014-03-30 | 16 | -31/+2909 |
| | | | | | | | | | | | | | Support covers device drivers for: - Interrupt Combiner - gpio/pad, External Interrupts Controller (pad) - I2C Interface - Chrome Embedded Controller - Chrome Keyboard Also: - Use new gpio dev class in EHCI driver - Expand device tree information | ||||
* | Add lowercase postfix, so SoC-common file will be ignored by tinderbox. | br | 2014-03-30 | 3 | -2/+2 |
| | |||||
* | Directly call kmem_alloc_contig to allocate framebuffer memory | br | 2014-03-30 | 1 | -2/+6 |
| | | | | | | | and pass VM_MEMATTR_UNCACHEABLE (no-cache, no-buffer). This fixes screen refreshing problem when data is updated too slowly. Discussed with: ian | ||||
* | - Merge SoC-common parts | br | 2014-03-30 | 3 | -228/+134 |
| | | | | - Enable iicbus device | ||||
* | units(1): Add some missing units | eadler | 2014-03-30 | 1 | -0/+3 |
| | |||||
* | Teach units(1) that an erg and ergon are the same thing. | eadler | 2014-03-30 | 1 | -0/+1 |
| | |||||
* | Use the correct variable name in the example code. | eadler | 2014-03-30 | 1 | -1/+1 |
| | |||||
* | Fix sizeof modifier for sizeof() in printf | eadler | 2014-03-30 | 1 | -1/+1 |
| | |||||
* | Fix build on FreeBSD 7 where: | marcel | 2014-03-29 | 3 | -3/+26 |
| | | | | | 1. DOSPTYP_FAT32 is not defined in <sys/diskmbr.h> 2. uuid_enc_le() does not exist in libc. | ||||
* | Enable all cryptocaps because net80211 can do software encryption. | rpaulo | 2014-03-29 | 1 | -0/+12 |
| | | | | MFC after: 1 week | ||||
* | Fix build on FreeBSD 8 where partition types for nandfs do not exist. | marcel | 2014-03-29 | 4 | -0/+17 |
| | |||||
* | Fix build on FreeBSD 9 where <sys/pc98.h> has the same defines as | marcel | 2014-03-29 | 1 | -0/+13 |
| | | | | <sys/diskmbr.h> and not the unique defines introduced later. | ||||
* | Handle an edge case of address management similar to TCP. | tuexen | 2014-03-29 | 1 | -1/+8 |
| | | | | | | | | This needs to be reconsidered when the address handling will be reimplemented. The patch is from rrs@. MFC after: 3 days | ||||
* | Use SCTP_OVER_UDP_TUNNELING_PORT more consistently. | tuexen | 2014-03-29 | 2 | -10/+4 |
| | | | | MFC after: 3 days | ||||
* | Add support to export the contents of the notification updates from the ↵ | adrian | 2014-03-29 | 4 | -2/+138 |
| | | | | | | | firmware. Right now the NIC isn't actually exporting useful data. I'm not quite sure why this is. :( | ||||
* | Hook mkimg(1) to the build. | marcel | 2014-03-29 | 1 | -0/+1 |
| | |||||
* | Add mkimg, a utility for making disk images from raw partition contents. | marcel | 2014-03-29 | 13 | -0/+2080 |
|\ | | | | | | | | | | | | | The partitioning scheme can be one of the schemes supported by gpart. Reviewed by: sjg Obtained from: Juniper Networks, Inc. | ||||
| * | Build this on sparc64, where we don't have LABELSECTOR nor LABELOFFSET | marcel | 2014-03-29 | 1 | -2/+2 |
| | | | | | | | | defined. Improve portability by eliminating their use. | ||||
| * | Make this build on ia64 w/ gcc. | marcel | 2014-03-29 | 2 | -4/+4 |
| | | |||||
| * | Fix build on i386 w/ clang. | marcel | 2014-03-29 | 2 | -2/+2 |
| | | |||||
| * | Add a paragraph about running mkimg without arguments to get a list | marcel | 2014-03-29 | 1 | -0/+5 |
| | | | | | | | | | | of supported schemes and/or a detailed description of how to specify partitions. | ||||
| * | Document how labels can be given to partitions. | marcel | 2014-03-29 | 1 | -0/+6 |
| | | |||||
| * | Handle the raw partition of the BSD and VTOC schemes. | marcel | 2014-03-29 | 2 | -15/+20 |
| | | |||||
| * | Make mkimg a general command and not a maintenance command. | marcel | 2014-03-28 | 2 | -2/+2 |
| | | |||||
| * | Define SPARSE_WRITE to enable writing sparse files. Output compares ok... | marcel | 2014-03-28 | 1 | -0/+2 |
| | | |||||
| * | Flesh-out manpage. | marcel | 2014-03-28 | 1 | -8/+108 |
| | | |||||
| * | Use :- and not :! for pipes. ! needs to be escaped, which adds to the | marcel | 2014-03-28 | 1 | -3/+3 |
| | | | | | | | | hassle. | ||||
| * | Write verbosity to stderr. The image may be written to stdout. | marcel | 2014-03-28 | 1 | -9/+10 |
| | | | | | | | | | | While here, fix writing to stderr, by not calling errc() unconditionally, but only when there's an error. | ||||
| * | Write sparse files by default (when SPARSE_FILE is defined). | marcel | 2014-03-28 | 1 | -7/+57 |
| | | | | | | | | While here, detect errors when writing to stdout. | ||||
| * | Partitions start on cylinder boundaries. | marcel | 2014-03-28 | 1 | -1/+1 |
| | | |||||
| * | Partitions start on track boundaries. | marcel | 2014-03-28 | 1 | -1/+1 |
| | | |||||
| * | Partitions start on track boundaries. | marcel | 2014-03-28 | 1 | -1/+1 |
| | | |||||
| * | Remove the -z flag. Let's just write a sparse file whenever we can. | marcel | 2014-03-27 | 1 | -4/+1 |
| | | |||||
| * | Properly fill in d_nsectors, d_ntracks, d_ncylinders & d_secpercyl. | marcel | 2014-03-27 | 1 | -4/+7 |
| | | | | | | | | Round the image size to a multiple of the cyclinder size. | ||||
| * | Remember operator precedence? | marcel | 2014-03-27 | 1 | -1/+1 |
| | | |||||
| * | Give vtoc8 a change to work: when setting the physical block size to 4K, | marcel | 2014-03-27 | 1 | -6/+18 |
| | | | | | | | | | | | | | | | | | | sectors/track to 8 and number or heads to 1, partitions that are block aligned are also cyclinder aligned. With that trick, fix the vtoc8: 1. Set physcyls, ncyls, altcyls, nheads and nsecs appropriately. 2. Truncate the image size to exactly ncyls * nheads * nsecs * secsz. 3. Properly write the cylinder number as the start of the partition. 4. Oh, and actually calculate the checksum of the label... | ||||
| * | 1. When calculating block addresses, round to the physical block | marcel | 2014-03-27 | 4 | -23/+35 |
| | | | | | | | | | | | | | | | | | | | | | | | | size. 2. Replace scheme_first_block() & scheme_next_block() with scheme_metadata(). When we round to block sizes, we can't reliably fixup any miscalculations. 3. In scheme_write, calculate ncyls (number of cyclinders), based on the total size, sectors/track and number of heads. 4. Add verbosity when constructing the partitions. This includes the starting block address and size in bytes and blocks. 5. Add verbosity about the sectors/track and number of heads. | ||||
| * | Remove trksz, which was hardcoded to 1, and replace it by secs, which | marcel | 2014-03-27 | 1 | -8/+7 |
| | | | | | | | | can be set on the command line. | ||||
| * | Fix writing the start and size fields. | marcel | 2014-03-27 | 1 | -2/+2 |
| | | |||||
| * | 1. Add -v option to increase vebosity levels | marcel | 2014-03-27 | 2 | -7/+31 |
| | | | | | | | | | | | | 2. Fix copy-paste bug -- acrually check secsz for being a power of 2 3. Check secsz and blksz parameters 4. Print the sector and block size when -v is given | ||||
| * | Add scheme_max_secsz() for returning the maximum sector size supported | marcel | 2014-03-27 | 2 | -0/+8 |
| | | | | | | | | by the partitioning scheme. | ||||
| * | First batch of media control: | marcel | 2014-03-25 | 2 | -8/+59 |
| | | | | | | | | | | | | | | | | | | | | 1. Change -h to -H and change -t to -T. Use -H to specify the number of heads and -T to specify the track size (number of sectors per track). 2. Add -S and -P. Use -S to specify the logical sector size and -P to specify the physical sector size. Default to 512 for both the logical and physical sector size. Set nheads and nsecs to 1 by default. | ||||
| * | Move setting CHS fields to mbr_chs() in preparation of ... | marcel | 2014-03-25 | 1 | -2/+13 |
| | | |||||
| * | Allow schemes to specify a maximum sector size. The minimum is fixed | marcel | 2014-03-25 | 8 | -7/+15 |
| | | | | | | | | | | at 512. This allows checking of the sector size up-front when given on the command line. | ||||
| * | Mostly implement the vtoc8 scheme. The vtoc8 scheme uses cylinders for | marcel | 2014-03-25 | 1 | -2/+41 |
| | | | | | | | | | | the beginning of partitions, which makes it sensitive to geometry. Again, we'll need to revisit this. | ||||
| * | Mostly implement the pc98 scheme. The partition table has no LBA | marcel | 2014-03-25 | 1 | -4/+54 |
| | | | | | | | | | | fields at all, so we're entirely dependent upon CHS addressing. And CHS addressing is what needs more work. | ||||
| * | Implement the EBR scheme. Use a function for filling in the CHS fields. | marcel | 2014-03-23 | 1 | -2/+64 |
| | | | | | | | | | | | | For now, put 0xff in each field. This needs to be revisited when we have proper geometry. Note that even without proper CHS values, it's already accepted by the kernel. | ||||
| * | Add support for the fat32 and ebr aliases. | marcel | 2014-03-23 | 1 | -0/+2 |
| | | |||||
| * | Add the fat32 and ebr aliases. The ebr alias is needed to support | marcel | 2014-03-23 | 2 | -0/+4 |
| | | | | | | | | | | the EBR scheme, as it can only live inside a MBR partition of type 5 (= DOSPTYP_EXT). |