-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 54446 b: refs/heads/master c: 5f757f9 h: refs/heads/master v: v3
- Loading branch information
Linus Torvalds
committed
May 7, 2007
1 parent
7679798
commit f703242
Showing
4,957 changed files
with
305,280 additions
and
153,256 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: ce7dd06372058f9e3e57ee4c0aeba694a43a80ad | ||
refs/heads/master: 5f757f91e70a97eda8f0cc13bddc853209b2d173 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
What: dv1394 (a.k.a. "OHCI-DV I/O support" for FireWire) | ||
Contact: linux1394-devel@lists.sourceforge.net | ||
Description: | ||
New application development should use raw1394 + userspace libraries | ||
instead, notably libiec61883 which is functionally equivalent. | ||
|
||
Users: | ||
ffmpeg/libavformat (used by a variety of media players) | ||
dvgrab v1.x (replaced by dvgrab2 on top of raw1394 and resp. libraries) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
What: /sys/bus/usb/devices/.../power/autosuspend | ||
Date: March 2007 | ||
KernelVersion: 2.6.21 | ||
Contact: Alan Stern <stern@rowland.harvard.edu> | ||
Description: | ||
Each USB device directory will contain a file named | ||
power/autosuspend. This file holds the time (in seconds) | ||
the device must be idle before it will be autosuspended. | ||
0 means the device will be autosuspended as soon as | ||
possible. Negative values will prevent the device from | ||
being autosuspended at all, and writing a negative value | ||
will resume the device if it is already suspended. | ||
|
||
The autosuspend delay for newly-created devices is set to | ||
the value of the usbcore.autosuspend module parameter. | ||
|
||
What: /sys/bus/usb/devices/.../power/level | ||
Date: March 2007 | ||
KernelVersion: 2.6.21 | ||
Contact: Alan Stern <stern@rowland.harvard.edu> | ||
Description: | ||
Each USB device directory will contain a file named | ||
power/level. This file holds a power-level setting for | ||
the device, one of "on", "auto", or "suspend". | ||
|
||
"on" means that the device is not allowed to autosuspend, | ||
although normal suspends for system sleep will still | ||
be honored. "auto" means the device will autosuspend | ||
and autoresume in the usual manner, according to the | ||
capabilities of its driver. "suspend" means the device | ||
is forced into a suspended state and it will not autoresume | ||
in response to I/O requests. However remote-wakeup requests | ||
from the device may still be enabled (the remote-wakeup | ||
setting is controlled separately by the power/wakeup | ||
attribute). | ||
|
||
During normal use, devices should be left in the "auto" | ||
level. The other levels are meant for administrative uses. | ||
If you want to suspend a device immediately but leave it | ||
free to wake up in response to I/O requests, you should | ||
write "0" to power/autosuspend. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
00-INDEX | ||
- This file | ||
|
||
cache-lock.txt | ||
- HOWTO for blackfin cache locking. | ||
|
||
cachefeatures.txt | ||
- Supported cache features. | ||
|
||
Filesystems | ||
- Requirements for mounting the root file system. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.