Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 208103
b: refs/heads/master
c: 93fb72e
h: refs/heads/master
i:
  208101: 3665013
  208099: 09dc6bc
  208095: 9e6aaea
v: v3
  • Loading branch information
Steve Wise authored and Roland Dreier committed Aug 8, 2010
1 parent f97a722 commit b8f26c3
Show file tree
Hide file tree
Showing 1,640 changed files with 157,829 additions and 90,348 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: 04f2b9765f1e80337314e03c4adde695fe2f0403
refs/heads/master: 93fb72e443b9fcbef598faa05478883952edca77
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.

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.

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

- Instruction and Data cache initialization.
icache_init();
dcache_init();

- Instruction and Data cache Invalidation Routines, when flushing the
same is not required.
_icache_invalidate();
_dcache_invalidate();

Also, for invalidating the entire instruction and data cache, the below
routines are provided (another method for invalidation, refer page no 267 and 287 of
ADSP-BF533 Hardware Reference manual)

invalidate_entire_dcache();
invalidate_entire_icache();

-External Flushing of Instruction and data cache routines.

flush_instruction_cache();
flush_data_cache();

- Internal Flushing of Instruction and Data Cache.

icplb_flush();
dcplb_flush();

- Miscellaneous cache functions.

flush_cache_all();
flush_cache_mm();
invalidate_dcache_range();
flush_dcache_range();
flush_dcache_page();
flush_cache_range();
flush_cache_page();
invalidate_dcache_range();
flush_page_to_ram();

33 changes: 8 additions & 25 deletions trunk/Documentation/feature-removal-schedule.txt
Original file line number Diff line number Diff line change
Expand Up @@ -151,31 +151,6 @@ Who: Eric Biederman <ebiederm@xmission.com>

---------------------------

What: /proc/<pid>/oom_adj
When: August 2012
Why: /proc/<pid>/oom_adj allows userspace to influence the oom killer's
badness heuristic used to determine which task to kill when the kernel
is out of memory.

The badness heuristic has since been rewritten since the introduction of
this tunable such that its meaning is deprecated. The value was
implemented as a bitshift on a score generated by the badness()
function that did not have any precise units of measure. With the
rewrite, the score is given as a proportion of available memory to the
task allocating pages, so using a bitshift which grows the score
exponentially is, thus, impossible to tune with fine granularity.

A much more powerful interface, /proc/<pid>/oom_score_adj, was
introduced with the oom killer rewrite that allows users to increase or
decrease the badness() score linearly. This interface will replace
/proc/<pid>/oom_adj.

A warning will be emitted to the kernel log if an application uses this
deprecated interface. After it is printed once, future warnings will be
suppressed until the kernel is rebooted.

---------------------------

What: remove EXPORT_SYMBOL(kernel_thread)
When: August 2006
Files: arch/*/kernel/*_ksyms.c
Expand Down Expand Up @@ -360,6 +335,14 @@ When: 2.6.33
Why: Should be implemented in userspace, policy daemon.
Who: Johannes Berg <johannes@sipsolutions.net>

---------------------------

What: CONFIG_INOTIFY
When: 2.6.33
Why: last user (audit) will be converted to the newer more generic
and more easily maintained fsnotify subsystem
Who: Eric Paris <eparis@redhat.com>

----------------------------

What: sound-slot/service-* module aliases and related clutters in
Expand Down
Loading

0 comments on commit b8f26c3

Please sign in to comment.