Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 209283
b: refs/heads/master
c: cfec93f
h: refs/heads/master
i:
  209281: e97ae3b
  209279: 7029db1
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Aug 12, 2010
1 parent bff1836 commit aa6edf2
Show file tree
Hide file tree
Showing 2,399 changed files with 166,032 additions and 85,709 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a30bfd6cd47f387e060fb06d2ba688a491e6eaec
refs/heads/master: cfec93f769542a8893dc45c2d7ee4e9e72d3bd2d
4 changes: 2 additions & 2 deletions trunk/Documentation/00-INDEX
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ edac.txt
- information on EDAC - Error Detection And Correction
eisa.txt
- info on EISA bus support.
exception.txt
- how Linux v2.2 handles exceptions without verify_area etc.
fault-injection/
- dir with docs about the fault injection capabilities infrastructure.
fb/
Expand Down Expand Up @@ -232,8 +234,6 @@ memory.txt
- info on typical Linux memory problems.
mips/
- directory with info about Linux on MIPS architecture.
mmc/
- directory with info about the MMC subsystem
mono.txt
- how to execute Mono-based .NET binaries with the help of BINFMT_MISC.
mutex-design.txt
Expand Down
21 changes: 0 additions & 21 deletions trunk/Documentation/ABI/testing/sysfs-bus-i2c-devices-hm6352

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,3 @@ Description:
0 -> resumed

(_UDC_ is the name of the USB Device Controller driver)

What: /sys/devices/platform/_UDC_/gadget/gadget-lunX/nofua
Date: July 2010
Contact: Andy Shevchenko <andy.shevchenko@gmail.com>
Description:
Show or set the reaction on the FUA (Force Unit Access) bit in
the SCSI WRITE(10,12) commands when a gadget in USB Mass
Storage mode.

Possible values are:
1 -> ignore the FUA flag
0 -> obey the FUA flag
31 changes: 0 additions & 31 deletions trunk/Documentation/ABI/testing/sysfs-i2c-bmp085

This file was deleted.

10 changes: 0 additions & 10 deletions trunk/Documentation/DMA-API-HOWTO.txt
Original file line number Diff line number Diff line change
Expand Up @@ -753,16 +753,6 @@ to "Closing".
alignment constraints (e.g. the alignment constraints about 64-bit
objects).

3) Supporting multiple types of IOMMUs

If your architecture needs to support multiple types of IOMMUs, you
can use include/linux/asm-generic/dma-mapping-common.h. It's a
library to support the DMA API with multiple types of IOMMUs. Lots
of architectures (x86, powerpc, sh, alpha, ia64, microblaze and
sparc) use it. Choose one to see how it can be used. If you need to
support multiple types of IOMMUs in a single system, the example of
x86 or powerpc helps.

Closing

This document, and the API itself, would not be in its current
Expand Down
6 changes: 6 additions & 0 deletions trunk/Documentation/DMA-API.txt
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,12 @@ Free memory allocated by the nonconsistent API. All parameters must
be identical to those passed in (and returned by
dma_alloc_noncoherent()).

int
dma_is_consistent(struct device *dev, dma_addr_t dma_handle)

Returns true if the device dev is performing consistent DMA on the memory
area pointed to by the dma_handle.

int
dma_get_cache_alignment(void)

Expand Down
6 changes: 3 additions & 3 deletions trunk/Documentation/DocBook/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ PS_METHOD = $(prefer-db2x)
PHONY += xmldocs sgmldocs psdocs pdfdocs htmldocs mandocs installmandocs cleandocs xmldoclinks

BOOKS := $(addprefix $(obj)/,$(DOCBOOKS))
xmldocs: $(BOOKS)
xmldocs: $(BOOKS) xmldoclinks
sgmldocs: xmldocs

PS := $(patsubst %.xml, %.ps, $(BOOKS))
Expand All @@ -45,7 +45,7 @@ PDF := $(patsubst %.xml, %.pdf, $(BOOKS))
pdfdocs: $(PDF)

HTML := $(sort $(patsubst %.xml, %.html, $(BOOKS)))
htmldocs: $(HTML) xmldoclinks
htmldocs: $(HTML)
$(call build_main_index)
$(call build_images)

Expand Down Expand Up @@ -95,7 +95,7 @@ define rule_docproc
) > $(dir $@).$(notdir $@).cmd
endef

%.xml: %.tmpl xmldoclinks FORCE
%.xml: %.tmpl FORCE
$(call if_changed_rule,docproc)

###
Expand Down
1 change: 1 addition & 0 deletions trunk/Documentation/DocBook/kernel-api.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ X!Ilib/string.c
<title>FIFO Buffer</title>
<sect1><title>kfifo interface</title>
!Iinclude/linux/kfifo.h
!Ekernel/kfifo.c
</sect1>
</chapter>

Expand Down
11 changes: 0 additions & 11 deletions trunk/Documentation/SubmittingPatches
Original file line number Diff line number Diff line change
Expand Up @@ -98,17 +98,6 @@ system, git, as a "commit log". See #15, below.
If your description starts to get long, that's a sign that you probably
need to split up your patch. See #3, next.

When you submit or resubmit a patch or patch series, include the
complete patch description and justification for it. Don't just
say that this is version N of the patch (series). Don't expect the
patch merger to refer back to earlier patch versions or referenced
URLs to find the patch description and put that into the patch.
I.e., the patch (series) and its description should be self-contained.
This benefits both the patch merger(s) and reviewers. Some reviewers
probably didn't even receive earlier versions of the patch.

If the patch fixes a logged bug entry, refer to that bug entry by
number and URL.


3) Separate your changes.
Expand Down
11 changes: 7 additions & 4 deletions trunk/Documentation/blackfin/00-INDEX
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
00-INDEX
- This file

bfin-gpio-notes.txt
- Notes in developing/using bfin-gpio driver.
cachefeatures.txt
- Supported cache features.

Filesystems
- Requirements for mounting the root file system.

bfin-spi-notes.txt
- Notes for using bfin spi bus driver.
bfin-gpio-note.txt
- Notes in developing/using bfin-gpio driver.
169 changes: 169 additions & 0 deletions trunk/Documentation/blackfin/Filesystems
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
/*
* File: Documentation/blackfin/Filesystems
* Based on:
* Author:
*
* Created:
* Description: This file contains the simple DMA Implementation for Blackfin
*
* Rev: $Id: Filesystems 2384 2006-11-01 04:12:43Z magicyang $
*
* Modified:
* Copyright 2004-2006 Analog Devices Inc.
*
* Bugs: Enter bugs at http://blackfin.uclinux.org/
*
*/

How to mount the root file system in uClinux/Blackfin
-----------------------------------------------------

1 Mounting EXT3 File system.
------------------------

Creating an EXT3 File system for uClinux/Blackfin:


Please follow the steps to form the EXT3 File system and mount the same as root
file system.

a Make an ext3 file system as large as you want the final root file
system.

mkfs.ext3 /dev/ram0 <your-rootfs-size-in-1k-blocks>

b Mount this Empty file system on a free directory as:

mount -t ext3 /dev/ram0 ./test
where ./test is the empty directory.

c Copy your root fs directory that you have so carefully made over.

cp -af /tmp/my_final_rootfs_files/* ./test

(For ex: cp -af uClinux-dist/romfs/* ./test)

d If you have done everything right till now you should be able to see
the required "root" dir's (that's etc, root, bin, lib, sbin...)

e Now unmount the file system

umount ./test

f Create the root file system image.

dd if=/dev/ram0 bs=1k count=<your-rootfs-size-in-1k-blocks> \
> ext3fs.img


Now you have to tell the kernel that will be mounting this file system as
rootfs.
So do a make menuconfig under kernel and select the Ext3 journaling file system
support under File system --> submenu.


2. Mounting EXT2 File system.
-------------------------

By default the ext2 file system image will be created if you invoke make from
the top uClinux-dist directory.


3. Mounting CRAMFS File System
----------------------------

To create a CRAMFS file system image execute the command

mkfs.cramfs ./test cramfs.img

where ./test is the target directory.


4. Mounting ROMFS File System
--------------------------

To create a ROMFS file system image execute the command

genromfs -v -V "ROMdisk" -f romfs.img -d ./test

where ./test is the target directory


5. Mounting the JFFS2 Filesystem
-----------------------------

To create a compressed JFFS filesystem (JFFS2), please execute the command

mkfs.jffs2 -d ./test -o jffs2.img

where ./test is the target directory.

However, please make sure the following is in your kernel config.

/*
* RAM/ROM/Flash chip drivers
*/
#define CONFIG_MTD_CFI 1
#define CONFIG_MTD_ROM 1
/*
* Mapping drivers for chip access
*/
#define CONFIG_MTD_COMPLEX_MAPPINGS 1
#define CONFIG_MTD_BF533 1
#undef CONFIG_MTD_UCLINUX

Through the u-boot boot loader, use the jffs2.img in the corresponding
partition made in linux-2.6.x/drivers/mtd/maps/bf533_flash.c.

NOTE - Currently the Flash driver is available only for EZKIT. Watch out for a
STAMP driver soon.


6. Mounting the NFS File system
-----------------------------

For mounting the NFS please do the following in the kernel config.

In Networking Support --> Networking options --> TCP/IP networking -->
IP: kernel level autoconfiguration

Enable BOOTP Support.

In Kernel hacking --> Compiled-in kernel boot parameter add the following

root=/dev/nfs rw ip=bootp

In File system --> Network File system, Enable

NFS file system support --> NFSv3 client support
Root File system on NFS

in uClibc menuconfig, do the following
In Networking Support
enable Remote Procedure Call (RPC) support
Full RPC Support

On the Host side, ensure that /etc/dhcpd.conf looks something like this

ddns-update-style ad-hoc;
allow bootp;
subnet 10.100.4.0 netmask 255.255.255.0 {
default-lease-time 122209600;
max-lease-time 31557600;
group {
host bf533 {
hardware ethernet 00:CF:52:49:C3:01;
fixed-address 10.100.4.50;
option root-path "/home/nfsmount";
}
}

ensure that /etc/exports looks something like this
/home/nfsmount *(rw,no_root_squash,no_all_squash)

run the following commands as root (may differ depending on your
distribution) :
- service nfs start
- service portmap start
- service dhcpd start
- /usr/sbin/exportfs
14 changes: 0 additions & 14 deletions trunk/Documentation/blackfin/bfin-spi-notes.txt

This file was deleted.

Loading

0 comments on commit aa6edf2

Please sign in to comment.