Changeset 1e8c93c in rtems-libbsd for libbsd.txt


Ignore:
Timestamp:
May 4, 2016, 5:59:16 AM (3 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
c1e05b9ea378b2971e3d7704779112b4bc4296da, freebsd-9.3, 4a77611a223ea883fb548679b516d326a020d447
Children:
a1a2e10
Parents:
f478e3c
Message:

Add some doco on reverse and forward movement of the code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libbsd.txt

    rf478e3c r1e8c93c  
    587587the name of the files which are changed.
    588588
     589To add or update files int the RTEMS FreeBSD tree first run the 'reverse mode'
     590and move the current set of patches FreeBSD. The script may warn you if a file
     591is not present at the destination for the direction. This can happen as files
     592not avaliable at the FreeBSD snapshot point have been specially added to the
     593RTEMS FreeBSD tree. Warnings can also appear if you have changed the list of
     594files in libbsd.py. The reverse mode will result in the FreeBSD having
     595uncommitted changes. You can ignore these. Once the reverse process has
     596finished edit libbsd.py and add any new files then run the forwad mode to bring
     597those files into the RTEMS FreeBSD tree.
     598
    589599The following is an example forward run with no changes.
    590600
     
    593603    -r /home/joel/newbsd/git/libbsd-8.2 \
    594604    -f /home/joel/newbsd/libbsd/freebsd-8.2 -v
    595 Verbose:                yes
     605Verbose:                yes (1)
    596606Dry Run:                no
    597607Only Generate Makefile: no
     
    605615The script may also be used to generate a diff in either forward or reverse
    606616direction.
     617
     618You can add more than one verbose option (-v) to the command line and get more
     619detail and debug level information from the command.
    607620
    608621== Initialization of the BSD Library
     
    11151128----
    11161129
     1130To add a NIC edit rtemsbsd/include/bsp/nexus-devices.h and add the driver
     1131reference to the architecture and/or BSP. For example to add the RealTek driver
     1132add:
     1133
     1134SYSINIT_DRIVER_REFERENCE(re, pci);
     1135
     1136and to add the MII PHY driver add:
     1137
     1138SYSINIT_DRIVER_REFERENCE(rge, miibus);
     1139
     1140The PC BSP has these entries.
     1141
    11171142Symbols (A)
    11181143         pci_get_vpd_ident
Note: See TracChangeset for help on using the changeset viewer.