The alternate interface number 3 need to selected for upgrading MLO, and 10 need to selected for u-boot. Batman confronted the President-elect and demanded the return of the Kryptonite ring , but Luthor called his bluff and did not turn it over. The two stage SPI flash u-boot image consists of a first stage u-boot SPL binary with a header and a footer, and a second stage full u-boot binary. A young boy , seemingly from Krypton, landed in Metropolis in a ship. Anonymous April 23, at
You should also change the agreement with your director and should appoint him as an employee. If you do this then Service tax is not applicable on salary paid to Him. There is no minimum salary in Companies act.
If the Invoice has been raised with in 30 Day from completion of service then reverse charge is applicable. And if Bill has not been raised with in 30 days then reverse charge is not applicable.
Brand Owner whether all these services relates to "Supply of Manpower" and comes under Reverse Charges mechanism. Security services are separately defined and cover most of the cases, However reverse charge in case of works contract , manpower, security services and hire of motor car to carry passengers is applicable only if service provider is 1.
AOP so if contractor is public ltd company or pvt limited company or any other person not covered in above four category then reverse charge is not applicable on such services. Sir, Is preparation of sign boards, flex boards , glowsign boards , wall painting or any other material related to brand promotion on he behalf of client's demand falls under advertising agency or works contract. Yes , Reverse charge is applicable even if the service provider is small service provider and turnover is less than 10 Lakh.
Sir, What if service provider's turnover doesn't exceed specified limit i. Whether in that case also Service Tax Recipient have to pay tax under reverse charge method, Kindly tell in case of Works contract. Yes, In that case also ,service receiver has to pay tax under reverse charge.
Sir, Who is liable to pay service taxon frieght in case of contract to supply of goods with freight paid on per unit basis to the supplier of goods. TDS will be on Rs. In our view TDS should be deducted on bill amount plus service tax payable by service provider. In case of Renting service, service tax will not be included in the rent for the purpose of TDS deduction and in any other service, service tax will be included for TDS deduction. In case of Rent payment service tax will not be considered for tds deduction and tax will be deducted only on rent value otherwise include the service tax for tds deduction.
Sir, When a person already has a registration and he falls under the reverse charge mechanism, whether he has to apply for a new registration?
Sir, I have received a claim for reimbursement of expenses from my employee in Sept12 pertains to expenses incurred in July12 in which there is a Rent A Cab Invoice is included. Please confirm whether concept of Service Tax on Reverse Charge is applicable on that Rent A Cab Invoice since its only reimbursement of expenses to my employee.
As the service is hired by employee and not by your company. Reverse charge is not applicable. First check the status of the contractor service provider ,if service provider is company then reverse charge is not applicable. Second check ,whether contractor is also providing the material?. If it a composite contract including material then only it is covered under works contract. So if a contractor is not company and it is covered under works contract then only your company is liable under reverse charge ,otherwise its contract responsibility.
If an employee hires a taxi and pays the bill directly and later claims the same from the company, will it attract Service Tax under the Reverse tax regime? No , it will not attract reverse charge under service tax. As the services are hired by employee and not by the company. How one can determine, whether services provided by the taxi owner comes under abatement or non abatement.
Service provider is liable to raise bill ,in which he should mention the service tax payable by service provider. Dear Sir Our firm is Limited Liability Partnership LLP firm whether it is covered under reverse charges if it is receiving service of Manpower or Security services from an individual or partnership firm.
Also Dictionary meaning of Body Corporate is that it is any entity that has its separate legal existence apart from the persons forming it. It enjoys a completely different legal status apart from its members ie perpetual succession. So, a body corporate shall include: However, As per section 2 7 of Companies Act: Ashish Arora Employee of Private Ltd Company claiming his cab conveyance expenses incurred during his official visit of Delhi. Whether company has to pay service tax under reverse charges Mechanism to the govt.
As the vehicle is hired by the employee as pricipal not as an agent of compnay and amount paid by arora to motor vehicle owner is reimbursement by hix company. In our view this is not come under reverse charge in both case if bill is in his name or his company name.
How can we satisfy the deptt during the querry? Suppose you have hired a Taxi for Rs. Then non abated value will be ,simple. Dear Sir Our Pvt. Company is providing software training to its employees ,for this purpose company hired a bus to carry its employees from Delhi to Gurgaon on daily basis for the period of 7days. If service provider is a individual or Partnership firm Pls.
Whether Company is liable to pay service tax under reverse charges to Govt. What would be taxable amount is there is any abatement in the above case or not? Reverse charge is applicable in your case under reverse charge.
Service tax is not payable to service provide in this case. No, he should not , actually out of , 60 is rebate or it is called as abatement in service tax subject to few conditions. Hi, Please can confirm is there is any change in service tax on renting of immovable properties to bank's.
This question is in the light new amendment made on 7th August in the rule 2 sub-rule 1 clause EE. Services by director here means in service by director in their professional capacity. So renting of immoveable property by director to company is not covered under reverse charge at all.
There is no such breakup required now as services are bifurcated in two category only taxable and non taxable. However if you are asking this query due to reverse charge then it is clarified that it is not covered under sponsored ship services.
Suppose a servcie provider being a private limited company issues invoice for wastage cleaning of factory in industrial area and they are charging service tax in invoice and the company is given a contract by government for carring out such service in the whole of industrial area, whether the firm who receives the invoice from private limited company liable to pay service tax under reverse charge mechanism under support services by government or local authority?
Also whether the manufacturing industry association fees paid by all manufacturing units in the indutrial area to some society approved by govt. Are professional services covered under reverse charge regime?
Like if a person is filing the sales tax returns on our behalf and is paid a fee fro the services, or for a person keying in the account of a company on part time basis as a service provider, do these services attract service tax under the reverse charge regime. Please provide the rate of service tax to be charged by a cab service provide if it is a company.
Dear Sir We are Pvt. Limited Company in the field of Pathology, hiring a Van from vendor status proprietor to collect blood samples from our various collection centers to our Laboratory to perform the tests. Vendor is issuing simple invoice with out charging any service tax. And No Consignment note is issued by the vendor.
Confirm whether above service is covered under GTA reverse charges or not. If covered then from which date Service tax is required to pay from 1st April or 1st July It is not covered under GTA and not taxable up to Further even if we assume it taxable then also no liability on company as this service is not covered under reverse charge.
So before or after 1. Dear Sir How can we satisfy the above statement to the Service tax Deptt. Can u provide any Sound logic.
Dear sir, I am an indivisual taxi-owner and i have engaged my vehicle to vidyut nigam. My annual turnover is less than 5 lac's. I submitted the bill for month of July for Rs without claiming any service tax. My service reciepant paid me Rs Sir, let me know that deduction for S.
Rs made from my hiring bill is correct or not. Also advice me that in future what amount of service tax should I inclued in my hiring bill. Is it compulsory to register me in service tax department. In your case, the total liab of service tax payment is of the service receiver. No deduction will be made from you. Is service tax payable on membership fees of chambers of commerce or other such like bodies?
What is the rate? What is the effective date for such charge if any? Sir, I have two question regarding reverse charge: In this situation what will we do? Generally it is additional cost to the service receiver but it depended upon contract between vendor vehicle owner and service receiver which will decide that rate are inclusive of service tax or not.
Sir, My question is regarding reverse charge: Yes, you are liable to pay service tax ,only if you are body corporate company etc and service provider is an individual or firm,aop,boi,huf etc. Sir, We are a body corporate hire vehicles from individuals and partnership firm. However, few of these Service Providers, charge in thier invoice service tax of 4. I have two queries: Since these Service Providers are eligible for rebate, is it appropriate for us to advise them not to charge such service tax in their bill, so that we can pay our liability of service tax of 4.
Will the payment of service tax made by us to these service providers of amount included in the invoice will discharge our liability to department? Further do not make payment to them even if they have claimed so and pay directly to department. I have two queries- 1. No exemption is available for accounting work ,so it is a taxable service and you should charge service tax on it if it is crossed 10 lakh limit and from next year from rupee one. Whether on the above case company is liable to pay service tax to Govt.
Yes ,service receiver is liable to pay under reverse charge in such case. Here I assume that service is also provided after So pint of taxation here comes on date of provision of service ,so reverse charge is not applicable. Sir, I have a SMB and supply equipment and do its installations. After jul 12 order kindly advice if i have to again register for provding services or I can open a new firm since turnover is less.
General exemption of 10 Lakh is also available after July, Particulars Qty Amt 1 gaskets 1 2 air filter housing 1 3 blower 1 4 Labour Charges Total Hi I want to rent a software on per day basis to a process industry. Analysis services shall be provided remotley. Will this attaract anykind of service tax?? An event management company supply manpower for an event.
Is service tax is chargeable under event management or manpower supply. Please reply my quiry, 1 Is service tax applicable on the job i. I would appretiate your quick reply. Supposed an advocate raised invoice for Rs.
Now service receiver i. TDS should be on only as payment of service tax is to be made to govt not to Advocate. Now after the notification dated So now reverse tax has to be paid under which header? Kindly suggest the best. Sir, I have 3 quires. How much sub-contractor has to charge service tax to SP who is the service receiver from Sub-contract.
Is there any exemptions available to sub-contract for not to charging service tax to main contractor? If not, can sub-contractor charge 3. Sir, An early reply for the above from Simpletaxindia or from experts is solicited. X and Firm Y are both engaged in the business of renting of cabs Mr. X does not own any cab, But Firm Y owns a fleet of cabs, Mr.
X takes a cab from Y on hire and then rent out to Mr. Z who is also in the business of renting cabs, what will be the effect and who have to tax the transaction, kindly guide? So in above case reverse charge is not applicable. But every one shall charge other service tax. We are a co-op housing society. In respect of our TDR redevelopment project, we are hiring services of a legal firm not an individual. Are we covered under reverse service tax rules or the legal firm should bill us adding the service tax?
No , reverse charge is applicable only if service receiver is body corporate. We have received services from our Advocates in year and now we want to pay Service Tax as per Reverse charge mechanism rules; Late payment interest applicable??? Yes , same code for service provider and service receiver Accounting codes available here.
Sir, I have a query regarding this NBFC is hiring vehicles for the purpose of field visits of his employees and on the invoice service tax is not levied. Sir please reply soon as it is v urgent and can u also plz explain the accounting treatment in case of reverse charge mechanism.. On Invoice no service tax was charged.
Who will be liable in both the cases. In Advocate services also you are liable for RCM. Entries may be passed as under Legal Fee or respective exp. Kindly explin me with expample point of reverse charges of service of renting of motor vehilcle designed to carry passangers. As you individual are not covered under specified category of person defined for reverse charge under Good transport agency so reverse charge is not applicable on you individual.
Answered ,You may also read following link Revrese charge on Good transport agency. In case of Director setting Fee is their any service reverse charge applicable? If director is not an employee of the Company then sitting fee is covered under reverse charge. Hi Clarify me base amount is for that 3.
Dear Sir, Please confirm: I just want to confirm that 1 Should I pay 4. I am so confuse. Under this charge service receiver have to register himself under service tax. Moreover under service tax act Nil return is also mandatory and every registered person have to file half yearly return.
Complete List is given as under. This is applicable from Few new services has been added with partial reverse charge. In case of these services both service receiver and provider has to pay service tax in prescribed ratio.
Description of a service. Percentage of service tax payable by the person receiving the service. Make sure PC is currently pointing to 0xc Click Resume button on the CCS window to run u-boot. The two stage SPI flash u-boot image consists of a first stage u-boot SPL binary with a header and a footer, and a second stage full u-boot binary.
These two binaries can be programmed to SPI flash in two ways. If you build u-boot from source code, u-boot-spi. This is the quick and easiest way to upgrade u-boot image if you have u-boot running already on the evm. This implemented using a u-boot env script which is added to very recent version of the u-boot.
To see if current u-boot on EVM support this, do. If so do following to upgrade u-boot assuming gph image is copied to root directory of tftp server. First step is to load u-boot. Then do the following steps: This section assumes that u-boot is booted up and running on EVM, e.
Also the EVM is connected to a network where a tftp server is available. When a bad block is found, the ROM bootloader moves to the next block and re-initializes the boot data processor. When the block is pre-marked as bad the boot data processor should not be reset. The workaround to this problem is to burn a multi-block image in the NAND with contiguous good blocks.
Users can check the bad block list using "nand bad" command and skip any bad blocks. If any of the 2 or 3 blocks are marked bad, we should skip the bad block and use the next 2 or 3 good blocks. First step is to load u-boot eg. The documentation is available on http: It has the following files:.
The "ethact" environment variable selects the currently active Ethernet interface. The ethact variable is set on start of u-boot to the name of the first registered interface. You may want to use another environment variable to set desirable interface.
U-boot does not allow to change the "ethaddr" variable if it is already set. If you want to change it you need to use the "env default -a" command, which resets all environment variabels to default values and deletes the "ethaddr" variable as well. Driver doesn't perform sanity check of the settings.
It is your responsibility to set correct values. Network driver supports Multicast tftp. To enable this feature, add following in the respective config. This implementation supports only the Rev.
The U-boot implementation of the 10G ethernet driver can be considered as an extension of the 1G ethernet driver framework.
See Ethernet Driver for more configuration details. Hence to properly configure the corresponding MAC addresses, eth4addr and eth5addr on K2HK should be used, while they are eth8addr and eth9addr on K2E. Thus K2 SoC has three buses 0, 1 and 2. Only one bus can be uses at the same time. The EVM by default create 3 partitions. This has boot volume to hold the images and rootfs to volume to hold the file system. UBI boot time is dependent on the ubifs partition size.
So on K2L since the size is much bigger, it takes more time because the mount is done on a bigger nand parition. To reduce the boot time customer may resize the partition to a smaller to hold the file system. Additional partitions can be defined to use as data storage or other applications. Same change needs to be reflected in the DTS as well as mtdparts env variable in u-boot. This is a framework added to unpstream U-Boot in version The initial 64K is padded with zeros.
The device tree bindings for the clock node for these IPs functional blocks have the status property defined and set to "disabled" by default.
If user wants to enabled this so that user space drivers can be used for these IPs, the status property can be updated in the DTB blob through fdt command before boot to Linux. Following env variables can be set in u-boot to achieve this: User may modify the above based on which IP is to be enabled. This will be useful for reserving memory for DSP.
Based on the memory availability on the board, the address range of this region will change. So any users of this feature need to make sure the address match with what is reserved through this mechanism. Otherwise the user application can step into kernel memory space and cause kernel crash during system operation.
By default M memory is reserved at the end of the address space. To change the default size, user need to update this env variable and save the configuration using saveenv command. Boot Monitor software provides secure privilege level execution service for Linux kernel code through SMC calls. Boot monitor code provides this service. A high level architecture of the boot moinitor software is shown below.
The image has to be loaded to the at the above address either through CCS or through tftp or other means. The command takes the load address above as the argument.
After completing its task, RBL load and run u-boot code in the non secure mode. As part of this following will happen. That range is outside the first 4GB of address space. The memory property in the tcievm. The default sets 0x as start address and 0x as size. That corresponds to the aliased DDR3A memory range. To pass the memory size information to the kernel u-boot fixes the memory node of the DTB.
U-boot may reserve part of the memory at the beginning or end of the first 2GB. The variable may be set to 4 or 8. The first bank represents first 2GB of memory with possible reserved memory. The second bank represent the remaining memory. It is important that u-boot creates two memory banks. That allows to reserve memory at the first bank first 2GB of memory.
It is possible to reserve memory at the second bank. Linux is boot up through U-boot on the primary ARM core. Please refer the Boot Monitor section for more details on Linux boot up sequence. Device Tree bindings are used to define the configuration of the board to use for Linux boot up. This makes it easy for users to define bindings for their custom board so that same image provided in the release may be used to run on their board.
Note that any additional peripheral drivers required on the custom board is ther responsobility of the user. User will be able to use the Device Tree bindings to configure the driver. The traditional machine setup code based device initialization support is not available for Keystone devices. Here are the basic init done for Keystone II devices.
This the parent irq controller. Most of the peripheral driver bindings include phandle for this irq controller. It uses GIC irq controller as the parent.
The bindings are similar to that for GIC. However it uses "interrupts" property in the bindings to define the parent interrupt line to the GIC interrupt controller. Up to 28 interrupt lines Logical are terminated on this device and maps to bits of the above IPC registers. One user of this driver is the remote proc user driver that uses these interrupts to receive interrupts from DSPs.
The bindings for rproc user driver provides "interrupts" property to identify the specific interrupts terminated on this device. This command is to be included in bootcmd as part of U-Boot environment setup. This command assumes that boot monitor image is loaded in MSMC Memory prior to the invokation of the command.
More details on Boot Monitor is provided elsewhere in this document. Linux platform code uses the SMC calls to inoke monitor services provided by boot monitor, for example smc call to Power ON secondary core is one such service. In this release, all of the clock hardware nodes in the platform are represented in device tree. Here is the high level view of the clock tree. Please refer the Device data manual for the description of various clocks available on the SoC. The devices gets the Main PLL input clock from the external source.
The refclkmain represents this fixed clock. Main PLL output clock is represented bu mainpllclk node. The output of this clock is fed to the mainmuxclk which can either select refclk directly bypassing the Main PLL or the output of the Main PLL to pass to the next stage which are divider clocks. There are debugfs entries for each clock node to display the rates, usecounts etc. This replace the old debugfs entry to display the clock information. For example to show the main PLL clock rate, use the following command.
The bindings exposes the timing parameters required for the slave device. DaVinci SPI controller driver is re-used for keystone devices. DaVinci I2C controller driver is re-used for Keystone devices. The binding for this is also part of the davinci i2c driver bindings.
Currently only 2 banks are tested on keystone devices. The driver also implements gpio irq chip driver that exposes gpio pin as irq pins and maps them to the corresponding irq pins input of GIC. This driver allow user drivers to define the GPIO pins that it uses as bindings and points to the bindings of this device. Also allows user driver to use a GPIO pin as interrupt.
The irq chip driver supports upto 32 irq pins. Driver uses the pin as irq or GPIO, not both. The bindings for each instance is defined in the dts file for the platform. The capabilities of the DMA are appropriately set and the appropriate channels are requested by name. On Open we also configure the packet accelerator module. A standard netdev stop operation that stops the netif queue. The RX state is set to invalid and the ethernet susbsystem is stopped.
It will then go onto initialize the queues. We allocate memory for each packet and initialize the scatter list. We iterate in a loop till we run out memory for the descriptors. We pass appropriate arguments to the API. At this instant we are not concerned about the Software info and PS info associated with each descriptor. The callback function checks for the correct DMA and RX state and warns the user on seeing abnormal behavior.
It then goes onto stahs the received packet to the tail of a linked list. Again we have a structure for each packet. This will contain an array of scatterlists and the number of scatterlist entries which at this point should be 1. All the network statistics are appropriately updated on a successful transfer. It is worth reviewing the following documentation found in the kernel source tree. Each PktDMA channel must be defined in the device tree prior to use. The device tree channel description associates the channel with one or more hardware queues that must also be described in the device tree.
The PktDMA code generally identifies a device tree description by the channel label string. The returned pointer is used as a handle for all subsequent operations on the channel. The fields that must be filled in depend on whether the channel is to be used as a transmit or receive channel. In both cases, all unused fields must be zero. Attempting to prepare a buffer or chain of buffers for transmission when there is insufficient depth remaining will result in an error.
When an outgoing packet has been transmitted, the hardware will place the descriptor on a completion queue. Similarly, when an incoming packet has been received, the hardware places the descriptor on a receive queue. In either case, an interrupt may be generated. Note that the notification handler is called from within the hardware interrupt service routine, and thus runs in hard interrupt context with the IRQ disabled.
This will cause the PktDMA subsystem to pop packet descriptors from the completion queue and invoke the associated completion functions. The hwqueue subsystem configures the queues with interrupts enabled. If a notification handler is not established for a channel and interrupts remain enabled, the packet completion functions will be called from hard interrupt context.
This is generally not desirable. To transmit a packet, initialize an array of scatterlist structures. If the packet descriptor is to contain an Extended Packet Information Block, this should be described by the first entry in the scatterlist array.
If the descriptor is to contain a Protocol Specific data block, this should be described next. These areas a copied into the descriptor from system virtual address space by the CPU and are not subject to DMA requirements.
The remaining entries in the scatterlist array describe the data buffer. A data buffer for transmission must reside in an area of memory that is 1 in an address space accessible to the PktDMA hardware, and 2 will not be modified or reallocated until the operation has completed.
Each packet should be associated with a completion routine that will be called by the PktDMA subsystem after the packet has been accepted. The packet is now ready for transmission. The packet completion routine for transmission is relatively simple. Before the PktDMA hardware can transfer a received packet to the host, the receive free queue or queues must be populated. The desired buffer sizes and depths of these queues is established when the channel is configured.
This is done for each configured queue. The second is the free queue number, an integer value between 0 and 3, indicating which free queue is being populated. The third is the size of the buffer to be allocated, as passed in the rxpools array. The buffer size is not used by the PktDMA code, and is provided only for the convenience of the allocator and destructor functions.
The sequence for this is very similar to transmission, with these exceptions: This function is not called when a packet is returned through a completion queue. The buffer should then be freed. When the PktDMA hardware has assembled a packet it places the address of the packet descriptor for the first buffer in the completion queue. This may trigger an interrupt, causing the notification routine to be called, which may schedule deferred work. Note that in the case of a packet formed from a chain of buffers, only the completion routine for the first buffer in the chain will be invoked.
The per-packet completion function is passed a parameter whose value was set when the packet was allocated. This value is not used by the PktDMA subsystem; however, it is the only mechanism for the completion function to find the received packet. Any packets queued for transmission in a TX queue will be flushed by passing them to the completion routine with an error status.
This feature provide for special packet egress processing for specific marked packets. The intended use is:. In this rather odd situation, the bridge will transmit locally generated multicast and broadcast packets by sending one on each of the slaved interfaces i. This has two ramifications:. To avoid these ramifications, such local multicast packets can be marked via ebtables for special processing in the NetCP PA module before the packets are queued for transmission. This parameter takes two u32 values: If these do not match, the mark is ignored and the packet is processed normally.
When the bridge attempts to send an ARP broadcast packet, it will send one packet to each of the slave interfaces. The packets sent by the bridge to other slave interfaces eth1, CPSW slave port 2 will be silently dropped. The modes are as follows. The mode of operation can be decided through the device tree bindings. An example is shown below. AS we can see in the above diagrarm, the link-interface attribute must be appropriately changed to decide the mode of operation.
To setup an NFS filesystem, first obtain a tarball of the filesystem. This should be untarred on the linux host machine. This section will explain how to setup an NFS server on a Ubuntu linux host. The kernel command line should be appropriately modified to enable kernel boot up with an NFS filesystem. To set port 1 state to forwarding: To set port 1 to use the above default vlan id on ingress: This field is a bit map with one bit per port.
Port 0 is the host port. For example, to set VLAN to force untagged egress on port 2 only: The value is a bit map, one bit per port port 0 is the host port. Enabling MDIO will have impact on the system bootup time due to the time spent in auto-negotiation on each ethernet port. It enables compliance with the IEEE standard for a precision clock synchronization protocol.
When uni-cast is enabled, ie. For a rftclk freq of MHz, the counter overflows at about every It is the responsibility of the software ie. The multiplier M shift S and divisor D depends on the rftclk frequency F. On K2L, core pll is configured based on the programmed efuse of max speed of 1 GHz and ref clk of Hz to Hz. Instead of an internal rftclk, cpts can be provided with an external rftclk. User application needs to inform the CPTS driver of any time or reference clock frequency adjustments, for example, as a result of running PTP protocol.
Open source application package linuxptp Reference iii can be used as slave and as well as master. Another option for PTP master is the open source project ptpd Reference iv.
Only ptp4l supports L2 ethernet, ptpd2 does not support L2. For example, put the following two lines. The adjusted time can be checked by cross compiling the testptp application from the linux kernel: For example, the following command starts a ptp4l-over-L2 master on an EVM using hardware timestamping ,. On a Linux PC which does not supoort hardware timestamping, the following command starts a ptp4l-over-L2 master using software timestamping.
The output is asserted low when the polarity bit is low. The PPS may also need to be adjusted by the driver accordingly. Refer to K2HK schematic for more details. Linux Documentation Timestamping Test.
Open Source Project linuxptp. Open Source Project ptpd. PDSP 0 has accumulator firmware. The configuration of the firmware is done with the help of device tree bindings.
The QoS implementation allows for an abstracted tree of scheduler nodes represented in device tree form. An example is depicted below. At each node, shaping and dropping parameters may be specified, within limits of the constraints outlined in this document. The following sections detail the device tree attributes applicable for this implementation.
The device tree has attributes for configuring the QoS shaper. In the sections below we explain the various qos specific attributes which can be used to setup and configure a QoS shaper. When egress shaper is enabled, all packets will be sent to the QoS firmware for shaping via a set of the queues starting from the Q0S base queue which is by default. This attribute specifies the type of scheduling performed at a node. It is an error to specify both of these attributes in a particular node.
The absence of both of these attributes defaults the node type to unordered first come first serve. This attribute specifies the weight attached to the child node of a weighted-round-robin node. It is an error to specify this attribute on a node whose parent is not a weighted-round-robin node.
This attribute specifies the priority attached to the child node of a strict-priority node. It is an error to specify this attribute on a node whose parent is not a strict-priority node. It is also an error for child nodes of a strict-priority node to have the same priority specified. The presence of this attribute indicates that the scheduler accounts for traffic in byte or packet units. If this attribute is not specified for a given node, the accounting mode is inherited from its parent node.
If this attribute is not specified for the root node, the accounting mode defaults to byte units. If this attribute is absent, it defaults to infinity i. The second element of this attribute specifies the maximum accumulated credits in bytes or packets depending on the accounting mode for the node. This attribute specifies a per-packet overhead in bytes applied in the byte accounting mode.
This can be used to account for framing overhead on the wire. This attribute is inherited from parent nodes if absent.
If not defined for the root node, a default value of 24 will be used. This attribute is passed through by inheritence but ignored on packet accounted nodes. This specifies the QMSS queue on which output packets are pushed. This attribute must be defined only for the root node in the qos tree. Child nodes in the tree will ignore this attribute if specified. This specifies a set of ingress queues that feed into a QoS node. This attribute must be defined only for leaf nodes in the QoS tree.
Specifying input queues on non-leaf nodes is treated as an error. The absence of input queues on a leaf node is also treated as an error. The system has a limited set of statistics blocks up to 48 , and an attempt to exceed this count is an error. This attribute is legal only for leaf nodes, and a stats-class attribute on an intermediate node will be treated as an error. The drop-policy attribute specifies a drop policy to apply to a QoS node tail drop, random early drop, no drop, etc. The drop-policy parameters are configured separately within device tree see "Traffic Police Policy Attributes section below.
This attribute defaults to "no drop" for applicable input stage nodes. If a node in the QoS tree specifies a drop-policy, it is an error if any of its descendent nodes children, children of children, The presence of this attribute indicates that the dropr accounts for traffic in byte or packet units.
If this attribute is not specified, it defaults to byte units. Policies that use random early drop must be of byte unit type. Instantaneous queue depth limit in bytes or packets at which tail drop takes effect. This may be specified in combination with random early drop, which operates on average queue depth instead of instantaneous.
The absence of this attribute, or a zero value for this attribute disables tail drop behavior. No packets are dropped when the average queue depth is below this threshold in bytes. This parameter must be specified. All packets are dropped when the average queue depth above this threshold in bytes. This parameter is optional, and defaults to twice the low threshold. Specified in milli seconds. This is used to calculate the average queue depth. This parameter is optional and defaults to The keystone hardware queue driver has sysfs support for statistics, drop policies and the tree configuration.
Statistics are displayed for each statistics class in the device tree. Four statistics are represented for each stats class. Drop policy configuration is also displayed for each drop policy. In the case of a drop policy, the parameters can also be changed. This is depicted below. Please note the the parameters that can be modified for tail drop are a subset of the parameters that can be modified for random early drop.
Each sub-directory entry may contain:. Debug Filesystem debugfs support is also being provided for QoS support. To make use of debugfs support a user might have to mount a debugfs filesystem. This can be done by issuing the command. This is shown below. These default trees are configured so that traffic queued to interface subqueue 0 will bypass the QoS tree.
Only traffic specifically directed to subqueues will be processed through the hardware QoS subsystem. This may be sufficient for your needs. However, you may prefer to remove the QoS configuration entirely from the device tree. The following snippets together shows how to remove the QoS tree associated with the second port of the 1-GigE interface and associate it with the first port on the GigE interface.
In these snippets, we only depict and highlight the modifications made to the above 1-GigE examples. Contents not shown in the definitions should just be copy and paste from the file k2hk-evm.
Crypto driver registers algorithm implementations in the kernel's crypto algorithm management framework. Following algorithms are supported by the driver:. Currently only usb host mode is supported. Because of that, the devicetree bindings for USB1 is disabled by default.
To enable the USB1 devicetree bindings, do one of the following:. The subsystem combines a 3-port ethernet switch sub-module and a packet DMA capable of 10Gbps and 1Gbps per ethernet port. But notice that the packet accelerator in that section is not applicable to the 10Gig Ethernet subsystem. In those releases the driver is not included in the kernel default configuration. Depending on the link interface type, the 10Gig device tree bindings can be enabled for K2E and K2HK platforms at compile time or bootup time as follows.
The phy-handle in each slave node can optionally be removed. Refer to the keystone-serdes. The TI Keystone platforms contain a PCIe module which supports a single bi-directional link interface with a maximum of two lanes width x2. The module supports Root Complex and End Point operation modes. An irq-chip is implemented to support both legacy and MSI irqs. K2E supports two PCI ports.
Port 0 is on Domain 0 and Port 1 is on Domain 1. Connect HDD to an external power supply. The K2E rev 1. Please check with EVM hardware vendor for the details. With partition created in this example there are 4 primary partitions, one for storing file system, one for swap and additional two partitions. Port 0 is known to work on customer boards using SATA interface.
There are few dts configuration parameters available to customize the driver. First partition is for filesystem and is GB and second is for swap and is MB. First step is to create 2 partitions using fdisk command.
At Linux console type the following commands. Once the harddisk is formatted and has a rootfs installed, following procedure can be used to boot Linux kernel using this rootfs. Now type boot command and boot to Linux. The above steps can be skipped once u-boot implements these env variables by default which is expected to be supported in the future.
AER driver requires following kernel command line parameters in bootargs. AER driver is tested by simulating a Unsupported Request. If not, read the value at offset 0x8 and update it using dev2mem command. Refer the device UG for details of the register.
The command will time out. Once this is timedout, dmesg command will show something like below for unsupported error received from EP at the RC's port. Multicore Cortex-A15 supports cache coherency. So, if one core writes to the memory page and that page has a sharable attribute, corresponding cache entries of other cores will be updated. So, the software has to invalidate corresponding cache lines. MSMC has a special snooping mechanism to monitor bus transactions and communicates to Tetris to update caches.
That eliminates necessity to invalidate cache from software. Several conditions must be met in order to support DMA coherency:. RT Preempt patch is supported in Linux.