summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Give hint on how to disable the default repository.bdrewery2014-03-301-0/+8
| | | | | Discussed with: bapt MFC after: instantly (preparing EN)
* Add support for keyboard used in Samsung Chromebook (ARM machine)br2014-03-3016-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.br2014-03-303-2/+2
|
* Directly call kmem_alloc_contig to allocate framebuffer memorybr2014-03-301-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 partsbr2014-03-303-228/+134
| | | | - Enable iicbus device
* units(1): Add some missing unitseadler2014-03-301-0/+3
|
* Teach units(1) that an erg and ergon are the same thing.eadler2014-03-301-0/+1
|
* Use the correct variable name in the example code.eadler2014-03-301-1/+1
|
* Fix sizeof modifier for sizeof() in printfeadler2014-03-301-1/+1
|
* Fix build on FreeBSD 7 where:marcel2014-03-293-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.rpaulo2014-03-291-0/+12
| | | | MFC after: 1 week
* Fix build on FreeBSD 8 where partition types for nandfs do not exist.marcel2014-03-294-0/+17
|
* Fix build on FreeBSD 9 where <sys/pc98.h> has the same defines asmarcel2014-03-291-0/+13
| | | | <sys/diskmbr.h> and not the unique defines introduced later.
* Handle an edge case of address management similar to TCP.tuexen2014-03-291-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.tuexen2014-03-292-10/+4
| | | | MFC after: 3 days
* Add support to export the contents of the notification updates from the ↵adrian2014-03-294-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.marcel2014-03-291-0/+1
|
* Add mkimg, a utility for making disk images from raw partition contents.marcel2014-03-2913-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 LABELOFFSETmarcel2014-03-291-2/+2
| | | | | | | | defined. Improve portability by eliminating their use.
| * Make this build on ia64 w/ gcc.marcel2014-03-292-4/+4
| |
| * Fix build on i386 w/ clang.marcel2014-03-292-2/+2
| |
| * Add a paragraph about running mkimg without arguments to get a listmarcel2014-03-291-0/+5
| | | | | | | | | | of supported schemes and/or a detailed description of how to specify partitions.
| * Document how labels can be given to partitions.marcel2014-03-291-0/+6
| |
| * Handle the raw partition of the BSD and VTOC schemes.marcel2014-03-292-15/+20
| |
| * Make mkimg a general command and not a maintenance command.marcel2014-03-282-2/+2
| |
| * Define SPARSE_WRITE to enable writing sparse files. Output compares ok...marcel2014-03-281-0/+2
| |
| * Flesh-out manpage.marcel2014-03-281-8/+108
| |
| * Use :- and not :! for pipes. ! needs to be escaped, which adds to themarcel2014-03-281-3/+3
| | | | | | | | hassle.
| * Write verbosity to stderr. The image may be written to stdout.marcel2014-03-281-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).marcel2014-03-281-7/+57
| | | | | | | | While here, detect errors when writing to stdout.
| * Partitions start on cylinder boundaries.marcel2014-03-281-1/+1
| |
| * Partitions start on track boundaries.marcel2014-03-281-1/+1
| |
| * Partitions start on track boundaries.marcel2014-03-281-1/+1
| |
| * Remove the -z flag. Let's just write a sparse file whenever we can.marcel2014-03-271-4/+1
| |
| * Properly fill in d_nsectors, d_ntracks, d_ncylinders & d_secpercyl.marcel2014-03-271-4/+7
| | | | | | | | Round the image size to a multiple of the cyclinder size.
| * Remember operator precedence?marcel2014-03-271-1/+1
| |
| * Give vtoc8 a change to work: when setting the physical block size to 4K,marcel2014-03-271-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 blockmarcel2014-03-274-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, whichmarcel2014-03-271-8/+7
| | | | | | | | can be set on the command line.
| * Fix writing the start and size fields.marcel2014-03-271-2/+2
| |
| * 1. Add -v option to increase vebosity levelsmarcel2014-03-272-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 supportedmarcel2014-03-272-0/+8
| | | | | | | | by the partitioning scheme.
| * First batch of media control:marcel2014-03-252-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 ...marcel2014-03-251-2/+13
| |
| * Allow schemes to specify a maximum sector size. The minimum is fixedmarcel2014-03-258-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 formarcel2014-03-251-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 LBAmarcel2014-03-251-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.marcel2014-03-231-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.marcel2014-03-231-0/+2
| |
| * Add the fat32 and ebr aliases. The ebr alias is needed to supportmarcel2014-03-232-0/+4
| | | | | | | | | | the EBR scheme, as it can only live inside a MBR partition of type 5 (= DOSPTYP_EXT).
OpenPOWER on IntegriCloud